* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #101828;
  background:
    radial-gradient(circle at 10% 10%, #b3d9ff 0%, transparent 35%),
    radial-gradient(circle at 90% 10%, #c6dbea 0%, transparent 40%),
    #e8eef2;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shell {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  padding: 30px 40px 34px 30px;
}

.dashboard-frame {
  width: 96vw;
  height: 94vh;
  background: #f7fafc;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  display: flex;
  overflow: hidden;
}

.dashboard-sidebar {
  width: 96px;
  padding: 118px 13px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  overflow-y: auto;
  flex-shrink: 0;
}

.dashboard-sidebar::-webkit-scrollbar {
  display: none;
}

.dashboard-sidebar a,
.dashboard-sidebar button {
  width: 54px;
  height: 54px;
  min-height: 54px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #9aa3af;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}

.dashboard-sidebar a.active,
.dashboard-sidebar button.active {
  color: #0052cc;
  border: 2px solid rgba(0, 82, 204, 0.18);
  box-shadow: 0 14px 28px rgba(0, 82, 204, 0.18);
}

.dashboard-sidebar a:hover,
.dashboard-sidebar button:hover {
  color: #0052cc;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #667085;
  font-weight: 700;
}

button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #e6ebf2;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

a {
  color: inherit;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-btn,
.primary-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid #e6ebf2;
  background: #fff;
}

.primary-btn,
button.primary {
  background: #0052cc;
  border-color: #0052cc;
  color: #fff;
}

.hero {
  margin: 38px 0 34px;
}

.hero p {
  color: #0052cc;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero span {
  display: block;
  max-width: 680px;
  color: #667085;
  font-size: 18px;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid #e6ebf2;
  border-radius: 24px;
  background: #fff;
}

article strong,
article span {
  display: block;
}

article strong {
  margin-bottom: 18px;
  font-size: 16px;
}

article span {
  color: #667085;
  line-height: 1.55;
}

.panel {
  border: 1px solid #e6ebf2;
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h2 {
  font-size: 24px;
}

.panel-head p {
  color: #667085;
  margin-top: 6px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid #e6ebf2;
  text-align: left;
  font-size: 14px;
}

th {
  color: #667085;
  font-size: 12px;
  text-transform: uppercase;
}

.muted {
  color: #667085;
}

.message {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
}

.message.show {
  display: block;
}

.message.success {
  background: #ecfdf5;
  color: #047857;
}

.message.error {
  background: #fef2f2;
  color: #b42318;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 820px) {
  body {
    height: auto;
    min-height: 100vh;
    padding: 0;
    overflow: auto;
  }

  .dashboard-frame {
    width: 100vw;
    min-height: 100vh;
    height: auto;
    border-radius: 0;
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    padding: 18px;
    flex-direction: row;
    justify-content: flex-start;
  }

  .shell {
    padding: 22px;
  }

  .grid,
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
