/* STEP 40C — Desktop fixed quick links and restrained green action palette.
   No mobile changes: existing sticky bottom nav is entirely untouched. */
.fs-desktop-quick-actions { display:none !important; }
@media (min-width:992px) {
  /* The 6 links are always expanded, above the two existing floating buttons. */
  .fs-desktop-quick-actions {
    position:fixed; right:20px; bottom:150px; width:176px;
    display:grid !important; gap:6px; z-index:1060;
    max-height:calc(100dvh - 170px); overflow-y:auto; overflow-x:hidden;
    padding:2px 2px 5px; scrollbar-width:thin;
    scrollbar-color:rgba(23,160,105,.5) transparent;
  }
  .fs-dqa-link {
    min-height:39px; padding:7px 11px; display:flex; align-items:center; gap:9px;
    color:#f8fffc !important; text-decoration:none !important;
    border:1px solid rgba(155,249,204,.45); border-radius:12px;
    background:linear-gradient(125deg,#075d3e,#08794b);
    box-shadow:0 7px 18px rgba(3,24,18,.30),inset 0 1px 0 rgba(255,255,255,.10);
    font-family:inherit; font-size:12.5px; font-weight:700; line-height:1.25; letter-spacing:.005em;
    transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease;
    white-space:nowrap;
  }
  .fs-dqa-link:hover {
    background:linear-gradient(120deg,#0b8757,#109963);
    border-color:rgba(207,255,230,.80);
    box-shadow:0 9px 24px rgba(3,24,18,.36),inset 0 1px 0 rgba(255,255,255,.14);
    transform:translateX(-3px);
  }
  .fs-dqa-link.is-active {
    background:#0da46a;
    border-color:#bdf8db;
    box-shadow:0 0 0 2px rgba(5,121,73,.28),0 9px 22px rgba(0,31,22,.30);
  }
  .fs-dqa-link:focus-visible {outline:3px solid #cfffe2;outline-offset:2px;}
  .fs-dqa-icon {width:18px;height:18px;flex:0 0 18px;color:#e2ffef;}

  /* Align existing always-visible CTAs with the new desktop quick links. */
  .fs-ticket-builder { right:22px; bottom:82px; }
  .fs-ai { right:22px; bottom:22px; }
  .fs-ai-launch, .fs-ticket-builder-toggle {
    width:172px; min-height:41px; display:flex; align-items:center; justify-content:center;
    gap:7px; white-space:nowrap; font-size:12.5px; font-weight:800;
  }
  .fs-ticket-builder-toggle .fs-ticket-builder-count {margin-left:2px;}
  /* The new actions and existing floating buttons use the requested green. */
  html[data-bs-theme] .fs-ai-launch,
  html[data-bs-theme] .fs-ticket-builder-toggle {
    background:#08784b !important; border-color:#71d3a6 !important; color:#fff !important;
    box-shadow:0 8px 22px rgba(2,32,20,.30) !important;
  }
  html[data-bs-theme] .fs-ai-launch:hover,
  html[data-bs-theme] .fs-ticket-builder-toggle:hover {
    background:#0d9660 !important; border-color:#b6f3d3 !important;
  }

  /* Secondary primary actions across the desktop gain the same green accent.
     Won/lost warnings, score bars, graph series and historical colors are not reset. */
  html[data-bs-theme="light"] {
    --tblr-primary:#08784b;--tblr-primary-rgb:8,120,75;
    --tblr-primary-darken:#05643d;--tblr-primary-lt:#e8f6ee;
    --tblr-link-color:#076f47;--bs-primary:#08784b;
  }
  html[data-bs-theme="dark"] {
    --tblr-primary:#30c990;--tblr-primary-rgb:48,201,144;
    --tblr-primary-darken:#0ca46b;--tblr-primary-lt:#183e32;
    --tblr-link-color:#68d9ad;--bs-primary:#30c990;
  }
  html[data-bs-theme] .btn-primary:not(:disabled):not(.disabled) {
    background:#08784b !important; border-color:#08784b !important; color:#fff !important;
    --tblr-btn-bg:#08784b;--tblr-btn-border-color:#08784b;
    --tblr-btn-hover-bg:#0d9660;--tblr-btn-hover-border-color:#0d9660;
  }
  html[data-bs-theme] .btn-primary:not(:disabled):not(.disabled):hover,
  html[data-bs-theme] .btn-primary:not(:disabled):not(.disabled):focus-visible {
    background:#0d9660 !important; border-color:#1eaf79 !important; color:#fff !important;
  }
  html[data-bs-theme="light"] .btn-outline-primary {color:#08784b;border-color:#08784b;}
  html[data-bs-theme="light"] .btn-outline-primary:hover {background:#08784b;color:#fff;}
}
@media (min-width:992px) and (max-width:1199.98px) {
  .fs-desktop-quick-actions {right:9px;width:151px;bottom:145px;}
  .fs-dqa-link {font-size:11.5px;padding-left:8px;gap:6px;}
  .fs-ticket-builder,.fs-ai {right:11px;}
  .fs-ticket-builder-toggle,.fs-ai-launch {width:147px;font-size:11.5px;}
}
@media (max-height:520px) and (min-width:992px) {
  .fs-desktop-quick-actions {gap:3px;bottom:132px;max-height:calc(100dvh - 144px);}
  .fs-dqa-link {min-height:32px;padding-top:5px;padding-bottom:5px;}
}
@media print { .fs-desktop-quick-actions { display:none !important; } }
@media (prefers-reduced-motion:reduce) {
  .fs-dqa-link { transition:none; }
}
