/* The old open list (#stage .top .tpm) was a plain div; the rewrite's list is a [popover], so the browser's
   default popover styles apply and the old rules never reset them. Only the defaults whose computed value
   differs from the old list are reset here, to the old list's computed values. */
#stage .top .tpm[popover]{border:0 none;color:inherit;overflow:visible}
/* Active rail pills keep the Home pill's side padding. The locked rule fixes every pill at 64px with no side padding, so a longer label sits closer to the edges. 14.14px is that Home padding, measured on the active Home pill. */
#stage .rail a.on{width:auto;padding:8px 14.14px 6px}
/* studio.css line 324: .gr .ghero.lv { grid-column: 1 / -1 } gives Visitors the whole first row, written when live Traffic had no Loouie noticed card. A note that follows cannot sit beside it. When the note is there, Visitors takes two columns and the note takes the third, the same places the example uses. */
.gr .ghero.lv:has(+ .gins){grid-column:span 2}
.gr .ghero.lv:has(+ .gins)+.gins{grid-column:3;grid-row:1}
/* studio.css lines 318 and 320: .gr .grow.live { cursor: default } and .gr .grow.live:hover { background: none } clear the row, from when live Top pages did not open. The rows are buttons now, so they use the same pointer and hover as .gr .grow. */
.gr .grow.live{cursor:pointer}
@media (hover:hover) and (pointer:fine){.gr .grow.live:hover{background:#f6f2ea}}
/* studio.css line 209: .page.gr { gap: 18px 20px; padding: 26px 28px } sets the header band. studio.css line 636: the fill rule locks both card rows at 299px and 301px. Rodney 2026-11-27: Loouie noticed felt cramped, so the header band gives up a little and the first row grows while the second stays 301px. */
html.lv-fill #stage main.page.gr:not(.pj):not(.hv):not(.cv):not(.r3){
  padding-top:25px;
  row-gap:15px;
}
html.lv-fill #stage main.page.gr:not(.pj):not(.hv):not(.cv):not(.r3) .gbody:not(:has(>.gwait)){
  grid-template-rows:minmax(0,1fr) 301px;
}
/* studio.css line 259: .gr .gc { padding: 22px 24px }. studio.css line 294: .gr .gins p.gt { margin-top: 16px }. studio.css line 296: .gr .gins .gck { margin-top: 14px }. studio.css line 303: .gr .gins .gcal { margin: 6px 0 9px }. Rodney 2026-11-27: Loouie noticed felt cramped. */
html.lv-fill #stage main.page.gr .gins{padding:24px 28px}
html.lv-fill #stage main.page.gr .gins p.gt{margin-top:18px}
html.lv-fill #stage main.page.gr .gins .gck{margin-top:14px}
html.lv-fill #stage main.page.gr .gins .gcal{margin:10px 0 12px}
/* studio.css line 497 stretches these cards. Place their actions at the bottom as shown in growth-business-profile.png. */
html.lv-fill:not(.as-client) #stage:not(.cs) main.page.gr .gins:is([data-od-id="growth-profile-insight"],[data-od-id="growth-rank-insight"],[data-od-id="growth-insight"]){
  display:flex;
  flex-direction:column;
}
html.lv-fill:not(.as-client) #stage:not(.cs) main.page.gr .gins:is([data-od-id="growth-profile-insight"],[data-od-id="growth-rank-insight"],[data-od-id="growth-insight"]) .gia{
  margin-top:auto;
}
/* On Traffic and leads, the calibration line's bottom margin can take up the space the actions need. */
html.lv-fill:not(.as-client) #stage:not(.cs) main.page.gr .gins[data-od-id="growth-insight"] .gcal{
  margin-bottom:0;
}
/* No studio.css rule paints the visitors line. traffic.tsx draws stroke="var(--ink)" and fill="var(--ink)", and these rules recolor that line and its end dot. Rodney 2026-11-27: a bit of color, one palette color per section. */
html.lv-fill #stage main.page.gr [data-od-id="growth-lead"] .gchart svg > path[stroke="var(--ink)"]{
  stroke:var(--pear);
}
html.lv-fill #stage main.page.gr [data-od-id="growth-lead"] .gchart svg > circle[fill="var(--ink)"]{
  fill:var(--pear);
}
/* studio.css line 346: .gr .gsrc i em { background: var(--ink) }. Rodney 2026-11-27: a bit of color, one palette color per section. */
html.lv-fill #stage main.page.gr [data-od-id="growth-sources"] .gsrc i em{
  background:oklch(from var(--rose) 0.623 c h);
}
/* studio.css line 293: .gr .gav { background: #f3efe6; color: var(--ink) }, and line 364: .gr .gld .gav { width: 36px; height: 36px }. Rodney 2026-11-27: a bit of color, one palette color per section. */
html.lv-fill #stage main.page.gr [data-od-id="growth-leads"] .gld .gav{
  background:color-mix(in oklab, var(--arctic) 35%, white);
  color:oklch(from var(--arctic) 0.622 c h);
}
/* studio.css line 344 (.gsrc padding 9px 0): two bars are one row shorter than the example's three, so each row's padding grows and the block matches that height. */
html.lv-fill #stage main.page.gr:not(.pj):not(.hv):not(.cv):not(.r3) .gfound:has(> :last-child:nth-child(3)) > .gsrc{
  padding-top:20px;
  padding-bottom:20px;
}
/* studio.css line 289 (.gtile small+small): an empty change line has no height, so the 12 month tiles shrink. A blank keeps the 28 day line. */
html.lv-fill #stage main.page.gr:not(.pj):not(.hv):not(.cv):not(.r3) .ghero .gtile small:empty::before{content:"\00a0"}
/* mockkit.css html.lv-wait #stage hides the shell on a first visit, so this sign shows on the brown page until the session is known */
@keyframes lv-wait-in{from{opacity:0}to{opacity:1}}
html.lv-wait body::before,html.lv-wait body::after{position:fixed;z-index:2;pointer-events:none;color:var(--paper);opacity:0;animation:lv-wait-in 160ms ease 400ms both}
html.lv-wait body::after{content:"Loading…";top:50%;left:50%;transform:translate(calc(-50% + 10px),-50%);margin:0;font:400 13px/1.4 Satoshi,system-ui,sans-serif;white-space:nowrap}
html.lv-wait body::before{content:"";top:50%;left:calc(50% - 2em - 10px);font-size:13px;translate:0 -50%;width:14px;height:14px;background:var(--paper);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center/14px 14px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center/14px 14px no-repeat;animation:rf3 900ms linear infinite,lv-wait-in 160ms ease 400ms both}
@media (prefers-reduced-motion:reduce){html.lv-wait body::before{animation:lv-wait-in 160ms ease 400ms both}}
/* live.ts writes this sign into the shell loading view; the same 160ms fade after 400ms as the first-visit sign, so a quick load shows nothing */
#lvLoadMsg+[aria-hidden="true"]{opacity:0;animation:lv-wait-in 160ms ease 400ms both}
/* live.css .lv-state is the error screen's first column at 100vh, which left the loading sign left and low. lv-loading fills the main card so that sign is centered. */
.lv-state.lv-loading{position:absolute;inset:0;min-height:0}
/* mockkit.css .board>main.page.rv>:not(:where(.iw-notice)) sets rise-flat, a 300ms fade from opacity 0. Rodney: the page picture shows with no delay (issue #654). The stage is the only child this turns off. */
.board>main.page.rv>section.rv-stage{animation:none}
/* the pins, box, arrow and note sit in .rv-mk until the first tile has loaded, so they never show on a blank page. The tile stays hidden for that same moment, so the picture and the marks appear on one frame. */
.rv-doc:not(.rv-ready)>.rv-mk{visibility:hidden}
.rv-doc:not(.rv-ready)>img{visibility:hidden}
/* lv-fail fills the main card the same way, so "Your site could not load." sits in the middle. Any .lv-state.lv-fail inside the card is centered. Home draws this sign in the card's place, so that copy takes the card's grid cell and the same margin as main.page. */
.lv-state.lv-fail{position:absolute;inset:0;min-height:0}
html.lv-fill #stage .board>.lv-state.lv-fail{grid-column:2;grid-row:2;position:relative;inset:auto;min-height:0;margin:0 12px 12px 0;border-radius:20px}
html.lf-desktop #stage .board>.lv-state.lv-fail{margin:0;border-radius:20px 0 0 0}
/* Report, What changed (issue 700). studio.css line 626 gives the feed its own scroll bar with no padding, so the bar sits against the time column: keep it 12px clear. */
html.lv-fill .r3 .feed{padding-right:12px}
/* A round badge on the bottom right of the avatar: plus for a check that went up, star for something new. The avatar is the badge's anchor (studio.css line 48 sets only its size and centering). */
.r3 .feed .av{position:relative}
.r3 .feed .bdg{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center}
.r3 .feed .bdg svg{display:block;width:10px;height:10px;stroke-width:2.4}
.r3 .feed .bdg-up{background:var(--pear-s);color:var(--pear-ink)}
.r3 .feed .bdg-new{background:var(--sienna-s);color:var(--ink)}
.r3 .feed .bdg-new svg{stroke-width:2}
/* A line above each check that starts a new score and its insights (rgba(43,13,7,.08) is the hairline studio.css line 725 draws between the Fix these first rows). The row gap is 8px and a row has 8px of padding, so -6px margin and 10px of padding leave 10px above the line and 10px below it. */
.r3 .feed li.chk-start{border-top:1px solid rgba(43,13,7,.08);margin-top:-6px;padding-top:10px}
/* Report, Score history (issue 701). studio.css line 150 sets the track 8px wide. */
.r3 .hm3 .ht3{width:16px}
/* a month with a point: yellow bar on a pale yellow track. The current month keeps its ink look (studio.css lines 153 and 154), so it is left out here. */
.r3 .hm3:not(.hm3-empty):not(.hm3-later):not(.now) .ht3{background:var(--sienna-s)}
.r3 .hm3:not(.hm3-empty):not(.hm3-later):not(.now) .ht3 i{background:var(--sienna)}
/* months after the current one: an empty grey track and the month name */
.r3 .hm3.hm3-later .ht3{background:var(--arctic-s);opacity:.6}
.r3 .hm3.hm3-later .m{color:var(--ink2)}
