/* v85: presentation-only hub refinement. Header, tabs, other panels and
   modal styles are deliberately outside this stylesheet's scope. */
#apanel-orders #ep-panel-at-hub .ep-item.ep-hub-story {
  padding: 17px 20px 15px !important;
  border: 1px solid #dfe9ee !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #fff, #fafffd) !important;
  box-shadow: 0 8px 24px rgba(15, 35, 55, .055) !important;
}
#ep-panel-at-hub .ep-hub-story::before { display: none; }
#ep-panel-at-hub .ep-hub-story .ep-story-head {
  margin-bottom: 14px; padding-bottom: 13px;
  border-bottom: 1px solid #e7edf2; align-items: center;
}
#ep-panel-at-hub .ep-hub-story .ep-story-title-wrap { gap: 11px; }
#ep-panel-at-hub .ep-hub-story .ep-story-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #dcf8eb; border: 0; box-shadow: none;
}
#ep-panel-at-hub .ep-hub-story .ep-story-icon svg { width: 25px; height: 25px; }
#ep-panel-at-hub .ep-hub-story .ep-story-eyebrow { font-size: 9px; letter-spacing: .075em; }
#ep-panel-at-hub .ep-hub-story .ep-item-title {
  font-size: 16px; line-height: 1.35; overflow-wrap: anywhere;
}
#ep-panel-at-hub .ep-hub-story .ep-item-sub { line-height: 1.4; overflow-wrap: anywhere; }
#ep-panel-at-hub .ep-hub-story .ep-status { flex: none; border-radius: 999px; }
#ep-panel-at-hub .ep-hub-overview {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 20px; align-items: center; margin-bottom: 12px;
}
#ep-panel-at-hub .ep-hub-overview-copy { min-width: 0; }
#ep-panel-at-hub .ep-hub-overview .ep-story-message {
  border: 0; padding: 0; background: transparent; margin: 0 0 12px;
}
#ep-panel-at-hub .ep-hub-overview .ep-story-message strong {
  font-size: 18px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 6px;
}
#ep-panel-at-hub .ep-hub-overview .ep-story-message > span { font-size: 12px; line-height: 1.5; }
#ep-panel-at-hub .ep-hub-overview .ep-hub-proof { gap: 6px; margin: 0; }
#ep-panel-at-hub .ep-hub-proof > span { padding: 6px 10px; font-size: 10px; border-radius: 999px; }
#ep-panel-at-hub .ep-hub-overview-storage { min-width: 0; border-radius: 18px; }
#ep-panel-at-hub .ep-hub-overview-storage.has-clock {
  padding: 13px 14px 10px; background: #0b1828; box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}
#ep-panel-at-hub .ep-hub-overview-storage.has-clock > div:first-child {
  padding: 0 !important; margin: 0 !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
}
#ep-panel-at-hub .ep-hub-overview-storage.has-clock > div:first-child > div:first-child {
  align-items: flex-start !important; gap: 7px !important;
}
#ep-panel-at-hub .ep-hub-overview-storage.has-clock > div:first-child > div:first-child > span:last-child {
  white-space: normal !important; text-align: left !important; line-height: 1.5;
  width: 100%; display: block;
}
#ep-panel-at-hub .ep-hub-overview-storage.has-clock > div:first-child b {
  display: block; margin: 2px 0 0 !important; font-size: 14px;
}
#ep-panel-at-hub .ep-hub-overview-storage .ep-item-info {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px;
  margin: 9px 0 0; padding: 8px 0 0; border: 0;
  border-top: 1px solid #e7edf2; background: transparent; border-radius: 0;
}
#ep-panel-at-hub .ep-hub-overview-storage.has-clock .ep-item-info { border-color: #304557; color: #b9c9d9; }
#ep-panel-at-hub .ep-hub-overview-storage.has-clock .ep-item-info * { color: #d2deea; }
#ep-panel-at-hub .ep-hub-overview-storage .ep-item-info-r { margin: 0; overflow-wrap: anywhere; }
/* The older Orders theme has !important white metadata backgrounds. Keep
   this one row dark, with readable date text, only inside the hub clock. */
#apanel-orders #ep-panel-at-hub .ep-hub-overview-storage.has-clock .ep-item-info {
  background: transparent !important; border: 0 !important;
  border-top: 1px solid #304557 !important; box-shadow: none !important;
  padding: 9px 0 0 !important; border-radius: 0 !important;
  align-items: center;
}
#apanel-orders #ep-panel-at-hub .ep-hub-overview-storage.has-clock .ep-item-info-l {
  color: #b7c7d8 !important; font-size: 11px; line-height: 1.45;
  background: transparent !important;
}
#apanel-orders #ep-panel-at-hub .ep-hub-overview-storage.has-clock .ep-item-info-r,
#apanel-orders #ep-panel-at-hub .ep-hub-overview-storage.has-clock .ep-item-info-r span {
  color: #edf5fc !important; font-size: 11px; line-height: 1.45;
  font-family: inherit !important; background: transparent !important;
}
#ep-panel-at-hub .ep-hub-story .ep-request-strip {
  margin-top: 12px; padding-top: 11px; border-color: #e7edf2; gap: 12px;
}
#ep-panel-at-hub .ep-hub-story .ep-request-copy strong { font-size: 12px; }
#ep-panel-at-hub .ep-hub-story .ep-request-copy span { font-size: 10.5px; line-height: 1.45; }
#ep-panel-at-hub .ep-hub-story .ep-request-actions-wrap { flex-wrap: wrap; }
#ep-panel-at-hub .ep-hub-story .ep-request-btn,
#ep-panel-at-hub .ep-hub-story .ep-return-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 14px;
  font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1.2;
  box-sizing: border-box; white-space: normal; text-align: center;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
#ep-panel-at-hub .ep-hub-story .ep-request-btn {
  background: #3a5170; border-color: #3a5170; color: #fff;
  box-shadow: 0 3px 8px rgba(42, 64, 90, .12);
}
#ep-panel-at-hub .ep-hub-story .ep-return-btn {
  background: #fff8f5; border-color: #e6cfc6; color: #8a3f32;
  box-shadow: none;
}
#ep-panel-at-hub .ep-hub-story .ep-request-btn > span,
#ep-panel-at-hub .ep-hub-story .ep-return-btn > span {
  display: grid; place-items: center; flex: 0 0 23px;
  width: 23px; height: 23px; border-radius: 50%; margin: 0;
  font-size: 13px; line-height: 1; background: rgba(255, 255, 255, .12);
}
#ep-panel-at-hub .ep-hub-story .ep-return-btn > span { background: #f7e8e2; }
#ep-panel-at-hub .ep-hub-story .ep-request-btn:hover {
  transform: none; background: #304766; border-color: #304766;
  box-shadow: 0 4px 10px rgba(42, 64, 90, .16);
}
#ep-panel-at-hub .ep-hub-story .ep-return-btn:hover {
  transform: none; background: #fff1e9; border-color: #d7b9ac;
  box-shadow: none;
}
#ep-panel-at-hub .ep-hub-story .ep-request-btn:focus-visible,
#ep-panel-at-hub .ep-hub-story .ep-return-btn:focus-visible {
  outline: 3px solid #89d9e7; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  #ep-panel-at-hub .ep-hub-story .ep-request-btn,
  #ep-panel-at-hub .ep-hub-story .ep-return-btn { transition: none; }
}
#ep-panel-at-hub .ep-checkout-locked {
  margin: 9px 0 0; padding: 11px 14px; border-color: #d7eee5;
  border-radius: 20px; background: #f6fffa; align-items: center;
}
#ep-panel-at-hub .ep-checkout-locked > span {
  display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px;
  margin: 0; background: #ddf9e9; border-radius: 50%; color: #07815b; font-size: 16px;
}
#ep-panel-at-hub .ep-checkout-locked > div { min-width: 0; }
#ep-panel-at-hub .ep-checkout-locked b { font-size: 12px; }
#ep-panel-at-hub .ep-checkout-locked > div > span { font-size: 11px; line-height: 1.45; }
#ep-panel-at-hub .ep-ship-now {
  margin: 10px 0 2px; padding: 13px 15px; border-radius: 20px;
  border-color: #dce6ee; background: #fff; box-shadow: 0 5px 15px rgba(15, 23, 42, .045);
}
#ep-panel-at-hub .ep-ship-now-copy strong { font-size: 13px; }
#ep-panel-at-hub .ep-ship-now-copy span { font-size: 11px; margin-top: 3px; }
#ep-panel-at-hub .ep-ship-now-btn { min-height: 40px; border-radius: 999px; padding: 11px 17px; }
@media (max-width: 760px) {
  #ep-panel-at-hub .ep-hub-overview { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #apanel-orders #ep-panel-at-hub .ep-item.ep-hub-story { padding: 15px !important; border-radius: 22px !important; }
  #ep-panel-at-hub .ep-hub-story .ep-story-head { gap: 8px; align-items: flex-start; }
  #ep-panel-at-hub .ep-hub-story .ep-story-icon { width: 38px; height: 38px; }
  #ep-panel-at-hub .ep-hub-story .ep-item-title { font-size: 14px; }
  #ep-panel-at-hub .ep-hub-overview .ep-story-message strong { font-size: 16px; }
  #ep-panel-at-hub .ep-hub-story .ep-request-strip { flex-direction: column; align-items: stretch; }
  #ep-panel-at-hub .ep-hub-story .ep-request-actions-wrap { display: flex; gap: 8px; }
  #ep-panel-at-hub .ep-hub-story .ep-request-btn,
  #ep-panel-at-hub .ep-hub-story .ep-return-btn { flex: 1; justify-content: center; min-height: 44px; }
  #ep-panel-at-hub .ep-ship-now { flex-direction: column; align-items: stretch; gap: 10px; }
  #ep-panel-at-hub .ep-ship-now-btn { width: 100%; min-height: 44px; }
}
