.gst-f5-preview { margin-top:16px; padding:24px; border:1px solid #c7d9cf; border-radius:12px; background:#f8fbf8; color:#263d33; min-width:0; font-size:14px; font-weight:400; line-height:1.5; overflow-wrap:anywhere; }
.gst-f5-preview h3,.gst-f5-preview h4 { margin:0 0 12px; }
.gst-f5-preview h4 { margin-top:18px; }
.gst-f5-preview p { margin:8px 0; font-weight:400; }
.gst-f5-preview .gst-f5-status { padding:12px; background:#fff4dd; border-left:4px solid #b18128; border-radius:6px; }
.gst-f5-boxes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.gst-f5-box { display:grid; grid-template-rows:subgrid; grid-row:span 2; gap:8px; padding:16px; background:#fff; border:1px solid #dbe5de; border-radius:8px; min-width:0; }
.gst-f5-box span { font-size:13px; font-weight:500; line-height:1.4; }
.gst-f5-box strong { font-size:18px; font-variant-numeric:tabular-nums; line-height:1.4; }
.gst-f5-preview details { border-top:1px solid #dbe5de; margin-top:12px; padding-top:8px; }
.gst-f5-preview summary { cursor:pointer; min-height:44px; display:flex; align-items:center; font-weight:600; }
.gst-f5-preview li { margin:10px 0; }
.gst-report-panel .gl-report-actions { flex-wrap:wrap; gap:10px; }
.gst-report-panel .gl-report-actions button { height:auto; min-height:44px; padding:10px 14px; line-height:1.4; white-space:normal; }
@supports not (grid-template-rows:subgrid) { .gst-f5-box { grid-template-rows:minmax(40px,auto) auto; grid-row:auto; } }
@media(max-width:600px) { .gst-f5-preview { padding:16px; } .gst-f5-boxes { grid-template-columns:minmax(0,1fr); } .gst-f5-box { padding:14px; } .gst-report-panel .gl-report-actions button { flex:1 1 180px; } }

.gst-f5-preview .gst-f5-review { margin:12px 0 20px; padding:16px; border:1px solid #dbc79d; border-left:4px solid #b18128; border-radius:8px; background:#fff8e9; }
.gst-f5-review ul { padding-left:20px; }

/* F5 previews can span many screens. Do not squeeze the listing into the
   remaining viewport row when the review section grows. */
.main:has(.gst-report-panel) {
  display:block;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-padding-block:16px;
}
.main:has(.gst-report-panel) > .summary-strip { margin-block:12px; }
.main:has(.gst-report-panel) > .content-grid {
  display:block;
  height:auto;
  min-height:0;
  overflow:visible;
}
.main:has(.gst-report-panel) .list-panel {
  display:block;
  height:auto;
  min-height:0;
  overflow:visible;
}
.main:has(.gst-report-panel) .table-wrap {
  height:auto;
  max-height:none;
  min-height:220px;
  overflow-x:auto;
}
