/* Ron v64: locked standards and skill-derived curriculum connections are distinct. */
:root {
  --v64-forest: #24503a;
  --v64-forest-deep: #173e2b;
  --v64-amber: #e9c56b;
  --v64-amber-soft: #fff7dd;
  --v64-paper: #fbf6ea;
  --v64-ink: #241a06;
  --v64-muted: #5b5344;
  --v64-rule: #d8cdb0;
}

body.tta-region-inventory .tta-v64-card-connection {
  display: grid;
  gap: .18rem;
  margin: .52rem 0 .15rem;
  padding: .58rem .68rem;
  border: 1px solid var(--v64-rule);
  border-left: 5px solid var(--v64-forest);
  border-radius: 7px;
  background: #fff;
  color: var(--v64-ink);
}
body.tta-region-inventory .tta-v64-card-connection--curriculum {
  border-left-color: #a87808;
  background: var(--v64-amber-soft);
}
body.tta-region-inventory .tta-v64-card-connection-label {
  color: var(--v64-forest-deep);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.25;
  text-transform: uppercase;
}
body.tta-region-inventory .tta-v64-card-connection--curriculum .tta-v64-card-connection-label { color: #674600; }
body.tta-region-inventory .tta-v64-card-connection-detail {
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}
.tta-v64-connection-key {
  max-width: 72ch;
  margin: .8rem 0 0;
  padding: .7rem .8rem;
  border-left: 4px solid var(--v64-amber);
  border-radius: 0 7px 7px 0;
  background: var(--v64-amber-soft);
  color: var(--v64-ink);
  font-size: .92rem;
  line-height: 1.5;
}

.tta-v64-native-plan {
  margin: 1.5rem 0 0;
  color: var(--v64-ink);
  font-size: 1.04rem;
  line-height: 1.65;
}
.tta-v64-native-kicker {
  margin: 0 0 .65rem;
  color: var(--v64-forest);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tta-v64-native-plan h2,
.tta-v64-native-plan h3 {
  color: var(--v64-forest-deep);
  line-height: 1.25;
  text-wrap: balance;
}
.tta-v64-native-plan h2 { margin: 0 0 .8rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.tta-v64-native-plan h3 { margin: 1.65rem 0 .55rem; font-size: 1.18rem; }
.tta-v64-native-plan p { margin: 0 0 .9rem; }
.tta-v64-plan-label {
  padding-top: .8rem;
  border-top: 1px solid var(--v64-rule);
  color: var(--v64-forest) !important;
  font-size: .88rem !important;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.tta-v64-plan-list { margin: .5rem 0 1rem; padding-left: 1.45rem; }
.tta-v64-plan-list li { margin: 0 0 .42rem; padding-left: .15rem; }
.tta-v64-plan-page-marker {
  margin: 1.4rem 0 .7rem !important;
  padding-top: .45rem;
  border-top: 1px solid var(--v64-rule);
  color: var(--v64-muted);
  font-size: .76rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}
.tta-v64-source-marker { margin-right: .35rem; font-weight: 900; }
.tta-v64-plan-pairs {
  display: grid;
  grid-template-columns: minmax(8rem, .34fr) minmax(0, 1fr);
  margin: .8rem 0 1.2rem;
  border: 1px solid var(--v64-rule);
  border-radius: 8px;
  overflow: hidden;
}
.tta-v64-plan-pairs dt,
.tta-v64-plan-pairs dd { margin: 0; padding: .72rem .8rem; border-bottom: 1px solid var(--v64-rule); }
.tta-v64-plan-pairs dt { background: var(--v64-paper); color: var(--v64-forest-deep); font-weight: 900; }
.tta-v64-plan-pairs dd { background: #fff; }
.tta-v64-plan-pairs > :nth-last-child(-n + 2) { border-bottom: 0; }
.tta-v64-table-scroll { max-width: 100%; margin: .8rem 0 1.2rem; overflow-x: auto; }
.tta-v64-plan-grid { width: 100%; min-width: 34rem; border-collapse: collapse; background: #fff; }
.tta-v64-plan-grid td { padding: .7rem; border: 1px solid var(--v64-rule); vertical-align: top; }
.tta-v64-plan-grid tr:first-child td { background: var(--v64-paper); font-weight: 800; }
.tta-v64-response-space {
  margin: .8rem 0 1.2rem;
  border: 1px dashed #96896e;
  border-radius: 8px;
  background: repeating-linear-gradient(#fff, #fff 31px, #eee7d7 32px);
}
.tta-v64-plan-figure { margin: 1rem 0 1.3rem; }
.tta-v64-plan-figure img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.tta-v64-curriculum-panel { border-top: 5px solid #a87808 !important; }
.tta-v64-curriculum-panel .tta-plan-standards-eyebrow { color: #674600 !important; }
.tta-ron-exact-v64 .tta-pdf-preview { margin-top: 2.2rem !important; }
.tta-ron-exact-v64 .tta-pdf-preview > summary { font-size: 1rem !important; color: var(--v64-forest) !important; }

@media (max-width: 700px) {
  .tta-v64-plan-pairs { grid-template-columns: 1fr; }
  .tta-v64-plan-pairs dt,
  .tta-v64-plan-pairs dd { border-bottom: 1px solid var(--v64-rule) !important; }
  .tta-v64-plan-pairs > :last-child { border-bottom: 0 !important; }
  .tta-v64-native-plan { font-size: 1rem; line-height: 1.6; }
}

@media print {
  .tta-v64-native-plan { margin-top: 0; color: #000; font-size: 11pt; }
  .tta-v64-native-kicker { display: none; }
  .tta-v64-response-space { break-inside: avoid; }
  .tta-v64-plan-pairs, .tta-v64-table-scroll, .tta-v64-plan-figure { break-inside: avoid; }
}
