body {
    height: 100vh;
    display: flex !important;
    flex-direction: column !important;
}

.footer-padding {
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
}

.image.is-19x19 {
    height: 19px;
    width: 19px;
}

/* The section videos. width/height were set inline on all 14 elements, which
   overrode the 650px below and meant every page carried an inline style - the
   one thing keeping 'unsafe-inline' in the style-src CSP. Same rendering, now
   declared once.

   aspect-ratio reserves the box before the poster has loaded. Without it the
   slot is zero high until the image decodes, and every demo on the page shoves
   the content below it down as it arrives - ten layout shifts on the functions
   page. Every recording is 960x720, so the ratio is a constant.

   content-box because Bulma makes everything border-box, and under that the
   ratio would be applied to the padding as well - reserving a box 15px shorter
   than the frame that arrives, and letterboxing every demo to fit it. */
.img-main {
    padding-top: 15px;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    box-sizing: content-box;
    filter: drop-shadow(4px 4px 6px #000000);
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* The same shadow as .img-main, without its sizing - for docs screenshots,
   which should keep their natural size rather than fill the column. */
.img-shadow {
    filter: drop-shadow(4px 4px 6px #000000);
}

/* Scale a docs screenshot relative to its own size, not the column - so a
   Retina capture (taken at twice screen size) can be shown at its real size
   with img-scale-50, and screenshots taken the same way stay in proportion to
   each other. Combine with img-shadow: class="img-shadow img-scale-50". */
.img-scale-25 {
    zoom: 0.25;
}

.img-scale-50 {
    zoom: 0.5;
}

.img-scale-75 {
    zoom: 0.75;
}

.reset-button-pos {
    float: right;
    margin-top: 12px;
    margin-right: 12px;
}

.feature-img {
    height: 117px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.feature-img.medium {
    height: 200px;
}

.feature-img.large {
    height: 250px;
}

.functionImg {
    width: 350px;
}

.feature-height {
    height: 100%
}

.wrapper {
    background: lightblue;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main {
    background: yellow;
    flex: 1;
}

.notification-container {
    position: absolute;
    bottom: 50px;
    right: 15px;
    width: 400px;
}

.text-wrap-off {
    text-wrap: nowrap;
}

.panel-block.no-flex {
    display: block;
}

.panel-min-height {
    min-height: 270px;
}

.box-width-small {
    width: 500px;
}

.box-shadow {
    --bulma-box-shadow: 0px;
}

.box-background-color {
    --bulma-box-background-color: #faf8fc;
}

.card-content.min-height {
    min-height: 850px;
    overflow: hidden;
}

.modal-card.narrow {
    width: 500px;
}

/* Paddle's inline checkout lays its form out in a fixed-width column, so a
   wide modal just leaves empty space beside it. */
.modal-card.checkout {
    width: 620px;
    max-width: 100vw;
}

.navbar-background-color {

    --bulma-navbar-background-color: none;

}

.memu-background-color {
    --bulma-menu-item-background-l-delta: none;
}

.hr-height {
    height: 1px;
}

.card-override {
    --bulma-card-background-color: #faf8fc;
    box-shadow: 0px 2px 4px 0px #00000026;

}

.click-table tbody tr {
    cursor: pointer;
}


.card-color-2 {
    --bulma-card-background-color: rgb(39, 39, 41)
}

.price-button-cycle {
    width: 115px;
}

.price-button-qty {
    width: 80px;
}

.shop-button-sub {
    width: 120px;
}

.shop-input-agents {
    width: 65px;
}

.subscription-table {

    border-collapse: collapse;
    border-style: none;
    --bulma-table-cell-border-style: none;
    --bulma-table-background-color: none;
}

.subscription-table tr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subscription-table td,
th {
    flex: 1;
}

.subscription-table td:first-child,
th:first-child {
    flex-grow: 1.5;
}

.subscription-table tr {
    position: relative;
    z-index: 1;
}

.subscription-table tbody tr {
    background: white;
    box-shadow: var(--bulma-card-shadow);
    border-radius: var(--bulma-card-radius);
}

.subscription-media {
    align-items: center;
}


.card-download-width {
    width: 320px;

}

.menu-item-background-color {
    --bulma-menu-item-background-l-delta: ;
}
/* Email addresses vary wildly in length - keep the account button from
   pushing the rest of the navbar around. */
.nav-account-email {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cookie consent banner - pinned to the bottom so it never covers the nav,
   and above Bulma's modal layer so it stays reachable on the store pages. */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 1rem 1.5rem;
    background-color: var(--bulma-scheme-main-ter);
    border-top: 1px solid var(--bulma-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

/* SHA256 digests are long and have no spaces - let them wrap inside the card
   rather than forcing the table wider than the card. */
.sha256-cell {
    word-break: break-all;
}

/* Bullet icons sit in a .media-left figure. An inline img rests on the text
   baseline, so the figure keeps a few pixels of descender space below it and
   the icon rides above the centre of its own box - visible once the icons are
   small enough not to fill the row. Blocking them out removes that gap so
   mt-auto/mb-auto centres the icon itself against the text. */
.media-left img {
    display: block;
}

/* Home function cards.

   Bulma stretches .column to the height of its row, but the .card inside is
   only as tall as its own copy - so cards in a row ended up different heights
   whenever one had more text, and the difference moved around as the window
   was resized and the text rewrapped. Making the card and its wrappers fill
   the column ties every card in a row to the tallest one, at any width. */
.function-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.function-card > .content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.function-card .card-content {
    flex: 1 1 auto;
}

/* Card icons were vertically centred inside each card, so they sat at a
   different height in every card depending on how much copy it had. The
   headings are top-aligned, so align the icons the same way - they then line
   up across the row, and stay lined up as the text rewraps. */
.card-icon {
    align-self: flex-start;
    margin-top: 0.35rem;
}

/* Contact form honeypot. Kept off-screen rather than display:none - some bots
   skip fields that are explicitly hidden, but fill in anything they can see in
   the markup. Real visitors never reach it: it is out of the tab order and
   marked aria-hidden. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Port forward diagrams (docs/port-forwards.html). Inline SVG coloured
   through classes and Bulma's variables rather than presentation attributes
   or style="", so they follow the theme and need no 'unsafe-inline'. */
.pf-diagram {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0.5rem 0 1.5rem;
}

.pf-diagram .pf-machine {
    fill: none;
    stroke: var(--bulma-border);
    stroke-width: 1.5;
    stroke-dasharray: 6 4;
}

.pf-diagram .pf-node {
    fill: var(--bulma-scheme-main-ter);
    stroke: var(--bulma-border);
    stroke-width: 1;
}

/* A Remote Tools program - the control or the agent - at either end of the
   secure connection. Green like the connection itself. */
.pf-diagram .pf-node-rt {
    stroke: var(--bulma-primary);
    stroke-width: 2;
}

.pf-diagram .pf-title {
    fill: var(--bulma-text-strong);
    font-size: 15px;
    font-weight: 600;
}

.pf-diagram .pf-label {
    fill: var(--bulma-text);
    font-size: 13px;
}

.pf-diagram .pf-value {
    fill: var(--bulma-text-weak);
    font-size: 12px;
    font-family: monospace;
}

.pf-diagram .pf-arrow {
    stroke: var(--bulma-text);
    stroke-width: 1.5;
    fill: none;
}

.pf-diagram .pf-tunnel {
    stroke: var(--bulma-primary);
    stroke-width: 6;
    stroke-linecap: round;
    fill: none;
}

.pf-diagram .pf-tunnel-label {
    fill: var(--bulma-primary);
    font-size: 12px;
    font-weight: 600;
}

.pf-diagram .pf-head {
    fill: var(--bulma-text);
}

.pf-diagram .pf-head-tunnel {
    fill: var(--bulma-primary);
}

/* Pricing cards: equal height, sign up button pinned to the bottom */
.price-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-card > .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-card .price-spacer {
  flex-grow: 1;
}

/* The page header sets the title and the signed-in email side by side. On a
   phone there is no room for both - the title wraps mid-word - so the email
   drops onto its own line under it, left aligned, and is set smaller by
   is-size-6-mobile on the element itself.

   Scoped to the viewport deliberately. Bulma's own has-1-cols-mobile is a
   @container query keyed to the grid's own width, so it also fires on desktop,
   where this card is narrower than 768px. */
@media screen and (max-width: 768px) {
    .fixed-grid.page-header > .grid {
        --bulma-grid-column-count: 1;
    }

    /* is-pulled-right and pr-2 on the element are Bulma helpers, so these
       have to be !important to win. */
    .page-header .customer-email {
        float: none !important;
        padding-right: 0 !important;
    }
}

.function-pill-panel {
    padding: 1.75rem;
}

/* One pill to a row on a phone, two from tablet up (below). A plain flex row
   packed in as many as would fit, which left a row of three short names beside
   rows of two and read as ragged rather than as a list. */
.function-pill-list {
    display: grid;
    grid-template-columns: max-content;
    justify-content: start;
    justify-items: start;
    gap: 0.75rem;
}

/* inline-flex so the icon and label stay on one line and the pill is only as
   wide as its own text - the row then wraps pill by pill at any width. */
.function-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid hsl(0, 0%, 25%);
    border-radius: 9999px;
    color: inherit;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.function-pill:hover {
    border-color: #4A90D9;
    color: #4A90D9;
}

/* The Professional marker inside a pill. Bulma's tag carries its own line
   height and margin, which pushed the pill taller than the rest of the row -
   pin it to the pill's own line and let the flex gap do the spacing. */
.function-pill .tag {
    height: auto;
    padding: 0.1rem 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Two to a row from tablet up, where the panel is wide enough for the longer
   names side by side. max-content keeps each pill its own width - the column is
   as wide as its widest member, and justify-items stops the shorter ones
   stretching to fill it. */
@media screen and (min-width: 769px) {
    .function-pill-list {
        grid-template-columns: repeat(2, max-content);
    }
}

/* Centre a column's text beside the thing it describes - the platform strip and
   the function band both use it - to match the hero above them. Only where the
   two sit side by side: stacked on a phone the block runs the full width, and
   centring it there would leave every line ragged on both sides. */
@media screen and (min-width: 1024px) {
    .col-text-centred {
        text-align: center;
    }
}

/* The platform strip's icon row. A flex row rather than Bulma columns: the three
   icons keep their own size and sit together as a group, centred in their half of
   the band so the group balances the text block beside it rather than hugging the
   page edge. */
.platform-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

/* Stacked on a phone the row sits above the text, so it needs the gap that the
   column gutter gives it side by side. */
@media screen and (max-width: 1023px) {
    .platform-icons {
        margin-bottom: 1.25rem;
    }
}

/* Body links on the marketing pages. Bulma's default is an indigo that sits
   awkwardly beside the icon blue, so match the icons - the same colour the
   function cards used before they were replaced. */
.inline-link {
    color: #4A90D9;
    font-weight: 600;
}

.inline-link:hover {
    color: #6BA6E3;
    text-decoration: underline;
}
