
.h4-system-notice{font-size:12px;text-align:center;padding:10px 12px;border-radius:12px;background:#0c2024;color:#b2c8c5;margin:10px auto;max-width:1160px;border:1px solid #284d4a}
.h4-system-notice.h4-warning{color:#f0c27c;border-color:#6c5329;background:#251c10}
.signal-card .price-state.stale{color:#e0b369}
.signal-card .unlock-hint{font-size:11px;color:#94afa7;text-align:center;margin-top:7px}
.signal-card .status.waiting strong{letter-spacing:.04em}
#coach-nav[hidden]{display:none!important}
.header-token .header-token-caption b{font-size:7px}
@media(max-width:530px){.h4-system-notice{font-size:10px}.signal-card .market-name{font-size:10px}}

[hidden],#coach-nav[hidden]{display:none!important}

#coach-member-nav[hidden]{display:none!important}

/* H4 pre-forecast booked-only LINE notification action */
.h4-booking-cta{margin-top:7px;display:flex;flex-direction:column;gap:7px}.h4-booking-cta .h4-book-btn{width:100%;font-weight:850;line-height:1.3;white-space:normal;padding:12px 10px}.h4-booking-cta button:disabled{opacity:.68;cursor:not-allowed;filter:grayscale(.35)}.h4-booking-cta small{font-size:10px;color:#a9bbc1;line-height:1.5}.booked-alert{background:rgba(20,151,100,.15);border:1px solid rgba(90,215,143,.45);border-radius:10px;padding:11px 10px;line-height:1.45}

.h4-book-next{max-width:1160px;margin:9px auto;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;background:linear-gradient(90deg,#0e3023,#12252a);border:1px solid #397d54;border-radius:13px;color:#bde7d0;font-weight:800;font-size:12px}.h4-book-next[hidden]{display:none!important}.h4-book-next button{border:0;border-radius:9px;padding:9px 13px;background:#27c77b;color:#081b10;font-weight:900;cursor:pointer;white-space:nowrap}@media(max-width:490px){.h4-book-next{font-size:10px;flex-wrap:wrap}.h4-book-next button{width:100%}}

/* R10.17: pending-order instructions for unlocked, not-yet-filled forecasts. */
.h4-pending-guide{margin:10px 12px;padding:12px;border:1px solid #9c7b36;border-radius:10px;background:rgba(32,43,31,.95);color:#e9f4e9;font-size:12px;line-height:1.6}
.h4-pending-guide>strong{display:block;color:#f1ce71;font-size:13px;margin-bottom:8px}
.h4-pending-guide p{margin:5px 0}.h4-pending-guide small{display:block;color:#b7cbbf;margin-top:8px;font-size:11px}

/* R10.19 · bulk booking directly below filters; advance booking below final card */
.h4-bulk-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0 14px}
.h4-bulk-btn{min-width:0;min-height:44px;padding:8px 3px;border:1px solid #368460;border-radius:9px;background:#19543b;color:#fff;font-size:clamp(10px,2.3vw,13px);font-weight:700;line-height:1.25;cursor:pointer}
.h4-bulk-btn:hover{background:#287a51}
.h4-advance-footer{grid-column:1/-1;width:100%;padding:8px 0 18px}
#h4-advance-book{width:100%;padding:13px;border-radius:10px;border:1px solid #b0a06d;background:#253c2e;color:#f2ddb0;font-weight:700;cursor:pointer}
#h4-advance-book:hover{background:#35533c}

/* R10.22: one-click booking status and gated advance actions. */
.h4-bulk-btn:disabled,.h4-bulk-btn.is-complete{background:#25382f!important;color:#a9c9b5;border-color:#698b77;cursor:default;opacity:.9}
.h4-advance-label{font-size:12px;font-weight:700;color:#f2ddb0;margin:0 0 9px;text-align:center}
.h4-advance-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.h4-advance-footer #h4-advance-book{padding:13px;border-radius:10px;border:1px solid #b0a06d;background:#253c2e}
.h4-advance-actions .h4-bulk-btn:disabled:not(.is-complete){background:#202d29;color:#98a7a0;border-color:#465a4c}
.h4-advance-footer>small{display:block;color:#b7c9b5;margin:7px 0}
.h4-pending-guide p{margin:0;font-weight:600}
.h4-pending-guide>strong{margin-bottom:4px}
#h4-stats-old-popup details.stats-group>summary{list-style:none;cursor:pointer}
#h4-stats-old-popup details.stats-group>summary::-webkit-details-marker{display:none}
#h4-stats-old-popup details.stats-group[open]>summary{border-color:#5b9476}


/* Entry evidence stays visible after later TP/SL status changes. */
.signal-card[data-entry-hit="true"] .signal-details:not(.locked)>[data-price-level="ENTRY"]{background:rgba(11,87,69,.95)!important;border:1px solid rgba(97,242,186,.8)!important;box-shadow:0 0 14px rgba(57,232,165,.25)}
.signal-card[data-entry-hit="true"] .signal-details:not(.locked)>[data-price-level="ENTRY"] b{color:#b4ffde!important}
