.sideplan-test-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 72px;
}
.sideplan-test-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.sideplan-test-kicker,
.spr-page-label,
.spr-section-kicker {
  margin: 0 0 10px;
  color: #B96951;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sideplan-test-top h1 {
  margin: 0 0 14px;
  color: #1F2937;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.sideplan-test-lead {
  max-width: 720px;
  margin: 0;
  color: #6B7280;
  font-size: 17px;
  line-height: 1.62;
}
.sideplan-test-panel,
.spr-page-summary,
.spr-section,
.spr-empty,
.spr-error,
.spr-loading {
  background: #fff;
  border: 1px solid #F0E6D9;
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(31,41,55,0.055);
}
.sideplan-test-panel {
  padding: 18px;
}
.sideplan-test-panel label {
  display: block;
  margin: 0 0 8px;
  color: #1F2937;
  font-weight: 800;
}
.sideplan-test-select {
  width: 100%;
  border: 1px solid #EADBCB;
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: #1F2937;
  font: inherit;
}
.sideplan-test-select:focus {
  outline: 3px solid rgba(224,122,95,0.18);
  border-color: #E07A5F;
}
.sideplan-test-status {
  margin: 12px 0 0;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.4;
}
.spr-page-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  margin-bottom: 20px;
}
.spr-page-summary h2 {
  margin: 0 0 8px;
  color: #1F2937;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.spr-page-summary p {
  margin: 0;
  color: #6B7280;
}
.spr-page-summary code,
.spr-card code {
  color: #6B7280;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.spr-mini-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.spr-mini-stats span,
.spr-section-count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #F0E6D9;
  border-radius: 999px;
  padding: 8px 12px;
  background: #FAF6F1;
  color: #6B7280;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.spr-mini-stats strong {
  color: #1F2937;
  margin-right: 4px;
}
.spr-warning {
  margin-top: 10px !important;
  color: #9B3B28 !important;
  font-weight: 700;
}
.spr-section {
  padding: 18px;
  margin: 18px 0;
}
.spr-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.spr-section-head h2 {
  margin: 0 0 6px;
  color: #1F2937;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.spr-section-head p:not(.spr-section-kicker) {
  margin: 0;
  color: #6B7280;
  line-height: 1.5;
}
.spr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.spr-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #F0E6D9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31,41,55,0.045);
}
.spr-card-media {
  position: relative;
  background: #FAFAF8;
}
.spr-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 8px;
}
.spr-card-id {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31,41,55,0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.spr-card-body {
  padding: 16px;
}
.spr-card-body h3 {
  margin: 0 0 8px;
  color: #1F2937;
  font-size: 17px;
  line-height: 1.22;
}
.spr-card-phase {
  margin: 0 0 8px;
  color: #B96951;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}
.spr-card-text {
  margin: 0 0 12px;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.5;
}
.spr-card-source {
  margin: 0 0 12px;
  color: #6B7280;
  font-size: 12px;
  line-height: 1.45;
}
.spr-card-body p:not(.spr-card-phase):not(.spr-card-text):not(.spr-card-source) {
  margin: 0 0 12px;
  color: #6B7280;
  font-size: 14px;
  line-height: 1.45;
}
.spr-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.spr-tag {
  border-radius: 999px;
  background: #FAF6F1;
  border: 1px solid #F0E6D9;
  color: #8A6B55;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
}
.spr-card-warning {
  border-color: #F1B7AA;
  background: #FFF7F4;
}
.spr-empty,
.spr-error,
.spr-loading {
  padding: 22px;
  color: #6B7280;
  line-height: 1.55;
}
.spr-error {
  border-color: #F1B7AA;
  color: #9B3B28;
}
@media (max-width: 980px) {
  .sideplan-test-top,
  .spr-page-summary,
  .spr-section-head {
    grid-template-columns: 1fr;
  }
  .spr-mini-stats {
    justify-content: flex-start;
  }
  .spr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .sideplan-test-wrap {
    padding: 30px 14px 56px;
  }
  .spr-section,
  .spr-page-summary,
  .sideplan-test-panel {
    border-radius: 20px;
  }
  .spr-grid {
    grid-template-columns: 1fr;
  }
  .spr-section-count {
    width: max-content;
  }
}


.spr-report {
  background: #fff;
  border: 1px solid #F0E6D9;
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(31,41,55,0.055);
  padding: 22px;
  margin: 0 0 22px;
}
.spr-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}
.spr-report-head h2 {
  margin: 0 0 8px;
  color: #1F2937;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.spr-report-head p:not(.spr-page-label) {
  margin: 0;
  color: #6B7280;
  line-height: 1.5;
}
.spr-report-status {
  min-width: 118px;
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.spr-report-ok {
  background: #EEF8F1;
  color: #276749;
  border: 1px solid #BFE5CC;
}
.spr-report-attention {
  background: #FFF4EC;
  color: #9B3B28;
  border: 1px solid #F1B7AA;
}
.spr-report-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.spr-report-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #F0E6D9;
  border-radius: 999px;
  padding: 7px 10px;
  background: #FAF6F1;
  color: #6B7280;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.spr-report-stats strong {
  color: #1F2937;
  margin-right: 4px;
}
.spr-report-good {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #EEF8F1;
  color: #276749;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}
.spr-report-group {
  margin-top: 16px;
}
.spr-report-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #1F2937;
  font-size: 18px;
  line-height: 1.2;
}
.spr-report-group h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #FAF6F1;
  border: 1px solid #F0E6D9;
  color: #6B7280;
  font-size: 12px;
  font-weight: 900;
}
.spr-issue-list {
  display: grid;
  gap: 8px;
}
.spr-issue {
  border: 1px solid #F0E6D9;
  border-radius: 16px;
  padding: 12px 14px;
  background: #FAF6F1;
}
.spr-issue strong {
  display: block;
  color: #1F2937;
  font-size: 14px;
  line-height: 1.3;
}
.spr-issue p {
  margin: 6px 0 0;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.spr-issue-error {
  border-color: #F1B7AA;
  background: #FFF7F4;
}
.spr-issue-warning {
  border-color: #F3D3A0;
  background: #FFF9EF;
}
.spr-issue-info {
  border-color: #D8E2F0;
  background: #F6F9FD;
}
@media (max-width: 980px) {
  .spr-report-head {
    grid-template-columns: 1fr;
  }
  .spr-report-status {
    width: max-content;
  }
}


.sideplan-production-section {
  margin: 34px 0;
}
.sideplan-production-section + .sideplan-production-section {
  padding-top: 28px;
  border-top: 1px solid #F0E6D9;
}
.sideplan-production-header {
  margin: 0 0 16px;
}
.sideplan-production-kicker {
  margin: 0 0 8px;
  color: #B96951;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sideplan-production-header h2 {
  margin: 0;
  color: #1F2937;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.sideplan-auto-sections {
  margin-top: 34px;
}
