/* GOWUKAKU Expert V2.4 Closed-Loop Pilot — Architectural Editorial Stylesheet */

/* ==========================================================================
   0. V2.4 BUTTON DIET, PIXEL-ALIGNED SUBBAR & NATURAL STICKY PURCHASE DOCK
   ========================================================================== */

/* Fix spot.css `.des button { margin: 20px 0 10px 0 }` alignment bug in Hero subbar */
.des .gw-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 0 0 16px 0 !important;
  border-bottom: 1px solid #eef0f4 !important;
}
.des .gw-cta-row .btn-cart1.gw-btn-reset {
  margin: 0 !important;
}
.des .gw-cta-subbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px 18px !important;
  margin: 0 0 26px 0 !important;
  padding: 12px 2px 0 2px !important;
  border-top: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #64748b !important;
}
.des .gw-cta-subbar > .gw-subbar-reassure,
.des .gw-cta-subbar > .gw-subbar-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  vertical-align: middle !important;
}
.des .gw-cta-subbar > .gw-subbar-reassure i {
  color: #16a34a;
  font-size: 14px;
  line-height: 1;
}
.des .gw-cta-subbar > .gw-subbar-cart-btn {
  color: #475569 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.des .gw-cta-subbar > .gw-subbar-cart-btn i {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1;
}
.des .gw-cta-subbar > .gw-subbar-cart-btn .gw-subbar-cart-text {
  border-bottom: 1px solid #94a3b8;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.des .gw-cta-subbar > .gw-subbar-cart-btn .gw-subbar-cart-paren {
  color: #64748b;
  font-size: 13px;
}
.des .gw-cta-subbar > .gw-subbar-cart-btn:hover,
.des .gw-cta-subbar > .gw-subbar-cart-btn:hover i,
.des .gw-cta-subbar > .gw-subbar-cart-btn:hover .gw-subbar-cart-text,
.des .gw-cta-subbar > .gw-subbar-cart-btn:hover .gw-subbar-cart-paren {
  color: #0f172a !important;
  border-color: #0f172a;
}

/* De-crimson non-purchase comment submit button so crimson means ONLY "Buy" */
.des #button-review.gw-comment-submit-btn {
  background: #1e293b !important;
  border: 1px solid #0f172a !important;
  color: #ffffff !important;
  box-shadow: none !important;
  margin: 4px 0 0 0 !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.des #button-review.gw-comment-submit-btn:hover {
  background: #0f172a !important;
}

/* Stretch right sidebar track on Desktop so position:sticky docks naturally all the way down */
@media screen and (min-width: 992px) {
  .gw-split-stage > .gw-side-stack {
    align-self: stretch !important;
  }
}

.gw-sticky-dock-card {
  position: sticky;
  top: 24px;
  text-align: left !important;
  background: #ffffff;
  border: 1px solid #dbe0e8;
  border-top: 3px solid #0f172a;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.gw-sticky-dock-card.is-dock-standby {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}
.gw-sticky-toc {
  padding-bottom: 12px;
  margin-bottom: 13px;
  border-bottom: 1px solid #eef0f4;
  text-align: left !important;
}
.gw-sticky-toc-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  text-align: left !important;
}
.gw-sticky-toc-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  text-align: left !important;
}
.gw-sticky-toc-list li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  float: none !important;
}
.gw-sticky-toc-list a {
  display: block !important;
  font-size: 12.8px;
  color: #334155 !important;
  text-decoration: none !important;
  line-height: 1.45;
  padding: 2px 0 !important;
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.gw-sticky-toc-list a:hover {
  color: #b91c1c !important;
}
.gw-sticky-spec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.gw-sticky-spec-code {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.gw-sticky-spec-price {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.gw-sticky-spec-price small {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}
.gw-sticky-spec-meta {
  font-size: 12.4px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 12px 0;
}
.gw-sticky-buy-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  background: #b91c1c !important;
  border: 1px solid #991b1b !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.gw-sticky-buy-btn:hover {
  background: #991b1b !important;
  color: #ffffff !important;
}
.gw-sticky-sub-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #64748b;
}
.gw-sticky-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  cursor: pointer;
}
.gw-sticky-cart-link:hover {
  color: #0f172a !important;
}
.gw-sticky-policy-links a {
  color: #64748b !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Mobile Scroll-Triggered Slim Fixed Bottom Bar (< 992px only) */
.gw-mobile-sticky-bar {
  display: none;
}
@media screen and (max-width: 991px) {
  .gw-sticky-dock-card {
    display: none !important;
  }
  .gw-mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #cbd5e1;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .gw-mobile-sticky-bar.is-dock-standby {
    transform: translateY(105%);
    opacity: 0;
    pointer-events: none;
  }
  .gw-mob-sticky-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .gw-mob-sticky-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gw-mob-sticky-sub {
    font-size: 12px;
    color: #475569;
  }
  .gw-mob-sticky-sub strong {
    color: #0f172a;
    font-size: 14px;
  }
  .gw-mob-sticky-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
    padding: 9px 15px !important;
    border-radius: 8px !important;
    background: #b91c1c !important;
    border: 1px solid #991b1b !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }
}

/* Quiet Zero-Button Institutional Policy Footnote at End of Editorial Content */
.gw-quiet-policy-note {
  padding: 16px 0 4px 0 !important;
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
}
.gw-quiet-policy-note a {
  color: #334155 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* ==========================================================================
   1. EDITORIAL & STRUCTURED SPECIFICATION COMPONENTS
   ========================================================================== */
.gw-v2-geo-lead {
  margin: 0 0 10px 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: #1e293b;
}

.gw-v2-pitfall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.gw-v2-pitfall-card {
  background: #fafaf9;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 15px 17px;
}
@media (min-width: 768px) {
  .gw-v2-pitfall-grid > .gw-v2-pitfall-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }
}
.gw-inline-code {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 600;
  line-height: 1.35;
  padding: 1px 5px;
  margin: 0 1px;
  border-radius: 4px;
  background: #f1f5f9;
  border: 1px solid #dbe2ec;
  color: #0f172a;
  overflow-wrap: break-word;
  word-break: break-word;
}
.gw-v2-pitfall-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}
.gw-v2-pitfall-tag.is-info {
  background: #e0f2fe;
  color: #075985;
}
.gw-v2-pitfall-tag.is-ok {
  background: #dcfce7;
  color: #166534;
}
.gw-v2-pitfall-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.45;
}
.gw-v2-pitfall-body {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.gw-v2-lineage-strip {
  margin-top: 14px;
  padding: 12px 15px;
  background: #f8fafc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  font-size: 13.2px;
  color: #334155;
  line-height: 1.65;
}
.gw-v2-lineage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 4px;
}
.gw-v2-lineage-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.3px;
}
.gw-v2-lineage-link {
  font-size: 12.3px;
  color: #1d4ed8 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.gw-v2-lineage-meta {
  margin: 0;
  color: #475569;
}

.gw-v2-tierc-notice {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 18px 20px;
}
.gw-v2-tierc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.gw-v2-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.gw-v2-hub-box {
  background: #fafaf9;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 15px 17px;
}
.gw-v2-hub-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.gw-v2-hub-box p,
.gw-v2-hub-box li {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
}

.gw-v23-meta-bar {
  margin-top: 14px;
  padding: 11px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  font-size: 12.8px;
}
.gw-v23-lineage-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: #334155;
}
.gw-v23-old-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}
.gw-v23-cur-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}
.gw-v23-ver-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}
.gw-v23-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 14px;
}
.gw-v23-head-row .gw-native-h2 {
  margin-bottom: 0 !important;
}
.gw-v23-meta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.gw-v23-json-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.gw-v23-json-pill:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #334155 !important;
}
.gw-v23-upd-link {
  font-size: 12.3px;
  color: #334155 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.gw-v23-upd-link:hover {
  color: #b91c1c !important;
}

/* 4-Cell Verifiable Official & Deliverable Fact Strip (Zero Heuristic Guesswork) */
.gw-v23-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fafaf9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 16px 0;
}
.gw-v23-kpi-cell {
  padding: 13px 15px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gw-v23-kpi-cell:last-child {
  border-right: 0;
}
.gw-v23-kpi-k {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}
.gw-v23-kpi-v {
  font-size: 14.8px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.38;
}
.gw-v23-kpi-s {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

/* Compliance-Safe Deliverable File Manifest */
.gw-v23-deliverable-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.gw-v23-deliv-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.gw-v23-deliv-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}
.gw-v23-deliv-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.gw-v23-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12.8px;
  font-weight: 600;
}
.gw-v23-file-chip i {
  color: #b91c1c;
}
.gw-v23-exp-flow {
  font-size: 12.6px;
  color: #475569;
  line-height: 1.6;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

/* Curated Certification Progression & Comparison Matrix */
.gw-v23-track-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}
.gw-v23-track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.4px;
}
.gw-v23-track-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 12.5px;
  padding: 10px 13px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  white-space: normal;
  line-height: 1.45;
}
.gw-v23-track-table td {
  padding: 11px 13px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  line-height: 1.55;
  color: #334155;
}
.gw-v23-track-table tr:last-child td {
  border-bottom: 0;
}
.gw-v23-track-table tr.is-current td {
  background: #f8fafc;
}
.gw-v23-track-table tr.is-current td:first-child {
  border-left: 0;
  padding-left: 14px;
}
.gw-v23-stage-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.gw-v23-track-table tr.is-current .gw-v23-stage-tag {
  background: #e2e8f0;
  color: #0f172a;
}
.gw-v23-code-link {
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.gw-v23-code-link:hover {
  color: #b91c1c !important;
}
.gw-v23-spec-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .gw-v2-pitfall-grid,
  .gw-v2-hub-grid {
    grid-template-columns: 1fr;
  }
  .gw-v23-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-v23-kpi-cell:nth-child(2) {
    border-right: 0;
  }
  .gw-v23-kpi-cell:nth-child(1),
  .gw-v23-kpi-cell:nth-child(2) {
    border-bottom: 1px solid #e2e8f0;
  }
}

/* ==========================================================================
   V2.5 FIRST-PARTY EMPIRICAL DATA, PAYMENT-SAFE SAMPLE NOTE & MOBILE UX
   ========================================================================== */
.gw-hero-decision-notice {
  margin: -14px 0 18px 0;
  padding: 8px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 7px;
  font-size: 12.6px;
  line-height: 1.55;
  color: #78350f;
}
.gw-hero-decision-notice.is-l3-archive {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #92400e;
}
.gw-hero-decision-notice a {
  color: #92400e !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.gw-mobile-toc-details {
  display: none;
}
@media (max-width: 991px) {
  .gw-mobile-toc-details {
    display: block;
    margin: 0 0 14px 0;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 9px 13px;
  }
  .gw-mobile-toc-details summary {
    cursor: pointer;
    font-size: 13.2px;
    font-weight: 700;
    color: #0f172a;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .gw-mobile-toc-details summary::-webkit-details-marker {
    display: none;
  }
  .gw-mobile-toc-details ul {
    margin: 8px 0 2px 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.85;
  }
  .gw-mobile-toc-details a {
    color: #1e40af !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
  }
}

.gw-v25-dates-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #475569;
}
.gw-v25-dates-row span strong {
  color: #0f172a;
}
.gw-v25-src-link {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  font-weight: 600;
}

.gw-corpus-telemetry-card {
  margin-top: 16px;
  padding: 15px 17px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
.gw-corpus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.gw-corpus-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.gw-corpus-scope {
  font-size: 11.8px;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 2px 8px;
}
.gw-corpus-metrics-list {
  margin: 0 0 10px 0;
  padding-left: 18px;
  font-size: 13.2px;
  color: #1e293b;
  line-height: 1.7;
}
.gw-corpus-freq-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.gw-corpus-freq-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.2px;
  color: #1e293b;
}
.gw-corpus-freq-chip strong {
  color: #0f172a;
  font-weight: 700;
}
.gw-corpus-footnote {
  margin: 8px 0 0 0;
  font-size: 11.8px;
  color: #64748b;
  line-height: 1.55;
}

/* Zero-Question Abstracted PDF Page Layout Schematic (100% Payment-Audit & Competitor Safe) */
.gw-pdf-schematic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.gw-pdf-schematic-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.gw-pdf-sheet {
  background: #ffffff;
  border: 1px solid #dcd9d0;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}
.gw-pdf-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}
.gw-pdf-sheet-tag {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 1px 7px;
  border-radius: 4px;
}
.gw-pdf-mock-stem {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 11.8px;
  color: #64748b;
}
.gw-pdf-mock-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 5px;
}
.gw-pdf-mock-bars span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
}
.gw-pdf-mock-exp {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.8px;
  color: #166534;
  line-height: 1.55;
}
@media (max-width: 767px) {
  .gw-pdf-schematic-grid {
    grid-template-columns: 1fr;
  }
}

.gw-editorial-sample-box {
  margin-top: 30px;
  padding: 28px 0 0 0;
  background: transparent;
  border: 0;
  border-top: 1px dashed #cbd5e1;
  border-radius: 0;
}
.gw-sample-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.gw-sample-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 11.8px;
  font-weight: 700;
}
.gw-sample-title {
  font-size: 14.2px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.gw-sample-lead {
  font-size: 13.2px;
  color: #334155;
  line-height: 1.68;
  margin: 0 0 10px 0;
}
.gw-sample-note-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.6px;
  margin-bottom: 10px;
}
.gw-sample-note-table th,
.gw-sample-note-table td {
  border: 1px solid #e2e8f0;
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.gw-sample-note-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}
.gw-editorial-gov-bar {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}
.gw-editorial-gov-bar a {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.gw-swipe-hint {
  display: none;
}
@media (max-width: 767px) {
  .gw-swipe-hint {
    display: block;
    font-size: 11.8px;
    color: #64748b;
    margin: 0 0 6px 0;
  }
}

/* ==========================================================================
   V2.8 AI CITATION SURFACE, MULTI-MATRIX TECHNICAL BOUNDARY DIGEST & NICHE SEO
   ========================================================================== */
.gw-deliv-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}
.gw-deliv-spec-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 9px 11px;
}
.gw-deliv-spec-k {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}
.gw-deliv-spec-v {
  display: block;
  font-size: 12.6px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.48;
}
@media (max-width: 767px) {
  .gw-deliv-spec-grid {
    grid-template-columns: 1fr;
  }
}

.gw-boundary-jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px 0;
}
.gw-boundary-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.gw-boundary-jump-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af !important;
}

.gw-boundary-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gw-boundary-matrix-card {
  background: #fcfcfd;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  padding: 12px 14px;
}
.gw-boundary-matrix-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  margin-bottom: 6px;
}
.gw-boundary-matrix-title {
  font-size: 13.6px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.45;
}
.gw-boundary-matrix-domain {
  font-size: 11.4px;
  font-weight: 600;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  padding: 1px 8px;
}
.gw-boundary-matrix-sub {
  font-size: 12.6px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 8px 0;
}
.gw-boundary-matrix-card .gw-sample-note-table {
  margin-bottom: 0;
  background: #ffffff;
}

.gw-niche-regime-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.gw-holdback-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9px;
  padding: 12px 15px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #78350f;
  line-height: 1.62;
}

/* ==========================================================================
   V2.8 PRODUCT HERO, PRIMARY/PRESALE CTA, NATIVE H2 & SPEC TABLE PARITY (:8090)
   ========================================================================== */
.gw-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px 0;
}
.gw-kicker-brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f4f3ef;
  border: 1px solid #e5e2da;
  color: #44403c !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}
.gw-kicker-brand:hover {
  border-color: #b91c1c;
  color: #b91c1c !important;
}
.gw-kicker-code {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}
.gw-kicker-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 13px;
  font-weight: 600;
}
.des .des-content h1 {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #0f172a;
}
.des .des-content .des-title {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #475569;
}
.gw-star-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 22px 0;
  line-height: 1.55;
  font-size: 14.5px;
  color: #334155;
}
.gw-star-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gw-star-icons {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  font-size: 15px;
}
.gw-star-num {
  font-weight: 600;
  color: #111827;
}
.gw-star-sub {
  color: #64748b;
  font-size: 13.5px;
}
.gw-star-link {
  color: #475569;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gw-meta-grid {
  background: #fafaf9;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px;
  padding: 0;
  margin: 0 0 26px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}
.gw-meta-cell {
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid #eceef2;
}
.gw-meta-cell:nth-child(odd) {
  border-right: 1px solid #eceef2;
}
.gw-meta-cell:nth-last-child(-n+2) {
  border-bottom: 0;
}
.gw-meta-k {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.gw-meta-v {
  font-size: 15.5px;
  color: #111827;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.gw-meta-sub {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 400;
}
.gw-meta-prep {
  display: block;
  padding: 18px 22px;
  background: #eff6ff;
  border-color: #bfdbfe !important;
  color: #1e40af;
  font-weight: 400;
  line-height: 1.65;
}

.gw-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
}
.gw-cta-row .gw-btn-reset {
  margin: 0 !important;
  min-height: 50px;
  height: auto !important;
  padding: 12px 24px !important;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.16s ease;
  text-decoration: none !important;
}
.gw-cta-row .btn-cart1.gw-btn-reset {
  background-color: #b91c1c !important;
  border: 1px solid #991b1b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.18) !important;
}
.gw-cta-row .btn-cart1.gw-btn-reset:hover,
.gw-cta-row .btn-cart1.gw-btn-reset:focus {
  background-color: #991b1b !important;
  border-color: #7f1d1d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.gw-cta-row .btn-cart2.gw-btn-reset {
  background-color: #1d4ed8 !important;
  border: 1px solid #1e40af !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.16) !important;
}
.gw-cta-row .btn-cart2.gw-btn-reset:hover,
.gw-cta-row .btn-cart2.gw-btn-reset:focus {
  background-color: #1e40af !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.des .content .btn-cart1:not(.gw-btn-reset) {
  background: #b91c1c !important;
  border: 1px solid #991b1b !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 11px 22px !important;
  height: auto !important;
  line-height: 1.45 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 12px 0 4px 0 !important;
}

.gw-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 20px 0;
}
.des .content h2,
.des .content h2.gw-native-h2 {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  font-size: 20.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.45 !important;
}
.gw-section-head h2.gw-native-h2 {
  margin: 0 !important;
}
.gw-section-note {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  margin: 0 !important;
}
.gw-editorial-section {
  padding: 34px 0 !important;
  background: transparent;
}
#gw-curriculum-structure {
  scroll-margin-top: 84px;
}

.gw-clean-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  font-size: 15px;
  margin: 0;
  background: #ffffff;
}
.gw-clean-spec-table tr + tr th,
.gw-clean-spec-table tr + tr td {
  border-top: 1px solid #eef0f4;
}
.gw-clean-spec-table th {
  width: 25%;
  padding: 14px 18px;
  font-weight: 500;
  color: #475569;
  vertical-align: top;
  text-align: left;
  background: #fafaf9;
  border-right: 1px solid #eef0f4;
  line-height: 1.68;
}
.gw-clean-spec-table td {
  padding: 14px 18px;
  font-weight: 400;
  color: #1f2937;
  line-height: 1.72;
  vertical-align: top;
  background: #ffffff;
}

.gw-topic-block {
  margin-top: 14px;
  padding: 13px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}
.gw-topic-head {
  font-size: 12.6px;
  font-weight: 700;
  color: #334155;
  margin: 0 0 8px 0;
}
.gw-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gw-topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12.2px;
  font-weight: 500;
  line-height: 1.45;
}

@media (min-width: 680px) and (max-width: 991px) {
  .des .des-content h1 {
    font-size: 24px !important;
  }
  .gw-meta-cell {
    padding: 15px 18px;
  }
}

@media (max-width: 679px) {
  .gw-hero-kicker {
    gap: 6px;
    margin-bottom: 10px;
  }
  .des .des-content h1 {
    font-size: 20.5px !important;
    line-height: 1.46 !important;
    margin: 0 0 10px 0 !important;
  }
  .des .des-content .des-title {
    font-size: 15px !important;
    margin: 0 0 14px 0 !important;
  }
  .gw-star-row {
    font-size: 14.5px;
    margin: 0 0 18px 0;
  }
  .gw-star-sub {
    font-size: 13px;
    display: block;
    width: 100%;
  }
  .gw-meta-grid {
    grid-template-columns: 1fr;
    margin: 0 0 20px 0;
    border-radius: 10px;
  }
  .gw-meta-cell {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-right: 0 !important;
    border-bottom: 1px solid #eceef2 !important;
    gap: 10px;
  }
  .gw-meta-cell:last-child {
    border-bottom: 0 !important;
  }
  .gw-meta-k {
    flex: 0 0 auto;
    font-size: 13px;
  }
  .gw-meta-v {
    font-size: 14px;
    text-align: right;
    justify-content: flex-end;
  }
  .gw-cta-row {
    gap: 10px;
  }
  .gw-cta-row .gw-btn-reset {
    width: 100%;
    height: auto !important;
    min-height: 48px;
    padding: 12px 16px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    font-size: 15px;
  }
  .des .content h2,
  .des .content h2.gw-native-h2 {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }
  .gw-clean-spec-table th {
    width: 34%;
    padding: 10px 12px;
    font-size: 13px;
  }
  .gw-clean-spec-table td {
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   V2.8.3 SUBJECT PAGE MODERNIZATION: PUBLISHER PDF VIEWER CHROME,
   SINGLE-DOM MATRIX CARD TOGGLE & 2025+ STUDY COLUMN TOPIC PILLS
   ========================================================================== */
.gw-pdf-viewer-frame {
  margin-top: 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 10px 12px 12px;
}
.gw-pdf-viewer-frame .gw-pdf-schematic-grid {
  margin-top: 9px;
}
.gw-pdf-viewer-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 5px 8px 8px;
  border-bottom: 1px solid #dbe2ec;
}
.gw-pdf-viewer-chrome-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.gw-pdf-chrome-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gw-pdf-chrome-dots i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}
.gw-pdf-chrome-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}
.gw-pdf-viewer-chrome-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.gw-pdf-chrome-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}
.gw-pdf-chrome-pill[data-chrome-label]::after {
  content: attr(data-chrome-label);
}
.gw-pdf-sheet-tag {
  white-space: nowrap;
  flex-shrink: 0;
}
.gw-pdf-sheet-tag[data-sheet-tag]::after {
  content: attr(data-sheet-tag);
}
.gw-pdf-mock-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  margin-bottom: 6px;
}
.gw-pdf-mock-qbadge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}
.gw-pdf-mock-lock {
  font-size: 12px;
  color: #64748b;
}
.gw-pdf-mock-lock[data-lock-note]::after {
  content: attr(data-lock-note);
}
.gw-pdf-mock-opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
  margin-top: 7px;
}
.gw-pdf-mock-opts span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.gw-pdf-mock-opts b {
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
}
.gw-pdf-mock-opts i {
  display: block;
  flex: 1 1 auto;
  height: 5px;
  border-radius: 3px;
  background: #e2e8f0;
}
.gw-pdf-mock-exp-head {
  margin-bottom: 4px;
}
.gw-pdf-mock-ans-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}
.gw-pdf-mock-ans-chip[data-ans-label]::after {
  content: attr(data-ans-label);
}
.gw-sample-ed-sig {
  font-size: 11.8px;
  color: #64748b;
}
.gw-sample-ed-sig[data-ed-sig]::after {
  content: attr(data-ed-sig);
}
.gw-swipe-hint::before {
  content: "← 左右スワイプ、または「要点カードで表示」で縦並びに切替可 →";
}

.gw-matrix-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 10px 0;
}
.gw-matrix-toolbar .gw-boundary-jump-pills {
  margin: 0;
}
.gw-matrix-view-switch {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 3px !important;
  margin: 0 !important;
  height: auto !important;
  gap: 2px;
}
.gw-matrix-view-btn {
  appearance: none;
  border: 0 !important;
  background: transparent;
  color: #475569;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 11px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  border-radius: 5px !important;
  cursor: pointer;
  line-height: 1.35 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}
.gw-matrix-view-btn[data-btn-label]::after {
  content: attr(data-btn-label);
}
.gw-matrix-view-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.gw-matrix-table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
#gw-editorial-quality-sample.is-card-view .gw-swipe-hint {
  display: none !important;
}
#gw-editorial-quality-sample.is-card-view .gw-matrix-table-scroll {
  overflow-x: visible;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table,
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table tbody {
  display: block;
  width: 100%;
  border: 0;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table thead {
  display: none;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table tr {
  display: block;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  margin: 0 0 10px 0;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table tr:last-child {
  margin-bottom: 0;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table td {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px dashed #e2e8f0;
  padding: 6px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table td:first-child {
  background: #f8fafc;
  border-radius: 6px;
  border-bottom: 0;
  padding: 7px 9px;
  margin-bottom: 4px;
  font-weight: 700;
  color: #0f172a;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table td:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}
#gw-editorial-quality-sample.is-card-view .gw-sample-note-table td::before {
  content: attr(data-label);
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}

.gw-study-col-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.gw-study-col-topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #dbe2ec;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 679px) {
  .gw-pdf-sheet-head {
    flex-wrap: wrap;
  }
  .gw-matrix-view-switch {
    width: 100%;
  }
  .gw-matrix-view-btn {
    flex: 1 1 50%;
    justify-content: center;
    min-height: 36px;
  }
}
