.barw-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.barw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}

.barw-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #111827;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

.barw-hero p,
.barw-card p,
.barw-form p,
.barw-empty p,
.barw-reader p {
  color: #526071;
  line-height: 1.6;
}

.barw-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 17px;
}

.barw-kicker,
.barw-card span {
  color: #7c3aed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.barw-kicker {
  margin: 0 0 10px !important;
}

.barw-panel,
.barw-card,
.barw-form,
.barw-empty,
.barw-notice,
.barw-reader,
.barw-status,
.barw-table {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}

.barw-panel {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.barw-panel strong {
  color: #7c3aed;
  font-size: 46px;
  line-height: 1;
}

.barw-panel span,
.barw-panel a {
  margin-top: 8px;
  color: #526071;
}

.barw-panel a,
.barw-form button,
.barw-inline-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #7c3aed;
  border-radius: 8px;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.barw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.barw-card,
.barw-reader {
  padding: 18px;
}

.barw-card h3,
.barw-section-head h2,
.barw-reader h3,
.barw-form h4 {
  margin: 0;
  color: #111827;
  letter-spacing: 0;
}

.barw-card h3 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.barw-book {
  margin: 8px 0 12px !important;
  color: #667085 !important;
  font-weight: 700;
}

.barw-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.barw-proof div {
  min-width: 92px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.barw-proof strong {
  display: block;
  color: #111827;
  font-size: 22px;
}

.barw-proof small {
  color: #667085;
}

.barw-form {
  margin-top: 18px;
  padding: 16px;
  background: #f8fafc;
}

.barw-form.compact {
  box-shadow: none;
}

.barw-form label {
  display: block;
  margin: 12px 0;
  color: #344054;
  font-weight: 700;
}

.barw-form input,
.barw-form select,
.barw-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: #111827;
}

.barw-check {
  display: flex !important;
  gap: 8px;
  align-items: center;
}

.barw-check input {
  width: auto;
  margin: 0;
}

.barw-form small {
  display: block;
  margin-top: 10px;
  color: #667085;
}

.barw-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 20px 0 14px;
}

.barw-section-head h2 {
  font-size: 28px;
}

.barw-section-head span {
  color: #667085;
}

.barw-reader-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.barw-progress {
  height: 10px;
  margin: 12px 0 6px;
  overflow: hidden;
  border-radius: 8px;
  background: #e5e7eb;
}

.barw-progress span {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: #7c3aed;
}

.barw-empty,
.barw-notice,
.barw-status {
  padding: 18px;
}

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

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

.barw-table th,
.barw-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.barw-table th {
  color: #344054;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.barw-inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.barw-inline-form button + button {
  border-color: #c2410c;
  background: #c2410c;
}

.barw-muted {
  color: #667085;
}

.barw-admin-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.barw-admin-cards div {
  min-width: 120px;
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #ffffff;
}

.barw-admin-cards strong {
  display: block;
  font-size: 28px;
}

@media (max-width: 780px) {
  .barw-hero {
    grid-template-columns: 1fr;
  }

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

  .barw-section-head {
    align-items: start;
    flex-direction: column;
  }
}
