/* Shared finish for the member's core workflow. Team branding stays on team cards. */
:root {
  --workspace-surface: #15191f;
  --workspace-raised: #20262f;
  --workspace-border: #343c48;
  --workspace-text: #f2f4f8;
  --workspace-muted: #b3bdcc;
  --workspace-accent: #c52943;
  --workspace-radius: 14px;
}
#shell :is(.league-home, .rw-page, .gc-page, .rxop:has(.gc-page)) {
  color: var(--workspace-text);
  font: 400 15px/1.6 Inter, Arial, sans-serif;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}
#shell :is(.league-home, .rw-page, .gc-page) :is(p, small, label) { line-height: 1.6; }
#shell :is(.lh-card, .lh-commissioner, .rw-panel, .gc-page .rxpanel) {
  background: var(--workspace-surface);
  border: 1px solid var(--workspace-border);
  border-radius: var(--workspace-radius);
  padding: 24px;
  box-shadow: none;
  min-width: 0;
}
#shell :is(.lh-card, .rw-panel, .gc-page .rxpanel) :is(h2, h3) {
  color: var(--workspace-text);
  font: 700 20px/1.3 Inter, Arial, sans-serif;
  letter-spacing: -.3px;
  margin: 0 0 16px;
}
#shell :is(.lh-header h1, .rw-hero h1, .rxop:has(.gc-page)>h1) {
  font: 800 clamp(28px, 4vw, 40px)/1.15 Inter, Arial, sans-serif;
  letter-spacing: -1px;
  margin: 10px 0;
}
#shell :is(.lh-header p, .rw-hero p, .rw-panel p, .gc-page p, .league-home p) {
  color: var(--workspace-muted);
}
#shell :is(.league-home small, .rw-panel small, .gc-page .rxmuted, .rw-line time, .rw-disclaimer) {
  color: var(--workspace-muted);
  font-size: 13px;
  letter-spacing: 0;
}
#shell :is(.lh-header, .rw-hero) { padding: 8px 0 20px; }
#shell .rw-hero { background: none; border: 0; margin-bottom: 8px; }
#shell .rw-hero em { color: var(--workspace-text); }
#shell :is(.lh-header>div>small, .lh-card>small, .lh-commissioner small, .rw-hero>span, .rxop:has(.gc-page)>small) {
  color: #f39aa8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
#shell .lh-grid { gap: 20px; }
#shell .lh-team { font-size: 25px; margin: 12px 0 18px; }
#shell .lh-tools h2 { font-size: 20px; }
#shell :is(.lh-item, .lh-request, .rw-line) { padding-block: 16px; border-color: var(--workspace-border); }
#shell :is(.lh-item span, .lh-request span, .lh-muted) { font-size: 14px; }
#shell .lh-commissioner { border-left: 3px solid var(--workspace-accent); }
#shell :is(.league-home, .rw-page, .gc-page) :is(button, .lh-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid #505d70;
  border-radius: 9px;
  background: var(--workspace-raised);
  color: var(--workspace-text);
  box-shadow: none;
  font: 600 14px/1.4 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
#shell :is(.league-home, .rw-page, .gc-page) :is(button, .lh-button):hover:not(:disabled) {
  background: #2c3542;
  border-color: #8090a6;
}
#shell :is(.lh-primary, .rw-red, .gc-primary, .rw-line [data-review="approved"], .rw-line [data-apply]) {
  background: var(--workspace-accent) !important;
  border-color: #e24b63 !important;
  color: #fff !important;
}
#shell :is(.lh-primary, .rw-red, .gc-primary, .rw-line [data-review="approved"], .rw-line [data-apply]):hover:not(:disabled) {
  background: #a91f36 !important;
  border-color: #f17d90 !important;
}
#shell .rw-line [data-review="rejected"] { color: #ffc0c8; background: transparent; }
#shell :is(.league-home, .rw-page, .gc-page) :is(input, select, textarea) {
  min-height: 44px;
  padding: 11px 12px;
  background: #0e1218;
  border: 1px solid #526075;
  border-radius: 9px;
  color: var(--workspace-text);
  font: 400 15px/1.5 Inter, Arial, sans-serif;
  max-width: 100%;
  min-width: 0;
}
#shell :is(.rw-page, .gc-page) label { font-size: 14px; font-weight: 600; }
#shell .rw-page input[type="checkbox"] { display: inline-block; width: 20px; min-height: 20px; height: 20px; vertical-align: middle; margin: 0 8px 0 0; }
#shell .workspace-help {
  color: var(--workspace-muted);
  border-top: 1px solid var(--workspace-border);
  margin: 16px 0;
  padding-top: 12px;
  font-size: 14px;
}
#shell .workspace-help summary { cursor: pointer; min-height: 44px; padding-block: 10px; color: #d9e0eb; font-weight: 600; }
#shell .workspace-help p { margin: 8px 0; }
#shell .rw-summary { gap: 20px; }
#shell .rw-summary .rw-panel { display: grid; align-content: start; gap: 12px; }
#shell .rw-summary h2 { font-size: 26px; margin: 0; }
#shell .rw-summary button { justify-self: start; }
#shell .rw-grid { gap: 20px; }
#shell .rw-odds { gap: 8px; }
#shell .rw-odds span { background: var(--workspace-raised); color: #dce3ee; border-color: var(--workspace-border); border-radius: 7px; }
#shell .rw-activity-copy { flex-basis: 240px; }
#shell .rw-line .workspace-status { flex: 0 1 auto; }
#shell .rw-disclaimer { margin: 20px 0; }
#rxbody:has(>.gc-page) { background: none; border: 0; padding: 0; margin: 0; }
#shell .gc-page .rxgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
#shell .gc-page .rxgrid>.rxpanel { margin: 0; }
#shell .gc-page>.rxpanel { margin: 16px 0; }
#shell .gc-page label { display: block; margin: 14px 0; }
#shell .gc-page label :is(input, select) { display: block; width: 100%; margin: 7px 0 0; }
#shell .gc-page #gc-filter { max-width: 280px; }
#shell .gc-page a { color: #d9e1ef; text-underline-offset: 4px; }
#shell .gc-page h2 { font: 700 22px/1.35 Inter, Arial, sans-serif; margin: 28px 0 16px; }
#shell .workspace-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #566174;
  border-radius: 999px;
  background: #252d38;
  color: #d5deeb;
  font: 600 13px/1.45 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
#shell .workspace-status:is([data-state="pending"], [data-state="submitted"]) { background: #382e1c; border-color: #786138; color: #f6d28c; }
#shell .workspace-status[data-state="approved"] { background: #203149; border-color: #4b709b; color: #bddaff; }
#shell .workspace-status[data-state="applied"] { background: #18392b; border-color: #3c7e5e; color: #ade8c4; }
#shell .workspace-status[data-state="rejected"] { background: #3a232b; border-color: #965462; color: #ffc1cb; }
#shell #nav .ry-nav-item button { font-size: 14px !important; min-height: 44px !important; }
#shell #nav .ry-nav-more { width: 44px; }
#shell #nav .ry-nav-utility button { min-height: 44px !important; font-size: 13px !important; }
#v381-menu .v381-menu-item { min-height: 44px; font-size: 14px; }
@media (max-width: 900px) {
  #shell :is(.lh-grid, .rw-summary, .rw-grid, .gc-page .rxgrid) { grid-template-columns: 1fr; }
  #shell .lh-grid>.lh-card:last-child { grid-column: auto; }
  #shell :is(.lh-card, .lh-commissioner, .rw-panel, .gc-page .rxpanel) { padding: 20px; }
  #ry-nav-toggle { width: 44px; height: 44px; }
  #shell .account select { font-size: 16px; min-height: 44px; }
  #shell .account button { min-height: 44px; min-width: 44px; }
  #shell .eyebrow { font-size: 12px !important; }
}
@media (max-width: 620px) {
  #shell :is(.league-home, .rw-page, .gc-page) { font-size: 15px; }
  #shell :is(.lh-card, .lh-commissioner, .rw-panel, .gc-page .rxpanel) { padding: 18px; }
  #shell :is(.league-home, .rw-page, .gc-page) :is(input, select, textarea) { font-size: 16px; }
  #shell .account { flex: 1 1 100%; width: 100%; margin-left: 0; justify-content: space-between; }
  #shell .account select { flex: 1; width: 100%; max-width: calc(100% - 56px); font-size: 16px; }
  #shell .lh-tools>div { grid-template-columns: 1fr; }
  #shell .lh-button, #shell .rw-line button { width: 100%; }
  #shell .rw-line { align-items: start; gap: 10px; }
  #shell .rw-activity-copy { flex-basis: 100%; }
  #shell .rw-line>b { margin-left: auto; }
  #shell .ry-feature-text strong { font-size: 14px; }
  #shell .ry-feature-text small { font-size: 12px; }
  #shell :is(.ry-summary-card span, .ry-arena-team small, .ry-clean-welcome small, .ry-data-note, .ry-updated) { font-size: 12px; }
  #shell footer { font-size: 11px; line-height: 1.6; }
}
