:root {
  --gh-blue:#0972ff;
  --gh-blue-700:#0659ca;
  --gh-navy:#0b2b59;
  --gh-navy-900:#071b38;
  --gh-surface:#ffffff;
  --gh-bg:#f4f8ff;
  --gh-bg-2:#eef5ff;
  --gh-border:#d9e7fb;
  --gh-border-strong:#c6daf8;
  --gh-text:#15345f;
  --gh-muted:#6680a6;
  --gh-success:#0f9f6e;
  --gh-warning:#d08b08;
  --gh-danger:#d73f4c;
  --gh-info:#3978d3;
  --gh-shadow:0 18px 48px rgba(20,67,130,.10);
  --gh-shadow-sm:0 8px 24px rgba(20,67,130,.08);
  --gh-radius:16px;
  --gh-radius-sm:11px;
  --gh-sidebar:260px;
  --gh-header:76px;
  --gh-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  font-family:var(--gh-font);
  color:var(--gh-text);
  background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);
  min-height:100vh
}
a {
  color:inherit;
  text-decoration:none
}
button,input,textarea,select {
  font:inherit
}
button {
  cursor:pointer
}
img {
  max-width:100%;
  display:block
}
.hidden {
  display:none!important
}
.muted {
  color:var(--gh-muted)
}
.text-danger {
  color:var(--gh-danger)
}
.text-success {
  color:var(--gh-success)
}
.small {
  font-size:.83rem
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.72rem;
  font-weight:800;
  color:var(--gh-blue)
}
.container {
  width:min(1180px,calc(100% - 32px));
  margin:0 auto
}
.card {
  background:rgba(255,255,255,.94);
  border:1px solid var(--gh-border);
  border-radius:var(--gh-radius);
  box-shadow:var(--gh-shadow-sm)
}
.btn {
  border:0;
  border-radius:11px;
  padding:.78rem 1rem;
  display:inline-flex;
  gap:.55rem;
  align-items:center;
  justify-content:center;
  font-weight:760;
  transition:.18s ease;
  min-height:44px
}
.btn:hover {
  transform:translateY(-1px)
}
.btn-primary {
  background:linear-gradient(135deg,var(--gh-blue),#2d8cff);
  color:#fff;
  box-shadow:0 10px 22px rgba(9,114,255,.22)
}
.btn-primary:hover {
  box-shadow:0 14px 28px rgba(9,114,255,.28)
}
.btn-secondary {
  background:#eef5ff;
  color:#1456b6;
  border:1px solid #cfe1fb
}
.btn-ghost {
  background:#fff;
  color:var(--gh-text);
  border:1px solid var(--gh-border)
}
.btn-danger {
  background:#fff0f1;
  color:#b52231;
  border:1px solid #ffd1d6
}
.btn-sm {
  min-height:36px;
  padding:.55rem .78rem;
  font-size:.88rem
}
.icon-btn {
  width:42px;
  height:42px;
  border:1px solid var(--gh-border);
  border-radius:12px;
  background:#fff;
  color:#1b579f;
  display:grid;
  place-items:center;
  transition:.18s ease
}
.icon-btn:hover {
  background:#f0f6ff;
  border-color:#bdd4f6;
  transform:translateY(-1px)
}
.field {
  display:flex;
  flex-direction:column;
  gap:.45rem
}
.field label {
  font-size:.86rem;
  font-weight:720;
  color:#294a76
}
.field input,.field textarea,.field select,.search-input {
  width:100%;
  border:1px solid var(--gh-border-strong);
  background:#fbfdff;
  border-radius:11px;
  color:var(--gh-text);
  outline:none;
  transition:.18s;
  padding:.82rem .9rem
}
.field input:focus,.field textarea:focus,.field select:focus,.search-input:focus {
  border-color:#78aeff;
  box-shadow:0 0 0 4px rgba(9,114,255,.10);
  background:#fff
}
.field textarea {
  min-height:120px;
  resize:vertical
}
.field-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.34rem .62rem;
  border-radius:999px;
  font-size:.76rem;
  font-weight:760;
  background:#edf4ff;
  color:#265b9f;
  border:1px solid #d9e8fd
}
.badge.success {
  background:#edfbf5;
  color:#087d58;
  border-color:#c7f0df
}
.badge.warning {
  background:#fff8e8;
  color:#9f6b07;
  border-color:#f8e3af
}
.badge.danger {
  background:#fff0f1;
  color:#a72e3a;
  border-color:#ffd0d5
}
.badge.info {
  background:#eef5ff;
  color:#225ea8;
  border-color:#d5e4fb
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--gh-border);
  border-radius:14px;
  background:#fff
}
table {
  border-collapse:collapse;
  width:100%;
  min-width:760px
}
th,td {
  text-align:left;
  padding:.82rem .9rem;
  border-bottom:1px solid #edf2fa;
  font-size:.88rem;
  vertical-align:middle
}
th {
  font-size:.74rem;
  color:#617ba0;
  text-transform:uppercase;
  letter-spacing:.06em;
  background:#f8fbff;
  position:sticky;
  top:0;
  z-index:1
}
tr:last-child td {
  border-bottom:0
}
.empty {
  padding:38px 20px;
  text-align:center;
  color:var(--gh-muted)
}
.hr {
  height:1px;
  background:var(--gh-border);
  margin:16px 0
}
.progress {
  height:8px;
  background:#eaf2ff;
  border-radius:999px;
  overflow:hidden
}
.progress span {
  display:block;
  height:100%;
  background:linear-gradient(90deg,var(--gh-blue),#5ba3ff);
  border-radius:999px
}
.toast-host {
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none
}
.toast {
  min-width:280px;
  max-width:420px;
  background:#fff;
  border:1px solid var(--gh-border);
  box-shadow:var(--gh-shadow);
  border-radius:14px;
  padding:14px 16px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  animation:toastIn .26s ease both;
  pointer-events:auto
}
.toast strong {
  display:block;
  font-size:.9rem
}
.toast p {
  margin:3px 0 0;
  font-size:.82rem;
  color:var(--gh-muted);
  line-height:1.4
}
.toast.success {
  border-left:4px solid var(--gh-success)
}
.toast.error {
  border-left:4px solid var(--gh-danger)
}
.toast.warning {
  border-left:4px solid var(--gh-warning)
}
.toast.info {
  border-left:4px solid var(--gh-blue)
}
.modal-backdrop {
  position:fixed;
  inset:0;
  background:rgba(5,22,47,.48);
  backdrop-filter:blur(6px);
  z-index:9990;
  display:grid;
  place-items:center;
  padding:18px;
  animation:fadeIn .16s ease
}
.modal {
  width:min(720px,100%);
  max-height:min(88vh,850px);
  overflow:auto;
  background:#fff;
  border:1px solid #d4e3f8;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(8,41,88,.28);
  animation:modalIn .2s ease
}
.modal-lg {
  width:min(980px,100%)
}
.modal-head,.modal-foot {
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.modal-head {
  border-bottom:1px solid var(--gh-border)
}
.modal-body {
  padding:20px
}
.modal-foot {
  border-top:1px solid var(--gh-border);
  justify-content:flex-end
}
.modal h3 {
  margin:0;
  font-size:1.05rem
}
.modal-close {
  border:0;
  background:#f3f7fc;
  color:#416187;
  width:36px;
  height:36px;
  border-radius:10px
}
.skeleton {
  position:relative;
  overflow:hidden;
  background:#eaf1fb;
  border-radius:9px
}
.skeleton::after {
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);
  animation:shimmer 1.35s infinite
}
.logo-image {
  height:34px;
  width:auto;
  object-fit:contain
}
.status-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  display:inline-block;
  background:var(--gh-success);
  box-shadow:0 0 0 4px rgba(15,159,110,.12)
}
[data-lucide] {
  width:18px;
  height:18px;
  stroke-width:1.9
}
@keyframes toastIn {
  from {
    opacity:0;
    transform:translateY(14px)
  }
  to {
    opacity:1;
    transform:none
  }
}
@keyframes fadeIn {
  from {
    opacity:0
  }
  to {
    opacity:1
  }
}
@keyframes modalIn {
  from {
    opacity:0;
    transform:translateY(12px) scale(.985)
  }
  to {
    opacity:1;
    transform:none
  }
}
@keyframes shimmer {
  100% {
    transform:translateX(100%)
  }
}
@media(max-width:760px) {
  .field-row {
    grid-template-columns:1fr
  }
  .container {
    width:min(100% - 20px,1180px)
  }
  .toast-host {
    left:10px;
    right:10px;
    bottom:10px
  }
  .toast {
    min-width:0;
    max-width:none
  }
}
.upload-zone {
  border:1.5px dashed #b8d2f6;
  border-radius:12px;
  background:#f8fbff;
  padding:18px;
  display:flex;
  align-items:center;
  gap:12px;
  transition:.18s ease;
  cursor:pointer;
  color:#557397
}
.upload-zone:hover,.upload-zone.dragover {
  border-color:#69a8ff;
  background:#eef6ff;
  color:#195faf
}
.upload-zone .upload-zone-icon {
  width:42px;
  height:42px;
  border-radius:10px;
  background:#e7f1ff;
  color:#0c68d8;
  display:grid;
  place-items:center;
  flex:0 0 auto
}
.upload-zone strong {
  display:block;
  font-size:.84rem;
  color:#244d7f
}
.upload-zone small {
  display:block;
  font-size:.72rem;
  margin-top:3px
}
.upload-progress {
  height:7px;
  background:#e9f1fb;
  border-radius:999px;
  overflow:hidden;
  margin-top:10px
}
.upload-progress span {
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg,#0972ff,#65a8ff);
  transition:width .15s linear
}
