:root:has(.recommendation-page) {background:#f6f8fc;color-scheme:light}
.recommendation-page {margin:0;font-family:system-ui,"Microsoft YaHei",sans-serif;color:#122948}
.recommendation-page .container {width:min(920px, calc(100% - 40px));margin:0 auto;box-sizing:border-box}
.recommendation-page .top {background:#fff;border-bottom:1px solid #dce6f2}
.recommendation-page .top .container {display:flex;align-items:center;justify-content:space-between;min-height:60px}
.recommendation-page .top img {display:block;width:112px;height:auto}
.recommendation-page .top a,.recommendation-view a {color:#145fd0;text-decoration:none}
.recommendation-page .top a:hover,.recommendation-view a:hover {text-decoration:underline}
.recommendation-page main {padding:34px 0 54px}
.recommendation-page h1 {font-size:32px;margin:0 0 10px}
.recommendation-view {min-width:0;color:#122948}
.recommendation-view [hidden] {display:none!important}
.recommendation-view .recommendation-toolbar,
.recommendation-view footer {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.recommendation-view .recommendation-controls {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid #dce6f2}
.recommendation-view .recommendation-toolbar {justify-content:flex-end;margin:0 0 4px auto}
.recommendation-view button {font:inherit;font-size:14px;color:#145fd0;background:#fff;border:1px solid #cbdaf0;border-radius:6px;padding:6px 12px;cursor:pointer}
.recommendation-view button:disabled {cursor:progress;opacity:.6}
.recommendation-view button[aria-pressed=true] {color:#0649b4;background:#e6efff;border-color:#92b7f3}
#rec-tabs {display:flex;gap:20px;overflow:auto}
#rec-tabs button {border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:9px 3px;white-space:nowrap;color:#455d79}
#rec-tabs button[aria-pressed=true] {border-bottom-color:#1266e8;color:#1058c5;font-weight:650}
#rec-status {color:#516680;line-height:1.5;margin:12px 0}
#rec-status:empty {display:none}
#rec-preferences,#rec-favorites {margin:10px 0;background:#fff;border:1px solid #dce6f2;border-radius:8px;padding:14px 18px}
#rec-preferences div {display:flex;gap:6px;flex-wrap:wrap}
#rec-feed > article {padding:15px 0 13px;border-bottom:1px solid #e1e8f0;overflow-wrap:anywhere}
#rec-feed article header {display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;color:#516680;font-size:12px}
#rec-feed article h2 {font-size:18px;line-height:1.4;margin:4px 0}
#rec-feed article h2 a {color:#122948}
#rec-feed article h2 button {padding:0;text-align:left;border:0;color:#122948;font-size:inherit;font-weight:650}
#rec-feed article p {line-height:1.55;margin:4px 0;color:#455d79;white-space:pre-line}
#rec-feed .recommendation-row-summary {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#rec-feed .recommendation-row-facts {font-size:12px;color:#516680}
.recommendation-row-tools {display:flex;align-items:flex-start;gap:0 18px;flex-wrap:wrap;margin-top:4px;font-size:12px}
.recommendation-row-tools > details {min-width:0;max-width:100%;color:#516680}
.recommendation-row-tools summary,.recommendation-row-tools .actions button {line-height:1.4;padding:5px 0}
.recommendation-row-tools .actions {display:flex;flex-wrap:wrap;gap:0 14px}
.recommendation-row-tools .actions button {border:0;border-radius:0;background:transparent;font-size:inherit;color:#516680}
.recommendation-row-tools .actions button:hover {color:#145fd0;text-decoration:underline}
.recommendation-view summary {cursor:pointer;color:#145fd0}
.recommendation-view footer {justify-content:flex-start;margin-top:16px}
#rec-coverage {display:flex;flex-wrap:wrap;gap:4px 24px;padding-left:20px;color:#516680}
#rec-favorites li {margin-bottom:8px}
#rec-favorites li button {margin-left:8px}
@media(max-width:540px) {
  .recommendation-page .container {width:calc(100% - 24px)}
  .recommendation-page main {padding-top:22px}
  #rec-preferences,#rec-favorites {padding:13px}
  .recommendation-page h1 {font-size:27px}
  #rec-tabs {gap:10px}
}

/* Today Opportunities view tabs */
#opportunities-section .opportunity-view-tabs {
  display:flex;
  gap:clamp(12px, 3vw, 28px);
  margin-top:16px;
  border-bottom:1px solid #dbe3ec;
}
#opportunities-section .opportunity-view-tabs button {
  position:relative;
  min-height:44px;
  padding:0 8px;
  border:0;
  border-bottom:3px solid transparent;
  border-radius:0;
  background:transparent;
  color:#23364b;
  font:inherit;
  font-size:17px;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
}
#opportunities-section .opportunity-view-tabs button[aria-selected="true"] {
  border-bottom-color:#0877ff;
  color:#0867dd;
  font-weight:700;
}
#opportunities-section .opportunity-view-tabs button:hover {color:#0867dd}
#opportunities-section .opportunity-view-tabs button:focus-visible {outline:2px solid #0877ff;outline-offset:-3px}
#opportunities-section [data-opportunity-panel][hidden] {display:none!important}
body.hub-is-opportunities #opportunities-section .opportunity-list-head,
body.hub-is-opportunities #opportunities-section .industry-opportunity-module {margin-top:12px}
#opportunity-panel-recommendations .recommendation-view {padding:14px 0 0}
@media(max-width:540px) {
  #opportunities-section .opportunity-view-tabs button {font-size:15px}
}
