body {
  margin: 0;
  background: #f4f1ea;
  color: #1d2733;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.container-single {
  max-width: 1100px;
}

.top-actions {
  margin-bottom: 16px;
}

.link-button,
.download-form button,
.filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #185a7d;
  color: #fff;
  text-decoration: none;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

.filters,
.download-panel,
.card,
.guide-doc,
.guide-main-card,
.guide-card,
.guide-visual-card {
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(19, 39, 53, 0.08);
}

.filters {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  background: #fff;
  padding: 18px;
  margin-bottom: 18px;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 260px;
  font-weight: 600;
}

.filters input {
  border: 1px solid #ccd8df;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
}

.result-meta {
  margin: 0 0 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  padding: 20px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  background: #e7f3f6;
  color: #185a7d;
  padding: 6px 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.open-link {
  display: inline-block;
  margin-top: 12px;
  color: #185a7d;
  font-weight: 700;
}

.guide-doc {
  background:
    radial-gradient(circle at top right, rgba(24, 90, 125, 0.12), transparent 25%),
    linear-gradient(180deg, #fffdf9, #ffffff);
  padding: 26px;
}

.guide-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

.guide-eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #185a7d;
}

.guide-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.guide-code {
  margin: 8px 0 0;
  color: #5a6871;
}

.guide-standard {
  min-width: 220px;
  background: #185a7d;
  color: #fff;
  padding: 16px 18px;
}

.guide-standard span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.guide-standard strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.guide-top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.guide-top-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card,
.guide-main-card,
.guide-visual-card {
  background: #fff;
  padding: 18px;
}

.guide-card h2,
.guide-main-card h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.guide-visual-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #f7f7f7;
}

.guide-main-card {
  margin-top: 18px;
}

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

.tone-neutral {
  background: #f1f1ec;
}

.tone-blue {
  background: #dceef8;
}

.tone-warm {
  background: #fae4d8;
}

.guide-rich p,
.guide-rich ul,
.guide-rich ol {
  margin: 0 0 10px;
}

.guide-rich .guide-paragraph.body {
  line-height: 1.55;
}

.guide-rich .guide-list {
  padding-left: 20px;
}

.guide-bracket-term {
  color: #7c529c;
  font-weight: 700;
}

.guide-bullets {
  margin: 0;
  padding-left: 20px;
}

.guide-bullets li {
  margin-bottom: 8px;
}

.guide-stem {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d9e1e6;
}

.response-block + .response-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.response-block h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.download-panel {
  margin-top: 18px;
  background: #fff;
  padding: 18px;
}

@media (max-width: 920px) {
  .guide-top,
  .guide-grid,
  .guide-top-main {
    grid-template-columns: 1fr;
  }

  .guide-header {
    flex-direction: column;
  }

  .guide-standard {
    min-width: 0;
    width: 100%;
  }
}

.guide-preview {
  color: #1f1f1f;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}

.guide-preview-sheet {
  background: #fff;
  border: 1px solid #dadada;
  box-shadow: 0 18px 48px rgba(19, 39, 53, 0.12);
  padding: 34px 36px 40px;
}

.guide-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}

.guide-preview-logo {
  display: block;
  width: min(100%, 410px);
  height: auto;
}

.guide-preview-meta {
  width: min(30%, 250px);
  text-align: right;
}

.guide-preview-word {
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 700;
}

.guide-preview-grade {
  margin-top: 2px;
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 400;
}

.guide-preview-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-preview-title strong {
  font-weight: 700;
}

.guide-preview-intro {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  gap: 18px;
  align-items: start;
}

.guide-preview-intro-copy {
  min-width: 0;
}

.guide-preview-block {
  margin-bottom: 12px;
}

.guide-preview-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.guide-preview-inline-label {
  display: inline;
}

.guide-preview-inline-copy {
  font-weight: 400;
}

.guide-preview-text,
.guide-preview-note,
.guide-preview-keywords {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.guide-preview-question-block {
  margin: 8px 0 0 18px;
}

.guide-preview-stem,
.guide-preview-stem p,
.guide-preview-stem li,
.guide-preview-stem span {
  font-style: italic;
}

.guide-preview-intro-visual {
  min-width: 0;
}

.guide-preview-visual-frame {
  border: 1px solid #7e7e7e;
  background: #fff;
}

.guide-preview-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-preview-section {
  margin-top: 18px;
}

.guide-preview-section-heading,
.guide-preview-section-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
}

.guide-preview-section-heading {
  text-align: center;
}

.guide-preview-section-title {
  text-transform: uppercase;
}

.guide-preview-table {
  display: grid;
  gap: 0;
  border: 1px solid #8a8a8a;
}

.guide-preview-table-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-preview-table-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-preview-table-col {
  min-width: 0;
  border-right: 1px solid #8a8a8a;
}

.guide-preview-table-col:last-child {
  border-right: 0;
}

.guide-preview-table-head {
  min-height: 36px;
  padding: 7px 10px;
  background: #9b9b9b;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.guide-preview-table-body {
  padding: 10px 12px 12px;
  min-height: 88px;
}

.guide-preview-list {
  margin: 0;
  padding-left: 18px;
}

.guide-preview-list li {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.4;
}

.guide-preview-list-loose li {
  margin-bottom: 10px;
}

.guide-preview-note + .guide-preview-note {
  margin-top: 8px;
}

.guide-preview-note-italic {
  font-style: italic;
}

.guide-preview-head-observation {
  background: #ee8f43;
}

.guide-preview-head-relational {
  background: #8064a2;
}

.guide-preview-head-inferential {
  background: #82a9d2;
}

.guide-preview-conversation {
  display: grid;
  grid-template-columns: minmax(0, 72%) minmax(0, 28%);
  gap: 14px;
  align-items: start;
}

.guide-preview-conversation-side img {
  display: block;
  width: min(100%, 190px);
  height: auto;
  margin-left: auto;
}

.guide-preview-grade-body {
  text-align: center;
}

.guide-preview-grade-image {
  display: block;
  width: 44px;
  height: auto;
  margin: 6px auto 4px;
}

.guide-preview-grade-caption {
  font-size: 0.92rem;
  font-style: italic;
}

.guide-preview-teacher-notes {
  padding: 4px 0 0;
}

.guide-preview a {
  color: #0b4f8a;
  text-decoration: underline;
}

.guide-preview .guide-rich,
.guide-preview .guide-rich *,
.guide-preview .guide-paragraph,
.guide-preview .guide-list {
  font-size: 1rem;
  line-height: 1.4;
}

.guide-preview .guide-rich p,
.guide-preview .guide-rich ul,
.guide-preview .guide-rich ol {
  margin: 0 0 4px;
}

.guide-preview .guide-rich ul,
.guide-preview .guide-rich ol {
  padding-left: 18px;
}

@media (max-width: 980px) {
  .guide-preview-sheet {
    padding: 24px;
  }

  .guide-preview-intro,
  .guide-preview-conversation,
  .guide-preview-table-three {
    grid-template-columns: 1fr;
  }

  .guide-preview-table-three .guide-preview-table-col {
    border-right: 0;
    border-bottom: 1px solid #8a8a8a;
  }

  .guide-preview-table-three .guide-preview-table-col:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .guide-preview-header {
    flex-direction: column;
  }

  .guide-preview-meta {
    width: 100%;
    text-align: left;
  }

  .guide-preview-title {
    font-size: 1.12rem;
  }

  .guide-preview-table-two {
    grid-template-columns: 1fr;
  }

  .guide-preview-table-two .guide-preview-table-col {
    border-right: 0;
    border-bottom: 1px solid #8a8a8a;
  }

  .guide-preview-table-two .guide-preview-table-col:last-child {
    border-bottom: 0;
  }

  .guide-preview-intro,
  .guide-preview-conversation {
    gap: 12px;
  }
}
