/* K-Design System — Built 2026-03-27 14:49:11 */


/* ── 00-tokens.css ── */

/* ═══════════════════════════════════════════
   K-Design System — CSS Tokens
   ═══════════════════════════════════════════ */

:root {
  /* Mint (Primary) */
  --mint-50: #f0fdfa;
  --mint-100: #ccfbf1;
  --mint-200: #99f6e4;
  --mint-300: #5eead4;
  --mint-400: #2dd4bf;
  --mint-500: #14b8a6;
  --mint-600: #0d9488;
  --mint-700: #0f766e;
  --mint-800: #115e59;
  --mint-900: #134e4a;

  /* Navy (Header / Dark BG) */
  --navy-900: #0c1e32;
  --navy-800: #122a42;
  --navy-700: #1a3a58;

  /* Slate (Text / Border / BG) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Status */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Radius */
  --r-card: 20px;
  --r-btn: 12px;
  --r-input: 10px;
  --r-logo: 14px;
  --r-dropdown: 12px;
  --r-modal: 16px;
  --r-badge: 100px;
  --r-sm: 8px;

  /* Shadow */
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);

  /* Transition */
  --ease: all .2s ease;

  /* Font */
  --font-body: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}



/* ── 01-reset.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Reset & Base
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(html) { font-size: 14px; }
:where(body) {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh;
}
:where(a) { color: var(--mint-600); text-decoration: none; }
:where(a):hover { color: var(--mint-700); text-decoration: underline; }
::selection { background: rgba(13,148,136,0.2); }



/* ── 02-buttons.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Buttons
   :where()로 기본값 제공 — 프로젝트별 .btn 오버라이드 가능
   ═══════════════════════════════════════════ */

:where(.btn) {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; height: 40px; padding: 0 16px; font-size: 0.82rem; font-weight: 600;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none; line-height: 1;
}
:where(.btn:hover) { text-decoration: none; }
:where(.btn) svg { width: 16px; height: 16px; }
:where(.btn-primary) {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; height: 40px; padding: 0 16px; font-size: 0.82rem; font-weight: 600;
  background: var(--mint-600); color: #fff;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
}
:where(.btn-primary:hover) { background: var(--mint-700); text-decoration: none; color: #fff; }
:where(.btn-secondary) {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; height: 40px; padding: 0 16px; font-size: 0.82rem; font-weight: 600;
  background: var(--slate-100); color: var(--slate-600);
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
}
:where(.btn-secondary:hover) { background: var(--slate-200); text-decoration: none; }
:where(.btn-danger) {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; height: 40px; padding: 0 16px; font-size: 0.82rem; font-weight: 600;
  background: #fee2e2; color: #991b1b;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
}
:where(.btn-danger:hover) { background: #fecaca; text-decoration: none; }
:where(.btn-warning) { background: #fef3c7; color: #92400e; }
:where(.btn-warning:hover) { background: #fde68a; }
:where(.btn-sm) { height: 26px; padding: 0 12px; font-size: 0.75rem; }
.btn-link {
  background: none; border: none; color: var(--mint-600); font-weight: 600;
  padding: 0; height: auto; text-decoration: none;
}
.btn-link:hover { color: var(--mint-700); text-decoration: underline; }
.btn-ghost {
  background: transparent; border: 1px solid var(--slate-200); border-radius: 8px;
  height: 40px; padding: 0 14px; font-size: 0.82rem; font-weight: 500;
  color: var(--slate-500); cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-ghost:hover { background: var(--slate-100); color: var(--slate-700); }
.btn-ghost svg { width: 14px; height: 14px; stroke-width: 2; }
.btn-icon {
  width: 32px; height: 32px; padding: 0;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--r-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.btn-icon:hover { background: var(--slate-50); border-color: var(--slate-200); }
.btn-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.btn-icon.edit { color: var(--info); }
.btn-icon.edit:hover { background: #dbeafe; color: #1d4ed8; border-color: transparent; }
.btn-icon.delete { color: var(--danger); }
.btn-icon.delete:hover { background: #fee2e2; color: #b91c1c; border-color: transparent; }
.btn-small-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 12px; font-size: 0.82rem; font-weight: 600;
  background: var(--mint-600); color: #fff;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
}
.btn-small-primary:hover { background: var(--mint-700); text-decoration: none; }
.btn-small-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 12px; font-size: 0.82rem; font-weight: 600;
  background: var(--slate-100); color: var(--slate-600);
  border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
}
.btn-small-secondary:hover { background: var(--slate-200); text-decoration: none; color: var(--slate-700); }
.btn-auth {
  display: block; width: 100%; padding: 14px; margin-top: 28px;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  color: #fff; font-size: 1rem; font-weight: 700;
  font-family: var(--font-body); border: none; border-radius: var(--r-btn);
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(13,148,136,0.25);
}
.btn-auth:hover {
  background: linear-gradient(135deg, var(--mint-600), var(--mint-700));
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}
.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 40px; border-radius: 12px; border: none;
  background: var(--mint-600); color: #fff; font-size: 0.95rem; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  box-shadow: 0 4px 16px rgba(13,148,136,0.3); transition: all 0.3s;
}
.btn-submit:hover { background: var(--mint-700); transform: translateY(-2px); }
.btn-contact {
  display: block; width: 100%; padding: 14px; border-radius: 12px;
  background: var(--mint-600); color: #fff; text-decoration: none;
  font-size: 0.95rem; font-weight: 700; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(13,148,136,0.3); text-align: center;
}
.btn-contact:hover { background: var(--mint-700); transform: translateY(-2px); text-decoration: none; color: #fff; }
/* ── 아이콘+텍스트 액션 버튼 (medium) ── */
.btn-action {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 5px; height: 34px; padding: 0 14px;
  font-size: 0.82rem; font-weight: 600; line-height: 1;
  border: none; border-radius: 6px; cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
  background: var(--slate-100); color: var(--slate-600);
}
.btn-action:hover { background: var(--slate-200); text-decoration: none; }
.btn-action svg { width: 16px; height: 16px; stroke-width: 2; }

/* ── 아이콘+텍스트 액션 버튼 (small) ── */
.btn-action-sm {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; height: 28px; padding: 0 10px;
  font-size: 0.75rem; font-weight: 600; line-height: 1;
  border: none; border-radius: 6px; cursor: pointer;
  transition: var(--ease); white-space: nowrap;
  font-family: var(--font-body); text-decoration: none;
  background: var(--slate-100); color: var(--slate-600);
}
.btn-action-sm:hover { background: var(--slate-200); text-decoration: none; }
.btn-action-sm svg { width: 14px; height: 14px; stroke-width: 2; }

/* 색상 변형 — add */
.btn-action.add, .btn-action-sm.add { background: var(--mint-50); color: var(--mint-700); }
.btn-action.add:hover, .btn-action-sm.add:hover { background: var(--mint-100); }

/* 색상 변형 — delete */
.btn-action.delete, .btn-action-sm.delete { background: #fee2e2; color: #991b1b; }
.btn-action.delete:hover, .btn-action-sm.delete:hover { background: #fecaca; }

.save-button {
  width: 100%; padding: 6px 16px; margin-top: 20px;
  border-radius: var(--r-btn); border: none;
  background: var(--mint-600); color: #fff;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: var(--ease); font-family: var(--font-body);
}
.save-button:hover { background: var(--mint-700); }



/* ── 03-badges.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Badges
   ═══════════════════════════════════════════ */

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-badge);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}
.badge-green, .badge-success { background: #dcfce7; color: #16a34a; }
.badge-blue, .badge-info { background: #dbeafe; color: #2563eb; }
.badge-yellow, .badge-warning { background: #fef9c3; color: #ca8a04; }
.badge-red, .badge-danger { background: #fee2e2; color: #dc2626; }
.badge-gray { background: var(--slate-100); color: var(--slate-500); }
.badge-purple { background: #f3e8ff; color: #7c3aed; }
.badge-mint { background: var(--mint-100); color: var(--mint-700); }

/* Active/Inactive */
.badge-active {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  background: #d1fae5; color: #065f46;
}
.badge-inactive {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  background: #fee2e2; color: #991b1b;
}

/* Status dot */
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.online { background: var(--success); }
.status-dot.offline { background: var(--danger); }

/* Status badges */
.badge.status-pending  { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.badge.status-approved { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.badge.status-rejected { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.badge.status-expired  { background: var(--slate-100); color: var(--slate-500); border-color: var(--slate-200); }

/* Severity badges */
.severity-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-badge); font-size: 0.75rem;
  font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.severity-critical { background: #fef2f2; color: #dc2626; }
.severity-warning { background: #fffbeb; color: #d97706; }
.severity-caution { background: #f0fdf4; color: #16a34a; }

/* Notice badges (k-prisma) */
.badge-notice { background: #dbeafe; color: #1e40af; }
.badge-update { background: #dcfce7; color: #166534; }
.badge-event { background: #fce7f3; color: #9d174d; }
.badge-important { background: #fef3c7; color: #92400e; }
.badge-edu { background: #f3e8ff; color: #7c3aed; }

/* Change type badges */
.change-type {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 4px;
  font-weight: 600; flex-shrink: 0; margin-top: 2px;
}
.change-type.new { background: #dcfce7; color: #166534; }
.change-type.fix { background: #fef3c7; color: #92400e; }
.change-type.improve { background: #dbeafe; color: #1e40af; }

/* Update badge */
.update-badge {
  font-size: 0.72rem; padding: 2px 10px; border-radius: 100px;
  background: #dcfce7; color: #166534; font-weight: 600;
}
.update-badge.patch { background: #dbeafe; color: #1e40af; }

/* Inquiry badges */
.inquiry-type-badge {
  font-size: 0.7rem; padding: 3px 10px; border-radius: 100px;
  font-weight: 600; flex-shrink: 0;
}
.inquiry-status {
  font-size: 0.7rem; padding: 3px 10px; border-radius: 100px;
  font-weight: 600; flex-shrink: 0;
}



/* ── 04-forms.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Forms
   ═══════════════════════════════════════════ */

/* Global inputs — :where()로 specificity 0 유지 (기본값 제공, 클래스 CSS로 쉽게 오버라이드 가능) */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):not([type="hidden"]),
select, textarea) {
  width: 100%; box-sizing: border-box; height: 40px;
  padding: 0 12px; border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.88rem; font-family: var(--font-body); outline: none;
  background: #fff; color: var(--slate-800); transition: border-color 0.2s, box-shadow 0.2s;
}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):not([type="hidden"]):focus,
select:focus, textarea:focus) {
  border-color: var(--mint-600); box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}
:where(input)::placeholder { color: var(--slate-400); }
:where(input:disabled, input[readonly], select:disabled, textarea:disabled) {
  background: var(--slate-50); color: var(--slate-500); cursor: not-allowed;
}
:where(textarea) { height: auto; padding: 10px 12px; resize: vertical; }

/* Select arrow — :where()로 기본값 제공 */
:where(select, select.form-select, select.filter-input) {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 12px; padding-right: 32px; cursor: pointer;
}

/* Checkbox — :where()로 기본값 제공 */
:where(input[type="checkbox"]) {
  appearance: none; width: 16px; height: 16px;
  border: 2px solid #d1d5db; border-radius: 4px;
  background: #fff; position: relative; cursor: pointer;
  transition: var(--ease); flex-shrink: 0;
  vertical-align: -3px; margin: 0 6px 0 0;
}
:where(input[type="checkbox"]:checked) {
  background: linear-gradient(135deg, var(--mint-600), var(--mint-700));
  border-color: var(--mint-700);
}
:where(input[type="checkbox"]:checked)::after {
  content: ''; position: absolute; top: 1px; left: 4px;
  width: 4px; height: 7px; border: solid white;
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Form group */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--slate-500); margin-bottom: 8px; }
.form-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: 6px;
}
.form-input, .form-select {
  width: 100%; height: 40px; padding: 0 16px;
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--mint-500);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.form-input::placeholder { color: var(--slate-400); }
.form-textarea {
  width: 100%; min-height: 160px; resize: vertical;
  padding: 12px 16px; border: 1px solid var(--slate-200);
  border-radius: 10px; font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff; transition: border-color 0.2s; outline: none;
}
.form-textarea:focus { border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(20,184,166,0.1); }

/* Filter input */
.filter-input {
  height: 40px; padding: 0 12px; font-size: 0.82rem;
  border: 1px solid var(--slate-200); border-radius: var(--r-sm);
  background: #fff; color: var(--slate-700); font-family: var(--font-body);
  transition: border-color .2s;
}
.filter-input:focus {
  outline: none; border-color: var(--mint-500);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
textarea.filter-input { line-height: 1.5; }

/* Bootstrap .form-control 호환 */
.form-control {
  width: 100%; padding: 10px 14px; border: 1px solid var(--slate-200); border-radius: 8px;
  font-size: 0.88rem; font-family: var(--font-body); outline: none;
  background: #fff; color: var(--slate-800); transition: border-color 0.2s, box-shadow 0.2s;
  height: 40px;
}
.form-control:focus { border-color: var(--mint-600); box-shadow: 0 0 0 3px rgba(13,148,136,0.08); }
.form-control:disabled, .form-control[readonly] { background: var(--slate-50); color: var(--slate-500); cursor: not-allowed; }
textarea.form-control { height: auto; min-height: 130px; resize: vertical; }

/* Form row / actions / help */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions {
  display: flex; gap: 10px; margin-top: 28px; justify-content: flex-end;
  padding-top: 24px; border-top: 1px solid var(--slate-200);
}
.form-help { font-size: 0.78rem; color: var(--slate-400); margin-top: 4px; }
.form-hint { font-size: 0.78rem; color: var(--slate-400); margin-top: 6px; }
.required::after { content: ' *'; color: var(--danger); font-weight: 600; }

/* File input */
.form-file {
  border: 2px dashed var(--slate-200); border-radius: 12px; padding: 32px;
  text-align: center; cursor: pointer; transition: all 0.2s;
}
.form-file:hover { border-color: var(--mint-400); background: var(--mint-50); }
.form-file p { font-size: 0.85rem; color: var(--slate-500); }
.form-file .icon { margin-bottom: 8px; color: var(--slate-400); }
.form-file .icon svg { width: 32px; height: 32px; }

/* Vertical form (was kp-form-group) */
.form-vertical { margin-bottom: 20px; }
.form-vertical label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: 6px;
}
/* 2-col grid (was kp-form-row) */
.form-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }



/* ── 05-custom-select.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Custom Select
   ═══════════════════════════════════════════ */

.custom-select { position: relative; display: inline-block; }
.form-group .custom-select { display: block; width: 100%; }

.custom-select-trigger {
  height: 40px; padding: 0 36px 0 14px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--slate-800);
  background: white; cursor: pointer;
  transition: all 0.2s ease;
  position: relative; min-width: 70px; text-align: left;
  box-sizing: border-box;
  display: flex; align-items: center;
}
.form-group .custom-select-trigger {
  width: 100%; font-size: 0.88rem;
}

/* Inline variant */
.cs-inline .custom-select-trigger {
  padding: 6px 28px 6px 10px;
  font-size: 0.8rem; font-weight: 400;
  min-width: auto; height: auto;
}
.cs-inline .custom-select-options { min-width: 100px; }
.cs-inline .custom-select-option { padding: 7px 12px; font-size: 0.8rem; }

/* Arrow */
.custom-select-trigger::after {
  content: ''; position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--slate-500);
  transition: transform 0.2s ease;
}
.custom-select.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

/* States */
.custom-select-trigger:hover { border-color: var(--slate-400); }
.custom-select.open .custom-select-trigger {
  border-color: var(--mint-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* Dropdown */
.custom-select-options {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 9999;
  display: none; overflow: hidden;
  max-height: 200px; overflow-y: auto;
}
.custom-select.open .custom-select-options { display: block; }

/* Options */
.custom-select-option {
  padding: 10px 14px; font-size: 0.85rem;
  color: var(--slate-600); cursor: pointer;
  transition: all 0.15s ease;
  display: flex; align-items: center; gap: 8px;
  user-select: none;
}
.custom-select-option:hover {
  background: var(--slate-50); color: var(--mint-700);
}
.custom-select-option.selected {
  background: var(--mint-50); color: var(--mint-700); font-weight: 500;
}

/* Compact variant (dashboard) */
.custom-select-sm .custom-select-trigger {
  padding: 3px 24px 3px 8px; font-size: 11px; height: 26px;
  white-space: nowrap; min-width: 50px;
}
.custom-select-sm .custom-select-option {
  padding: 4px 8px; font-size: 11px;
}



/* ── 06-tables.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Tables
   ═══════════════════════════════════════════ */

/* data-table (k-sentinal primary) */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--navy-800); color: rgba(255,255,255,0.9);
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; padding: 9px 14px; text-align: left;
  border-bottom: 2px solid var(--mint-500); white-space: nowrap;
}
.data-table td {
  padding: 7px 12px; font-size: 0.85rem;
  border-bottom: 1px solid var(--slate-100); color: var(--slate-700);
}
.data-table tbody tr { transition: var(--ease); }
.data-table tbody tr:hover { background: var(--slate-50); }
.data-table th.sortable { cursor: pointer; user-select: none; }
.data-table th.sortable:hover { color: var(--mint-300); }
/* enhanceTable sort arrows */
.data-table th[data-sortable] { cursor: pointer; user-select: none; }
.data-table th[data-sortable]:hover { color: var(--mint-300); }
.sort-arrow { opacity: 0; margin-left: 4px; font-size: 0.7em; transition: opacity 0.15s; }
.sort-arrow.active { opacity: 1; }
th[data-sortable]:hover .sort-arrow:not(.active) { opacity: 0.4; }
.data-table tr.row-inactive td { color: #94a3b8; }
.data-table input:not([type="checkbox"]):not([type="radio"]), .data-table select { height: 30px; padding: 0 8px; font-size: 0.78rem; }

/* .table (Bootstrap compat) */
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  color: var(--slate-500); background: var(--slate-50);
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 12px 16px; border-bottom: 2px solid var(--slate-200); white-space: nowrap;
}
.table td {
  padding: 14px 16px; font-size: 0.85rem; color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100); vertical-align: middle;
}
.table tbody tr { transition: background 0.1s; }
.table tbody tr:hover td { background: var(--mint-50); }
.table tbody tr[onclick] { cursor: pointer; }
.table td a { color: var(--mint-700); font-weight: 500; }
.table td a:hover { color: var(--mint-800); text-decoration: underline; }
.table-dark th { color: var(--slate-500); background: var(--slate-50); }

/* table-bordered */
.table-bordered { border: 1px solid var(--slate-200); }
.table-bordered th, .table-bordered td { border: 1px solid var(--slate-200); }

/* summary-table */
.summary-table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--slate-200);
}
.summary-table th {
  background: var(--slate-50); font-size: 0.78rem; font-weight: 700;
  color: var(--slate-600); padding: 10px 12px;
  border: 1px solid var(--slate-200); text-align: center;
}
.summary-table td {
  font-size: 0.85rem; color: var(--slate-700); padding: 10px 12px;
  border: 1px solid var(--slate-200); text-align: center;
}
.summary-table tfoot td { font-weight: 700; background: var(--slate-50); }

/* styled-table (k-sentinal) */
.styled-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow);
}
.styled-table thead th {
  background: var(--navy-800); color: rgba(255,255,255,0.9);
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; padding: 9px 14px; text-align: left;
  border-bottom: 2px solid var(--mint-500); white-space: nowrap;
}
.styled-table td {
  padding: 11px 14px; font-size: 0.85rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700); vertical-align: middle;
}
.styled-table tbody tr { transition: var(--ease); }
.styled-table tbody tr:hover { background: var(--slate-50); }
.data-table.fixed-header,
.styled-table.fixed-header {
  table-layout: fixed; border-radius: var(--r-sm) var(--r-sm) 0 0;
  border-collapse: separate; border-spacing: 0;
}
.sortable-header a { color: rgba(255,255,255,0.9); text-decoration: none; }
.sortable-header a:hover { color: var(--mint-300); text-decoration: none; }

/* Scroll body wrapper */
.scroll-body-wrapper {
  position: relative;
  overflow-y: auto; overflow-x: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm);
  background: #fff;
  flex: 1; min-height: 0;
}
.fixed-header + .scroll-body-wrapper {
  border-top: none; border-radius: 0 0 var(--r-sm) var(--r-sm);
}
/* Single-table sticky header inside scroll wrapper */
.scroll-body-wrapper > table {
  width: 100%; table-layout: fixed;
  border-collapse: separate; border-spacing: 0;
}
.scroll-body-wrapper > .styled-table,
.scroll-body-wrapper > .data-table {
  overflow: visible; box-shadow: none; border-radius: 0;
}
.scroll-body-wrapper > table thead th {
  position: sticky; top: 0; z-index: 2;
}
.scroll-body-wrapper > table td {
  overflow-wrap: break-word; word-break: break-word;
}
.scroll-body-wrapper > table:has(.empty-state) { height: 100%; }
/* Two-table scroll pattern (legacy) */
.scroll-body { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.scroll-body td { overflow-wrap: break-word; word-break: break-word; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; }

/* dash-table */
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
  background: var(--navy-800); color: rgba(255,255,255,0.9); font-size: 0.78rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  padding: 9px 14px; text-align: left; border-bottom: 2px solid var(--mint-500);
}
.dash-table td {
  padding: 7px 12px; font-size: 0.85rem;
  border-bottom: 1px solid var(--slate-100); color: var(--slate-700);
}
.dash-table tbody tr:hover { background: var(--slate-50); }
.truncate-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Table loading overlay */
.table-loading-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.table-loading-overlay .loader { width: 32px; height: 32px; border-width: 3px; }

/* spec-table (k-prisma) */
.spec-table {
  width: 100%; max-width: 800px; margin: 0 auto; border-collapse: collapse;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.spec-table th, .spec-table td {
  padding: 16px 24px; text-align: left; font-size: 0.9rem;
  border-bottom: 1px solid var(--slate-100);
}
.spec-table th { background: var(--slate-50); font-weight: 600; color: var(--slate-700); width: 200px; }
.spec-table td { color: var(--slate-600); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Screenshot column */
th.screenshot-col, td.screenshot-col { width: 140px; min-width: 140px; max-width: 140px; text-align: center; }
.thumbnail.screenshot-thumb { max-width: 100%; max-height: 100px; height: auto; object-fit: contain; display: block; margin: 0 auto; }



/* ── 07-cards.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Cards
   ═══════════════════════════════════════════ */

.card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--r-btn); box-shadow: var(--shadow);
  padding: 12px 16px 12px;
}
.card + .card { margin-top: 20px; }
.card-header {
  padding: 10px 16px; border-bottom: 1px solid var(--slate-200);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title { font-size: 0.95rem; font-weight: 600; color: var(--slate-800); }
.card-body { padding: 14px; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.card .row { margin-bottom: 12px; }
.card .row:last-child { margin-bottom: 0; }

/* card-header select */
.card-header .custom-select { min-width: 140px; }
.card-header .custom-select-trigger { min-width: 140px; box-sizing: border-box; }

/* table-card */
.table-card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--slate-200);
  overflow: hidden; margin-bottom: 24px;
}
.table-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--slate-100);
}
.table-toolbar .result-count { font-size: 0.82rem; color: var(--slate-500); font-weight: 500; }
.table-toolbar .result-count strong { color: var(--mint-700); font-weight: 700; }
.table-toolbar .toolbar-right { display: flex; align-items: center; gap: 8px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 8px; }
.pagination-bar {
  display: flex; justify-content: center; align-items: center;
  padding: 16px 24px; border-top: 1px solid var(--slate-100);
}

/* stat cards */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-bottom: 16px;
}
.stat-grid.stat-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stat-grid.stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat-grid.stat-grid-5 { grid-template-columns: repeat(5, 1fr); }
.stat-grid.stat-grid-10 { grid-template-columns: repeat(5, 1fr); }
.stat-grid.stat-grid-6 { grid-template-columns: repeat(6, 1fr); }
.stat-grid.stat-grid-7 { grid-template-columns: repeat(7, 1fr); }
.stat-grid.stat-grid-8 { grid-template-columns: repeat(8, 1fr); }
.stat-grid.stat-grid-211 { grid-template-columns: 2fr 1fr 1fr; }
.stat-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--r-btn); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow); transition: var(--ease);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-icon {
  width: 48px; height: 48px; border-radius: var(--r-input);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.teal    { background: var(--mint-100); color: var(--mint-600); }
.stat-icon.blue    { background: #dbeafe; color: var(--info); }
.stat-icon.amber   { background: #fef3c7; color: var(--warning); }
.stat-icon.rose    { background: #ffe4e6; color: #f43f5e; }
.stat-icon.emerald { background: #d1fae5; color: #10b981; }
.stat-icon.red     { background: #fee2e2; color: #dc2626; }
.stat-icon.amber-w { background: #fef3c7; color: #d97706; }
.stat-icon.blue-w  { background: #dbeafe; color: #3b82f6; }
.stat-icon.slate-w { background: var(--slate-100); color: var(--slate-500); }
.stat-label, .stat-card .label { font-size: 0.78rem; color: var(--slate-500); font-weight: 600; margin-bottom: 4px; }
.stat-value, .stat-card .value { font-size: 1.4rem; font-weight: 800; color: var(--slate-900); font-family: var(--font-heading); line-height: 1.2; }
.stat-change, .stat-card .sub { font-size: 0.7rem; color: var(--slate-400); margin-top: 2px; min-height: 1em; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }
.stat-card.danger .value, .stat-card.danger .stat-value { color: #ef4444; }
.overdue-info { color: #ef4444; font-weight: 800; }
.overdue-amount { font-size: 0.7rem; font-weight: 600; margin-left: 2px; }

/* stat-card-mini (no icon, vertical layout, left accent bar) */
.stat-card-mini {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--r-btn); padding: 16px 18px;
  border-left: 3px solid var(--slate-300);
  box-shadow: var(--shadow); transition: all 0.2s;
  cursor: pointer; position: relative;
}
.stat-card-mini:hover {
  border-left-color: var(--mint-500);
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.stat-card-mini.active {
  border-left-color: var(--mint-500);
  background: linear-gradient(135deg, rgba(20,184,166,0.04), rgba(20,184,166,0.01));
  box-shadow: 0 0 0 1px var(--mint-200), var(--shadow-md);
}
.stat-card-mini .label {
  font-size: 0.78rem; color: var(--slate-500); font-weight: 600; margin-bottom: 6px;
}
.stat-card-mini .value {
  font-size: 1.3rem; font-weight: 800; color: var(--slate-900);
  font-family: var(--font-heading); line-height: 1.2;
}
.stat-card-mini .sub {
  font-size: 0.68rem; color: var(--slate-400); margin-top: 4px;
  line-height: 1.4; min-height: 1em;
}
.stat-card-mini.danger .value { color: #ef4444; }
.stat-card-mini.danger { border-left-color: #ef4444; }

/* Quota progress */
.quota-progress-bar { width: 100%; height: 8px; background: var(--slate-200); border-radius: 100px; overflow: hidden; }
.quota-progress-fill { height: 100%; background: linear-gradient(90deg, var(--mint-400), var(--mint-600)); border-radius: 100px; transition: width 0.4s ease; }
.quota-progress-fill.warning { background: linear-gradient(90deg, var(--warning), #d97706); }
.quota-progress-fill.danger { background: linear-gradient(90deg, var(--danger), #dc2626); }

/* Search card */
.search-card {
  background: #fff; border-radius: var(--r-btn); border: 1px solid var(--slate-200);
  box-shadow: var(--shadow); padding: 12px 16px 12px;
  margin-bottom: 24px; overflow: visible; transition: box-shadow 0.2s;
}
.search-card:focus-within { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

/* Settings card */
.settings-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.settings-card-header {
  padding: 18px 24px; border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem; font-weight: 700; color: var(--slate-800);
}
.settings-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--slate-100);
  gap: 16px;
}
.settings-item:last-child { border-bottom: none; }
.settings-item-label { flex: 1; min-width: 0; }
.settings-item-label .label { font-size: 0.88rem; font-weight: 600; color: var(--slate-800); }
.settings-item-label .desc { font-size: 0.78rem; color: var(--slate-400); margin-top: 2px; }
.settings-item-control { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.settings-item-control .meta { font-size: 0.72rem; color: var(--slate-400); white-space: nowrap; }
.settings-card-footer {
  padding: 14px 24px; border-top: 1px solid var(--slate-100);
  display: flex; justify-content: flex-end;
}



/* ── 08-pagination.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Pagination
   ═══════════════════════════════════════════ */

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 16px 20px; border-top: 1px solid var(--slate-200);
}
.pagination button, .page-btn {
  min-width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--slate-200); border-radius: var(--r-sm);
  background: #fff; color: var(--slate-500); font-size: 0.82rem;
  font-weight: 500; cursor: pointer; transition: var(--ease);
  font-family: var(--font-body); padding: 0 8px; text-decoration: none;
}
.pagination button:hover, .page-btn:hover { background: var(--slate-50); color: var(--slate-700); border-color: var(--slate-300); text-decoration: none; }
.pagination button.active, .page-btn.active { background: var(--mint-600); color: #fff; border-color: var(--mint-600); pointer-events: none; }
.pagination button.disabled, .page-btn.disabled { opacity: .4; pointer-events: none; }

/* ul/li 기반 페이지네이션 (DFMS) */
ul.pagination { list-style: none; margin: 0; padding: 16px 20px; }
.page-item { display: inline-flex; }
.page-link {
  min-width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--slate-200); border-radius: var(--r-sm);
  background: #fff; color: var(--slate-500); font-size: 0.82rem;
  font-weight: 500; cursor: pointer; transition: var(--ease);
  font-family: var(--font-body); padding: 0 8px; text-decoration: none;
}
.page-link:hover { background: var(--slate-50); color: var(--slate-700); border-color: var(--slate-300); text-decoration: none; }
.page-item.active .page-link { background: var(--mint-600); color: #fff; border-color: var(--mint-600); pointer-events: none; }
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }



/* ── 09-modal.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Modal
   ═══════════════════════════════════════════ */

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
  z-index: 2000; justify-content: center; align-items: center;
}
.modal-overlay.active, .modal-overlay.show { display: flex; }
.modal, .modal-box {
  background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
  max-width: 520px; width: 90%; max-height: 85vh; overflow: hidden;
  display: flex; flex-direction: column;
  animation: modalSlideIn .25s ease-out;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  padding: 20px 24px; border-bottom: none;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  border-radius: 16px 16px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.modal-header h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.modal-close {
  background: rgba(255,255,255,.15); border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; transition: all 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,.3); color: #fff; }
.modal-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; min-height: 0; }
.modal-footer {
  padding: 16px 24px; border-top: 1px solid var(--slate-100);
  display: flex; justify-content: flex-end; gap: 8px;
  background: var(--slate-50); border-radius: 0 0 16px 16px;
  flex-shrink: 0;
}

/* HTML dialog element */
.modal-dialog::backdrop { background: rgba(0,0,0,.35); }
.modal-dialog { border: 0; padding: 0; background: transparent; overflow: visible; }
.modal-card {
  width: 100%; max-width: 480px; padding: 32px 28px;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-xl);
}
.modal-card h2 { font-size: 1.1rem; font-weight: 700; color: var(--slate-800); margin-bottom: 20px; }
.modal-card .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.modal-card .form-group > label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); }
.modal-card .form-group > input,
.modal-card .form-group > textarea {
  width: 100%; min-height: 36px; padding: 8px 12px;
  border: 1px solid var(--slate-200); border-radius: var(--r-sm);
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff; transition: border-color .2s; box-sizing: border-box;
}
.modal-card .form-group > input:focus,
.modal-card .form-group > textarea:focus {
  outline: none; border-color: var(--mint-500);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.dialog-actions-row { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }

/* Modal section */
.modal-section { margin-bottom: 16px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 8px; }
.radio-group { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; }
.checkbox-group { display: flex; gap: 16px; font-size: 0.85rem; }

/* Filter chip */
.filter-chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 7px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
  border: 1.5px solid var(--slate-200); background: #fff; color: var(--slate-600);
  cursor: pointer; transition: all .15s; user-select: none;
}
.filter-chip:hover { border-color: var(--mint-300); color: var(--mint-700); }
.filter-chip.active {
  background: var(--mint-50); border-color: var(--mint-500);
  color: var(--mint-700); font-weight: 600;
}

/* Section divider */
.modal-section-divider { border: none; border-top: 1px dashed var(--slate-200); margin: 20px 0; }

/* Zoom modal (fullscreen image viewer) */
.zoom-modal {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.88);
  align-items: center; justify-content: center; cursor: pointer;
}
.zoom-modal.active { display: flex; }
.zoom-modal img {
  width: 98vw; height: calc(100vh - 100px); object-fit: contain;
  border-radius: 4px;
}
.zoom-close-bottom {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  color: #ef4444; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(255,255,255,.1);
  transition: all 0.35s ease;
}
.zoom-close-bottom svg {
  width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.zoom-close-bottom:hover {
  background: #dc2626; color: #fff; border-color: #dc2626;
  box-shadow: 0 0 20px rgba(220,38,38,.4);
}
.zoom-close-bottom:hover svg { transform: rotate(-180deg); }



/* ── 10-toast.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Toast
   ═══════════════════════════════════════════ */

.toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 10000; pointer-events: none;
}

.toast {
  position: relative; min-width: 300px; max-width: 420px;
  padding: 14px 18px; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex; align-items: center;
  animation: toastSlideUp 0.3s ease;
  margin: 6px 0; pointer-events: auto; overflow: hidden;
}

.toast-icon {
  width: 22px; height: 22px; margin-right: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.toast-icon svg {
  width: 18px; height: 18px; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.toast-content { flex: 1; min-width: 0; }
.toast-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.toast-message { font-size: 12px; opacity: 0.9; line-height: 1.4; }
.toast-close {
  background: none; border: none; cursor: pointer; opacity: 0.5;
  transition: opacity 0.2s; padding: 4px; margin-left: 8px; flex-shrink: 0;
}
.toast-close:hover { opacity: 1; }
.toast-close svg { width: 14px; height: 14px; }
.toast-progress {
  position: absolute; bottom: 0; left: 0; height: 3px;
  border-radius: 0 0 12px 0; animation: toastProgress 3s linear forwards;
}

/* Warning (Orange) */
.toast-warning { background: linear-gradient(135deg, #fff8f0, #fff3e6); border-left: 4px solid #ff9800; }
.toast-warning .toast-icon svg { stroke: #ff9800; }
.toast-warning .toast-title { color: #e65100; }
.toast-warning .toast-message { color: #bf360c; }
.toast-warning .toast-close svg { stroke: #e65100; }
.toast-warning .toast-progress { background: #ff9800; }

/* Success (Green) */
.toast-success { background: linear-gradient(135deg, #f0fff4, #e6ffed); border-left: 4px solid #48bb78; }
.toast-success .toast-icon svg { stroke: #48bb78; }
.toast-success .toast-title { color: #276749; }
.toast-success .toast-message { color: #2f855a; }
.toast-success .toast-close svg { stroke: #276749; }
.toast-success .toast-progress { background: #48bb78; }

/* Error (Red) */
.toast-error { background: linear-gradient(135deg, #fff5f5, #ffe6e6); border-left: 4px solid #e53e3e; }
.toast-error .toast-icon svg { stroke: #e53e3e; }
.toast-error .toast-title { color: #c53030; }
.toast-error .toast-message { color: #9b2c2c; }
.toast-error .toast-close svg { stroke: #c53030; }
.toast-error .toast-progress { background: #e53e3e; }

/* Info (Mint + Confirm button) */
.toast-info { background: linear-gradient(135deg, #f0fdfa, #e6f7f5); border-left: 4px solid #0d9488; padding-right: 16px; }
.toast-info .toast-icon svg { stroke: #0d9488; }
.toast-info .toast-title { color: #0f766e; }
.toast-info .toast-message { color: #115e59; }
.toast-info .toast-close { display: none; }

/* Notice (Blue) */
.toast-notice { background: linear-gradient(135deg, #f0f7ff, #e6f0ff); border-left: 4px solid #4299e1; }
.toast-notice .toast-icon svg { stroke: #4299e1; }
.toast-notice .toast-title { color: #2b6cb0; }
.toast-notice .toast-message { color: #2c5282; }
.toast-notice .toast-close svg { stroke: #2b6cb0; }
.toast-notice .toast-progress { background: #4299e1; }

/* Confirm button (for info toast) */
.toast-confirm-btn {
  margin-left: 14px; padding: 7px 18px;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff; border: none; border-radius: 18px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13,148,136,0.3); flex-shrink: 0;
}
.toast-confirm-btn:hover {
  background: linear-gradient(135deg, #0f766e, #115e59);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13,148,136,0.4);
}

/* Animations */
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastSlideDown {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}



/* ── 11-confirm-dialog.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Confirm Dialog
   ═══════════════════════════════════════════ */

.confirm-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 10001; opacity: 0; visibility: hidden; transition: all 0.2s ease;
}
.confirm-overlay.show { opacity: 1; visibility: visible; }

.confirm-modal {
  background: #fff; border-radius: 20px; width: 380px; max-width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.9) translateY(20px); transition: all 0.2s ease; overflow: hidden;
}
.confirm-overlay.show .confirm-modal { transform: scale(1) translateY(0); }

/* Header colors */
.confirm-header {
  background: linear-gradient(135deg, #e53e3e, #dc2626);
  padding: 24px; text-align: center;
}
.confirm-header.warning { background: linear-gradient(135deg, #ed8936, #d97706); }
.confirm-header.info    { background: linear-gradient(135deg, #4299e1, #2563eb); }
.confirm-header.primary { background: linear-gradient(135deg, #0d9488, #0f766e); }

.confirm-icon {
  width: 56px; height: 56px; background: rgba(255,255,255,0.2);
  border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; margin-bottom: 12px;
}
.confirm-icon svg {
  width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.confirm-title { font-size: 17px; font-weight: 700; color: #fff; }

.confirm-body { padding: 28px 24px; text-align: center; }
.confirm-message {
  font-size: 13px; color: #718096; line-height: 1.6; margin: 0; white-space: pre-line;
}

.confirm-footer { padding: 0 24px 24px; display: flex; justify-content: center; }

.confirm-btn {
  padding: 12px 28px; border-radius: 10px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.2s ease; outline: none; margin: 0 6px;
}
.confirm-btn:focus { outline: none; }
.confirm-btn.secondary { background: #f1f5f9; color: #718096; }
.confirm-btn.secondary:hover { background: #e2e8f0; color: #2d3748; }
.confirm-btn.danger {
  background: linear-gradient(135deg, #e53e3e, #dc2626); color: #fff;
  box-shadow: 0 4px 12px -2px rgba(239,68,68,0.4);
}
.confirm-btn.danger:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -2px rgba(239,68,68,0.5); }
.confirm-btn.warning {
  background: linear-gradient(135deg, #ed8936, #d97706); color: #fff;
  box-shadow: 0 4px 12px -2px rgba(245,158,11,0.4);
}
.confirm-btn.warning:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -2px rgba(245,158,11,0.5); }
.confirm-btn.info {
  background: linear-gradient(135deg, #4299e1, #2563eb); color: #fff;
  box-shadow: 0 4px 12px -2px rgba(66,153,225,0.4);
}
.confirm-btn.info:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -2px rgba(66,153,225,0.5); }
.confirm-btn.primary {
  background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff;
  box-shadow: 0 4px 12px -2px rgba(13,148,136,0.4);
}
.confirm-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -2px rgba(13,148,136,0.5); }



/* ── 12-tooltip.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Tooltip
   ═══════════════════════════════════════════ */

.dash-hover-tooltip {
  position: fixed; background: #1e293b; color: #fff;
  padding: 8px 12px; border-radius: 6px; font-size: 11px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.15s ease;
  z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.dash-hover-tooltip.show { opacity: 1; }
.dash-hover-tooltip strong { color: #5eead4; }



/* ── 13-empty-state.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Empty State
   ═══════════════════════════════════════════ */

.empty, .empty-state {
  text-align: center; padding: 48px 20px; color: var(--slate-400); font-size: 0.9rem;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
td.empty-state {
  display: table-cell; vertical-align: middle; text-align: center;
  padding: 20px; font-size: 0.9rem; color: var(--slate-400);
}
.dash-table-empty {
  text-align: center; color: var(--slate-400) !important;
  vertical-align: middle; padding: 40px 0 !important;
}
.display-1 { font-size: 6rem; font-weight: 800; color: var(--slate-300); }
.content-loading { text-align: center; padding: 60px 0; color: var(--slate-400); font-size: 0.9rem; }



/* ── 14-tabs.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Tabs
   ═══════════════════════════════════════════ */

/* Underline tabs (k-sentinal) */
.tab-bar {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--slate-200);
  padding: 0 20px; background: #fff;
}
.tab-item {
  padding: 12px 20px; font-size: 0.88rem; font-weight: 500;
  color: var(--slate-500); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: var(--ease); background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body);
}
.tab-item:hover { color: var(--slate-700); }
.tab-item.active { color: var(--mint-600); border-bottom-color: var(--mint-600); font-weight: 600; }
:where(.tab-content) { padding: 16px; display: none; }
:where(.tab-content.active) { display: flex; flex-direction: column; flex: 1; min-height: 0; }

/* Pill tabs (k-prisma support) */
:where(.tab-btn) {
  flex: 1; padding: 12px 20px; border: none; border-radius: 10px;
  background: transparent; font-size: 0.88rem; font-weight: 600;
  color: var(--slate-500); cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
}
:where(.tab-btn:hover) { color: var(--slate-700); }
:where(.tab-btn.active) { background: #fff; color: var(--mint-700); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* DFMS tabs */
.dfms-tabs {
  margin: 0; padding: 0; list-style: none;
  display: flex; gap: 0; border-bottom: 2px solid var(--slate-200);
}
.dfms-tabs .tabmenu {
  background: none; display: inline-block;
  padding: 12px 20px; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; color: var(--slate-500);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s;
}
.dfms-tabs .tabmenu:hover { color: var(--mint-600); }
.dfms-tabs .tabmenu.current { color: var(--mint-700); border-bottom-color: var(--mint-600); background: none; }



/* ── 15-alerts.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Alerts
   ═══════════════════════════════════════════ */

.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 12px; border-left: 4px solid;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.alert-icon { flex-shrink: 0; display: flex; align-items: center; }
.alert-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.alert-text { display: inline; vertical-align: middle; line-height: 1.5; }
.alert.success, .alert-success { background: linear-gradient(135deg, #f0fff4, #e6ffed); border-color: #48bb78; color: #276749; }
.alert.danger, .alert.error, .alert-danger { background: linear-gradient(135deg, #fff5f5, #ffe6e6); border-color: #e53e3e; color: #991b1b; }
.alert.info, .alert-info { background: linear-gradient(135deg, #f0f7ff, #e6f0ff); border-color: #4299e1; color: #1e40af; }
.alert.warning, .alert-warning { background: linear-gradient(135deg, #fff8f0, #fff3e6); border-color: #ff9800; color: #92400e; }

/* Info banner */
.info-banner {
  margin-bottom: 20px; padding: 12px 18px;
  border-radius: var(--r-sm); font-size: 0.85rem; border-left: 4px solid;
}
.info-banner.info { background: linear-gradient(135deg, #f0f7ff, #e6f0ff); border-color: #4299e1; color: #2b6cb0; }
.info-banner.warning { background: linear-gradient(135deg, #fff8f0, #fff3e6); border-color: #ff9800; color: #e65100; }

/* Auth error */
.auth-error {
  background: linear-gradient(135deg, #fff5f5, #ffe6e6);
  border-left: 4px solid #e53e3e; color: #9b2c2c;
  padding: 14px 18px; border-radius: 12px; font-size: 0.85rem;
  font-weight: 500; line-height: 1.5; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
  box-shadow: 0 2px 8px rgba(229,62,62,0.08);
}
.auth-error svg { flex-shrink: 0; margin-top: 2px; stroke: #e53e3e; }

/* Message wrapper & error list */
.message-wrapper { margin-bottom: 16px; }
.error-list { margin: 6px 0 0 16px; padding: 0; list-style: disc; color: #991b1b; font-size: 0.85rem; }
.error-list li { margin-bottom: 4px; }



/* ── 16-scrollbar.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Scrollbar
   ═══════════════════════════════════════════ */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }
* { scrollbar-width: thin; scrollbar-color: var(--slate-300) transparent; }



/* ── 17-spinner.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Spinner / Loading
   ═══════════════════════════════════════════ */

.loader {
  border: 3px solid var(--slate-200);
  border-top: 3px solid var(--mint-600);
  border-radius: 50%; width: 40px; height: 40px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress bar */
progress { border: none; width: 100%; height: 8px; border-radius: 4px; }
progress::-webkit-progress-value { background: var(--mint-600); border-radius: 4px; }
progress::-webkit-progress-bar { background: var(--slate-200); border-radius: 4px; }



/* ── 18-file-upload.css ── */

/* ═══════════════════════════════════════════
   K-Design System — File Upload
   ═══════════════════════════════════════════ */

/* ── 파일 드롭존 (통합) ── */
.file-upload-area, .file-dropzone {
  border: 2px dashed var(--slate-300); border-radius: 12px;
  padding: 36px 20px; text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--slate-50); margin-bottom: 16px;
}
.file-upload-area:hover, .file-dropzone:hover,
.file-upload-area.dragover, .file-dropzone.dragover {
  border-color: var(--mint-400); background: var(--mint-50);
}
.file-upload-area input[type="file"], .file-dropzone input[type="file"] { display: none; }
/* 드롭존 내부 요소 */
.dropzone-icon, .upload-icon { color: var(--slate-400); margin-bottom: 10px; }
.dropzone-icon svg, .upload-icon svg { width: 36px; height: 36px; stroke-width: 1.5; }
.dropzone-text, .upload-text { font-size: 0.88rem; color: var(--slate-500); font-weight: 500; }
.dropzone-text strong, .upload-text strong { color: var(--mint-600); }
.dropzone-hint { font-size: 0.78rem; color: var(--slate-400); margin-top: 6px; }

/* 파일 프리뷰 */
.file-preview {
  margin-top: 10px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--slate-200); position: relative;
}
.file-preview img {
  width: 100%; max-height: 200px; object-fit: contain;
  background: var(--slate-100); display: block;
}
.file-preview .file-info {
  padding: 8px 12px; background: var(--slate-50);
  font-size: 0.78rem; color: var(--slate-600);
  display: flex; justify-content: space-between; align-items: center;
}
.file-preview .file-remove {
  background: none; border: none; cursor: pointer;
  color: #ef4444; font-size: 0.78rem; font-weight: 600;
  padding: 2px 8px; border-radius: 4px; transition: background 0.15s;
}
.file-preview .file-remove:hover { background: #fee2e2; }

/* 파일명 표시 */
.file-name-display {
  margin-top: 8px; padding: 10px 14px; background: var(--slate-50);
  border: 1px solid var(--slate-200); border-radius: 8px;
  font-size: 0.85rem; color: var(--slate-700);
  display: flex; align-items: center; gap: 8px;
}
.file-name-display .file-icon { color: var(--mint-600); font-size: 1.1rem; }
.file-name-display .file-remove {
  background: none; border: none; cursor: pointer;
  color: #94a3b8; font-size: 1rem; font-weight: 600; line-height: 1;
  padding: 2px 6px; border-radius: 4px; transition: all 0.15s;
}
.file-name-display .file-remove:hover { color: #ef4444; background: #fee2e2; }

.file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--slate-200); border-radius: 10px;
  background: #fff; margin-bottom: 8px;
}
.file-item .file-thumb {
  width: 48px; height: 48px; border-radius: 6px; object-fit: cover;
  border: 1px solid var(--slate-200); flex-shrink: 0;
}
.file-ext-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 6px; flex-shrink: 0;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  background: var(--mint-50); color: var(--mint-700); border: 1px solid var(--mint-200);
}
.file-item .file-name {
  flex: 1; font-size: 0.85rem; color: var(--slate-700);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-item .file-size { font-size: 0.78rem; color: var(--slate-400); white-space: nowrap; }
.file-item .file-meta { font-size: 0.72rem; color: var(--slate-400); white-space: nowrap; font-family: monospace; }
.file-item .file-remove {
  background: none; border: none; cursor: pointer; color: var(--slate-400);
  font-size: 1.1rem; line-height: 1; padding: 4px 8px; border-radius: 6px;
  flex-shrink: 0; transition: all 0.15s;
}
.file-item .file-remove:hover { color: #991b1b; background: #fee2e2; }

.file-card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px; margin-bottom: 12px;
}
.file-card {
  position: relative; border: 1px solid var(--slate-200); border-radius: 10px;
  background: #fff; overflow: hidden; transition: box-shadow 0.15s;
}
.file-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.file-card .file-card-thumb {
  display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain;
  border-bottom: 1px solid var(--slate-100); background: #f8f8f8;
}
.file-card .file-card-info { padding: 8px 10px; }
.file-card .file-card-name {
  display: block; font-size: 0.78rem; color: var(--slate-700);
  word-break: break-all; text-decoration: none; line-height: 1.4;
}
.file-card .file-card-name:hover { color: var(--mint-600); }
.file-card .file-card-size { font-size: 0.7rem; color: var(--slate-400); margin-top: 2px; }
.file-card .file-card-ext-area {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4/3; background: var(--mint-50);
  border-bottom: 1px solid var(--slate-100);
}
.file-card .file-card-ext {
  font-size: 0.7rem; font-weight: 700; color: var(--mint-700);
  text-transform: uppercase; text-align: center; word-break: break-all;
  padding: 4px 8px;
}
.file-card .file-card-remove {
  position: absolute; top: 4px; right: 4px;
  background: rgba(255,255,255,0.85); border: none; cursor: pointer;
  color: var(--slate-400); font-size: 1rem; line-height: 1;
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; opacity: 0;
}
.file-card:hover .file-card-remove { opacity: 1; }
.file-card .file-card-remove:hover { color: #991b1b; background: rgba(254,226,226,0.95); }



/* ── 19-icons.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Icons
   ═══════════════════════════════════════════ */

.svg-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svg-icon svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svg-icon-sm svg { width: 16px; height: 16px; }
.svg-icon-md svg { width: 24px; height: 24px; }
.svg-icon-lg svg { width: 32px; height: 32px; }
.svg-icon-xl svg { width: 48px; height: 48px; }
.icon { display: inline-flex; align-items: center; justify-content: center; }
.nav-menu .icon, .utility-bar .icon, .top-bar .icon { margin-right: 4px; }

/* Check / Cross icons */
.check-icon { color: var(--success); font-weight: 700; }
.cross-icon { color: var(--slate-300); }



/* ── 20-dashboard.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Dashboard
   ═══════════════════════════════════════════ */

/* ── Stat cards → 07-cards.css로 통합됨 ── */

/* Stat icon (k-sentinal) */
.stat-icon {
  width: 48px; height: 48px; border-radius: var(--r-input, 10px);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.teal    { background: var(--mint-100); color: var(--mint-600); }
.stat-icon.blue    { background: #dbeafe; color: var(--info); }
.stat-icon.amber   { background: #fef3c7; color: var(--warning); }
.stat-icon.rose    { background: #ffe4e6; color: #f43f5e; }
.stat-icon.emerald { background: #d1fae5; color: #10b981; }
.stat-icon.red     { background: #fee2e2; color: #dc2626; }
.stat-icon.amber-w { background: #fef3c7; color: #d97706; }
.stat-icon.blue-w  { background: #dbeafe; color: #3b82f6; }
.stat-icon.slate-w { background: var(--slate-100); color: var(--slate-500); }
.stat-label { font-size: 0.82rem; color: var(--slate-500); font-weight: 500; margin-bottom: 2px; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--slate-800); line-height: 1.2; }
.stat-change { font-size: 0.78rem; font-weight: 600; margin-top: 2px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Quota progress bar */
.quota-progress-bar { width: 100%; height: 8px; background: var(--slate-200); border-radius: 100px; overflow: hidden; }
.quota-progress-fill { height: 100%; background: linear-gradient(90deg, var(--mint-400), var(--mint-600)); border-radius: 100px; transition: width 0.4s ease; }
.quota-progress-fill.warning { background: linear-gradient(90deg, var(--warning), #d97706); }
.quota-progress-fill.danger  { background: linear-gradient(90deg, var(--danger), #dc2626); }

/* ── Capacity summary (k-sentinal) ── */
.capacity-summary { background: #fff; padding: 14px 20px; border-radius: var(--r-btn, 12px); box-shadow: var(--shadow); }
.capacity-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.welcome-inline { font-size: 0.95rem; white-space: nowrap; }
.capacity-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.capacity-item { text-align: center; min-width: 100px; }
.capacity-item .label { color: var(--slate-500); font-size: 0.82rem; margin-bottom: 3px; }
.capacity-item .value { font-size: 1.1rem; font-weight: 700; color: var(--slate-800); }
.capacity-progress { margin-top: 8px; }
.capacity-progress-bar { width: 100%; height: 8px; background: var(--slate-200); border-radius: 100px; overflow: hidden; }
.capacity-progress-fill { height: 100%; background: linear-gradient(90deg, var(--mint-400), var(--mint-600)); border-radius: 100px; transition: width .4s ease; }
.capacity-progress-fill.warning { background: linear-gradient(90deg, var(--warning), #d97706); }
.capacity-progress-fill.danger { background: linear-gradient(90deg, var(--danger), #dc2626); }
.capacity-progress-text { font-size: 0.78rem; color: var(--slate-500); margin-top: 3px; text-align: center; }

/* Status section (k-sentinal) */
.status-section { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.status-card { flex: 1; min-width: 300px; background: #fff; border-radius: var(--r-btn, 12px); padding: 14px 18px; box-shadow: var(--shadow); }
.status-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.status-list { list-style: none; padding-left: 0; font-size: 0.88rem; color: var(--slate-800); }
.status-list li { margin-bottom: 3px; }
.status-list li span { display: inline-block; min-width: 110px; color: var(--slate-500); }

/* ── Main layout ── */
.dash-card { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-bottom: 0; overflow: hidden; height: calc(100vh - 290px); background: #fff; border-radius: var(--r-btn, 12px); box-shadow: var(--shadow); }
.dash-card.full-width { margin-top: 16px; }
.dash-card.dash-full { flex: none; display: flex; flex-direction: column; margin-bottom: 0; overflow: hidden; height: 500px; }
.dash-card-header { padding: 10px 16px; border-bottom: 1px solid var(--slate-200); font-size: 0.95rem; }
.dash-card-title { font-weight: 700; color: var(--slate-800); }
.dash-card-body { padding: 14px; }
.dash-main-content { display: flex; flex-direction: row; flex: 1; min-height: 0; }
.dash-graph-section { flex: 1; min-width: 0; border-right: 1px solid var(--slate-200); display: flex; flex-direction: column; }
.dash-table-section { flex: none; width: 40%; min-width: 120px; display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }

/* ── Controls bar ── */
.dash-controls-bar { display: flex; align-items: center; padding: 8px 12px; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); gap: 8px; flex-shrink: 0; }
.dash-controls-left, .dash-controls-right { display: flex; align-items: center; gap: 8px; }
.dash-controls-right { margin-left: auto; }
.dash-controls-center { flex: 1; display: flex; justify-content: center; }
.dash-control-group { display: flex; align-items: center; gap: 4px; }
.dash-control-label { font-size: 11px; font-weight: 600; color: var(--slate-500); }
.dash-btn-group { display: flex; align-items: center; background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 4px; overflow: hidden; }
.dash-ctrl-btn { padding: 4px 10px; font-size: 11px; color: var(--slate-500); background: transparent; border: none; cursor: pointer; transition: all 0.15s; white-space: nowrap; font-family: var(--font-body); }
.dash-ctrl-btn:hover { background: rgba(0,0,0,0.05); }
.dash-ctrl-btn.active { color: #fff; background: var(--mint-600); }
.dash-nav-arrow { padding: 4px 6px; font-size: 14px; font-weight: bold; }
.dash-date-display { min-width: 100px; text-align: center; font-weight: 500; color: var(--slate-800); cursor: default !important; font-size: 12px; }

/* ── Graph area (CSS Grid — DFMS) ── */
.dash-graph-area { flex: 1; display: grid; grid-template-columns: 60px 1fr; grid-template-rows: 1fr auto; min-height: 0; overflow: hidden; }
.dash-y-axis { grid-row: 1; grid-column: 1; position: relative; }
.dash-y-tick { position: absolute; right: 4px; font-size: 11px; color: var(--slate-500); transform: translateY(50%); white-space: nowrap; font-family: 'Consolas', monospace; }
.dash-graph-right { display: contents; }
.dash-graph-container { grid-row: 1; grid-column: 2; border-left: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); position: relative; overflow: hidden; }
.dash-graph-inner { display: flex; align-items: flex-end; height: 100%; position: relative; z-index: 2; }

/* ── Bar groups ── */
.dash-graph-bar-group { flex: none; min-width: 0; overflow: hidden; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; cursor: pointer; transition: background 0.2s; position: relative; z-index: 2; }
.dash-graph-bar-group:hover { background: rgba(13,148,136,0.08); }
.dash-graph-bar-group.selected { background: rgba(13,148,136,0.15); }
.dash-graph-bar-group.empty { cursor: default; }
.dash-graph-bar-group.empty:hover { background: transparent; }
.dash-graph-bars { display: flex; flex-direction: column; justify-content: flex-end; flex: 1; width: 100%; position: relative; z-index: 1; align-items: center; }
.dash-graph-bar { width: 60%; transition: all 0.2s; opacity: 1; cursor: default; min-height: 0; }
.dash-graph-bar:last-child { border-radius: 2px 2px 0 0; }
.dash-graph-bar:hover { opacity: 0.85; }
.dash-graph-bar-group.selected .dash-graph-bar { box-shadow: 0 0 0 2px rgba(13,148,136,0.3); border-radius: 3px; }

/* Bar colors — DFMS */
.dash-graph-bar.receipt    { background: rgba(45,212,191,0.8); }
.dash-graph-bar.waiting    { background: rgba(251,191,36,0.7); }
.dash-graph-bar.closed     { background: rgba(100,116,139,0.7); }
.dash-graph-bar.active     { background: rgba(59,130,246,0.8); }
.dash-graph-bar.cancelled  { background: rgba(239,68,68,0.7); }
.dash-graph-bar.disk       { background: rgba(45,212,191,0.8); }
.dash-graph-bar.mobile     { background: rgba(59,130,246,0.8); }
.dash-graph-bar.decryption { background: rgba(168,85,247,0.8); }
.dash-graph-bar.usb        { background: rgba(249,115,22,0.8); }
.dash-graph-bar.etc        { background: rgba(100,116,139,0.7); }
.dash-graph-bar.travel     { background: rgba(236,72,153,0.8); }
.dash-graph-bar.report     { background: rgba(34,197,94,0.8); }
.dash-graph-bar.messenger  { background: rgba(251,191,36,0.8); }
.dash-graph-bar.material   { background: rgba(239,68,68,0.8); }

/* Bar colors — k-sentinal */
.dash-graph-bar.file      { background: rgba(45,212,191,0.8); }
.dash-graph-bar.program   { background: rgba(59,130,246,0.8); }
.dash-graph-bar.printer   { background: rgba(251,191,36,0.7); }
.dash-graph-bar.removable { background: rgba(239,68,68,0.7); }
.dash-graph-bar.critical  { background: rgba(239,68,68,0.8); }
.dash-graph-bar.warning   { background: rgba(251,191,36,0.8); }
.dash-graph-bar.caution   { background: rgba(59,130,246,0.7); }

/* ── X axis ── */
.dash-x-axis { grid-row: 2; grid-column: 2; margin-top: 2px; overflow: hidden; }
.dash-x-axis-inner { display: flex; height: 18px; }
.dash-x-label { flex: none; font-size: 10px; color: var(--slate-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'Consolas', monospace; display: flex; justify-content: center; align-items: flex-start; padding-top: 2px; }
.dash-x-label.saturday { color: var(--mint-600); font-weight: 600; }
.dash-x-label.sunday { color: #dc2626; font-weight: 600; }
.dash-x-period-inner { position: relative; height: 16px; }

/* Vertical lines */
.vline-solid { border-left: 1px solid var(--slate-400); }
.vline-dashed { border-left: 1px dashed var(--slate-300); }
.dash-vertical-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; z-index: 0; pointer-events: none; transform: translateX(-50%); }
.dash-vertical-line.dashed { border-left: 1px dashed #e8ecf0; }
.dash-vertical-line.solid  { background: var(--slate-200); }

/* Period labels */
.dash-period-label { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 600; white-space: nowrap; z-index: 5; pointer-events: none; }
.dash-graph-inner .dash-period-label { top: 4px; color: var(--slate-500); background: rgba(248,250,252,0.6); padding: 2px 8px; border-radius: 4px; }
.dash-x-period-inner .dash-period-label { top: 0; color: var(--slate-400); }

/* Grid lines */
.dash-grid-line { position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; z-index: 0; }
.dash-grid-line.major { background: var(--slate-200); }
.dash-grid-line.minor { border-top: 1px dashed #e8ecf0; background: transparent; }

/* Hover tooltip */
.dash-hover-tooltip { position: fixed; background: var(--slate-800); color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 11px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.dash-hover-tooltip.show { opacity: 1; }
.dash-hover-tooltip strong { color: var(--mint-300); }

/* ── Legend ── */
.dash-legend { display: flex; align-items: center; gap: 12px; padding: 0 12px; flex-shrink: 0; }
.dash-legend-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--slate-500); cursor: pointer; }
.dash-legend-dot { width: 10px; height: 10px; border-radius: 2px; }

/* ── Time mode (bubble chart — DFMS) ── */
.dash-time-bar-group { flex: none; height: 100%; position: relative; z-index: 2; cursor: pointer; transition: all 0.2s; }
.dash-time-bar-group:hover { background: rgba(13,148,136,0.08); }
.dash-time-bar-group.selected { background: rgba(13,148,136,0.15); }
.dash-time-bar-group.empty { cursor: default; }
.dash-time-bar-group.empty:hover { background: transparent; }
.dash-time-grid-line { position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; z-index: 0; }
.dash-time-grid-line.major { background: var(--slate-200); }
.dash-time-grid-line.minor { border-top: 1px dashed #e8ecf0; background: transparent; }
.dash-time-dot { position: absolute; left: 50%; border-radius: 50%; cursor: pointer; transition: all 0.2s; transform: translate(-50%, 50%); background: rgba(13,148,136,0.7); border: 2px solid var(--mint-600); z-index: 2; }
.dash-time-dot:hover { transform: translate(-50%, 50%) scale(1.3); z-index: 10; }
.dash-time-dot.selected { box-shadow: 0 0 0 4px rgba(13,148,136,0.3); }

/* ── Dashboard table (simple — k-sentinal) ── */
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { background: var(--navy-800); color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: 9px 14px; text-align: left; border-bottom: 2px solid var(--mint-500); }
.dash-table td { padding: 7px 12px; font-size: 0.85rem; border-bottom: 1px solid var(--slate-100); color: var(--slate-700); }
.dash-table tbody tr:hover { background: var(--slate-50); }
.truncate-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Table section (detail — DFMS) ── */
.dash-table-header { display: flex; align-items: center; padding: 8px 12px; background: var(--slate-100); flex-shrink: 0; border-bottom: 1px solid #e8ecf0; }
.dash-table-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--slate-800); flex: 1; }
.dash-selected-value { color: var(--mint-600); font-weight: 600; }
.dash-clear-btn { padding: 2px 6px; font-size: 10px; color: var(--slate-400); background: transparent; border: 1px solid var(--slate-200); border-radius: 3px; cursor: pointer; }
.dash-clear-btn:hover { background: var(--slate-50); }
.dash-table-count { margin-left: auto; font-size: 11px; color: var(--slate-500); }
.dash-table-count strong { color: var(--mint-600); }
.dash-page-size { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.dash-page-size .custom-select { position: relative; }
.dash-page-size .custom-select-trigger { white-space: nowrap; min-width: 50px; padding: 3px 24px 3px 8px; font-size: 11px; height: 26px; }
.dash-page-size .custom-select-options { min-width: 50px; top: auto; bottom: calc(100% + 4px); max-height: 200px; overflow-y: auto; }
.dash-page-size .custom-select-option { padding: 4px 8px; font-size: 11px; }
.dash-page-size label { font-size: 11px; color: var(--slate-500); white-space: nowrap; }
.dash-page-size select { padding: 3px 8px; font-size: 11px; height: 26px; border: 1px solid var(--slate-200); border-radius: 4px; background: #fff; color: var(--slate-700); font-family: var(--font-body); }
.dash-table-body-wrapper { flex: 1; overflow-x: auto; overflow-y: auto; min-height: 0; }
.dash-detail-table { min-width: 100%; border-collapse: collapse; table-layout: fixed; }
.dash-detail-table th { position: sticky; top: 0; z-index: 2; padding: 6px 10px; font-size: 11px; font-weight: 500; color: var(--slate-500); background: var(--slate-100); text-align: left; white-space: nowrap; border-bottom: 1px solid var(--slate-200); user-select: none; }
.dash-detail-table td { padding: 5px 10px; font-size: 11px; color: var(--slate-800); border-bottom: 1px solid var(--slate-100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 23px; box-sizing: border-box; }
.dash-detail-table th .dash-col-resize { position: absolute; right: -3px; top: 0; bottom: 0; width: 7px; cursor: col-resize; z-index: 3; display: flex; align-items: center; justify-content: center; }
.dash-detail-table th .dash-col-resize::before { content: ''; width: 2px; height: 14px; background: radial-gradient(circle, var(--slate-300) 1.5px, transparent 1.5px); background-size: 2px 5px; }
.dash-detail-table th .dash-col-resize:hover, .dash-detail-table th .dash-col-resize.active { background: rgba(13,148,136,0.2); }
.dash-detail-table th .dash-col-resize:hover::before, .dash-detail-table th .dash-col-resize.active::before { background: radial-gradient(circle, var(--mint-600) 1.5px, transparent 1.5px); background-size: 2px 5px; }
.dash-col-no { width: 32px; text-align: center; color: var(--slate-400) !important; }
.dash-detail-table td.dash-col-no { text-align: center; color: var(--slate-400); }
.dash-detail-table tr:hover td { background: var(--slate-50); }
.dash-detail-table td a { color: var(--mint-700); font-weight: 500; text-decoration: none; }
.dash-detail-table td a:hover { text-decoration: underline; }
.dash-table-body-wrapper .dash-detail-table { min-height: 100%; }
.dash-table-empty { text-align: center; padding: 40px 0 !important; color: var(--slate-400) !important; }

/* Dashboard pagination */
.dash-pagination { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; padding: 0 4px; }
.dash-pagination button { background: none; border: 1px solid var(--slate-200); border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--slate-500); cursor: pointer; transition: all 0.15s; min-width: 28px; font-family: var(--font-body); }
.dash-pagination button:hover { background: var(--slate-100); color: var(--slate-800); }
.dash-pagination button.active { background: var(--mint-600); color: #fff; border-color: var(--mint-600); }
.dash-pagination button:disabled { opacity: 0.4; cursor: default; }

/* Sort icons */
.dash-sort-icon { display: inline-flex; align-items: center; margin-left: 4px; vertical-align: middle; }
.dash-sort-icon svg { width: 14px; height: 14px; }
.dash-sort-icon .dash-sort-asc, .dash-sort-icon .dash-sort-desc { fill: var(--slate-300); transition: fill 0.15s; }
.dash-sort-icon[data-dir="none"] .dash-sort-asc, .dash-sort-icon[data-dir="none"] .dash-sort-desc { fill: #a0aec0; opacity: 0.3; }
.dash-sort-icon[data-dir="asc"] .dash-sort-asc { fill: var(--mint-500); }
.dash-sort-icon[data-dir="asc"] .dash-sort-desc { fill: var(--slate-200); }
.dash-sort-icon[data-dir="desc"] .dash-sort-desc { fill: var(--mint-500); }
.dash-sort-icon[data-dir="desc"] .dash-sort-asc { fill: var(--slate-200); }
.dash-detail-table th:hover .dash-sort-icon .dash-sort-asc, .dash-detail-table th:hover .dash-sort-icon .dash-sort-desc { fill: var(--slate-400); }
.dash-detail-table th.sorted { color: var(--mint-500); }
.dash-detail-table th[data-sort] { cursor: pointer; }

/* ── Activity list (k-sentinal) ── */
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-item { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--slate-100); font-size: 0.85rem; }
.activity-item:last-child { border-bottom: none; }
.activity-agent { font-weight: 600; color: var(--slate-800); min-width: 100px; }
.activity-data { flex: 1; color: var(--slate-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-time { color: var(--slate-400); font-size: 0.78rem; white-space: nowrap; }

/* ── Screenshot column (k-sentinal) ── */
th.screenshot-col, td.screenshot-col { width: 140px; min-width: 140px; max-width: 140px; text-align: center; }
.thumbnail.screenshot-thumb { max-width: 100%; max-height: 100px; height: auto; object-fit: contain; display: block; margin: 0 auto; }

/* ── Mini chart card (k-sentinal) ── */
.mini-chart-card { background: #fff; border-radius: var(--r-btn, 12px); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--slate-100); min-height: 190px; }
.card-content { flex: 1; display: flex; align-items: stretch; gap: 16px; }
.card-content > .mini-donut-wrap { align-self: center; }
.mini-chart-card .card-title { font-size: 0.8rem; font-weight: 700; color: var(--slate-500); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.mini-donut-wrap { position: relative; width: 110px; height: 110px; flex-shrink: 0; }
.mini-donut-wrap canvas { display: block; }
.mini-donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.mini-donut-center .number { font-size: 1.4rem; font-weight: 800; color: var(--slate-800); font-family: var(--font-heading); line-height: 1; }
.mini-donut-center .unit { font-size: 0.65rem; color: var(--slate-400); margin-top: 2px; }
.mini-legend { display: flex; flex-direction: column; flex: 0 0 270px; align-self: stretch; position: relative; }
.mini-legend-items { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mini-legend-total { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid var(--slate-200); font-size: 0.82rem; color: var(--slate-700); }
.mini-legend-total-label { font-weight: 600; }
.mini-legend-total-value { font-weight: 800; color: var(--slate-800); }
.mini-legend-item { display: grid; grid-template-columns: auto 54px 62px; align-items: center; gap: 0; font-size: 0.82rem; color: var(--slate-700); padding: 2px 0; }
.mini-legend-label { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.mini-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.mini-legend-pct { text-align: center; font-size: 0.75rem; color: var(--slate-400); font-weight: 500; }
.mini-legend-value { text-align: right; font-weight: 700; color: var(--slate-800); font-size: 0.82rem; }

/* ── Storage card (k-sentinal) ── */
.storage-card { background: #fff; border-radius: var(--r-btn, 12px); padding: 16px 20px; box-shadow: var(--shadow); border: 1px solid var(--slate-100); display: flex; flex-direction: column; min-height: 190px; position: relative; }
.storage-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.storage-card .card-title { position: absolute; top: 16px; left: 20px; font-size: 0.8rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: .5px; }
.storage-main-value { font-size: 2rem; font-weight: 800; color: var(--slate-800); font-family: var(--font-heading); line-height: 1; margin-bottom: 8px; }
.storage-main-value .unit { font-size: 0.9rem; color: var(--slate-400); font-weight: 600; }

/* ── Agent merged card (k-sentinal) ── */
.agent-merged-inner { flex: 1; display: flex; align-items: stretch; gap: 16px; width: 100%; }
.merged-section { display: flex; flex-direction: column; gap: 6px; }
.merged-section-label { font-size: 0.8rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: .5px; }
.merged-section .section-content { flex: 1; display: flex; align-items: center; }
.merged-divider { width: 1px; background: var(--slate-200); align-self: stretch; }

/* ── Chart placeholder ── */
.chart-area { height: 150px; background: var(--slate-50); border: 1px dashed var(--slate-300); border-radius: var(--r-sm, 8px); display: flex; align-items: center; justify-content: center; color: var(--slate-400); font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid.stat-grid-3 { grid-template-columns: 1fr; }
  .stat-grid.stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid.stat-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .stat-grid.stat-grid-10 { grid-template-columns: repeat(4, 1fr); }
  .stat-grid.stat-grid-211 { grid-template-columns: 1fr; }
  .dash-main-content { flex-direction: column !important; flex: none !important; height: auto !important; }
  .dash-table-section { width: 100% !important; height: 300px; }
  .dash-card { height: auto; }
  .dash-card.dash-full { height: auto; min-height: 500px; }
  .dash-graph-section { border-right: none; border-bottom: 1px solid var(--slate-200); }
  .agent-merged-inner { flex-wrap: wrap; }
  .chart-row { grid-template-columns: 1fr; }
}



/* ── 21-print.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Print
   ═══════════════════════════════════════════ */

@media print {
  .utility-bar, .top-bar, nav, .navbar, .no-print { display: none !important; }
  body { font-size: 12px; background: #fff; }
  .card { border: 1px solid #ddd; box-shadow: none; break-inside: avoid; }
  .data-table th, .data-table td { padding: 4px 6px; font-size: 11px; }
  .search-panel, .dfms-search-panel, .search-card, .table-toolbar, .status-toolbar { display: none !important; }
  /* .container print override: DFMS base.html 로컬로 이전 */
  .table th { background: #f5f5f5 !important; color: #333 !important; }
  .table-bordered th, .table-bordered td { border: 1px solid #ddd !important; }
  .summary-table th { background: #f5f5f5 !important; color: #333 !important; -webkit-print-color-adjust: exact; }
  .summary-table td, .summary-table th { border: 1px solid #ddd !important; }
}



/* ── 22-grid.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Grid
   ═══════════════════════════════════════════ */

/* DFMS grid (renamed from dfms-row/dfms-col) */
.grid-row { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.grid-row > [class*="grid-col"] { padding: 0 6px; }
.grid-col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.grid-col-2  { flex: 0 0 16.666%; max-width: 16.666%; }
.grid-col-3  { flex: 0 0 25%;     max-width: 25%; }
.grid-col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.grid-col-5  { flex: 0 0 41.666%; max-width: 41.666%; }
.grid-col-6  { flex: 0 0 50%;     max-width: 50%; }
.grid-col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.grid-col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
.grid-col-9  { flex: 0 0 75%;     max-width: 75%; }
.grid-col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.grid-col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.grid-col-12 { flex: 0 0 100%;    max-width: 100%; }

/* Bootstrap row/col compat */
.row { display: flex; flex-wrap: wrap; margin-left: -6px; margin-right: -6px; }
.row > [class*="col-"] { padding: 0 6px; }
.col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.col-2  { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3  { flex: 0 0 25%;     max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.666%; max-width: 41.666%; }
.col-6  { flex: 0 0 50%;     max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9  { flex: 0 0 75%;     max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.col-12 { flex: 0 0 100%;    max-width: 100%; }
.col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; }



/* ── 23-utilities.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Utilities
   ═══════════════════════════════════════════ */

/* .container: 전역에서 제거 → DFMS base.html 로컬로 이전 */
.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.d-flex { display: flex; }
.d-none { display: none; }
.d-block { display: block; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.center-v { display: flex; align-items: center; }
.center-h { display: flex; justify-content: center; }

/* Margins */
.my-1 { margin-top: 4px; margin-bottom: 4px; }
.my-2 { margin-top: 8px; margin-bottom: 8px; }
.my-3 { margin-top: 16px; margin-bottom: 16px; }
.my-4 { margin-top: 24px; margin-bottom: 24px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: .25rem !important; } .ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1.5rem !important; } .ml-4 { margin-left: 3rem !important; }
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: .25rem !important; } .mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1.5rem !important; } .mr-4 { margin-right: 3rem !important; }

/* Paddings */
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 16px; padding-bottom: 16px; }
.pb-2 { padding-bottom: 8px; }
.pr-0 { padding-right: 0 !important; } .pr-1 { padding-right: .25rem !important; }
.pr-2 { padding-right: .5rem !important; } .pr-3 { padding-right: 1.5rem !important; }
.pr-4 { padding-right: 3rem !important; }
.pl-0 { padding-left: 0 !important; } .pl-4 { padding-left: 3rem !important; }

/* Other */
.border-bottom { border-bottom: 2px solid var(--slate-200); }
.divider { height: 1px; background: var(--slate-200); margin: 20px 0; }
.utility-bar .divider, .top-bar .divider { height: auto; background: none; margin: 0; }
.fw-600 { font-weight: 600; }



/* ── 24-labeled-field.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Labeled Field
   ═══════════════════════════════════════════ */

/* field-inline (was dfms-field) */
.field-inline { display: flex; align-items: center; }
.field-inline .field-inline-label {
  flex-shrink: 0; min-width: 90px; padding: 0 12px;
  font-size: 0.82rem; font-weight: 600; color: var(--slate-600);
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-right: none; border-radius: 8px 0 0 8px;
  height: 40px; display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.field-inline input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):not([type="hidden"]),
.field-inline select, .field-inline textarea,
.field-inline .form-input, .field-inline .form-select, .field-inline .form-control {
  border-radius: 0 8px 8px 0; flex: 1; min-width: 0; height: 40px;
}
.field-inline textarea, .field-inline textarea.form-input { height: auto; }

/* input-group (Bootstrap compat) */
.input-group { display: flex; align-items: center; }
.input-group:has(textarea) { align-items: stretch; }
.input-group:has(textarea) .input-group-text {
  display: flex; align-items: center; justify-content: center;
  height: auto; min-height: 40px;
}
.input-group-text {
  flex-shrink: 0; min-width: 100px; padding: 0 12px;
  font-size: 0.85rem; font-weight: 600; color: var(--slate-600);
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-right: none; border-radius: 10px 0 0 10px;
  height: 40px; display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.input-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):not([type="hidden"]),
.input-group .form-control, .input-group .form-input, .input-group .form-select,
.input-group select,
.input-group textarea {
  border-radius: 0 10px 10px 0; flex: 1; min-width: 0; height: 40px;
}
.input-group select { min-width: 120px; }
.input-group textarea, .input-group textarea.form-control { height: auto; }
.input-group .custom-select { flex: 1; min-width: 0; }
.input-group .custom-select-trigger {
  height: 40px; border-radius: 0 10px 10px 0;
  display: flex; align-items: center;
}
.input-group .custom-select:not(:last-child) .custom-select-trigger { border-radius: 0; border-right: none; }
.input-group .custom-select-mid .custom-select-trigger { border-radius: 0; border-right: none; }

/* Form card */
.form-card { max-width: 640px; margin: 0 auto; }
.form-card .card-body { padding: 32px 36px; }
.form-card label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: 6px;
}
.form-card input:not([type="checkbox"]) {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff;
  outline: none; transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.form-card input:not([type="checkbox"]):focus {
  border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.form-card input::placeholder { color: var(--slate-400); }
.form-card .input-icon-wrap input { padding-left: 40px; }

/* Form section divider */
.form-section { margin-bottom: 24px; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 700; color: var(--navy-900);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--mint-500);
}
.form-section-title svg { width: 18px; height: 18px; color: var(--mint-600); flex-shrink: 0; }
.form-section-title span { letter-spacing: -0.02em; }

/* Input with icon */
.input-icon-wrap { position: relative; }
.input-icon-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--slate-400);
  pointer-events: none; transition: color .2s;
}
.input-icon-wrap input { padding-left: 40px; }
.input-icon-wrap input:focus ~ svg,
.input-icon-wrap input:focus + svg { color: var(--mint-600); }
.input-icon-wrap:focus-within svg { color: var(--mint-600); }

/* Account edit container */
.account-edit-container {
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: 32px 28px; background: #fff;
  border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}
.account-edit-container label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: 6px;
}
.account-edit-container input:not([type="checkbox"]) {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff;
  outline: none; transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.account-edit-container input:not([type="checkbox"]):focus {
  border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.account-edit-container select {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff; outline: none; transition: border-color .2s;
}
.account-edit-container textarea {
  width: 100%; min-height: 80px; padding: 10px 16px;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--slate-800); background: #fff; outline: none;
  resize: vertical; transition: border-color .2s;
}
.account-edit-container .form-group.checkbox {
  display: flex; flex-direction: row; align-items: center; gap: 8px;
}



/* ── 25-search.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Search
   ═══════════════════════════════════════════ */

/* search-panel (was dfms-search-panel) */
.search-panel { background: transparent; border: none; padding: 0; margin-bottom: 16px; }
.search-panel .grid-row { margin-bottom: 10px; }
.search-panel .grid-row:last-child { margin-bottom: 0; }

/* search-card (collapsible) — .card + .section-label 스타일 통일 */
.search-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px;
  border-left: 3px solid var(--mint-500);
  border-bottom: 1px solid var(--slate-100);
}
.search-header h3 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--navy-900);
  display: flex; align-items: center; gap: 8px;
}
.search-header .icon-search { color: var(--mint-600); }
.search-toggle {
  background: none; border: none; cursor: pointer; color: var(--slate-400);
  transition: transform 0.3s; padding: 4px;
}
.search-body.collapsed + .search-footer { display: none; }
.search-body.collapsed { display: none; }
.search-body { padding: 12px 16px; display: grid; gap: 14px; }
.search-row { display: grid; gap: 12px; }
.search-row.cols-1 { grid-template-columns: 1fr; }
.search-row.cols-2 { grid-template-columns: 1fr 1fr; }
.search-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.search-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.search-row.cols-3-2 { grid-template-columns: 2fr 1.5fr 2.5fr; }
.search-footer { padding: 0 16px 12px; display: flex; justify-content: flex-end; gap: 8px; }

/* Filter bar & grid (k-sentinal) */
.filter-bar {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 16px; margin-bottom: 12px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50); border-radius: var(--r-sm);
}
.toolbar-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr)) max-content;
  grid-auto-rows: minmax(36px, auto);
  gap: 8px; align-items: center; width: 100%; margin-top: 8px;
}
.filter-actions-v {
  grid-column: 6; grid-row: 1 / span 2;
  display: grid; gap: 8px; justify-items: end; align-content: start;
}

/* Status toolbar */
.status-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: 24px; padding: 16px 24px;
  background: #fff; border-radius: 12px; border: 1px solid var(--slate-200);
}
.status-toolbar input {
  height: 40px; width: 200px; padding: 0 12px;
  border: 1px solid var(--slate-200); border-radius: 8px;
  font-size: 0.85rem; font-family: var(--font-body); outline: none;
}
.status-toolbar input:focus { border-color: var(--mint-600); box-shadow: 0 0 0 3px rgba(13,148,136,0.08); }



/* ── 26-heading.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Heading
   ═══════════════════════════════════════════ */

/* heading-bar (was dfms-page-header) */
.heading-bar {
  padding: 20px 0 16px; margin-bottom: 20px;
  border-bottom: 2px solid var(--slate-200);
}
.heading-bar h2 {
  font-size: 1.4rem; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em;
}
.heading-bar h5 { font-size: 1.1rem; font-weight: 700; color: var(--slate-800); }

/* Section label (DFMS unified) */
.section-label {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--navy-900);
  padding: 6px 16px;
  margin-bottom: 12px;
  border-left: 3px solid var(--mint-500);
  border-bottom: 1px solid var(--slate-100);
  display: flex; align-items: center; gap: 8px;
}



/* ── 27-auth.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Auth
   ═══════════════════════════════════════════ */

.auth-page {
  min-height: calc(100vh - 100px); display: flex;
  align-items: center; justify-content: center;
  background: var(--slate-50); padding: 60px 32px;
}
.auth-card {
  width: 100%; max-width: 480px; background: #fff;
  border-radius: var(--r-card); padding: 48px 40px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--slate-100);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .icon {
  width: 52px; height: 52px; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  border-radius: var(--r-logo); display: flex;
  align-items: center; justify-content: center;
}
.auth-logo .icon svg { width: 28px; height: 28px; }
.auth-logo h2 {
  font-family: var(--font-heading); font-size: 1.3rem;
  font-weight: 700; color: var(--navy-900);
}
.auth-logo h2 span { color: var(--mint-600); }
.auth-logo p { font-size: 0.85rem; color: var(--slate-500); margin-top: 4px; }

.auth-form .form-group { margin-bottom: 18px; }
.auth-form label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: 6px;
}
.auth-form input:not([type="checkbox"]) {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.9rem; font-family: var(--font-body);
  outline: none; transition: border-color .2s;
}
.auth-form input:not([type="checkbox"]):focus {
  border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.auth-form input::placeholder { color: var(--slate-400); }
.auth-form .form-group .custom-select-trigger {
  height: 40px; border-radius: 10px; font-size: 0.92rem;
}
.auth-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Auth select */
.auth-form select {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--slate-200); border-radius: var(--r-input);
  font-size: 0.9rem; font-family: var(--font-body);
  outline: none; transition: border-color .2s;
}
.auth-form select:focus {
  border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}

/* Auth button */
.btn-auth {
  width: 100%; padding: 14px; border-radius: 12px; border: none;
  background: var(--mint-600); color: #fff; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(13,148,136,0.3); transition: all 0.3s;
  margin-top: 8px;
}
.btn-auth:hover { background: var(--mint-700); transform: translateY(-1px); }

/* Auth footer */
.auth-footer {
  text-align: center; margin-top: 24px;
  font-size: 0.85rem; color: var(--slate-500);
}
.auth-footer a {
  color: var(--slate-400); font-size: 0.8rem;
  text-decoration: none; cursor: pointer;
}
.auth-footer a:hover { color: var(--mint-600); text-decoration: underline; }

/* Password toggle */
.pw-toggle {
  font-size: 0.88rem; font-weight: 600; color: var(--mint-700);
  cursor: pointer; padding: 10px 0; user-select: none; transition: color 0.2s;
}
.pw-toggle:hover { color: var(--mint-800); }
.pw-section { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.pw-section.open { max-height: 300px; }



/* ── 28-admin-panel.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Admin Panel
   DFMS + k-sentinal 공용
   ═══════════════════════════════════════════ */

.admin-layout { display: grid; grid-template-columns: 240px 1fr; height: 100vh; }
.sidebar { background: #0f172a; padding: 24px 0; overflow-y: auto; }
.sidebar-brand { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 12px; }
.sidebar-brand h2 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #fff; }
.sidebar-brand h2 span { color: var(--mint-400); }
.sidebar-brand p { font-size: 0.72rem; color: #64748b; margin-top: 4px; }
.sidebar-menu { list-style: none; }
.sidebar-menu li a {
    display: flex; align-items: center; gap: 10px; padding: 11px 24px;
    color: #94a3b8; font-size: 0.85rem; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
    border-left: 3px solid transparent; cursor: pointer;
}
.sidebar-menu li a:hover { background: rgba(255,255,255,0.04); color: #e2e8f0; text-decoration: none; }
.sidebar-menu li a.active { background: rgba(13,148,136,0.1); color: var(--mint-400); border-left-color: var(--mint-400); }
.sidebar-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 12px 0; }
.sidebar-menu li a.back-link { color: #64748b; font-size: 0.8rem; }
.admin-main { padding: 28px 32px; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 1.4rem; font-weight: 800; color: #0f172a; }
.admin-header .user-info { font-size: 0.82rem; color: #64748b; }
.panel { display: none; }
.panel.active { display: block; }



/* ── 29-daterangepicker.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Daterangepicker Override
   ═══════════════════════════════════════════ */

.daterangepicker { border-radius: 12px; border: 1px solid var(--slate-200); box-shadow: 0 8px 30px rgba(0,0,0,0.12); z-index: 5000 !important; }
.daterangepicker td.active, .daterangepicker td.active:hover { background-color: var(--mint-600); border-color: var(--mint-600); color: #fff; }
.daterangepicker td.in-range { background-color: var(--mint-50); color: var(--slate-700); }
.daterangepicker td.in-range:hover { background-color: var(--mint-100); color: var(--slate-800); }
.daterangepicker td.start-date, .daterangepicker td.end-date { background-color: var(--mint-600) !important; color: #fff !important; }
.daterangepicker td.today { color: var(--mint-700); font-weight: 700; }
.daterangepicker td.today.active { color: #fff; }
.daterangepicker td.available:hover { background-color: var(--mint-50); color: var(--mint-700); }
.daterangepicker .btn-primary { background-color: var(--mint-600); border-color: var(--mint-600); color: #fff; }
.daterangepicker .btn-primary:hover { background-color: var(--mint-700); border-color: var(--mint-700); }
.daterangepicker .btn-default, .daterangepicker .btn-secondary { border: 1px solid var(--slate-200); color: var(--slate-600); background: #fff; }
.daterangepicker .btn-default:hover, .daterangepicker .btn-secondary:hover { background: var(--slate-50); color: var(--slate-800); }
.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 6px 28px 6px 10px; border: 1px solid var(--slate-200); border-radius: 8px;
  font-size: 0.82rem; font-weight: 500; font-family: var(--font-body);
  color: var(--slate-700); background: #fff; outline: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.daterangepicker select.monthselect:hover, .daterangepicker select.yearselect:hover { border-color: var(--slate-400); }
.daterangepicker select.monthselect:focus, .daterangepicker select.yearselect:focus { border-color: var(--mint-600); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.daterangepicker .custom-select { display: inline-block; vertical-align: middle; min-width: 0 !important; }
.daterangepicker .custom-select-trigger { padding: 4px 28px 4px 10px; height: auto; min-height: 0; font-size: 0.82rem; border-radius: 8px; min-width: 0; }
.daterangepicker .custom-select-trigger::after { right: 8px; border-left-width: 4px; border-right-width: 4px; border-top-width: 4px; }
.daterangepicker .custom-select-options { max-height: 180px; border-radius: 8px; min-width: 80px; }
.daterangepicker .custom-select-option { padding: 6px 10px; font-size: 0.8rem; }
.daterangepicker .prev span, .daterangepicker .next span { border-color: var(--slate-500); }
.daterangepicker .prev:hover span, .daterangepicker .next:hover span { border-color: var(--mint-600); }

/* 요일 헤더 통일 (k-datepicker와 동일) */
.daterangepicker thead tr:last-child th {
  font-size: 0.72rem; font-weight: 600; color: var(--slate-400);
  padding: 4px 0;
}
.daterangepicker thead tr:last-child th:first-child { color: #ef4444; }
.daterangepicker thead tr:last-child th:last-child { color: #3b82f6; }

/* 셀 폰트/모양 통일 (k-datepicker와 동일) */
.daterangepicker td {
  font-family: var(--font-heading); font-weight: 500;
  font-size: 0.82rem; border-radius: 8px;
}

/* ── k-datepicker (single date) ── */
.k-datepicker-wrap { position: relative; display: block; width: 100%; }
.k-datepicker-wrap input { padding-right: 36px !important; }
.k-datepicker-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border: none; background: none; cursor: pointer;
  color: var(--slate-400); display: flex; align-items: center; justify-content: center;
  border-radius: 4px; transition: color 0.15s;
}
.k-datepicker-toggle:hover { color: var(--mint-600); }
.k-datepicker {
  position: fixed; z-index: 9999;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12); padding: 14px; width: 280px;
  font-family: var(--font-body); user-select: none;
}
.k-datepicker-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; padding: 0 2px;
}
.k-datepicker-title {
  font-size: 0.88rem; font-weight: 700; color: var(--slate-800);
  font-family: var(--font-heading);
}
.k-datepicker-nav {
  width: 28px; height: 28px; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; color: var(--slate-500); transition: all 0.15s;
}
.k-datepicker-nav:hover { background: var(--slate-100); color: var(--mint-600); }
.k-datepicker-nav svg { width: 14px; height: 14px; }
.k-datepicker-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
  margin-bottom: 4px;
}
.k-datepicker-dow span {
  font-size: 0.72rem; font-weight: 600; color: var(--slate-400);
  padding: 4px 0; text-transform: uppercase;
}
.k-datepicker-dow span:first-child { color: #ef4444; }
.k-datepicker-dow span:last-child { color: #3b82f6; }
.k-datepicker-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
}
.k-datepicker-cell {
  padding: 0; width: 36px; height: 32px; line-height: 32px;
  font-size: 0.82rem; color: var(--slate-700); border: none; background: none;
  border-radius: 8px; cursor: pointer; transition: all 0.15s;
  font-family: var(--font-heading); font-weight: 500;
}
.k-datepicker-cell:hover { background: var(--mint-50); color: var(--mint-700); }
.k-datepicker-cell.other { color: var(--slate-300); }
.k-datepicker-cell.other:hover { background: var(--slate-50); color: var(--slate-400); }
.k-datepicker-cell.today { color: var(--mint-700); font-weight: 700; }
.k-datepicker-cell.active { background: var(--mint-600); color: #fff; font-weight: 700; }
.k-datepicker-cell.active:hover { background: var(--mint-700); color: #fff; }
.k-datepicker-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--slate-100);
}
.k-datepicker-footer button {
  border: none; background: none; cursor: pointer;
  font-size: 0.78rem; font-weight: 600; padding: 4px 8px; border-radius: 6px;
  transition: all 0.15s;
}
.k-datepicker-footer .k-dp-clear { color: #ef4444; }
.k-datepicker-footer .k-dp-clear:hover { background: #fef2f2; }
.k-datepicker-footer .k-dp-today { color: var(--mint-600); }
.k-datepicker-footer .k-dp-today:hover { background: var(--mint-50); }



/* ── 30-editable-select.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Editable Select
   ═══════════════════════════════════════════ */

.es-list {
  border: 1px solid var(--slate-200); border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); max-height: 200px; overflow-y: auto;
}
.es-list li { padding: 8px 14px; font-size: 0.85rem; cursor: pointer; }
.es-list li:hover { background: var(--mint-50); color: var(--mint-700); }
.es-list li.es-visible { display: block; }



/* ── 31-page-title.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Page Title
   ═══════════════════════════════════════════ */

/* page-title (was DFMS .page-header) */
.page-title {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 16px 0 12px; margin-bottom: 16px;
}
.page-title h1 {
  font-size: 1.5rem; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; margin: 0;
}
#sticky-header {
  position: sticky; top: 100px; z-index: 999;
  background: var(--slate-50); padding: 16px 0 12px; margin-bottom: 16px;
  border-bottom: 1px solid transparent; transition: border-color 0.15s;
}
#sticky-header.stuck { border-bottom-color: var(--slate-200); }
#sticky-tabs {
  position: sticky; top: 173px; z-index: 998;
  background: var(--slate-50); padding-top: 8px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 0.78rem; color: var(--slate-400); font-weight: 500; margin-bottom: 4px;
}
.breadcrumb a { color: var(--slate-400); text-decoration: none; cursor: pointer; }
.breadcrumb a:hover { color: var(--mint-600); text-decoration: none; }
.breadcrumb .sep { color: var(--slate-300); }

/* page-header-bar (k-sentinal) */
.page-header-bar {
  background: var(--navy-900); padding: 32px 150px; color: #fff;
}
.page-header-bar h1 {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 800; margin-bottom: 4px;
}
.page-header-bar .breadcrumb { font-size: 0.8rem; color: var(--slate-400); }
.page-header-bar .breadcrumb a { color: var(--slate-400); text-decoration: none; }
.page-header-bar .breadcrumb a:hover { color: var(--mint-300); text-decoration: none; }
.page-header-bar .breadcrumb span { margin: 0 6px; }

/* Main wrap (k-sentinal) */
.main-wrap { padding: 24px 150px; flex: 1; display: flex; flex-direction: column; min-height: 0; }



/* ── 32-site-nav.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Site Navigation
   ═══════════════════════════════════════════ */

/* Utility bar (was top-bar in k-prisma) */
.utility-bar {
  background: var(--navy-900); padding: 0 32px;
  display: flex; justify-content: flex-end; align-items: center;
  height: 36px; gap: 4px; position: sticky; top: 0; z-index: 1001;
}
.utility-bar a { color: var(--slate-400); font-size: 0.75rem; text-decoration: none; padding: 4px 12px; transition: color 0.2s; }
.utility-bar a:hover { color: var(--mint-300); text-decoration: none; }
.utility-bar .divider { color: var(--slate-700); font-size: 0.7rem; }

/* k-sentinal top-bar (wider padding) */
.top-bar {
  background: var(--navy-900); height: 36px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 150px; gap: 8px; font-size: 0.75rem; color: var(--slate-400);
  position: sticky; top: 0; z-index: 1001;
}
.top-bar a { color: var(--slate-400); text-decoration: none; padding: 4px 8px; transition: var(--ease); }
.top-bar a:hover { color: var(--mint-300); text-decoration: none; }
.top-bar .divider { color: var(--slate-600); user-select: none; }

/* Nav (k-prisma / DFMS style) */
nav {
  position: sticky; top: 36px; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06); transition: box-shadow 0.3s;
  padding: 0 var(--nav-pad, 32px);
}
nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }

/* Navbar (k-sentinal style) */
.navbar {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200); height: 64px;
  display: flex; align-items: center;
  padding: 0 var(--nav-pad, 32px);
  position: sticky; top: 36px; z-index: 1000;
}

/* Nav inner */
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; height: 64px;
}

/* Nav brand */
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-brand .logo-icon, .nav-brand .icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px; font-family: var(--font-heading);
}
.nav-brand .logo-icon svg, .nav-brand .icon svg { width: 20px; height: 20px; }
.nav-brand .logo-text, .nav-brand .text {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--navy-900);
}
.nav-brand .logo-text span, .nav-brand .text span { color: var(--mint-600); }

/* Nav menu */
.nav-menu { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li:not(.nav-auth-mobile):not(.nav-contact-item):not(.nav-drawer-header) > a {
  text-decoration: none; color: var(--slate-700); font-size: 0.92rem; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.nav-menu > li:not(.nav-auth-mobile):not(.nav-contact-item):not(.nav-drawer-header) > a:hover { color: var(--mint-700); background: var(--mint-50); text-decoration: none; }
.nav-menu > li:not(.nav-auth-mobile):not(.nav-contact-item):not(.nav-drawer-header) > a.active-nav { color: var(--mint-700); background: var(--mint-50); }

/* Dropdown */
.dropdown, .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: 12px; padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); border: 1px solid var(--slate-100);
  min-width: 220px; z-index: 100;
}
.nav-menu > li:hover .dropdown,
.nav-menu > li:hover .dropdown-menu { display: block; }
.dropdown a, .dropdown-menu a {
  display: block; padding: 10px 16px; border-radius: 8px;
  color: var(--slate-600); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: all 0.15s;
}
.dropdown a:hover, .dropdown-menu a:hover { background: var(--mint-50); color: var(--mint-700); text-decoration: none; }
.dropdown .desc { font-size: 0.73rem; color: var(--slate-400); margin-top: 2px; }
.dropdown-divider { height: 1px; background: var(--slate-200); margin: 6px 0; }

/* Nav contact button */
.btn-nav-contact {
  padding: 10px 18px; font-size: 0.92rem; font-weight: 600;
  background: var(--mint-600); color: #fff; border-radius: 8px;
  text-decoration: none; display: flex; align-items: center;
}
.btn-nav-contact:hover { background: var(--mint-700); text-decoration: none; color: #fff; }

/* Hamburger toggle (PC: hidden) */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; border-radius: 8px;
  transition: background 0.2s; touch-action: manipulation;
}
.nav-toggle:hover { background: var(--slate-100); }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--slate-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Chevron: PC에서 숨김 */
.nav-chevron { display: none; }

/* Overlay: PC에서 숨김 */
.nav-overlay { display: none; }

/* Drawer header: PC에서 숨김 */
.nav-drawer-header { display: none; }

/* ── Mobile auth area (PC: hidden) ── */
.nav-auth-mobile { display: none; }

/* Responsive */
@media (max-width: 768px) {
  .utility-bar, .top-bar { display: none; }
  nav { top: 0; padding: 0 16px; z-index: 9999; backdrop-filter: none; }
  .nav-inner { height: 56px; }

  /* ── Hamburger toggle ── */
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    position: relative; width: 40px; height: 40px;
  }
  .nav-toggle svg { display: none; }
  .nav-toggle::before,
  .nav-toggle::after,
  .nav-toggle .mid {
    content: ''; position: absolute; display: block;
    width: 20px; height: 2px; background: var(--slate-700);
    border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
  }
  .nav-toggle::before { transform: translateY(-6px); }
  .nav-toggle::after  { transform: translateY(6px); }
  .nav-toggle.active::before { transform: rotate(45deg); }
  .nav-toggle.active .mid     { opacity: 0; }
  .nav-toggle.active::after  { transform: rotate(-45deg); }

  /* ── Overlay ── */
  .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9998;
  }
  .nav-overlay.active { opacity: 1; pointer-events: auto; }

  /* ── Drawer container ── */
  .nav-menu {
    display: flex; flex-direction: column; gap: 0;
    align-items: stretch;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    z-index: 10000;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    padding: 0;
  }
  .nav-menu.open { transform: translateX(0); }

  /* ── Drawer header ── */
  .nav-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--slate-200);
    flex-shrink: 0;
  }
  .nav-drawer-header .nav-brand { gap: 8px; }
  .nav-drawer-header .logo-icon {
    width: 32px; height: 32px; border-radius: 8px; font-size: 12px;
  }
  .nav-drawer-header .logo-text { font-size: 1.1rem; }
  .nav-drawer-close {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: none; border: none; cursor: pointer;
    transition: background 0.2s; color: var(--slate-500);
  }
  .nav-drawer-close:hover { background: var(--slate-100); }
  .nav-drawer-close svg { width: 20px; height: 20px; }

  /* ── Menu items (인증·제품문의·헤더 제외) ── */
  .nav-menu > li { position: static; }
  .nav-menu > li:not(.nav-auth-mobile):not(.nav-contact-item):not(.nav-drawer-header) > a {
    padding: 14px 20px; border-radius: 0; font-size: 0.95rem;
    border-bottom: 1px solid var(--slate-100);
    min-height: 48px; display: flex; align-items: center;
    justify-content: space-between; text-align: left;
    transition: background 0.15s, border-color 0.15s;
  }
  .nav-menu > li:not(.nav-auth-mobile):not(.nav-contact-item):not(.nav-drawer-header) > a:hover {
    background: var(--mint-50);
  }

  /* Active indicator — left mint bar */
  .nav-menu > li:not(.nav-auth-mobile):not(.nav-contact-item):not(.nav-drawer-header) > a.active-nav {
    border-left: 3px solid var(--mint-500);
    padding-left: 17px;
    background: var(--mint-50);
  }

  /* ── Chevron for dropdown items ── */
  .nav-chevron {
    display: inline-flex; margin-left: auto; transition: transform 0.3s;
    width: 16px; height: 16px; flex-shrink: 0;
  }
  .nav-chevron svg { width: 16px; height: 16px; stroke: var(--slate-400); fill: none; stroke-width: 2; }
  .sub-open > a .nav-chevron { transform: rotate(90deg); }

  /* ── Mobile dropdown: accordion ── */
  .dropdown, .dropdown-menu {
    position: static; box-shadow: none;
    border: none; border-radius: 0; padding: 0;
    background: var(--slate-50); min-width: auto;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
    display: block;
  }
  .nav-menu > li.sub-open .dropdown,
  .nav-menu > li.sub-open .dropdown-menu { max-height: 500px; }

  .dropdown a, .dropdown-menu a {
    padding: 12px 20px 12px 36px; border-radius: 0; font-size: 0.88rem;
    border-bottom: 1px solid var(--slate-100);
    border-left: 2px solid var(--mint-300); margin-left: 16px;
    min-height: 44px; display: flex; flex-direction: column; justify-content: center;
  }
  .dropdown a:last-child, .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown .desc {
    display: block; font-size: 0.73rem; color: var(--slate-400); margin-top: 2px;
  }
  .dropdown-divider { margin: 0; }

  /* ── Mobile auth area (드로어 하단 고정) ── */
  .nav-auth-mobile {
    display: flex; gap: 8px; padding: 12px 20px;
    border-top: 1px solid var(--slate-200);
    list-style: none;
    margin-top: auto; order: 1;
  }
  .nav-auth-mobile a {
    flex: 1; height: 48px;
  }

  /* ── Mobile contact button (드로어 맨 아래 전폭) ── */
  .nav-contact-item {
    order: 2; padding: 0 20px 16px;
    border-bottom: none !important;
  }
  .nav-contact-item .btn-nav-contact {
    display: block !important; width: 100% !important;
    margin: 0 !important; text-align: center !important;
    border-radius: 10px !important; padding: 14px 20px !important;
    font-size: 0.95rem !important; min-height: 48px;
    border-bottom: none !important;
  }
}



/* ── 33-hero.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Hero
   ═══════════════════════════════════════════ */

/* Hero section */
.hero {
  background: var(--navy-900);
  position: relative; overflow: hidden;
  padding: 56px 32px 64px;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(20,184,166,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20,184,166,0.12); border: 1px solid rgba(20,184,166,0.25);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
  font-size: 0.78rem; color: var(--mint-300); font-weight: 500;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint-400); animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--mint-300), var(--mint-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  color: var(--slate-400); font-size: 1rem; line-height: 1.7;
  max-width: 560px; margin: 0 auto 36px; font-weight: 300;
}

/* hero-header (was k-prisma .page-header) */
.hero-header {
  background: var(--navy-900); padding: 30px 32px 30px;
  position: relative; overflow: hidden;
}
.hero-header::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20,184,166,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-header .page-header-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.hero-header .breadcrumb { font-size: 0.8rem; color: var(--slate-500); margin-bottom: 0; }
.hero-header .breadcrumb a { color: var(--slate-400); text-decoration: none; }
.hero-header .breadcrumb a:hover { color: var(--mint-400); }
.hero-header h1 {
  font-size: 2.2rem; font-weight: 800; color: #fff;
  margin-bottom: 0; height: 55px; letter-spacing: -0.02em;
}
.hero-header h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--mint-300), var(--mint-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-header p { color: var(--slate-400); font-size: 0.88rem; line-height: 1.6; max-width: 560px; }

/* Hero viewer */
.hero-viewer {
  max-width: 880px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-header h1 { font-size: 1.7rem; }
}



/* ── 34-content-section.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Content Section
   ═══════════════════════════════════════════ */

/* content-section: k-prisma 전용 → 각 프로젝트 로컬 스타일로 이전됨 */
/* .section, .section-title, .section-desc 등은 전역에서 제거 */
/* .content-section 계열만 유지 (명확한 네이밍) */
.content-section { padding: 36px 32px; }
.content-section-inner { max-width: 1280px; margin: 0 auto; }
.content-section-alt { background: var(--slate-50); }
.content-section-dark { background: var(--navy-900); }



/* ── 35-site-footer.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Site Footer
   ═══════════════════════════════════════════ */

/* k-prisma footer (full) */
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 10px; }
.footer-brand .logo-text span { color: var(--mint-400); }
.footer-brand p { color: var(--slate-500); font-size: 0.8rem; line-height: 1.7; }
.footer-col h4 { color: var(--slate-300); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--slate-500); font-size: 0.82rem; text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--mint-400); }
.footer-bottom { max-width: 1280px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; }
.footer-bottom p { color: var(--slate-600); font-size: 0.75rem; }
.footer-bottom a { color: var(--mint-500); text-decoration: none; }

/* k-sentinal footer (simple) */
.site-footer {
  background: var(--navy-900); color: var(--slate-400);
  padding: 16px 24px; text-align: center; font-size: 0.78rem;
}

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }



/* ── 36-detail-components.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Detail Components
   ═══════════════════════════════════════════ */

/* Detail grid (k-prisma) */
.detail-grid { display: grid; grid-template-columns: 100px 1fr; gap: 0; font-size: 0.88rem; }
.detail-grid dt, .detail-grid dd { padding: 10px 0; border-bottom: 1px solid var(--slate-100); }
.detail-grid dt { color: var(--slate-500); font-weight: 600; font-size: 0.82rem; }
.detail-grid dd { color: var(--slate-800); }

/* Status select (inline) */
.status-select { padding: 6px 28px 6px 10px; border: 1px solid var(--slate-200); border-radius: 8px; font-size: 0.78rem; font-family: var(--font-body); outline: none; background: #fff; cursor: pointer; }
.status-select:focus { border-color: var(--mint-500); }

/* Inline delete button */
.row-remove-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; transition: background 0.15s; }
.row-remove-btn:hover { background: #fee2e2; }
.row-remove-btn svg { width: 14px; height: 14px; stroke: #ef4444; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Change row / Plan feature row */
.change-row, .plan-feature-row { display: flex; gap: 8px; margin-bottom: 6px; align-items: center; }
.plan-feature-row > .custom-select, .change-row > .custom-select { flex: 0 0 90px !important; width: 90px !important; display: inline-block !important; }
.plan-feature-row > .custom-select > .custom-select-trigger, .change-row > .custom-select > .custom-select-trigger { width: 90px !important; min-width: auto; padding: 6px 28px 6px 10px; font-size: 0.8rem; height: 34px; }

/* Option form (k-sentinal) */
.option-form { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }

/* List actions (k-sentinal) */
.list-actions { margin-bottom: 16px; display: flex; gap: 8px; }

/* Row actions */
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; }



/* ── 39-agent-card.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Agent Card
   ═══════════════════════════════════════════ */

/* Agent chip (sidebar) */
.agent-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--slate-200);
  border-radius: var(--r-sm, 8px); margin-bottom: 6px;
  cursor: pointer; transition: var(--ease); background: #fff;
}
.agent-chip:hover { border-color: var(--slate-300); background: var(--slate-50); }
.agent-chip.selected { border-color: var(--mint-500); background: var(--mint-50); }
.agent-chip input[type="checkbox"] { accent-color: var(--mint-600); }
.agent-chip label { display: flex; align-items: center; gap: 10px; cursor: pointer; width: 100%; }
.agent-chip-info { flex: 1; min-width: 0; }
.agent-chip-name { font-size: 0.88rem; font-weight: 600; color: var(--slate-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-chip-meta { font-size: 0.75rem; color: var(--slate-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Agent grid */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* Agent card */
.agent-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--r-btn, 12px); padding: 16px;
  cursor: pointer; transition: var(--ease); box-shadow: var(--shadow);
}
.agent-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.agent-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.agent-card-name { font-size: 1rem; font-weight: 600; }
.agent-card-body { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; color: var(--slate-500); }
.agent-card-thumb {
  margin-top: 12px; height: 120px; background: var(--slate-50);
  border: 1px solid var(--slate-200); border-radius: var(--r-sm, 8px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.agent-card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.agent-card-thumb .empty { color: var(--slate-400); font-size: 0.82rem; }

/* Agent detail modal */
.agent-detail-preview {
  height: 400px; background: var(--slate-900);
  border-radius: var(--r-sm, 8px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 20px; cursor: pointer;
}
.agent-detail-preview img { width: 100%; height: 100%; object-fit: contain; }
.agent-detail-preview .placeholder { color: var(--slate-500); font-size: 0.85rem; }
.agent-detail-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.agent-detail-name-row label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); min-width: 40px; }
.agent-detail-name-row .form-input { flex: 1; height: 36px; padding: 0 12px; font-size: 0.85rem; }

/* Agent detail — state pill (modal header) */
.agent-state-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.agent-state-pill .pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.agent-state-pill .pill-dot.on { background: #86efac; box-shadow: 0 0 6px #86efac, 0 0 12px rgba(134,239,172,.4); }
.agent-state-pill .pill-dot.off { background: rgba(255,255,255,.45); }

/* Agent detail — info cards (4-column) */
.agent-info-cards { display: flex; gap: 12px; margin-bottom: 16px; }
.agent-info-card {
  flex: 1; padding: 12px 16px;
  background: var(--slate-50); border-radius: var(--r-sm, 8px);
}
.agent-info-card .card-label {
  color: var(--slate-400); font-size: 0.7rem; font-weight: 600;
  display: block; margin-bottom: 3px; letter-spacing: 0.03em;
}
.agent-info-card .card-value { color: var(--slate-700); font-size: 0.82rem; font-weight: 500; }

/* Agent detail — stat cards (compact horizontal) */
.agent-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.agent-stat-card {
  background: linear-gradient(135deg, var(--slate-50), #fff);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm, 8px); padding: 12px 8px;
  text-align: center; transition: all 0.2s;
  text-decoration: none; display: block;
}
.agent-stat-card:hover {
  border-color: var(--mint-400); background: linear-gradient(135deg, var(--mint-50), #fff);
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(20,184,166,.15);
  text-decoration: none;
}
.agent-stat-card .stat-value {
  font-size: 1.25rem; font-weight: 800; color: var(--slate-800);
  line-height: 1; margin-bottom: 4px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
}
.agent-stat-card:hover .stat-value { color: var(--mint-600); }
.agent-stat-card .stat-label {
  font-size: 0.7rem; font-weight: 600; color: var(--slate-400);
  letter-spacing: 0.02em;
}

/* Modal section */
.modal-section { margin-bottom: 16px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 8px; }
.radio-group { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; }
.checkbox-group { display: flex; gap: 16px; font-size: 0.85rem; }



/* ── 40-threat-rules.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Threat Rules
   ═══════════════════════════════════════════ */

/* Toolbar */
.threat-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 8px; }
.threat-toolbar-left { display: flex; gap: 8px; }

/* Category */
.threat-category { margin-bottom: 12px; }
.threat-category-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; cursor: pointer; user-select: none;
  background: var(--slate-100); border-radius: var(--r-sm, 8px);
  font-weight: 600; font-size: 0.95rem; color: var(--slate-700);
  transition: var(--ease);
}
.threat-category-header:hover { background: var(--slate-200); }
.threat-category-arrow { font-size: 0.75rem; width: 16px; text-align: center; }
.threat-category-count { color: var(--slate-400); font-weight: 400; font-size: 0.85rem; }
.threat-category-body { padding: 8px 0 0 0; display: flex; flex-direction: column; gap: 8px; }

/* ── Rule Card ── */
.threat-rule-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 16px 20px; transition: var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.threat-rule-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Card top: toggle + info + severity */
.threat-rule-top { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }

/* Rule info */
.threat-rule-info { flex: 1; min-width: 0; }
.threat-rule-name { font-weight: 700; font-size: 0.86rem; color: var(--slate-800); }
.threat-rule-desc { font-size: 0.75rem; color: var(--slate-400); margin-top: 2px; }

/* Severity controls wrapper */
.threat-rule-controls { flex-shrink: 0; width: auto; display: inline-flex; align-items: center; }

/* Card extra (threshold + lists) */
.threat-rule-extra {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--slate-200);
  display: flex; flex-direction: column; gap: 8px;
}

/* Threat toggle */
.threat-toggle { position: relative; display: inline-block; width: 42px; height: 22px; flex-shrink: 0; }
.threat-toggle input { opacity: 0; width: 0; height: 0; }
.threat-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--slate-300); border-radius: 22px; transition: var(--ease);
}
.threat-toggle-slider::before {
  content: ""; position: absolute; height: 16px; width: 16px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%;
  transition: var(--ease);
}
.threat-toggle input:checked + .threat-toggle-slider { background: var(--mint-500); }
.threat-toggle input:checked + .threat-toggle-slider::before { transform: translateX(20px); }

/* Severity select (native — hidden after enhanceAllSelects) */
select.severity-sel {
  width: auto; padding: 4px 28px 4px 10px; border-radius: var(--r-badge, 100px);
  font-size: 0.78rem; font-weight: 600; flex-shrink: 0;
}
select.severity-sel.severity-critical { background-color: #fef2f2; color: #dc2626; border-color: #fecaca; }
select.severity-sel.severity-warning  { background-color: #fffbeb; color: #d97706; border-color: #fde68a; }
select.severity-sel.severity-caution  { background-color: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }

/* base.html select { width: 100% } 오버라이드 */
.threat-rule-controls select { width: auto !important; }
.threat-rule-controls .custom-select { width: auto; }
.threat-rule-controls .custom-select-trigger { width: auto; }

/* Custom-select severity colors (applied via wrapper .threat-rule-controls) */
.severity-critical .custom-select-trigger { background-color: #fef2f2 !important; color: #dc2626 !important; border-color: #fecaca !important; }
.severity-warning  .custom-select-trigger { background-color: #fffbeb !important; color: #d97706 !important; border-color: #fde68a !important; }
.severity-caution  .custom-select-trigger { background-color: #f0fdf4 !important; color: #16a34a !important; border-color: #bbf7d0 !important; }

/* Threshold */
.threat-threshold { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.threshold-item { display: flex; align-items: center; gap: 4px; }
.threshold-label { font-size: 0.8rem; color: var(--slate-500); white-space: nowrap; }
.threshold-unit { font-size: 0.8rem; color: var(--slate-400); white-space: nowrap; }

/* List rows */
.threat-list-row { display: flex; align-items: flex-start; gap: 8px; }



/* ── 41-image-viewer.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Image Viewer
   ═══════════════════════════════════════════ */

.viewer-wrap {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 58, 107, 0.15);
}
.viewer-img-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--slate-200); overflow: hidden;
}
.viewer-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.5s ease;
}
.viewer-img-wrap img.active { opacity: 1; }

.arrow-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.25); color: rgba(255,255,255,0.85);
  font-size: 16px; cursor: pointer; opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.arrow-btn.prev { left: 14px; }
.arrow-btn.next { right: 14px; }
.viewer-img-wrap:hover .arrow-btn { opacity: 1; }
.arrow-btn:hover { background: rgba(0,0,0,0.45); }

.viewer-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px 14px; background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px); gap: 16px;
}
.caption-text { font-size: 13px; color: rgba(255,255,255,0.85); flex: 1; }
.caption-text strong { color: #fff; font-weight: 600; margin-right: 6px; }

.progress-bar {
  position: absolute; bottom: 44px; left: 0; right: 0; z-index: 11;
  height: 2px; background: rgba(255,255,255,0.15);
}
.progress-fill { height: 100%; background: var(--mint-400); width: 0%; }

.dot-row { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.35); border: none;
  cursor: pointer; padding: 0; transition: background 0.25s, width 0.25s;
}
.dot.active { background: var(--mint-400); width: 18px; }


@media (max-width: 768px) {
  .caption-text { font-size: 12px; }
}



/* ── 42-product-showcase.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Product Showcase
   ═══════════════════════════════════════════ */

/* Overview */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.overview-text h2 { font-size: 1.6rem; font-weight: 800; color: var(--slate-900); margin-bottom: 16px; line-height: 1.4; }
.overview-text p { color: var(--slate-500); font-size: 0.92rem; line-height: 1.8; margin-bottom: 16px; }
.overview-text .highlight {
  background: var(--mint-50); border-left: 4px solid var(--mint-500);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin-top: 20px;
  font-size: 0.88rem; color: var(--slate-700); line-height: 1.7;
}
.overview-image { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border: 1px solid var(--slate-200); }
.overview-image img { width: 100%; display: block; }

/* Mode cards */
.modes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mode-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  border: 1px solid var(--slate-200); transition: all 0.3s;
}
.mode-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--mint-300); }
.mode-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.mode-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--slate-900); }
.mode-card p { font-size: 0.85rem; color: var(--slate-500); line-height: 1.6; }
.mode-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mode-tags span {
  font-size: 0.72rem; padding: 3px 10px; border-radius: 100px;
  background: var(--slate-100); color: var(--slate-600); font-weight: 500;
}

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--slate-200); border-radius: 12px;
  padding: 24px 20px; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.feature-card:hover { box-shadow: 0 6px 24px rgba(26, 58, 107, 0.09); transform: translateY(-2px); border-color: var(--mint-200); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mint-500), #7ed6cf); border-radius: 12px 12px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--mint-50); margin-bottom: 16px; transition: background 0.2s ease;
}
.feature-card:hover .feature-icon { background: var(--mint-200); }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--mint-500); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 15px; font-weight: 700; color: var(--slate-800); margin-bottom: 8px; }
.feature-card p { font-size: 13px; font-weight: 300; color: var(--slate-500); line-height: 1.75; }

/* Workflow */
.workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.workflow-steps::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--mint-200), var(--mint-400), var(--mint-200));
}
.workflow-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: #fff; border: 3px solid var(--mint-400);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--mint-600);
  box-shadow: 0 4px 20px rgba(20,184,166,0.15);
}
.workflow-step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; color: var(--slate-900); }
.workflow-step p { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; max-width: 200px; margin: 0 auto; }

/* Spec table */
.spec-table {
  width: 100%; max-width: 800px; margin: 0 auto; border-collapse: collapse;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.spec-table th, .spec-table td { padding: 16px 24px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--slate-100); }
.spec-table th { background: var(--slate-50); font-weight: 600; color: var(--slate-700); width: 200px; }
.spec-table td { color: var(--slate-600); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Stats bar */
.stats { padding: 56px 32px; background: linear-gradient(135deg, var(--mint-600), var(--mint-700)); }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.stat-item p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }

@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .workflow-steps::before { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .modes-grid, .features-grid { grid-template-columns: 1fr; }
  .features-grid { gap: 14px; }
  .workflow-steps, .stats-inner { grid-template-columns: 1fr; }
}



/* ── 43-download-page.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Download Page
   ═══════════════════════════════════════════ */

/* Download scroll */
.download-scroll-wrap { position: relative; }
.download-grid {
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none; cursor: grab; padding: 8px 0;
}
.download-grid::-webkit-scrollbar { display: none; }
.scroll-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: 1px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s; color: var(--slate-600);
}
.scroll-arrow:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: var(--slate-900); }
.scroll-arrow.left { left: -16px; }
.scroll-arrow.right { right: -16px; }
.scroll-arrow.hidden { display: none; }

/* Download card */
.dl-card {
  min-width: calc((100% - 40px) / 3); flex-shrink: 0;
  background: #fff; border-radius: 20px; padding: 40px 36px;
  border: 2px solid var(--slate-200); transition: all 0.3s;
  position: relative; overflow: hidden;
}
.dl-card:hover { border-color: var(--mint-300); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.dl-card.featured { border-color: var(--mint-500); }
.dl-card.featured::before {
  content: '추천'; position: absolute; top: 12px; right: -36px;
  background: var(--mint-600); color: #fff; padding: 6px 48px;
  font-size: 0.72rem; font-weight: 700; transform: rotate(45deg);
}
.dl-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; margin-bottom: 16px; }
.dl-badge.blue { background: #dbeafe; color: #1e40af; }
.dl-badge.mint { background: var(--mint-100); color: var(--mint-800); }
.dl-badge.gold { background: #fef3c7; color: #92400e; }
.dl-card h2 { font-size: 1.4rem; font-weight: 800; color: var(--slate-900); margin-bottom: 6px; }
.dl-card .price { font-size: 0.92rem; color: var(--slate-500); margin-bottom: 20px; }
.dl-features { list-style: none; margin-bottom: 28px; }
.dl-features li { padding: 8px 0; font-size: 0.88rem; color: var(--slate-600); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--slate-50); }
.dl-features li:last-child { border-bottom: none; }
.dl-features .check { color: var(--mint-500); font-weight: 700; }
.dl-features .x { color: var(--slate-300); }
.btn-dl { width: 100%; padding: 14px; border-radius: 12px; border: none; font-size: 0.95rem; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: all 0.3s; }
.btn-dl.primary { background: var(--mint-600); color: #fff; box-shadow: 0 4px 16px rgba(13,148,136,0.3); }
.btn-dl.primary:hover { background: var(--mint-700); transform: translateY(-2px); }
.btn-dl.secondary { background: var(--slate-100); color: var(--slate-700); }
.btn-dl.secondary:hover { background: var(--slate-200); }
.btn-dl.gold-btn { background: #92400e; color: #fff; box-shadow: 0 4px 16px rgba(146,64,14,0.3); }
.btn-dl.gold-btn:hover { background: #78350f; transform: translateY(-2px); }
.dl-note { text-align: center; font-size: 0.78rem; color: var(--slate-400); margin-top: 10px; }

/* Version info */
.version-info { margin: 0 auto; background: #fff; border-radius: 16px; padding: 32px; border: 1px solid var(--slate-200); }
.version-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.version-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); }
.version-header .ver-badge { background: var(--mint-600); color: #fff; padding: 4px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.version-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ver-detail { background: var(--slate-50); border-radius: 12px; padding: 18px 20px; text-align: center; }
.ver-detail h4 { font-size: 0.78rem; color: var(--slate-400); font-weight: 500; margin-bottom: 4px; }
.ver-detail p { font-size: 0.95rem; font-weight: 700; color: var(--slate-800); }

/* Install steps */
.install-steps { margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.install-step { text-align: center; padding: 32px 24px; background: #fff; border-radius: 16px; border: 1px solid var(--slate-200); }
.install-num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--mint-100), var(--mint-200));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--mint-700);
}
.install-step h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.install-step p { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; }

/* Install path */
.install-path { margin-top: 32px; background: var(--slate-50); border-radius: 12px; border: 1px solid var(--slate-200); overflow: hidden; }
.install-path-header { display: flex; align-items: flex-start; gap: 16px; padding: 20px 28px 16px; }
.install-path-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--mint-100); color: var(--mint-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.install-path-header strong { font-size: 0.88rem; color: var(--slate-700); display: block; margin-bottom: 4px; }
.install-path-desc { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; margin: 0; }
.install-path-rows { display: flex; gap: 12px; padding: 0 28px 20px; }
.install-path-row { flex: 1; background: #fff; border-radius: 8px; padding: 12px 16px; border: 1px solid var(--slate-200); }
.install-path-label { font-size: 0.75rem; color: var(--slate-400); font-weight: 600; display: block; margin-bottom: 4px; }
.install-path-row code { font-size: 0.85rem; font-weight: 700; color: var(--slate-800); font-family: 'Outfit', monospace; }
.install-path-note { font-size: 0.75rem; color: var(--slate-400); display: block; margin-top: 2px; }

/* Requirement bar */
.req-bar {
  margin: 0 auto; background: var(--navy-900); border-radius: 16px; padding: 28px 36px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.req-item { text-align: center; flex: 1; }
.req-item h4 { font-size: 0.72rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.req-item p { font-size: 0.92rem; font-weight: 600; color: #fff; }

/* License */
.license-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 auto; }
.license-card {
  background: #fff; border-radius: 20px; padding: 36px 32px;
  border: 1px solid var(--slate-200); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.license-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.license-card-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.license-card-icon.blue { background: #dbeafe; color: #2563eb; }
.license-card-icon.mint { background: var(--mint-100); color: var(--mint-600); }
.license-card-icon.amber { background: #fef3c7; color: #d97706; }
.license-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; }
.license-card p { font-size: 0.88rem; color: var(--slate-500); line-height: 1.7; }
.license-card .dl-features { margin-top: 16px; margin-bottom: 0; }
.license-steps { list-style: none; margin-top: 20px; }
.license-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 0.88rem; color: var(--slate-600); border-bottom: 1px solid var(--slate-100); }
.license-steps li:last-child { border-bottom: none; }
.license-step-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--mint-100); color: var(--mint-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
}
.license-cta { margin-top: auto; padding-top: 24px; }
.btn-contact {
  display: block; width: 100%; padding: 14px; border-radius: 12px;
  background: var(--mint-600); color: #fff; text-decoration: none;
  font-size: 0.95rem; font-weight: 700; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(13,148,136,0.3); text-align: center;
}
.btn-contact:hover { background: var(--mint-700); transform: translateY(-2px); }

@media (max-width: 768px) {
  .dl-card { min-width: 280px; max-width: none; }
  .scroll-arrow { display: none !important; }
  .version-details { grid-template-columns: 1fr 1fr; }
  .install-steps { grid-template-columns: 1fr 1fr; }
  .install-path-rows { flex-direction: column; }
  .req-bar { flex-direction: column; text-align: center; }
  .license-grid { grid-template-columns: 1fr; }
}



/* ── 44-notice-board.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Notice Board
   ═══════════════════════════════════════════ */

.notice-container { }
.notice-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.notice-filters button {
  padding: 8px 18px; border-radius: 100px; border: 1px solid var(--slate-200);
  background: #fff; color: var(--slate-600); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.notice-filters button:hover { border-color: var(--mint-400); color: var(--mint-700); }
.notice-filters button.active { background: var(--mint-600); color: #fff; border-color: var(--mint-600); }

/* Notice list */
.notice-list { display: flex; flex-direction: column; gap: 8px; }
.notice-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 24px;
  background: #fff; border-radius: 12px; border: 1px solid var(--slate-200);
  transition: all 0.2s; cursor: pointer; text-decoration: none; color: inherit;
}
.notice-item:hover { border-color: var(--mint-300); box-shadow: 0 4px 16px rgba(0,0,0,0.05); transform: translateY(-1px); }
.notice-item.pinned { background: var(--mint-50); border-color: var(--mint-200); }
.notice-item.pinned:hover { background: rgba(204,251,241,0.7); border-color: var(--mint-300); }
.notice-num { font-size: 0.82rem; color: var(--slate-400); text-align: center; width: 40px; flex-shrink: 0; }
.notice-num .pin-icon { color: var(--mint-600); }
.notice-content { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.notice-badge { font-size: 0.7rem; padding: 3px 10px; border-radius: 100px; font-weight: 600; flex-shrink: 0; }
.notice-title { font-size: 0.92rem; font-weight: 500; color: var(--slate-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item.pinned .notice-title { font-weight: 700; }
.notice-new { font-size: 0.65rem; background: #ef4444; color: #fff; padding: 1px 6px; border-radius: 4px; font-weight: 700; flex-shrink: 0; }
.notice-views { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--slate-400); flex-shrink: 0; }
.notice-views svg { width: 14px; height: 14px; }
.notice-date { font-size: 0.8rem; color: var(--slate-400); text-align: right; flex-shrink: 0; }

/* Notice search */
.notice-search { position: relative; margin-bottom: 24px; }
.notice-search .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate-400); pointer-events: none; }
.notice-search .search-icon svg { width: 18px; height: 18px; }
.notice-search input {
  width: 100%; padding: 12px 120px 12px 44px; border: 1px solid var(--slate-200);
  border-radius: 12px; font-size: 0.88rem; outline: none; font-family: var(--font-body); box-sizing: border-box;
}
.notice-search input:focus { border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(20,184,166,0.1); }
.notice-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 8px 20px; border-radius: 8px; border: none;
  background: var(--mint-600); color: #fff; font-weight: 600;
  font-size: 0.85rem; cursor: pointer; font-family: var(--font-body);
  display: flex; align-items: center; gap: 6px; transition: background 0.2s;
}
.notice-search button:hover { background: var(--mint-700); }
.notice-search button svg { width: 15px; height: 15px; }

/* Loading */
.content-loading { text-align: center; padding: 60px 0; color: var(--slate-400); font-size: 0.9rem; }

/* Notice detail modal */
.notice-detail-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--slate-100);
  font-size: 0.82rem; color: var(--slate-400);
}
.notice-detail-meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.notice-detail-content { font-size: 0.95rem; line-height: 1.9; color: var(--slate-700); white-space: pre-wrap; word-break: break-word; }
.notice-nav-btn {
  padding: 10px 20px; border-radius: 10px; border: 1px solid var(--slate-200);
  background: #fff; color: var(--slate-600); font-size: 0.82rem;
  cursor: pointer; font-family: var(--font-body);
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 4px;
}
.notice-nav-btn:hover:not(:disabled) { border-color: var(--mint-400); color: var(--mint-700); background: var(--mint-50); }
.notice-nav-btn:disabled { opacity: 0.4; cursor: default; border-color: var(--slate-100); color: var(--slate-300); background: var(--slate-50); }
.notice-nav-btn:first-child { margin-right: auto; }

@media (max-width: 768px) {
  .notice-item { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .notice-views { display: none; }
  .notice-date { font-size: 0.72rem; }
  .notice-search input { padding-right: 100px; }
  .notice-search button { padding: 8px 14px; font-size: 0.8rem; }
}



/* ── 45-support-page.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Support Page
   ═══════════════════════════════════════════ */

/* Tab button (pill style) */
.tab-btn {
  flex: 1; padding: 12px 20px; border: none; border-radius: 10px;
  background: transparent; font-size: 0.88rem; font-weight: 600;
  color: var(--slate-500); cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.tab-btn:hover { color: var(--slate-700); }
.tab-btn.active { background: #fff; color: var(--mint-700); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Update items */
.update-item {
  background: #fff; border-radius: 16px; padding: 32px;
  border: 1px solid var(--slate-200); margin-bottom: 20px; transition: all 0.3s;
}
.update-item:hover { border-color: var(--mint-300); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.update-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.update-version {
  background: var(--mint-600); color: #fff; padding: 4px 14px;
  border-radius: 100px; font-size: 0.78rem; font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.update-version.old { background: var(--slate-400); }
.update-date { font-size: 0.82rem; color: var(--slate-400); }
.update-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.update-changes { list-style: none; }
.update-changes li {
  padding: 8px 0; font-size: 0.88rem; color: var(--slate-600);
  border-bottom: 1px solid var(--slate-50); display: flex; align-items: flex-start; gap: 10px;
}
.update-changes li:last-child { border-bottom: none; }

/* Bug report form */
.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 40px; border-radius: 12px; border: none;
  background: var(--mint-600); color: #fff; font-size: 0.95rem; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  box-shadow: 0 4px 16px rgba(13,148,136,0.3); transition: all 0.3s;
}
.btn-submit:hover { background: var(--mint-700); transform: translateY(-2px); }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.info-card {
  background: #fff; border-radius: 12px; padding: 20px 24px;
  border: 1px solid var(--slate-200); display: flex; align-items: flex-start; gap: 16px;
}
.info-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card-icon svg { width: 22px; height: 22px; }
.info-card-icon.red { background: #fee2e2; color: #dc2626; }
.info-card-icon.blue { background: #dbeafe; color: #2563eb; }
.info-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.info-card p { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; }

/* FAQ */
.faq-category { margin-bottom: 48px; }
.faq-category-title {
  font-size: 1.1rem; font-weight: 700; color: var(--slate-900);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--mint-200);
  display: flex; align-items: center; gap: 8px;
}
.faq-category-title .svg-icon { color: var(--mint-600); }
.faq-item { border: 1px solid var(--slate-200); border-radius: 12px; margin-bottom: 8px; overflow: hidden; background: #fff; }
.faq-question {
  padding: 18px 24px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.92rem; font-weight: 600; color: var(--slate-800); transition: background 0.2s;
}
.faq-question:hover { background: var(--slate-50); }
.faq-question .arrow { color: var(--slate-400); transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; display: flex; }
.faq-question .arrow svg { width: 16px; height: 16px; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--mint-700); background: var(--mint-50); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 20px 24px; font-size: 0.88rem; color: var(--slate-600); line-height: 1.7; }
.faq-contact {
  background: var(--mint-50); border: 1px solid var(--mint-200);
  border-radius: 16px; padding: 32px; text-align: center; margin-top: 48px;
}
.faq-contact h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.faq-contact p { font-size: 0.88rem; color: var(--slate-500); margin-bottom: 16px; }
.faq-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 10px; background: var(--mint-600); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 0.88rem;
}
.faq-contact a svg { width: 16px; height: 16px; }

/* Manual */
.manual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.manual-card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  border: 1px solid var(--slate-200); transition: all 0.3s;
  text-decoration: none; color: inherit; display: block;
}
.manual-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--mint-300); }
.manual-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--mint-100), var(--mint-200)); color: var(--mint-700);
}
.manual-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.manual-card p { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 16px; }
.manual-meta { display: flex; align-items: center; gap: 12px; font-size: 0.75rem; color: var(--slate-400); }
.manual-meta .format { background: var(--slate-100); padding: 2px 10px; border-radius: 100px; font-weight: 600; color: var(--slate-600); }
.manual-download { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--mint-600); font-weight: 600; margin-top: 4px; }
.manual-download svg { width: 16px; height: 16px; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--slate-200); transition: all 0.3s; }
.video-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.video-thumb {
  aspect-ratio: 16/9; background: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 2.5rem; cursor: pointer; position: relative;
}
.video-thumb .svg-icon { z-index: 1; opacity: 0.25; }
.video-thumb .svg-icon svg { width: 120px; height: 120px; }
.video-thumb::after {
  content: '▶'; position: absolute;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; z-index: 2;
}
.video-info { padding: 18px 20px; }
.video-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.video-info p { font-size: 0.78rem; color: var(--slate-400); }

/* Inquiry list */
.inq-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.inq-filters button {
  padding: 8px 18px; border-radius: 100px; border: 1px solid var(--slate-200);
  background: #fff; color: var(--slate-600); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.inq-filters button:hover { border-color: var(--mint-400); color: var(--mint-700); }
.inq-filters button.active { background: var(--mint-600); color: #fff; border-color: var(--mint-600); }
.inq-list { display: flex; flex-direction: column; gap: 8px; }
.inq-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 24px;
  background: #fff; border-radius: 12px; border: 1px solid var(--slate-200);
  transition: all 0.2s; cursor: pointer; text-decoration: none; color: inherit;
}
.inq-item:hover { border-color: var(--mint-300); box-shadow: 0 4px 16px rgba(0,0,0,0.05); transform: translateY(-1px); }
.inq-content { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.inq-title { font-size: 0.92rem; font-weight: 500; color: var(--slate-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inq-date { font-size: 0.8rem; color: var(--slate-400); text-align: right; flex-shrink: 0; }
.inq-limit-msg { text-align: center; padding: 12px; margin-top: 12px; font-size: 0.82rem; color: var(--slate-400); background: var(--slate-50); border-radius: 8px; }
.inq-reply-tag { font-size: 0.65rem; background: var(--mint-600); color: #fff; padding: 1px 6px; border-radius: 4px; font-weight: 700; flex-shrink: 0; }

/* Inquiry modal */
.inq-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(2px);
}
.inq-modal-overlay.show { opacity: 1; visibility: visible; }
.inq-modal {
  background: #fff; border-radius: 20px; width: 95%; max-width: 700px;
  max-height: 85vh; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  transform: translateY(20px) scale(0.98); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.inq-modal-overlay.show .inq-modal { transform: translateY(0) scale(1); }
.inq-modal-head {
  padding: 24px 32px 20px; background: linear-gradient(135deg, var(--mint-50), #f0fdfa);
  border-bottom: 1px solid var(--mint-100); display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px; flex-shrink: 0;
}
.inq-modal-head h3 { font-size: 1.15rem; font-weight: 700; color: var(--slate-800); margin: 0; line-height: 1.5; }
.inq-modal-close {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.inq-modal-close:hover { background: rgba(0,0,0,0.06); }
.inq-modal-close svg { width: 18px; height: 18px; stroke: var(--slate-400); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.inq-modal-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.inq-modal-body { padding: 28px 32px 32px; flex: 1; overflow-y: auto; min-height: 0; }
.inq-detail-grid { display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: 0.88rem; margin-bottom: 24px; }
.inq-detail-grid dt { color: var(--slate-500); font-weight: 600; white-space: nowrap; padding: 10px 20px 10px 0; border-bottom: 1px solid var(--slate-100); }
.inq-detail-grid dd { color: var(--slate-800); margin: 0; padding: 10px 0; border-bottom: 1px solid var(--slate-100); }
.inq-detail-label { font-size: 0.82rem; font-weight: 700; color: var(--slate-600); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.inq-detail-label svg { width: 16px; height: 16px; color: var(--mint-600); }
.inq-detail-content { padding: 18px 20px; background: var(--slate-50); border-radius: 12px; font-size: 0.88rem; color: var(--slate-700); line-height: 1.8; white-space: pre-wrap; margin-bottom: 24px; border: 1px solid var(--slate-100); }
.inq-detail-attach { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.inq-detail-attach img { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; border: 1px solid var(--slate-200); cursor: pointer; transition: all 0.2s; }
.inq-detail-attach img:hover { border-color: var(--mint-400); box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: scale(1.05); }
.inq-detail-attach .file-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--slate-100); border-radius: 10px; color: var(--mint-600); text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: all 0.2s; }
.inq-detail-attach .file-link:hover { background: var(--mint-50); color: var(--mint-700); }
.inquiry-type-badge { font-size: 0.72rem; padding: 2px 10px; border-radius: 100px; font-weight: 600; }
.inquiry-type-badge.bug { background: #fee2e2; color: #991b1b; }
.inquiry-type-badge.inquiry { background: #dbeafe; color: #1e40af; }
.inquiry-type-badge.improve { background: #fef3c7; color: #92400e; }
.inquiry-status { font-size: 0.72rem; padding: 2px 10px; border-radius: 100px; font-weight: 600; flex-shrink: 0; }
.inquiry-status.pending { background: #fef3c7; color: #92400e; }
.inquiry-status.reviewing, .inquiry-status.in_progress { background: #dbeafe; color: #1e40af; }
.inquiry-status.resolved, .inquiry-status.replied { background: #dcfce7; color: #166534; }
.inquiry-status.closed { background: var(--slate-100); color: var(--slate-500); }
.inquiry-reply {
  margin-top: 4px; padding: 18px 20px; background: var(--mint-50);
  border-left: 3px solid var(--mint-500); border-radius: 0 12px 12px 0;
  font-size: 0.88rem; color: var(--slate-700); line-height: 1.7; white-space: pre-wrap;
}
.inquiry-reply-label { font-size: 0.78rem; font-weight: 700; color: var(--mint-700); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.inquiry-reply-label svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .tab-bar { flex-wrap: wrap; }
  .tab-btn { flex: none; width: calc(50% - 4px); padding: 10px 12px; font-size: 0.82rem; }
  .manual-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inq-item { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .inq-date { font-size: 0.72rem; }
}



/* ── 46-quick-actions.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Quick Actions
   ═══════════════════════════════════════════ */

.quick-actions {
  padding: 48px 32px 56px; background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}
.quick-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.quick-card {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  border: 1px solid var(--slate-200); text-align: center;
  text-decoration: none; color: inherit; transition: all 0.3s ease;
  cursor: pointer; display: block;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--mint-300); }
.quick-icon {
  width: 52px; height: 52px; border-radius: 14px;
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.quick-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-icon.feat { background: var(--mint-50); }
.quick-icon.feat svg { stroke: var(--mint-600); }
.quick-card:hover .quick-icon.feat { background: var(--mint-200); }
.quick-icon.update { background: #eff6ff; }
.quick-icon.update svg { stroke: #3b82f6; }
.quick-card:hover .quick-icon.update { background: #bfdbfe; }
.quick-icon.notice { background: #fffbeb; }
.quick-icon.notice svg { stroke: #d97706; }
.quick-card:hover .quick-icon.notice { background: #fde68a; }
.quick-icon.inquiry { background: #fdf2f8; }
.quick-icon.inquiry svg { stroke: #db2777; }
.quick-card:hover .quick-icon.inquiry { background: #fbcfe8; }
.quick-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.quick-card p { font-size: 0.8rem; color: var(--slate-500); line-height: 1.5; }
.quick-card .arrow { display: inline-block; margin-top: 12px; font-size: 0.78rem; color: var(--mint-600); font-weight: 600; transition: transform 0.2s; }
.quick-card:hover .arrow { transform: translateX(4px); }

@media (max-width: 1024px) { .quick-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .quick-inner { grid-template-columns: 1fr; } }



/* ── 47-animation.css ── */

/* ═══════════════════════════════════════════
   K-Design System — Animation
   ═══════════════════════════════════════════ */

/* Fade up (scroll reveal) */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Pulse */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

