/* The dashboard frame: John's Dashboard Template (Desktop "Dashboard Template.pptx", 11/3). One frame for the four web
   dashboards (Request, Go, Deals, Connect); each page puts class "df" and its brand (data-df) on its .dashboard, and
   keeps its own panes. Deals is first (John: "if I like the way it looks, we'll drop in the other 3").

     sidebar   sand fading to the brand colour at the foot (the template's stops 50 / 66 / 81 / 100%), its logo on
               top (no card, no "Submit new deal"), the menu, a rule, Back to main page and Sign out boxes, the
               version line and Delete Account;
     top bar   the business logo and "name • status" on the left, the owner's name and picture on the right; see-
               through (blurred), so the page shows faintly under it while scrolling, as the Deals dashboard did;
     rules     the brand colour at 50%, as the template's outlines. */

.dashboard.df[data-df="deals"] {
  --df-accent: #D97757;
  --df-line: rgba(217, 119, 87, .5);
  --df-side: linear-gradient(180deg, #FBF3E4 50%, #F6E0CE 66%, #EBBAA3 81%, #D97757 100%);
}
/* The middle stops mix the brand colour into sand as the Deals ones do: 15% at 66%, 47% at 81%. */
.dashboard.df[data-df="request"] {
  --df-accent: #33D975;
  --df-line: rgba(51, 217, 117, .5);
  --df-side: linear-gradient(180deg, #FBF3E4 50%, #DDEFD3 66%, #9DE7B0 81%, #33D975 100%);
  --df-ink: #1F9D52;                   /* names in the top bar: Shamrock text on sand is about 1.6:1 */
}
.dashboard.df[data-df="connect"] {
  --df-accent: #1CB061;
  --df-line: rgba(28, 176, 97, .5);
  --df-side: linear-gradient(180deg, #FBF3E4 50%, #DAE9D0 66%, #92D4A6 81%, #1CB061 100%);
  --df-ink: #13834A;                   /* names in the top bar: Mountain Meadow text on sand is about 2.4:1 */
}
/* Go is the dark one (John 11/3): Midnight Blue stands where sand does, Shamrock is the accent. */
.dashboard.df[data-df="go"] {
  --df-accent: #33D975;
  --df-line: rgba(51, 217, 117, .5);
  --df-side: linear-gradient(180deg, #002461 50%, #083F64 66%, #18796A 81%, #33D975 100%);
}
.dashboard.df { --df-sand: #FBF3E4; background: var(--df-sand); }

/* Sidebar: the menu scrolls, the head and the foot stay put */
.dashboard.df .dash-sidebar { background: var(--df-side); border-right: 1px solid var(--df-line); padding: 12px 12px 8px; overflow: hidden; }
.dashboard.df .dash-sidebar-head { background: none; border: 0; box-shadow: none; border-radius: 0; min-height: 0; padding: 2px 0 20px; margin: 0; display: flex; justify-content: center; flex: none; }   /* 20: Home sat 8px under the logo (John 11/3, "a hair of padding") */
.dashboard.df .dash-sidebar-head .gd-logo svg { height: 40px; }
.dashboard.df .dash-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -4px; padding: 0 4px 8px; scrollbar-width: thin; }
/* The open row: the dashboard's own colour as a tint with a solid bar, never white (John 11/3: "i dont want white to
   represent a category is activated on any of the sites"). */
.dashboard.df .dash-nav-item.active { background: color-mix(in srgb, var(--df-accent) 22%, transparent); box-shadow: inset 3px 0 0 var(--df-accent); }
.dashboard.df .dash-nav-item.active .dni-label { font-weight: 800 !important; }

.dashboard.df .dash-sidebar-footer { flex: none; border-top: 1px solid var(--df-line); padding-top: 12px; margin-top: 4px; }
.dashboard.df .dash-signout:not(.dash-dellink) { background: var(--df-sand); border: 1px solid var(--df-line); border-radius: 8px; color: var(--navy); min-height: 36px; font-weight: 800; }
.dashboard.df .dash-signout:not(.dash-dellink):hover { background: #fff; border-color: var(--df-accent); }
.dashboard.df .dash-version { margin: 10px 0 0; text-align: center; font: 700 12px/1.2 'Nunito', sans-serif; color: var(--df-sand); letter-spacing: .02em; user-select: text; }
.dashboard.df .dash-signout.dash-dellink { margin-top: 4px; padding: 6px 12px; color: #C00000; font-weight: 700; }
.dashboard.df .dash-signout.dash-dellink:hover { color: #8f0000; }

/* Top bar: see-through over the scrolling page */
.dashboard.df .dash-topbar { min-height: 64px; box-sizing: border-box; padding: 10px 24px; background: rgba(251, 243, 228, .72); -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15); border-bottom: 1px solid var(--df-line); }
.df-biz { display: flex; align-items: center; gap: 12px; min-width: 0; }
.df-biz-logo { width: 40px; height: 40px; border-radius: 50%; flex: none; background: #fff center / cover no-repeat; border: 1px solid var(--df-line); display: flex; align-items: center; justify-content: center; font: 800 13px/1 'Nunito', sans-serif; color: var(--navy); overflow: hidden; }
.df-biz-name, .df-owner { font: 800 18px/1.2 'Nunito', sans-serif; color: var(--df-ink, var(--df-accent)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.df-dot { margin: 0 .3em; }
.dashboard.df .dash-topbar-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dashboard.df .dash-avatar { width: 40px; height: 40px; flex: none; }

/* Request (deck slide 2) and Connect (slide 1, a business like Deals): each page was a navy sidebar with white
   labels under a full-width white bar carrying the logo. On the frame the sidebar runs the full height with the logo on top, and the bar moves inside .dash-main so
   the page scrolls under it. "+ New request" (and Connect's "View Local Deals") left the pages: Home's pathways start a
   request (John 11/3). Below 900px the menu is the drawer
   and the bar keeps its logo. */
.dashboard.df:is([data-df="request"], [data-df="connect"]) { grid-template-areas: "sidebar main"; grid-template-rows: minmax(0, 1fr); }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-sidebar-head .gd-logo img { height: 40px; width: auto; display: block; }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-topbar { justify-content: space-between; }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-nav-divider { color: rgba(0, 36, 97, .6); }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-nav-item { color: var(--navy); }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-nav-item .dni-label { color: var(--navy) !important; }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-nav-item:hover { background: color-mix(in srgb, var(--df-accent) 12%, transparent); color: var(--navy); }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-nav-item.active { color: var(--navy); }
.dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-sidebar-footer { position: static; background: none; padding-bottom: 8px; margin-top: 4px; }
.dashboard.df[data-df="connect"] .dash-topbar-centre { display: none; }   /* its name and plan moved into .df-biz */
.dashboard.df[data-df="connect"] .df-biz-name :is(.dash-business-name, .dash-business-plan) {   /* the page's stacked-line rules carry !important */
  display: inline !important; font: inherit !important; color: inherit !important; margin: 0 !important; line-height: inherit !important; }
@media (min-width: 901px) {
  .dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-topbar-brand { display: none; }
}
@media (max-width: 900px) {
  .dashboard.df:is([data-df="request"], [data-df="connect"]) { grid-template-areas: "main"; }
  /* the brand box shrank under its 110px wordmark, which then ran under the business logo */
  .dashboard.df:is([data-df="request"], [data-df="connect"]) .dash-topbar-brand { flex: none; margin-right: 10px; }
}
@media (max-width: 600px) {
  .dashboard.df:is([data-df="request"], [data-df="connect"]) .df-biz-logo { display: none; }   /* the name needs the room */
}

/* Go (no deck slide; John's colour pair): its page already had the bar inside .dash-main and white labels on a
   navy sidebar, so the frame only recolours. The Go wordmark is navy, so it keeps a white card in the sidebar head
   (recolouring a wordmark white is a style-guide violation, owner 10/01); the worker's name, status and tier left
   the head for the top bar's name (the Account pane shows the rest). The content is Midnight Blue too (below).
   "+ Service Provider Deal" and its Learn more go (no submit button on the frame): the menu's Offer a Deal row is
   their route now (John 11/3). */
.dashboard.df[data-df="go"] .dash-acct { min-height: 0; padding: 9px 16px; border-radius: 12px; }
.dashboard.df[data-df="go"] .dash-acct-logo { margin: 0; }
.dashboard.df[data-df="go"] .dash-acct-logo svg { height: 26px; }
.dashboard.df[data-df="go"] .dash-acct > :not(.dash-acct-logo) { display: none; }
.dashboard.df[data-df="go"] :is(.dash-offer-btn, .dash-offer-learn) { display: none; }
.dashboard.df[data-df="go"] .dash-nav-item.active { background: color-mix(in srgb, var(--df-accent) 26%, transparent); }
.dashboard.df[data-df="go"] .dash-nav-item.active .dni-label { color: #fff; }
.dashboard.df[data-df="go"] .dash-signout:not(.dash-dellink) { background: #002461; color: #fff; border-color: rgba(255, 255, 255, .35); }
.dashboard.df[data-df="go"] .dash-signout:not(.dash-dellink):hover { background: #0a2f73; border-color: #fff; }
.dashboard.df[data-df="go"] .dash-sidebar-footer { padding: 12px 0 0; }
.dashboard.df[data-df="go"] .dash-topbar { background: rgba(0, 36, 97, .97); }   /* the sidebar's Midnight Blue; .86 over the light page read grey-blue */
.dashboard.df[data-df="go"] .dash-greeting { color: rgba(255, 255, 255, .72); }
.dashboard.df[data-df="go"] .dash-section-title { color: #fff; }
.dashboard.df[data-df="go"] .dash-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.dashboard.df[data-df="go"] .dash-burger { color: #fff; }   /* the phone's menu button: navy on the Midnight Blue bar vanished */

/* Go's content is dark too (John 11/3): the page behind the panes is Midnight Blue. Go's panels are see-through, so
   the cards inside them (white, sand) stay as they are; only what sits straight on the page changes: its text turns
   light, the navy pieces (the selected tab and chip, the Personal/Business Info card, the referral-link bar) take a
   light edge or Shamrock so they don't vanish, and Help's main button is the kit's green with navy text. */
.dashboard.df[data-df="go"], .dashboard.df[data-df="go"] .dash-main { background: #002461; }
/* body's overflow-x:hidden made it the scroll box, so the sticky sidebar scrolled away and left a strip under it */
body.go-dash-active { overflow-x: clip; }
.dashboard.df[data-df="go"] :is(.panel-desc, .gpo-note, .gch-hint, .gbb-note, .gbb-demo-note, .ghc-sub, .ghc-cap) { color: rgba(255, 255, 255, .72); }
.dashboard.df[data-df="go"] :is(.sec-h, .mp-lab, .eyebrow) { color: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .18); }
.dashboard.df[data-df="go"] .ghc h3 { color: #fff; }
.dashboard.df[data-df="go"] .rs-twrap { background: #fff; border-color: transparent; }
.dashboard.df[data-df="go"] .refer-code { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
/* The Personal/Business Info card: navy on the Midnight Blue page "presents poorly" (John 11/3), so it is a white card
   like the rows under it; the photo keeps its Shamrock ring. */
.dashboard.df[data-df="go"] .mp-hero { background: #fff; color: #002461; }
.dashboard.df[data-df="go"] .mp-hero :is(.mp-sub, .mp-id, .mp-av-note) { color: #5A6473; }
.dashboard.df[data-df="go"] .mp-hero .mp-pill { background: #F1F4F9; }
.dashboard.df[data-df="go"] :is(.gh-tabs .gh-on, .gch-chip.on) { background: var(--df-accent); color: #002461; }
.dashboard.df[data-df="go"] .ghc-btn.ghc-main { background: var(--df-accent); border-color: var(--df-accent); color: #002461; }
.dashboard.df[data-df="go"] .ghc-btn.ghc-main:hover { background: #2BC466; border-color: #2BC466; color: #002461; }
.dashboard.df[data-df="go"] .ghc-btn:focus-visible { outline-color: #fff; }

/* A menu row whose feature isn't built anywhere yet (Gopher Rewards on Deals and Connect, John 11/3: "Coming soon
   card"): a card in the pane, and the "Soon" chip on its row so the menu says so before the tap, as Go's Feature My
   Deal does. Go draws its own white chip on the navy sidebar; this one is navy for the sand ones. */
.df-soon { max-width: 520px; margin: 40px auto; padding: 32px 24px; text-align: center; background: #fff; border: 1px solid var(--df-line); border-radius: 16px; color: var(--navy); font: 600 15px/1.45 'Nunito', sans-serif; }
.df-soon-ico { font-size: 34px; line-height: 1; }
.df-soon h3 { font: 800 22px/1.2 'Nunito', sans-serif; margin: 12px 0 6px; }
.df-soon p { margin: 0; color: #5A6473; }
.dashboard.df:is([data-df="deals"], [data-df="connect"]) .dni-soon { margin-left: auto; flex: none; font: 800 9px/1.4 'Nunito', sans-serif; letter-spacing: 0; text-transform: uppercase; color: rgba(0, 36, 97, .7); border: 1px solid rgba(0, 36, 97, .3); border-radius: 999px; padding: 1px 4px; }   /* sized so "Gopher Rewards" fits beside it in Connect's narrower menu */

@media (max-width: 900px) {
  .dashboard.df .dash-topbar { padding: 10px 14px; }
  .df-biz-name, .df-owner { font-size: 16px; }
}
@media (max-width: 600px) {
  .dashboard.df .df-owner { display: none; }          /* the picture stays; the name needs the room */
  .df-biz-logo { width: 34px; height: 34px; }
}

/* Help Center (the apps' help_gateway) and Social Media Links (the app's SocialLinks list): the same classes as the Request
   and Go Dashboards (gopher-request.html s29 styles), so every dashboard draws them alike. */
.ghc { max-width:460px; margin:0 auto; padding:56px 0 24px; text-align:center; color:#012462; }
.ghc h3 { font:800 26px/1.2 'Nunito',sans-serif; margin:0; color:#012462; }
.ghc-sub { font:400 15px/1.45 'Nunito',sans-serif; color:#5A6473; margin:12px 24px 0; }
.ghc-btn { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; box-sizing:border-box; margin-top:22px;
  padding:15px 18px; border-radius:8px; border:1.5px solid #002461; background:#fff; color:#002461; font:800 17px/1.2 'Nunito',sans-serif;
  text-decoration:none; cursor:pointer; }
.ghc-btn.ghc-main { margin-top:30px; background:#002461; color:#fff; }
.ghc-btn img { width:24px; height:24px; flex:none; }
.ghc-btn:hover { background:#F1F4F9; color:#002461; } .ghc-btn.ghc-main:hover { background:#0a2f73; color:#fff; }
.ghc-btn:focus-visible { outline:3px solid #33D975; outline-offset:2px; }
.ghc-cap { font:400 13.5px/1.35 'Nunito',sans-serif; color:#6B7683; margin:7px 0 0; }
.dash-nav-item .dni-ico .ghc-row-svg { width:20px; height:20px; display:block; }
.dash-nav-item[hidden] { display:none; }
@media (max-width:520px){ .ghc { padding-top:28px; } .ghc h3 { font-size:23px; } }
.so-group { background:#fff; border:1px solid #ece7dc; border-radius:14px; overflow:hidden; max-width:560px; }
.so-row { display:flex; align-items:center; gap:12px; padding:12px 16px; border-top:1px solid #efe9de; text-decoration:none; color:#012462; }
.so-row:first-child { border-top:0; }
.so-row:hover { background:#fbfaf6; }
.so-row:focus-visible { outline:3px solid #33D975; outline-offset:-3px; }
.so-ico { width:30px; height:30px; flex:none; display:inline-flex; align-items:center; justify-content:center; }
.so-ico svg { width:24px; height:24px; }
.so-name { font:800 16px/1.2 'Nunito',sans-serif; }
.so-chev { margin-left:auto; color:#6b7385; font:700 18px/1 'Nunito',sans-serif; }
