/*
 * CONNECT platform console: the live-page layer. This is the only platform sheet that is not verbatim from a board.
 *
 * The boards draw four fixed frames and set a few sizes per device INLINE in their .dc.html scripts (orbit, core, showcase and panel
 * spacing, hero type) and a fixed width and height on the page root. A live page has no fixed frame, so those same values are written here
 * as classes on the device classes cp-device.js sets (.si--dev-*, .db--desk / --tl / --tp / --ph), and the frame becomes the viewport.
 * Tokens only: no colour is declared in this file.
 */
html, body { margin: 0; background: var(--ground); }
body { min-height: 100vh; }
.cp-scope [hidden], [hidden].cp-scope { display: none !important; }
.cp-form-contents { display: contents; }

/* The sign-in orbit's rings (Neerav, 1 Dec 2026, r-sup-1427sc): the public site's approved look (a 2px border softened by a 0.4px blur at 70%),
   size and position untouched; and each ring fades in where it is when the console's own first pulse (si-ripple, 12s, from 5.2s) reaches its
   radius. The pulse is scaled from .14 to 1.04 on cubic-bezier(.33, 0, .2, 1), so a ring at inset i is reached when the eased progress is
   (1 - 2i - .14) / .9: 14.04s, 9.94s, 8.28s and 6.48s from load, at every size. This console has no ring burst. */
/* no pulse is drawn in the high contrast themes or with motion off: the rings are there at once */

/* ---------- Sign-in (board 01): the root is the viewport ---------- */
.si { width: 100%; font-family: var(--font-sans); }
.si--desktop { height: 100vh; min-height: 620px; }
.si--phone { height: auto; min-height: 100vh; }
.si--dev-phone .si__chips { display: none; }

/* values the board's SignIn.dc.html applies inline per device (orbitStyle, coreStyle, showStyle, panelStyle, h1Style, pStyle) */
.si--dev-phone .si__show { height: auto; min-height: 280px; padding-bottom: 28px; }
.si--dev-tablet-portrait .si__show { height: auto; min-height: 440px; padding: 40px 48px 48px; gap: 32px; }
.si--dev-tablet-landscape .si__show { padding: 40px 44px; }
.si--dev-phone .si__panel { margin-top: 0; padding-top: 20px; }
.si--dev-tablet-portrait .si__panel { margin-top: 0; padding: 40px 48px; justify-content: center; }
.si--dev-tablet-landscape .si__panel { padding: 32px; }
.si--dev-tablet-portrait .si__hero h1 { font-size: calc(52px * var(--ts)); margin-bottom: 14px; }
.si--dev-tablet-landscape .si__hero h1 { font-size: calc(46px * var(--ts)); }
.si--dev-tablet-portrait .si__hero p { font-size: calc(17px * var(--ts)); }
.si--dev-tablet-landscape .si__hero p { font-size: calc(15px * var(--ts)); }

/* text links that stand alone in the card sit centred, as the board's button-links do */
.si__card > .si__link, .si__card form > .si__link { text-align: center; }
.si__link[aria-disabled="true"], .cp-btn[aria-disabled="true"] { cursor: default; }

/* ---------- Console (board 02): the root is the viewport; the page grows rather than clipping ---------- */
.db--live { width: 100%; min-height: 100vh; overflow: clip; }
.db--live.db--desk, .db--live.db--tl { height: auto; }
.db--live .db__side { position: sticky; top: 0; align-self: start; height: 100vh; }
.db--live .db__content { flex: 1 0 auto; }
.db--live .db__fab { position: fixed; top: auto; bottom: 84px; }
.db--live.db--tp .db__fab { bottom: 96px; }
.db--live .db__sheetwrap { position: fixed; inset: 0; height: auto; }
.db--live .db__toast, .db--live .db__a11ypop { position: fixed; }
.db--live.db--ph .db__toast { bottom: 152px; }   /* above the menu button (bottom 84px + 56px + 12px), centred; flag 2 */
.db--live .db__a11ypop { top: 70px; }
.db--live.db--ph .db__a11ypop { top: 66px; }
.db--live .db__live[role="status"] { min-width: 0; }
.db--live [data-cp-state] { min-width: 0; }
.db--live a.db__act { cursor: pointer; }

/* the board draws the side menu and Search pill only where it shows them; the floating menu only on the stacked sizes */
.db--tp .db__side, .db--ph .db__side { display: none; }
.db--desk .db__fab, .db--tl .db__fab, .db--desk .db__sheetwrap, .db--tl .db__sheetwrap { display: none; }
.db--desk .db__brandsm, .db--tl .db__brandsm { display: none; }
.db--tp .db__brandsm > span:not(.cp-logo__mark) { display: inline; }
.db--ph .db__brandsm > span:not(.cp-logo__mark) { display: none; }
.db--ph .db__search { display: none; }
.db__searchicon { display: none; }
.db--ph .db__searchicon { display: inline-grid; }
.db--rail .cp-logo > span:not(.cp-logo__mark), .db--rail .db__sidefoot { display: none; }
/* an empty message slot must not add a flex gap to the page column */
.db__content > [data-cp-slot="note"]:empty { display: none; }

/* A KPI tile's one column is the tile, not its widest line: at 115% text the foot and the meter labels made the implicit column wider
   than the tile (Accessible themes, MRR and Net new MRR at 1440, Net new MRR and the margin tile at 1180). The text wraps instead. */
.db__kpi { grid-template-columns: minmax(0, 1fr); }
/* Desktop and tablet landscape fit one screen (handoff-00 section 9): when the rows alone cannot do it, dashboard.js adds .db--tight, which
   drops the health list's helper lines (the reason under each tenant) before it drops further rows. */
.db--tight .db__hlist small { display: none; }
.db--tighter .db__panelstate p { display: none; }   /* last resort, after the rows: the one explanatory line in a widget's message panel */
/* The floating menu button's clearance, written once beside the button: it stands 84px (phone) or 96px (tablet) above the bottom edge and is 56px or 60px tall, so the page's last line needs that much plus 16px of air to scroll clear (the 112px of board 02 stopped 28px short, which put the Search button of the chat list under it). */
.db--live.db--ph .db__content { padding-bottom: calc(84px + 56px + 16px); }
.db--live.db--tp .db__content { padding-bottom: calc(96px + 60px + 16px); }

/* 24 Nov 2026 (Neerav, r-nw-1555): on the business Help (get-help) and Support access pages the heading sits 6px above its line, not the board's 4px (the nothing-touches floor is 6px). Only these two pages, only this margin; boards 12 and 14 differ from the build by +2px here. */
.cp-page-support-business .um-thead h1 { margin-bottom: 6px; }
