.gpnw2027-wrap {
  --gpnw-blue: #acd0ed;
  --gpnw-orange: #f49900;
  --gpnw-beige: #afa288;
  --gpnw-text: #615b52;
  --gpnw-line: #ded8ce;
  --gpnw-soft: #f7f4ee;
  --gpnw-white: #ffffff;
  color: var(--gpnw-text);
  font-family: Arial, Helvetica, sans-serif;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 52px;
  line-height: 1.5;
}

.gpnw2027-wrap *,
.gpnw2027-wrap *::before,
.gpnw2027-wrap *::after {
  box-sizing: border-box;
}

.gpnw2027-wrap h1,
.gpnw2027-wrap h2,
.gpnw2027-wrap h3 {
  color: var(--gpnw-text);
  letter-spacing: 0;
  line-height: 1.22;
}

.gpnw2027-wrap h1 {
  margin: 0 0 24px;
  font-size: 34px;
}

.gpnw2027-wrap h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.gpnw2027-wrap h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.gpnw2027-card {
  background: var(--gpnw-white);
  border: 1px solid var(--gpnw-line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(97, 91, 82, 0.08);
  margin: 0 0 22px;
  padding: 24px;
}

.gpnw2027-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.gpnw2027-grid .gpnw2027-card strong {
  display: block;
  font-size: 34px;
  color: var(--gpnw-orange);
}

.gpnw2027-grid .gpnw2027-card span {
  display: block;
  margin-top: 4px;
}

.gpnw2027-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
}

.gpnw2027-sticky {
  position: sticky;
  top: 24px;
}

.gpnw2027-form {
  display: grid;
  gap: 18px;
}

.gpnw2027-compact-form {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
}

.gpnw2027-form label,
.gpnw2027-wrap label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.gpnw2027-form input,
.gpnw2027-form select,
.gpnw2027-form textarea,
.gpnw2027-wrap input,
.gpnw2027-wrap select,
.gpnw2027-wrap textarea {
  width: 100%;
  border: 1px solid var(--gpnw-line);
  border-radius: 6px;
  color: var(--gpnw-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  padding: 12px 13px;
}

.gpnw2027-form textarea,
.gpnw2027-wrap textarea {
  min-height: 124px;
  resize: vertical;
}

.gpnw2027-check {
  align-items: start;
  display: flex !important;
  gap: 10px !important;
  font-weight: 400 !important;
}

.gpnw2027-check input {
  width: auto;
  margin-top: 4px;
}

.gpnw2027-school,
.gpnw2027-hint,
.gpnw2027-notice {
  background: rgba(172, 208, 237, 0.28);
  border: 1px solid rgba(97, 91, 82, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
}

.gpnw2027-help {
  display: block;
  color: #776f63;
  font-size: 14px;
  font-weight: 400;
}

.gpnw2027-notice {
  margin: 0 0 18px;
}

.gpnw2027-success {
  background: #eef7ee;
  border-color: #bad8ba;
}

.gpnw2027-warning {
  background: rgba(244, 153, 0, 0.12);
  border-color: rgba(244, 153, 0, 0.45);
}

.gpnw2027-error {
  background: #fff2ef;
  border-color: #e5b5aa;
}

.gpnw2027-code {
  display: inline-block;
  background: var(--gpnw-soft);
  border: 1px solid var(--gpnw-line);
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  padding: 8px 12px;
}

.gpnw2027-button,
.gpnw2027-button-secondary,
.gpnw2027-button-small,
.gpnw2027-wrap button {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gpnw2027-button,
.gpnw2027-wrap button.gpnw2027-button {
  background: var(--gpnw-text);
  border: 1px solid var(--gpnw-text);
  color: #fff;
}

.gpnw2027-button:hover,
.gpnw2027-wrap button.gpnw2027-button:hover {
  background: var(--gpnw-orange);
  border-color: var(--gpnw-orange);
  color: #fff;
}

.gpnw2027-button-secondary,
.gpnw2027-button-small {
  background: #fff;
  border: 1px solid var(--gpnw-text);
  color: var(--gpnw-text);
}

.gpnw2027-button-small {
  min-height: 34px;
  padding: 7px 11px;
}

.gpnw2027-inline {
  display: inline-block;
  margin: 0 6px 6px 0;
}

.gpnw2027-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.gpnw2027-tabs a {
  background: #fff;
  border: 1px solid var(--gpnw-line);
  border-radius: 999px;
  color: var(--gpnw-text);
  padding: 9px 14px;
  text-decoration: none;
}

.gpnw2027-tabs a.is-active {
  background: var(--gpnw-text);
  border-color: var(--gpnw-text);
  color: #fff;
}

.gpnw2027-table-scroll {
  border: 1px solid var(--gpnw-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(97, 91, 82, 0.07);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: #afa288 #f7f4ee;
  scrollbar-width: thin;
}

.gpnw2027-table-scroll::-webkit-scrollbar {
  height: 10px;
}

.gpnw2027-table-scroll::-webkit-scrollbar-track {
  background: #f7f4ee;
  border-radius: 999px;
}

.gpnw2027-table-scroll::-webkit-scrollbar-thumb {
  background: var(--gpnw-beige);
  border-radius: 999px;
}

.gpnw2027-table {
  border-collapse: collapse;
  min-width: 820px;
  width: 100%;
}

.gpnw2027-card > .gpnw2027-table {
  border: 1px solid var(--gpnw-line);
  border-radius: 8px;
}

.gpnw2027-table th,
.gpnw2027-table td {
  border-bottom: 1px solid var(--gpnw-line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.gpnw2027-table th {
  background: var(--gpnw-soft);
  font-weight: 700;
  white-space: nowrap;
}

.gpnw2027-table td:last-child {
  white-space: nowrap;
}

.gpnw2027-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gpnw2027-file-list li {
  border-bottom: 1px solid var(--gpnw-line);
  padding: 11px 0;
}

.gpnw2027-file-list li:last-child {
  border-bottom: 0;
}

.gpnw2027-file-list a,
.gpnw2027-wrap a {
  color: #4e4942;
}

@media (max-width: 860px) {
  .gpnw2027-wrap {
    padding: 20px 12px 38px;
  }

  .gpnw2027-wrap h1 {
    font-size: 28px;
  }

  .gpnw2027-card {
    padding: 18px;
  }

  .gpnw2027-layout {
    grid-template-columns: 1fr;
  }

  .gpnw2027-sticky {
    position: static;
  }
}

.gpnw2027-file-list li.gpnw2027-file-image {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gpnw2027-file-list li.gpnw2027-file-image img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gpnw-line);
}

.gpnw2027-press-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.gpnw2027-press-gallery img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gpnw-line);
}

.gpnw2027-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}
