:root {
  --page-bg: #ffffff;
  --panel-bg: #f4f5f7;
  --panel-border: #d9e7f7;
  --text: #0f2847;
  --muted: #dfe1e4;
  --soft-row: #f1f1f1;
  --blue: #1e7ae8;
  --link-red: #ee2b22;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1110px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: #f3f4f6;
  border-bottom: 1px solid #eceef2;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 74px;
  height: auto;
  display: block;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.02;
  color: #222;
}

.brand-text span,
.brand-text strong {
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 18px;
}

.brand-text strong {
  font-size: 27px;
  font-weight: 700;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 18px;
}

.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #183657;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  position: relative;
}

.icon-search::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.icon-search::after {
  content: "";
  width: 6px;
  height: 2px;
  background: currentColor;
  position: absolute;
  right: -1px;
  bottom: 1px;
  transform: rotate(45deg);
  transform-origin: center;
}

.icon-scale::before {
  content: "";
  width: 11px;
  height: 2px;
  background: currentColor;
  position: absolute;
  top: 2px;
  left: 1px;
}

.icon-scale::after {
  content: "";
  width: 2px;
  height: 11px;
  background: currentColor;
  position: absolute;
  left: 6px;
  top: 1px;
  box-shadow: -5px 6px 0 0 currentColor, 5px 6px 0 0 currentColor;
}

.icon-book::before,
.icon-book::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 5px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 1px;
}

.icon-book::before {
  left: 0;
}

.icon-book::after {
  right: 0;
}

.icon-at::before {
  content: "@";
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.page {
  padding: 20px 0 64px;
  min-height: calc(100vh - 140px);
}

h1 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 600;
  color: #163253;
}

.details-strip {
  border-top: 1px solid #dce0e4;
}

.meta-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  padding: 7px 0;
  border-bottom: 1px solid #dce0e4;
  font-size: 19px;
}

.label {
  font-weight: 700;
  color: #102845;
  padding-left: 4px;
}

.notice {
  margin: 50px 0 18px;
  border: 1px solid #b8d6f7;
  background: #fbfdff;
  border-radius: 3px;
  padding: 15px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: #0a4f9c;
}

.notice p {
  margin: 0;
}

.notice a {
  color: var(--link-red);
  font-weight: 700;
}

.notice-icon {
  color: #0a4f9c;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.seal-banner {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 18px;
  padding: 7px 12px;
  margin-bottom: 0;
}

.seal-card {
  margin-top: 0;
}

.table-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 35px;
  align-items: center;
  font-size: 19px;
}

.table-row.shaded,
.seal-total {
  background: var(--soft-row);
}

.table-label,
.table-value {
  padding: 5px 4px;
}

.table-label {
  font-weight: 700;
  color: #102845;
}

.seal-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 35px;
  padding: 4px 6px;
  color: #577290;
  font-size: 20px;
  font-style: italic;
}

.notice-bottom {
  margin-top: 17px;
}

.footer {
  background: #f3f4f6;
  border-top: 1px solid #eceef2;
}

.footer p {
  margin: 0;
  text-align: center;
  padding: 24px 0 28px;
  color: #232323;
  font-size: 18px;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .brand-text span {
    font-size: 14px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .top-links {
    gap: 12px;
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .notice {
    margin-top: 28px;
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1110px);
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 56px;
  }

  .meta-row,
  .table-row {
    grid-template-columns: 120px 1fr;
    font-size: 17px;
  }

  .notice {
    padding: 14px 16px;
    align-items: flex-start;
  }

  .notice-icon {
    font-size: 28px;
    margin-top: -3px;
  }

  .seal-total {
    justify-content: center;
    text-align: center;
    font-size: 18px;
  }
}
