/*
 * Laika Bill Manager — Standard (2026-10-30)
 *
 * One stylesheet for the public site and the client area: the two areas are
 * one template (templates/client/standard/), drawn in one design so the shop
 * and the account read as one company.
 *
 * Three parts, in this order:
 *   1. the client area's working rules  (shell, cards, tables, the password
 *      meter, the phone picker, steps, DNS forwards...)
 *   2. the public site's working rules  (nav, hero, tiles, lists, prose)
 *   3. the Standard design, which sets the tokens and the look, and wins.
 *
 * Bootstrap 5 comes first (assets/vendor), so everything here is a layer over
 * it. To recolour, change the --st-* tokens at the top of part 3, from
 * Settings > General > Custom CSS: nothing here needs editing.
 */

/* ==========================================================================
   1. The client area
   ========================================================================== */


/* ==========================================================================

:root {
    --lbm-primary:        #0f4c81;
    --lbm-primary-light:  #1a6fb5;
    --lbm-primary-dark:   #0a3a63;
    --lbm-accent:         #f5a623;
    --lbm-success:        #00c896;
    --lbm-danger:         #e84545;

    --lbm-bg:             #f0f4f9;
    --lbm-card-bg:        #ffffff;
    --lbm-sidebar-bg:     #0a2e50;
    --lbm-sidebar-text:   #a8c4e0;
    --lbm-sidebar-active: #ffffff;

    --lbm-text:           #1a2b3c;
    --lbm-text-muted:     #6b85a0;
    --lbm-border:         #dce8f5;

    --lbm-shadow:         0 4px 24px rgba(15, 76, 129, .08);
    --lbm-shadow-lg:      0 12px 40px rgba(15, 76, 129, .16);
    --lbm-radius:         .625rem;
    --lbm-topbar-height:  62px;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
    background: var(--lbm-bg);
    color: var(--lbm-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: .9375rem;
    min-height: 100vh;
}

a { color: var(--lbm-primary); text-decoration: none; }
a:hover { color: var(--lbm-primary-light); text-decoration: underline; }

.text-muted { color: var(--lbm-text-muted) !important; }

/* Bootstrap's .btn-primary, repainted to the product palette. */
.btn-primary {
    --bs-btn-bg: var(--lbm-primary);
    --bs-btn-border-color: var(--lbm-primary);
    --bs-btn-hover-bg: var(--lbm-primary-light);
    --bs-btn-hover-border-color: var(--lbm-primary-light);
    --bs-btn-active-bg: var(--lbm-primary-dark);
    --bs-btn-active-border-color: var(--lbm-primary-dark);
    --bs-btn-disabled-bg: var(--lbm-primary);
    --bs-btn-disabled-border-color: var(--lbm-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--lbm-primary);
    --bs-btn-border-color: var(--lbm-primary);
    --bs-btn-hover-bg: var(--lbm-primary);
    --bs-btn-hover-border-color: var(--lbm-primary);
    --bs-btn-active-bg: var(--lbm-primary);
    --bs-btn-active-border-color: var(--lbm-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--lbm-primary-light);
    box-shadow: 0 0 0 .2rem rgba(26, 111, 181, .15);
}

/* ==========================================================================
   Text color
   ========================================================================== */
.text-primary {
    color: var(--lbm-primary)!important;
}
.text-primary-light {
    color: var(--lbm-primary-light)!important;
}
.text-primary-dark {
    color: var(--lbm-primary-dark)!important;
}
.text-accent {
    color: var(--lbm-accent)!important;
}
.text-success {
    color: var(--lbm-success)!important;
}
.text-danger {
    color: var(--lbm-danger)!important;
}
.text-default {
    color: var(--lbm-text)!important;
}
.text-muted {
    color: var(--lbm-text-muted)!important;
}

/* ==========================================================================
   Shell — one bar (.lbm-nav, below) and the page; the sidebar is gone (2026-10-30)
   ========================================================================== */

.lbm-content { padding: 1.5rem 1.25rem 3rem; flex: 1 1 auto; }

/* Flash messages float over the corner: they take no room, so the page never jumps. */
.lbm-toasts {
    position: fixed;
    top: calc(var(--lbm-topbar-height) + .75rem);
    right: 1rem;
    z-index: 1080;
    width: min(26rem, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: .5rem;
    pointer-events: none;
}
.lbm-toasts .alert { pointer-events: auto; margin: 0; animation: lbm-toast-in .2s ease-out; }
.lbm-centre .lbm-toasts { top: 1rem; }
@keyframes lbm-toast-in { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lbm-toasts .alert { animation: none; } }

.lbm-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--lbm-border);
    background: #fff;
    color: var(--lbm-text-muted);
    display: grid;
    place-items: center;
}

.lbm-icon-btn:hover { color: var(--lbm-primary); border-color: var(--lbm-primary-light); text-decoration: none; }

/* ==========================================================================
   Surfaces
   ========================================================================== */

.lbm-card {
    background: var(--lbm-card-bg);
    border: 1px solid var(--lbm-border);
    border-radius: var(--lbm-radius);
    box-shadow: var(--lbm-shadow);
}

.lbm-card__head {
    padding: .875rem 1.125rem;
    border-bottom: 1px solid var(--lbm-border);
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.lbm-card__title { font-size: .9375rem; font-weight: 700; margin: 0; }
.lbm-card__body { padding: 1.125rem; }
.lbm-card__foot { padding: .75rem 1.125rem; border-top: 1px solid var(--lbm-border); }

.lbm-page-title { font-size: 1.25rem; font-weight: 700; margin: 0; }

/* Stat tiles */
.lbm-stat { display: flex; align-items: center; gap: .875rem; padding: 1.125rem; }
.lbm-stat__icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    flex: 0 0 auto;
}
.lbm-stat__value { font-size: 1.375rem; font-weight: 700; line-height: 1.15; }
.lbm-stat__label { font-size: .75rem; color: var(--lbm-text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ==========================================================================
   Tables
   ========================================================================== */

.lbm-table {
    margin: 0;
    width:100%;
}
.lbm-table > :not(caption) > * > * { padding: .75rem 1.125rem; }

.lbm-table thead th {
    background: #f7fafd;
    border-bottom: 1px solid var(--lbm-border);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--lbm-text-muted);
    font-weight: 700;
    white-space: nowrap;
}

.lbm-table tbody tr:hover { background: #f7fafd; }
.lbm-table td { vertical-align: middle; border-bottom: 1px solid var(--lbm-border); }
.lbm-table tbody tr:last-child td { border-bottom: 0; }

/* A wide table scrolls inside its own card rather than the page. */
.lbm-table-wrap { overflow-x: auto; }

/* ==========================================================================
   Status pills — colours come from the *_color column, never from CSS
   ========================================================================== */

.lbm-pill {
    display: inline-block;
    padding: .1875rem .5625rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

/* ==========================================================================
   Empty states
   ========================================================================== */

.lbm-empty { padding: 3rem 1.25rem; text-align: center; color: var(--lbm-text-muted); }
.lbm-empty i { font-size: 2.5rem; opacity: .35; display: block; margin-bottom: .75rem; }

/* ==========================================================================
   Auth + install — centred card on a tinted ground
   ========================================================================== */

.lbm-centre {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(160deg, var(--lbm-sidebar-bg), var(--lbm-primary) 60%, var(--lbm-primary-light));
}

.lbm-centre__card {
    width: 100%;
    max-width: 27rem;
    background: var(--lbm-card-bg);
    border-radius: var(--lbm-radius);
    box-shadow: var(--lbm-shadow-lg);
    overflow: hidden;
}

.lbm-centre__card--wide { max-width: 48rem; }

.lbm-centre__head { padding: 1.75rem 1.75rem 0; text-align: center; }
.lbm-centre__body { padding: 1.5rem 1.75rem 1.75rem; }

.lbm-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lbm-primary), var(--lbm-accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto .875rem;
}

.lbm-brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

/* Wizard step rail */
.lbm-steps {
    display: flex;
    gap: .25rem;
    padding: 1.125rem 1.75rem;
    border-bottom: 1px solid var(--lbm-border);
    background: #f7fafd;
    flex-wrap: wrap;
}

.lbm-step { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--lbm-text-muted); }
.lbm-step + .lbm-step { margin-left: .25rem; }

.lbm-step__no {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 700;
    background: #e4edf7;
    color: var(--lbm-text-muted);
    flex: 0 0 auto;
}

.lbm-step.is-current { color: var(--lbm-primary); font-weight: 600; }
.lbm-step.is-current .lbm-step__no { background: var(--lbm-primary); color: #fff; }
.lbm-step.is-done .lbm-step__no { background: var(--lbm-success); color: #fff; }

.lbm-step__sep { color: var(--lbm-border); align-self: center; }

/* Requirement rows */
.lbm-req { display: flex; align-items: center; gap: .75rem; padding: .5625rem 0; border-bottom: 1px solid var(--lbm-border); }
.lbm-req:last-child { border-bottom: 0; }
.lbm-req__name { flex: 1 1 auto; }
.lbm-req__state { font-size: .8125rem; font-weight: 600; }
.lbm-req--ok .lbm-req__state { color: var(--lbm-success); }
.lbm-req--fail .lbm-req__state { color: var(--lbm-danger); }

/* ==========================================================================
   Status legend
   ========================================================================== */

.lbm-legend { display: flex; flex-direction: column; gap: .5rem; }
.lbm-legend__item { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; }
.lbm-legend__dot { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }

/* ==========================================================================
   Print — invoices
   ========================================================================== */

@media print {
    .lbm-no-print { display: none !important; }
    .lbm-content { padding: 0; }
    .lbm-card { border: 0; box-shadow: none; }
    body { background: #fff; }
}

/* ==========================================================================
   Inputs in rows and tables
   ========================================================================== */

/* A number box in a row or a table cell: Bootstrap's 100% width shrinks to
   a sliver beside a button or in a busy table, so it gets a width of its own. */
.lbm-qty { width: 5rem; flex: 0 0 5rem; }
td > .form-control, td > .form-select { min-width: 6rem; }
td > .form-control.lbm-cell-wide { min-width: 12rem; }

/* Bootstrap's primary badge, in the product blue like the buttons. */
.text-bg-primary { background-color: var(--lbm-primary) !important; color: #fff !important; }

/* Buttons, one family (2026-10-11): a label never wraps, an icon sits in
   line with its words, and the quiet (secondary) button is a white button
   with a readable label that turns blue on hover -- not a grey one that
   looks switched off and goes solid grey when pressed. Danger is an outline
   until hovered, so "Switch off" never shouts. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.25;
}
.btn-sm { --bs-btn-padding-y: .3125rem; --bs-btn-padding-x: .75rem; --bs-btn-font-size: .8125rem; border-radius: .375rem; }
.btn svg { flex: 0 0 auto; }
.btn-link { font-weight: 400; }

.btn-outline-secondary {
    --bs-btn-color: var(--lbm-text);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #c9d3df;
    --bs-btn-hover-color: var(--lbm-primary);
    --bs-btn-hover-bg: #f2f7fc;
    --bs-btn-hover-border-color: var(--lbm-primary-light);
    --bs-btn-active-color: var(--lbm-primary-dark);
    --bs-btn-active-bg: #e6eff8;
    --bs-btn-active-border-color: var(--lbm-primary);
    --bs-btn-disabled-color: var(--lbm-text-muted);
    --bs-btn-disabled-bg: #fff;
    --bs-btn-disabled-border-color: #dee4ec;
}
.btn-outline-primary {
    --bs-btn-bg: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
}
.btn-outline-danger {
    --bs-btn-color: #c0392b;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #e3a59e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #c0392b;
    --bs-btn-hover-border-color: #c0392b;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a93226;
    --bs-btn-active-border-color: #a93226;
}

/* Email forwarding (2026-10-11): wide enough to read on a desktop; on a
   phone each forward is two lines, the address over where it goes, with
   Remove beside them. */
.lbm-forwards__from { min-width: 13rem; }
.lbm-forwards__to { min-width: 14rem; }
@media (max-width: 575.98px) {
    .lbm-forwards thead { display: none; }
    .lbm-forwards tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .375rem .75rem; padding: .625rem .75rem; border-bottom: 1px solid var(--bs-border-color); }
    .lbm-forwards td { display: block; padding: 0; border: 0; min-width: 0; }
    .lbm-forwards td.lbm-forwards__arrow { display: none; }
    .lbm-forwards td.lbm-forwards__from { grid-column: 1; grid-row: 1; }
    .lbm-forwards td.lbm-forwards__to { grid-column: 1; grid-row: 2; }
    .lbm-forwards td.lbm-forwards__remove { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .lbm-forwards td > .form-control { min-width: 0; }
}

/* The sign-up card (2026-10-13): two columns, tighter, so the form fits one screen. */
.lbm-centre__card--form { max-width: 37rem; }
.lbm-centre__card--form .lbm-centre__head { padding: 1.1rem 1.5rem 0; }
.lbm-centre__card--form .lbm-brand-mark { width: 40px; height: 40px; border-radius: 11px; margin-bottom: .4rem; }
.lbm-centre__card--form .lbm-centre__body { padding: 1rem 1.5rem 1.25rem; }
.lbm-centre__card--form .form-label { font-size: .8rem; margin-bottom: .15rem; }
.lbm-centre__card--form .form-control,
.lbm-centre__card--form .form-select { padding-top: .35rem; padding-bottom: .35rem; }
.lbm-centre:has(.lbm-centre__card--form) { padding-top: 1rem; padding-bottom: 1rem; }


/* The live password checklist, strength bar and "do they match" note (2026-10-13). */
.lbm-pw__bar { height: 4px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.lbm-pw__bar span { display: block; height: 100%; width: 0; transition: width .15s ease; }
.lbm-pw__fill--weak { background: #dc3545; }
.lbm-pw__fill--fair { background: #fd7e14; }
.lbm-pw__fill--good { background: #198754; }
.lbm-pw__fill--strong { background: #0d6e3f; }
.lbm-pw__label { margin-top: .2rem; color: #64748b; min-height: 1.1em; }
.lbm-pw__rules { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.lbm-pw__rules li { color: #64748b; }
.lbm-pw__rules li::before { content: "\25CB"; display: inline-block; width: 1.1em; }
.lbm-pw__rules li.is-met { color: #198754; }
.lbm-pw__rules li.is-met::before { content: "\2713"; }
.lbm-match.is-met { color: #198754; }
.lbm-match.is-unmet { color: #dc3545; }

/* A flag from the flag sheet (img/flags.png, 1x = 5630px wide, one every 22px) and the sign-up's phone-country picker. */
.lbm-flag { display: inline-block; flex: 0 0 auto; width: 20px; height: 15px; background: url("../img/flags.png") no-repeat 0 0; background-size: 5630px 15px; align-self: center; }
.lbm-flag--none { background: none; }
.lbm-phone-pick { flex: 0 0 auto; display: flex; }
.lbm-phone-pick__btn { display: flex; align-items: center; gap: .4rem; width: auto; min-width: 6.2rem; text-align: left; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.lbm-phone-pick__btn .lbm-flag { position: relative; top: 1.5px; }
.lbm-phone-pick__menu { width: 17rem; max-width: 90vw; }
.lbm-phone-pick__list { max-height: 15rem; overflow-y: auto; }
.lbm-centre__card--form .input-group > select[data-lbm-phone-country] { width: auto; flex: 0 0 auto; }


/* ==========================================================================
   2. The public site
   ========================================================================== */

:root {
    --lbm-primary:        #0f4c81;
    --lbm-primary-light:  #1a6fb5;
    --lbm-primary-dark:   #0a3a63;
    --lbm-accent:         #f5a623;
    --lbm-success:        #00c896;
    --lbm-danger:         #e84545;

    --lbm-bg:             #ffffff;
    --lbm-bg-alt:         #f0f4f9;
    --lbm-card-bg:        #ffffff;

    --lbm-text:           #1a2b3c;
    --lbm-text-muted:     #6b85a0;
    --lbm-border:         #dce8f5;

    --lbm-shadow:         0 4px 24px rgba(15, 76, 129, .08);
    --lbm-shadow-lg:      0 12px 40px rgba(15, 76, 129, .16);
    --lbm-radius:         .625rem;
    --lbm-inner:          1140px;

    /* What a template changes beyond the palette (the ready-made ones do:
       themes-src/). Left as they are, the default look is unchanged. */
    --lbm-font:           system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lbm-heading-font:   var(--lbm-font);
    --lbm-on-primary:     #fff;
    --lbm-btn-radius:     .375rem;

    --lbm-nav-bg:         var(--lbm-card-bg);
    --lbm-nav-text:       var(--lbm-text);
    --lbm-nav-brand:      var(--lbm-primary-dark);

    --lbm-hero-from:      var(--lbm-primary-dark);
    --lbm-hero-to:        var(--lbm-primary-light);
    --lbm-hero-angle:     160deg;
    --lbm-hero-text:      #fff;

    --lbm-foot-bg:        #0a2e50;
    --lbm-foot-text:      #a8c4e0;
    --lbm-foot-head:      #fff;
}

/* ------------------------------------------------------------------ Base */

body.lbm-front {
    background: var(--lbm-bg);
    color: var(--lbm-text);
    font-family: var(--lbm-font);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.lbm-front__main { flex: 1 0 auto; }

.lbm-front h1, .lbm-front h2, .lbm-front h3, .lbm-front h4 { font-family: var(--lbm-heading-font); }
.lbm-front .btn { --bs-btn-border-radius: var(--lbm-btn-radius); }

.lbm-front__inner {
    width: 100%;
    max-width: var(--lbm-inner);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* :where() keeps these at a bare element's weight: a link styled as
   anything -- .btn, .dropdown-item, .nav-link -- keeps its own colours.
   Written as `.lbm-front a`, the rule outweighed Bootstrap's .btn and every
   link-button read dark blue on blue. */
:where(.lbm-front) a { color: var(--lbm-primary); text-decoration: none; }
:where(.lbm-front) a:hover { color: var(--lbm-primary-light); text-decoration: underline; }
:where(.lbm-front) a.btn:hover { text-decoration: none; }

/* Bootstrap's buttons, repainted to the product palette (as the admin and
   the client area do), white text on the product blue. */
.btn-primary {
    --bs-btn-color: var(--lbm-on-primary);
    --bs-btn-bg: var(--lbm-primary);
    --bs-btn-border-color: var(--lbm-primary);
    --bs-btn-hover-color: var(--lbm-on-primary);
    --bs-btn-hover-bg: var(--lbm-primary-light);
    --bs-btn-hover-border-color: var(--lbm-primary-light);
    --bs-btn-active-color: var(--lbm-on-primary);
    --bs-btn-active-bg: var(--lbm-primary-dark);
    --bs-btn-active-border-color: var(--lbm-primary-dark);
    --bs-btn-disabled-color: var(--lbm-on-primary);
    --bs-btn-disabled-bg: var(--lbm-primary);
    --bs-btn-disabled-border-color: var(--lbm-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--lbm-primary);
    --bs-btn-border-color: var(--lbm-primary);
    --bs-btn-hover-color: var(--lbm-on-primary);
    --bs-btn-hover-bg: var(--lbm-primary);
    --bs-btn-hover-border-color: var(--lbm-primary);
    --bs-btn-active-color: var(--lbm-on-primary);
    --bs-btn-active-bg: var(--lbm-primary);
    --bs-btn-active-border-color: var(--lbm-primary);
}

/* A number box in a row or a table cell: Bootstrap's 100% width shrinks to
   a sliver beside a button, so it gets a width of its own. */
.lbm-qty { width: 5rem; flex: 0 0 5rem; }
td > .form-control, td > .form-select { min-width: 6rem; }
td > .form-control.lbm-cell-wide { min-width: 12rem; }

.lbm-section { padding-block: 3.5rem; }
.lbm-section--alt { background: var(--lbm-bg-alt); }

.lbm-section__title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.lbm-section__lead {
    color: var(--lbm-text-muted);
    margin-bottom: 2rem;
}

/* ------------------------------------------------------------------- Nav */

.lbm-nav {
    background: var(--lbm-nav-bg);
    border-bottom: 1px solid var(--lbm-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.lbm-nav__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 68px;
}

.lbm-nav__brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--lbm-nav-brand) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.lbm-nav__links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-left: auto;
}

/* A longer language wraps nothing: the phone menu takes over first. */
.lbm-nav__links > * { white-space: nowrap; }

.lbm-nav__links > a:not(.btn) {
    color: var(--lbm-nav-text);
    font-size: .925rem;
    font-weight: 500;
}

.lbm-nav__links > a:not(.btn):hover {
    color: var(--lbm-primary);
    text-decoration: none;
}

/* The sign-in link is an icon, the last thing on the right (2026-10-13). */
.lbm-nav__links > a.lbm-nav__icon {
    display: inline-flex;
    align-items: center;
    padding: .2rem;
    color: var(--lbm-nav-text);
}

.lbm-nav__links > a.lbm-nav__icon:hover { color: var(--lbm-primary); }

/* A submenu's heading (Navigation): a button, so a tap opens it rather than closing the phone menu. */
.lbm-nav__drop {
    background: none;
    border: 0;
    padding: 0;
    color: var(--lbm-nav-text);
    font-size: .925rem;
    font-weight: 500;
    text-align: left;
}

.lbm-nav__drop:hover { color: var(--lbm-primary); }

.lbm-nav__spacer {
    width: 1px;
    height: 22px;
    background: var(--lbm-border);
}

.lbm-nav__toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 0;
    padding: .5rem;
}

.lbm-nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: var(--lbm-nav-text);
    border-radius: 2px;
}

@media (max-width: 1199.98px) {
    .lbm-nav__links { gap: 1rem; }
}

@media (max-width: 1080px) {
    .lbm-nav__toggle { display: block; }

    .lbm-nav__links {
        display: none;
        position: absolute;
        inset: 68px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--lbm-nav-bg);
        border-bottom: 1px solid var(--lbm-border);
        box-shadow: var(--lbm-shadow);
    }

    .lbm-nav__links.is-open { display: flex; }
    .lbm-nav__spacer { display: none; }
}

/* ------------------------------------------------------------------ Hero */

.lbm-hero {
    background: linear-gradient(var(--lbm-hero-angle), var(--lbm-hero-from), var(--lbm-hero-to));
    color: var(--lbm-hero-text);
    padding-block: 4.5rem;
}

.lbm-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    max-width: 20ch;
    margin-bottom: 1rem;
}

.lbm-hero p {
    font-size: 1.075rem;
    max-width: 58ch;
    opacity: .92;
    margin-bottom: 1.75rem;
}

.lbm-hero .btn-light { color: var(--lbm-primary-dark); font-weight: 600; }

/* Compact hero for interior pages */
.lbm-hero--page { padding-block: 2.75rem; }
.lbm-hero--page h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.lbm-hero--page p { margin-bottom: 0; font-size: 1rem; }

/* ----------------------------------------------------------------- Cards */

.lbm-tile {
    background: var(--lbm-card-bg);
    border: 1px solid var(--lbm-border);
    border-radius: var(--lbm-radius);
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow .18s ease, transform .18s ease;
}

a.lbm-tile { display: block; color: inherit; text-decoration: none; }

a.lbm-tile:hover {
    box-shadow: var(--lbm-shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.lbm-tile__title { font-weight: 650; margin-bottom: .35rem; }
.lbm-tile__text  { color: var(--lbm-text-muted); font-size: .925rem; margin: 0; }

.lbm-tile__price {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--lbm-primary);
    margin-block: .75rem .25rem;
}

.lbm-tile__cycle { color: var(--lbm-text-muted); font-size: .85rem; font-weight: 400; }

/* ----------------------------------------------------------- Article list */

.lbm-list { border-top: 1px solid var(--lbm-border); }

.lbm-list__item {
    display: block;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--lbm-border);
    color: inherit;
    text-decoration: none;
}

.lbm-list__item:hover { color: inherit; text-decoration: none; background: var(--lbm-bg-alt); }
.lbm-list__title { font-weight: 600; margin-bottom: .2rem; }
.lbm-list__meta  { color: var(--lbm-text-muted); font-size: .85rem; }

/* Long-form body copy: announcements, articles, terms */
.lbm-prose { max-width: 72ch; line-height: 1.7; }
.lbm-prose h2 { font-size: 1.3rem; font-weight: 650; margin-block: 1.75rem .6rem; }
.lbm-prose h3 { font-size: 1.1rem; font-weight: 650; margin-block: 1.4rem .5rem; }
.lbm-prose p, .lbm-prose ul, .lbm-prose ol { margin-bottom: 1rem; }
.lbm-prose img { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------- Empty */

.lbm-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--lbm-text-muted);
}

/* --------------------------------------------------------------- Footer */

.lbm-foot {
    flex-shrink: 0;
    background: var(--lbm-foot-bg);
    color: var(--lbm-foot-text);
    padding-top: 3rem;
    margin-top: 4rem;
}

.lbm-foot__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 780px) {
    .lbm-foot__grid { grid-template-columns: 1fr 1fr; }
}

.lbm-foot__brand { color: var(--lbm-foot-head); font-weight: 700; margin-bottom: .5rem; }
.lbm-foot__note  { font-size: .9rem; opacity: .8; max-width: 40ch; }

.lbm-foot__head {
    color: var(--lbm-foot-head);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
}

.lbm-foot a { display: block; color: var(--lbm-foot-text); font-size: .9rem; padding-block: .2rem; }
.lbm-foot a:hover { color: var(--lbm-foot-head); text-decoration: none; }

.lbm-foot__bar {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 1.25rem;
    font-size: .85rem;
    opacity: .75;
}

/* Bootstrap's primary badge, in the product blue like the buttons. */
.text-bg-primary { background-color: var(--lbm-primary) !important; color: var(--lbm-on-primary) !important; }


/* ==========================================================================
   Standard: the design (2026-10-30)
   --------------------------------------------------------------------------
   One look for the public site and the client area: white and soft grey
   surfaces, a deep navy, one brand blue. Everything above this line is what
   the pages need to work (the client area's shell and widgets, the public
   site's nav and tiles); everything below is how they look, and wins.
   Recolour a whole site from Settings > General > Custom CSS by changing the
   tokens in :root.
   ========================================================================== */

:root {
    --st-navy:          #0b2545;
    --st-navy-2:        #13345f;
    --st-blue:          #1f6feb;
    --st-blue-ink:      #1a5fd6;
    --st-blue-soft:     #e8f0fe;
    --st-ink:           #1b2433;
    --st-ink-2:         #33405a;
    --st-muted:         #5b6576;
    --st-line:          #e3e8ef;
    --st-line-2:        #eef2f7;
    --st-grey:          #f5f7fa;
    --st-white:         #ffffff;
    --st-danger:        #b42318;
    --st-success:       #067647;
    --st-radius:        12px;
    --st-radius-lg:     16px;
    --st-shadow:        0 1px 2px rgba(11, 37, 69, .06), 0 4px 16px rgba(11, 37, 69, .05);
    --st-shadow-lg:     0 18px 40px rgba(11, 37, 69, .12);
    --st-bar-height:    68px;
    --st-side-width:    264px;
    --st-font:          system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* The tokens the pages and core's parts.css read, set from the ones above. */
    --lbm-primary:        var(--st-blue);
    --lbm-primary-light:  #3b82f6;
    --lbm-primary-dark:   var(--st-navy);
    --lbm-accent:         var(--st-blue);
    --lbm-success:        var(--st-success);
    --lbm-danger:         var(--st-danger);
    --lbm-bg:             var(--st-grey);
    --lbm-bg-alt:         var(--st-grey);
    --lbm-card-bg:        var(--st-white);
    --lbm-sidebar-bg:     var(--st-white);
    --lbm-sidebar-text:   var(--st-ink-2);
    --lbm-sidebar-active: var(--st-navy);
    --lbm-text:           var(--st-ink);
    --lbm-text-muted:     var(--st-muted);
    --lbm-border:         var(--st-line);
    --lbm-shadow:         var(--st-shadow);
    --lbm-shadow-lg:      var(--st-shadow-lg);
    --lbm-radius:         var(--st-radius);
    --lbm-topbar-height:  var(--st-bar-height);
    --lbm-font:           var(--st-font);
    --lbm-heading-font:   var(--st-font);
    --lbm-btn-radius:     8px;
    --lbm-nav-bg:         var(--st-white);
    --lbm-nav-text:       var(--st-ink);
    --lbm-nav-brand:      var(--st-navy);
    --lbm-hero-from:      var(--st-navy);
    --lbm-hero-to:        var(--st-navy);
    --lbm-hero-text:      var(--st-white);
    --lbm-foot-bg:        var(--st-navy);
    --lbm-foot-text:      #c4d2e6;
    --lbm-foot-head:      var(--st-white);
    --lbm-inner:          1200px;

    --bs-body-font-family: var(--st-font);
    --bs-body-color:       var(--st-ink);
    --bs-border-color:     var(--st-line);
    --bs-link-color-rgb:   26, 95, 214;
    --bs-primary:          var(--st-blue);
    --bs-primary-rgb:      31, 111, 235;
}

body { font-family: var(--st-font); color: var(--st-ink); font-size: .9375rem; -webkit-font-smoothing: antialiased; }
body.lbm-front { background: var(--st-white); }
body.st-app { background: var(--st-grey); }

a { color: var(--st-blue-ink); }
a:hover { color: var(--st-navy); }
h1, h2, h3, h4, h5 { color: var(--st-navy); letter-spacing: -.01em; }

/* ------------------------------------------------------------- Controls */

.btn { --bs-btn-border-radius: 8px; --bs-btn-font-weight: 600; --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1rem; }
.btn-sm { --bs-btn-padding-y: .35rem; --bs-btn-padding-x: .75rem; --bs-btn-border-radius: 7px; }
.btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.5rem; --bs-btn-border-radius: 10px; }
.btn-primary {
    --bs-btn-color: #fff; --bs-btn-bg: var(--st-blue); --bs-btn-border-color: var(--st-blue);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--st-blue-ink); --bs-btn-hover-border-color: var(--st-blue-ink);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--st-navy); --bs-btn-active-border-color: var(--st-navy);
    --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--st-blue); --bs-btn-disabled-border-color: var(--st-blue);
    box-shadow: 0 1px 2px rgba(11, 37, 69, .12);
}
.btn-outline-primary {
    --bs-btn-color: var(--st-blue-ink); --bs-btn-border-color: var(--st-blue);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--st-blue); --bs-btn-hover-border-color: var(--st-blue);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--st-blue-ink); --bs-btn-active-border-color: var(--st-blue-ink);
}
.btn-outline-secondary {
    --bs-btn-color: var(--st-ink-2); --bs-btn-border-color: #cdd5e0; --bs-btn-bg: #fff;
    --bs-btn-hover-color: var(--st-navy); --bs-btn-hover-bg: var(--st-grey); --bs-btn-hover-border-color: #b9c3d1;
    --bs-btn-active-color: var(--st-navy); --bs-btn-active-bg: var(--st-line-2); --bs-btn-active-border-color: #b9c3d1;
}
.btn-light { --bs-btn-color: var(--st-navy); --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--st-blue-soft); --bs-btn-hover-border-color: var(--st-blue-soft); --bs-btn-hover-color: var(--st-navy); }
.btn-outline-light { --bs-btn-hover-color: var(--st-navy); }

.form-control, .form-select { border-color: #cdd5e0; border-radius: 8px; padding: .30rem .8rem; }
.form-select { padding-right: 2.25rem; }
.form-control-lg, .form-select-lg { border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--st-blue); box-shadow: 0 0 0 .2rem rgba(31, 111, 235, .18); }
.form-label { font-weight: 600; color: var(--st-ink-2); font-size: .875rem; margin-bottom: .35rem; }
/* Tick boxes and radios: a visible edge and a size that can be hit, on white cards as well as on grey */
.form-check-input[type="checkbox"]:not([role="switch"]), .form-check-input[type="radio"] { width: 1.25rem; height: 1.25rem; margin-top: .1rem; border: 2px solid #8a97a8; cursor: pointer; }
.form-check-input[type="checkbox"]:not([role="switch"]) { border-radius: .3rem; }
.form-check-input:hover:not(:disabled) { border-color: var(--st-blue); }
.form-check-input:focus { border-color: var(--st-blue); box-shadow: 0 0 0 .2rem rgba(31, 111, 235, .25); }
/* As specific as the size rule above, so a ticked box shows its colour and its tick */
.form-check-input:checked, .form-check-input[type="checkbox"]:not([role="switch"]):checked, .form-check-input[type="radio"]:checked { background-color: var(--st-blue); border-color: var(--st-blue); }
.form-check-label { cursor: pointer; margin-left: .3rem; }
.form-text { color: var(--st-muted); }
.input-group-text { background: var(--st-grey); border-color: #cdd5e0; }

.badge { font-weight: 600; letter-spacing: .01em; }
.text-bg-primary { background-color: var(--st-blue) !important; color: #fff !important; }
.alert { border-radius: 10px; border-width: 1px; }
.alert-success { --bs-alert-bg: #ecfdf3; --bs-alert-border-color: #abefc6; --bs-alert-color: #054f31; }
.alert-danger { --bs-alert-bg: #fef3f2; --bs-alert-border-color: #fecdca; --bs-alert-color: #7a271a; }
.alert-warning { --bs-alert-bg: #fffaeb; --bs-alert-border-color: #fedf89; --bs-alert-color: #7a2e0e; }
.alert-info { --bs-alert-bg: var(--st-blue-soft); --bs-alert-border-color: #c3d7fd; --bs-alert-color: var(--st-navy); }
.dropdown-menu { border: 1px solid var(--st-line); border-radius: 10px; box-shadow: var(--st-shadow-lg); padding: .4rem; }
.dropdown-item { border-radius: 6px; padding: .45rem .75rem; }
.dropdown-item.active, .dropdown-item:active { background: var(--st-blue-soft); color: var(--st-navy); }
.breadcrumb { --bs-breadcrumb-divider-color: var(--st-muted); }
.pagination { --bs-pagination-active-bg: var(--st-blue); --bs-pagination-active-border-color: var(--st-blue); --bs-pagination-color: var(--st-blue-ink); --bs-pagination-border-radius: 8px; }
.nav-tabs { --bs-nav-tabs-link-active-color: var(--st-navy); --bs-nav-tabs-border-color: var(--st-line); }
.nav-tabs .nav-link { font-weight: 600; color: var(--st-muted); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--st-blue); }
.table { --bs-table-color: var(--st-ink); --bs-table-border-color: var(--st-line-2); }

/* ---------------------------------------------------------------- Brand */

.st-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--st-navy) !important; font-weight: 800; font-size: 1.15rem; text-decoration: none !important; white-space: nowrap; min-width: 0; }
.st-brand img { max-height: 48px; width: auto; }
.st-brand--light { color: #fff !important; }


/* ------------------------------------------------------- The top bar (site) */

.lbm-nav.st-bar { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--st-line); }
.st-bar .lbm-nav__bar { min-height: var(--st-bar-height); gap: 1.5rem; }
/* The menu is centred on the page, the tools sit at the right edge (2026-10-30). */
.st-bar .lbm-nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; }
.st-bar .lbm-nav__links { display: contents; }
.st-bar__menu { display: flex; align-items: center; justify-content: center; gap: 1.35rem; }
.st-bar__tools { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.st-bar__menu > * { white-space: nowrap; }
.st-bar .lbm-nav__toggle { display: none; }
.st-pill { display: inline-flex; align-items: center; gap: .35rem; height: 34px; padding: 0 .7rem; background: transparent; border: 1px solid var(--st-line); border-radius: 999px; color: var(--st-ink); font-size: .85rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.st-pill:hover, .st-pill.show { background: var(--st-blue-soft, rgba(37, 99, 235, .08)); border-color: transparent; color: var(--st-blue-ink); }
.st-pill::after { margin-left: .1rem; opacity: .5; }
.st-bar__tools .dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.st-bar .lbm-nav__brand { flex: 0 0 auto; }
.st-bar__menu > a, .st-bar .lbm-nav__drop { font-size: .95rem; font-weight: 600; color: var(--st-ink); }
.st-bar__menu > a:hover, .st-bar .lbm-nav__drop:hover { color: var(--st-blue-ink); text-decoration: none; }
.st-bar__menu > a.is-current, .st-bar .lbm-nav__drop.is-current { color: var(--st-blue-ink); }
.st-bar__cta { display: inline-flex !important; align-items: center; gap: .4rem; }
@media (max-width: 1080px) {
    .st-bar .lbm-nav__bar { display: flex; }
    .st-bar .lbm-nav__toggle { display: block; }
    .st-bar .lbm-nav__links { display: none; inset: var(--st-bar-height) 0 auto 0; box-shadow: var(--st-shadow-lg); }
    .st-bar .lbm-nav__links.is-open { display: flex; }
    .st-bar__menu { flex-direction: column; align-items: stretch; gap: .25rem; }
    .st-bar__tools { flex-wrap: wrap; justify-content: flex-start; padding-top: .75rem; border-top: 1px solid var(--st-line); }
    .st-bar__tools .st-bar__cta { flex: 1 0 100%; justify-content: center; }
}

/* ----------------------------------------------------------------- Hero */

.st-hero { background: var(--st-navy); color: #fff; padding: 5.5rem 0 6rem; position: relative; overflow: hidden; }
.st-hero::after { content: ""; position: absolute; inset: auto -10% -55% auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 111, 235, .35), rgba(31, 111, 235, 0)); pointer-events: none; }
.st-hero .lbm-front__inner { position: relative; z-index: 1; }
.st-hero h1 { color: #fff; max-width: 48rem; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1; font-weight: 800; margin: 0 0 1.25rem; }
.st-hero__lead { max-width: 40rem; font-size: 1.15rem; line-height: 1.6; color: #d5e2f5; margin: 0 0 2rem; }
.st-eyebrow { margin: 0 0 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9cc3ff; }
.st-hero__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.25rem; font-size: .95rem; }
.st-hero__links a { color: #9cc3ff !important; font-weight: 600; }
.st-hero__links a:hover { color: #fff !important; }

.st-search { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 44rem; padding: .5rem; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.st-search .form-control { flex: 1 1 16rem; min-width: 0; border: 0; box-shadow: none; font-size: 1.05rem; }
.st-search .btn { display: inline-flex; align-items: center; gap: .45rem; }

/* A page's own band under the bar (every page but the front one). */
.lbm-hero--page, .st-page-hero { background: var(--st-grey); color: var(--st-ink); border-bottom: 1px solid var(--st-line); padding: 3rem 0 2.75rem; }
.lbm-hero--page h1 { color: var(--st-navy); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin: 0 0 .5rem; }
.lbm-hero--page p { color: var(--st-muted); max-width: 44rem; font-size: 1.05rem; margin: 0; }
.st-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .875rem; color: var(--st-muted); margin-bottom: .85rem; }

/* ------------------------------------------------------------- Sections */

.st-notices:empty { display: none; }
/* Whitespace from the includes makes :empty never match; with no element inside, there is nothing to show. */
.st-notices:not(:has(*)) { display: none; }
.st-notices { padding-top: 1rem; }
.lbm-section.st-section, .st-section { padding-block: 4.5rem; }
.st-section__head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.lbm-section__title { color: var(--st-navy); font-size: clamp(1.6rem, 2.6vw, 2.125rem); font-weight: 800; }
.lbm-section__lead { color: var(--st-muted); font-size: 1.05rem; line-height: 1.6; }
.st-section__head .lbm-section__lead { margin-bottom: 0; }

/* A full-width band inside the page's column. 50vw counts a classic scrollbar too,
   so the band is that much wider than the page: the main column clips it
   (clip, not hidden, so nothing inside becomes a scroll box). */
.lbm-front__main { overflow-x: clip; }
.st-band { margin-inline: calc(50% - 50vw); padding: 4.5rem calc(50vw - 50%); }
.st-band--alt { background: var(--st-grey); }
.lbm-section--alt { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); background: var(--st-grey); }

.st-grid { display: grid; gap: 1.5rem; }
.st-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.st-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* --------------------------------------------------------- Cards & tiles */

.lbm-tile, .st-card { display: flex; flex-direction: column; gap: .65rem; height: 100%; padding: 1.75rem; background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius-lg); box-shadow: none; color: var(--st-ink); }
a.lbm-tile, .st-card--link { display: flex; flex-direction: column; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.lbm-tile:hover, .st-card--link:hover { border-color: #b9cdf5; box-shadow: var(--st-shadow-lg); transform: translateY(-2px); color: var(--st-ink); }
.lbm-tile__title { font-size: 1.2rem; font-weight: 800; color: var(--st-navy); margin: 0; }
.lbm-tile__text { color: var(--st-muted); line-height: 1.6; margin: 0; white-space: pre-line; }
.lbm-tile__price { font-size: 2.1rem; font-weight: 800; color: var(--st-navy); line-height: 1.15; }
.lbm-tile__cycle { font-size: .95rem; font-weight: 500; color: var(--st-muted); }
.st-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: var(--st-blue-soft); color: var(--st-blue-ink); }
.st-card__go { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--st-blue-ink); }
.st-feature__title { font-size: 1.05rem; font-weight: 800; margin: .25rem 0 0; }
.st-feature__text { color: var(--st-muted); line-height: 1.6; margin: 0; }

/* Plans */
.st-plan { gap: 1rem; padding: 2rem; }
.st-plan__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.st-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; padding-bottom: 1rem; border-bottom: 1px solid var(--st-line-2); }
.st-plan__amount { font-size: 2.25rem; font-weight: 800; color: var(--st-navy); }
.st-plan__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.st-plan__points li { display: flex; gap: .55rem; align-items: flex-start; }
.st-plan__points svg { flex: 0 0 auto; margin-top: .2rem; color: var(--st-blue-ink); }
.st-plan--forward { border: 2px solid var(--st-blue); box-shadow: var(--st-shadow-lg); }
.st-plan .btn { margin-top: auto; }
.st-badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: var(--st-blue-soft); color: var(--st-blue-ink); font-size: .75rem; font-weight: 700; }

/* The ask, at the end of a page */
.st-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 1rem 0 4.5rem; padding: 2.25rem 2.5rem; border-radius: var(--st-radius-lg); background: var(--st-navy); color: #fff; }
.st-help--inline { margin: 3rem 0 0; }
.st-help__title { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 0 0 .35rem; }
.st-help__text { color: #c4d2e6; margin: 0; max-width: 36rem; }
.st-help__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Lists (announcements, articles) and prose */
.lbm-list { background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; }
.lbm-list__item { border-bottom: 1px solid var(--st-line-2); padding: 1rem 1.25rem; }
.lbm-list__item:last-child { border-bottom: 0; }
.lbm-list__item:hover { background: var(--st-grey); }
.lbm-list__title { font-weight: 700; color: var(--st-navy); }
.lbm-list__meta { color: var(--st-muted); font-size: .875rem; }
.lbm-prose { line-height: 1.75; font-size: 1.02rem; }
.lbm-prose h2, .lbm-prose h3 { margin-top: 2rem; font-weight: 800; }
.lbm-empty { padding: 3rem 1.5rem; text-align: center; color: var(--st-muted); background: var(--st-grey); border: 1px dashed #cdd5e0; border-radius: var(--st-radius); }

/* ---------------------------------------------------------------- Footer */

.lbm-foot.st-foot { background: var(--st-navy); color: #c4d2e6; padding: 3.5rem 0 0; margin-top: 0; }
.st-foot__grid { display: grid; grid-template-columns: minmax(14rem, 1.4fr) repeat(auto-fit, minmax(10rem, 1fr)); gap: 2.5rem; padding-bottom: 2.5rem; }
.st-foot__about { display: flex; flex-direction: column; gap: 1rem; }
.st-foot__note { margin: 0; line-height: 1.6; max-width: 22rem; color: #c4d2e6; }
.st-foot__links { display: contents; }
.st-foot__col { display: flex; flex-direction: column; gap: .6rem; font-size: .95rem; }
.st-foot__head { color: #fff !important; font-weight: 700; margin-bottom: .25rem; }
.st-foot a { color: #c4d2e6; }
.st-foot a:hover { color: #fff; text-decoration: none; }
.lbm-foot__bar.st-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1.5rem 0; border-top: 1px solid #1d3a63 !important; font-size: .875rem; color: #9fb3cf; }
@media (max-width: 767.98px) { .st-foot__grid { grid-template-columns: 1fr 1fr; } .st-foot__about { grid-column: 1 / -1; } }

/* ==========================================================================
   The client area
   ========================================================================== */

/* The sidebar: light, sticky down the left, the logo on top and the account at its foot. */
.st-account__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--st-blue-soft); color: var(--st-blue-ink); font-weight: 800; }
body.st-app { background: var(--st-grey); }
.st-shell { display: flex; min-height: 100vh; }
.lbm-sidebar.st-side { position: sticky; top: 0; height: 100vh; flex: 0 0 var(--st-side-width); width: var(--st-side-width); display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--st-line); padding: 1rem .75rem; z-index: 1020; overflow-y: auto; }
.st-side__brand { display: flex; align-items: center; min-height: 48px; padding: .4rem .6rem 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--st-line-2); text-decoration: none; }
.st-side__brand img { max-height: 52px; width: auto; max-width: 100%; }
.st-side .lbm-sidebar__nav { padding: 0; flex: 1 1 auto; }
.st-side .lbm-sidebar__label { padding: 1.1rem .85rem .35rem; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--st-muted); }
.st-side .lbm-sidebar__link { display: flex; align-items: center; gap: .75rem; width: 100%; margin: 1px 0; padding: .6rem .85rem; border: 0; border-radius: 8px; background: none; color: var(--st-ink-2); font-size: .925rem; font-weight: 500; text-align: left; text-decoration: none; }
.st-side .lbm-sidebar__link:hover { background: var(--st-grey); color: var(--st-navy); }
.st-side .lbm-sidebar__link.is-active { background: var(--st-blue-soft); color: var(--st-navy); font-weight: 700; }
.st-side .lbm-sidebar__link.is-active svg { color: var(--st-blue-ink); }
.st-side .lbm-sidebar__sublink { padding-left: 2.6rem; }
/* A submenu (Navigation): a <details>, so it opens without script. */
.lbm-sidebar__group > summary { list-style: none; cursor: pointer; }
.lbm-sidebar__group > summary::-webkit-details-marker { display: none; }
.lbm-sidebar__group > summary::after { content: "\203A"; margin-left: auto; transition: transform .15s; }
.lbm-sidebar__group[open] > summary::after { transform: rotate(90deg); }
.st-side__foot { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--st-line-2); }
.st-me { display: flex; align-items: center; gap: .65rem; padding: .35rem .6rem .6rem; min-width: 0; }
.st-me__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.st-me__name { font-weight: 700; color: var(--st-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-me__sub { font-size: .75rem; color: var(--st-muted); }
.st-side__out { cursor: pointer; color: #b42318; }
.st-side .st-side__out:hover { background: #fdecea; color: #b42318; }

/* The page beside it. */
.st-shell .lbm-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; margin-left: 0; }
.st-main .lbm-content { flex: 1 0 auto; padding: 2rem 2rem 3rem; max-width: 1240px; width: 100%; margin-inline: auto; }
.st-mobilebar { display: none; }
.lbm-sidebar__toggle { flex: 0 0 auto; }
.st-auth__logo { margin-bottom: 1.5rem; }
.st-brand__chip { display: inline-flex; align-items: center; padding: .4rem .7rem; border-radius: 10px; background: #fff; }
.lbm-backdrop { position: fixed; inset: 0; background: rgba(10, 37, 69, .45); z-index: 1035; }
.lbm-page-title.st-page-title { font-size: 1.6rem; font-weight: 800; color: var(--st-navy); margin: 0 0 1.25rem; }
.st-app-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1.25rem 1.5rem; border-top: 1px solid var(--st-line); color: var(--st-muted); font-size: .8125rem; background: #fff; }
.lbm-toasts { top: 1rem; }

@media (max-width: 991.98px) {
    .lbm-sidebar.st-side { position: fixed; inset: 0 auto 0 0; height: auto; transform: translateX(-100%); transition: transform .2s ease; z-index: 1040; box-shadow: var(--st-shadow-lg); }
    .lbm-sidebar.st-side.is-open { transform: translateX(0); }
    .st-mobilebar { display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 1030; height: 56px; padding: 0 1rem; background: #fff; border-bottom: 1px solid var(--st-line); }
    .st-mobilebar .st-brand img { max-height: 36px; }
    .st-main .lbm-content { padding: 1.25rem 1rem 2.5rem; }
}

/* Cards, tables, figures: the surfaces every client page is made of. */
.lbm-card { border: 1px solid var(--st-line); border-radius: var(--st-radius); box-shadow: var(--st-shadow); }
.lbm-card__head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--st-line-2); }
.lbm-card__title { font-size: 1rem; font-weight: 800; color: var(--st-navy); display: flex; align-items: center; gap: .5rem; }
.lbm-card__title svg { color: var(--st-blue-ink); }
.lbm-card__body { padding: 1.25rem; }
.lbm-card__foot { padding: .9rem 1.25rem; border-top: 1px solid var(--st-line-2); background: #fcfdfe; border-radius: 0 0 var(--st-radius) var(--st-radius); }
.lbm-stat { padding: 1.25rem; gap: 1rem; transition: border-color .15s, box-shadow .15s; }
a.lbm-stat:hover { border-color: #b9cdf5; box-shadow: var(--st-shadow-lg); }
.lbm-stat__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; background: var(--st-blue-soft); color: var(--st-blue-ink) !important; }
.lbm-stat__value { font-size: 1.6rem; font-weight: 800; color: var(--st-navy); line-height: 1.15; }
.lbm-stat__label { color: var(--st-muted); font-size: .875rem; }
.lbm-table thead th { background: var(--st-grey); color: var(--st-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--st-line); padding: .75rem 1.25rem; }
.lbm-table td { padding: .85rem 1.25rem; border-color: var(--st-line-2); vertical-align: middle; }
.lbm-table tbody tr:hover { background: #fafbfd; }

/* ----------------------------------------------------------- Signing in */

.st-bar--auth { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--st-bar-height); padding: 0 1.5rem; background: #fff; border-bottom: 1px solid var(--st-line); }
.st-bar__back { font-weight: 600; font-size: .925rem; }
.lbm-centre.st-auth { min-height: calc(100vh - var(--st-bar-height) - 4rem); display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; background: var(--st-grey); }
.st-auth__box { display: flex; flex-wrap: wrap; width: 100%; max-width: 62rem; background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(11, 37, 69, .10); }
.st-auth__box--wide { max-width: 44rem; }
.st-auth .lbm-centre__card { flex: 1 1 24rem; min-width: 0; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.st-auth .lbm-centre__head { padding: 2.75rem 2.75rem 0; text-align: left; border: 0; }
.st-auth .lbm-centre__body { padding: 1.5rem 2.75rem 2.75rem; }
.st-auth__title { font-size: 1.75rem; font-weight: 800; color: var(--st-navy); margin: 0 0 .4rem; }
.st-auth .btn-primary { --bs-btn-padding-y: .75rem; font-size: 1rem; }
.st-auth__aside { flex: 1 1 18rem; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: 2.75rem; background: var(--st-navy); color: #d5e2f5; }
.st-auth__aside h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 0; }
.st-auth__aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; line-height: 1.5; }
.st-auth__aside li { display: flex; gap: .75rem; }
.st-auth__aside svg { flex: 0 0 auto; color: #9cc3ff; margin-top: .1rem; }
.st-auth__foot { padding: 1.25rem; text-align: center; font-size: .8125rem; color: var(--st-muted); background: var(--st-grey); }
@media (max-width: 767.98px) {
    .st-auth__aside { display: none; }
    .st-auth .lbm-centre__head { padding: 2rem 1.5rem 0; }
    .st-auth .lbm-centre__body { padding: 1.25rem 1.5rem 2rem; }
}

@media print {
    .st-bar, .st-side, .st-mobilebar, .st-app-foot, .st-foot { display: none !important; }
    .st-main .lbm-content { padding: 0; }
}

/* The lines under a basket item (cycle, domain, location, sizes, extras): small print. */
.lbm-list__meta.lbm-line__extra { font-size: .75rem; }

/* A kept document shown over the whole page (2026-11-05). */
body.lbm-viewer-open { overflow: hidden; }
/* A card still being asked for (deferred Slot): a shimmering bar under "Loading..." */
.lbm-defer__bar { height: 4.5rem; border-radius: .5rem; background: linear-gradient(90deg, rgba(127, 127, 127, .10) 25%, rgba(127, 127, 127, .22) 50%, rgba(127, 127, 127, .10) 75%); background-size: 200% 100%; animation: lbm-defer-shimmer 1.4s linear infinite; }
@keyframes lbm-defer-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .lbm-defer__bar { animation: none; } }
.lbm-viewer { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(10, 14, 20, .92); }
.lbm-viewer__file { width: min(92vw, 60rem); height: 90%; border: 0; border-radius: .5rem; background: #fff; box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .5); }
img.lbm-viewer__file { width: auto; height: auto; max-width: 92vw; max-height: 90%; object-fit: contain; background: transparent; box-shadow: none; }
.lbm-viewer__close { position: absolute; top: .75rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.lbm-viewer__close:hover, .lbm-viewer__close:focus-visible { background: #000; outline: 2px solid #fff; }

/* The Monitoring card's graphs (2026-11-15): SVG lines, one colour each, drawn by metricsCards(). */
.lbm-mon-chart { display: block; width: 100%; height: 5rem; overflow: visible; }
.lbm-mon-rule { stroke: rgba(128, 138, 152, .35); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.lbm-mon-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke: #1f6feb; }
.lbm-mon-line--memory { stroke: #8250df; }
.lbm-mon-line--disk { stroke: #bf8700; }
.lbm-mon-line--in { stroke: #1a7f37; }
.lbm-mon-line--out { stroke: #0969da; }

/* The designed description of a plan (2026-11-15): staff's HTML on the plan page. Lists are check lists, tables spec tables, a quote a highlight box. */
.lbm-desc { max-width: 72ch; line-height: 1.65; }
.lbm-desc h2, .lbm-desc h3, .lbm-desc h4 { margin: 1.4rem 0 .6rem; font-weight: 750; }
.lbm-desc p { margin-bottom: 1rem; }
.lbm-desc ul:not(.st-plan__points) { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.lbm-desc ul:not(.st-plan__points) li { position: relative; padding-left: 1.75rem; }
.lbm-desc ul:not(.st-plan__points) li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(31, 111, 235, .12); color: #1f6feb; font-size: .78rem; font-weight: 800; line-height: 1.25rem; text-align: center; }
.lbm-desc ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.lbm-desc table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.25rem; border: 1px solid #dde3ec; border-radius: .6rem; overflow: hidden; font-size: .97rem; }
.lbm-desc th, .lbm-desc td { padding: .65rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e8edf4; }
.lbm-desc tr:last-child th, .lbm-desc tr:last-child td { border-bottom: 0; }
.lbm-desc th, .lbm-desc td:first-child { font-weight: 650; }
.lbm-desc tbody tr:nth-child(even), .lbm-desc tr:nth-child(even) { background: rgba(31, 111, 235, .04); }
.lbm-desc thead th { background: rgba(31, 111, 235, .09); }
.lbm-desc blockquote { margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-left: 4px solid #1f6feb; border-radius: 0 .6rem .6rem 0; background: rgba(31, 111, 235, .07); }
.lbm-desc blockquote p:last-child { margin-bottom: 0; }
.lbm-desc hr { margin: 1.5rem 0; opacity: .25; }
.lbm-desc img { max-width: 100%; height: auto; border-radius: .5rem; }
.lbm-desc--points { max-width: 72ch; font-size: 1.05rem; }
.lbm-mon-line--load { stroke: #cf222e; }

/* Monitoring across the page (2026-11-16): the graphs as tiles in a grid, a few across. */
.lbm-mon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem 1.25rem; }
/* Five graphs, no orphan (2026-11-17): 5 across on a wide screen, 3 + 2 on a middle one, 2 + 2 + 1 across the width on a small one. */
@media (min-width: 576px) and (max-width: 767.98px) { .lbm-mon-grid { grid-template-columns: repeat(2, 1fr); } .lbm-mon-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 768px) and (max-width: 1399.98px) { .lbm-mon-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); } .lbm-mon-grid:has(> :nth-child(5):last-child) > * { grid-column: span 2; } .lbm-mon-grid:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; } }
@media (min-width: 1400px) { .lbm-mon-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); } }
.lbm-mon-tile { min-width: 0; padding: .75rem .85rem; border: 1px solid rgba(128, 138, 152, .28); border-radius: .5rem; }
/* Every graph's heading is the same height -- the name, then its figures under it (they may wrap to two lines) -- so the lines start level (2026-11-17). */
.lbm-mon-tile > :first-child { flex-direction: column; justify-content: flex-start; gap: .1rem !important; min-height: 3.75rem; }
.lbm-mon-tile > :first-child > span { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem .9rem; font-size: .85rem; line-height: 1.3; }
/* What it is now, in the page's ink; what the highest was, at the other end in blue, named. */
.lbm-mon-cur { color: var(--lbm-text, #1b2433); font-weight: 600; white-space: nowrap; }
.lbm-mon-val + .lbm-mon-val { margin-left: .7rem; }
.lbm-mon-peak { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; color: var(--lbm-primary, #1f6feb); }
.lbm-mon-peak svg { flex: none; }

/* Usage gauges: CPU, memory, disk and transfer of a machine (2026-11-16). */
.lbm-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.lbm-gauge__top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.lbm-gauge__label { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; opacity: .7; }
.lbm-gauge__value { font-size: 1.375rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lbm-gauge--wide .lbm-gauge__value { font-size: 1.0625rem; }
.lbm-gauge__track { height: .5rem; border-radius: 999px; background: rgba(128, 138, 152, .22); overflow: hidden; }
.lbm-gauge__fill { height: 100%; border-radius: 999px; background: #1a7f37; transition: width .4s ease; }
.lbm-gauge--warn .lbm-gauge__fill { background: #bf8700; }
.lbm-gauge--high .lbm-gauge__fill { background: #cf222e; }
.lbm-gauge--high .lbm-gauge__value { color: #cf222e; }
.lbm-gauge--old { opacity: .55; }
.lbm-gauge--sep { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(128, 138, 152, .25); }
.lbm-gauge__note { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .6rem; font-size: .8125rem; opacity: .7; }
.lbm-gauge__note--old { color: #9a6700; opacity: 1; }
@media (max-width: 575.98px) { .lbm-gauges { grid-template-columns: 1fr; } }

/* Dashboard tiles on a phone: two to a row, so the text beside the icon may shrink, wrap and be a little smaller instead of leaving the card */
.lbm-stat > span:last-child { min-width: 0; flex: 1 1 auto; }
.lbm-stat__value, .lbm-stat__label { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .lbm-stat { padding: .875rem; gap: .625rem; }
    .lbm-stat__icon { width: 36px; height: 36px; flex-basis: 36px; }
    .lbm-stat__value { font-size: 1.15rem; }
    .lbm-stat__label { font-size: .75rem; }
}

/* The four tiles of a row are one height, whatever wraps inside them */
.lbm-stat { height: 100%; }
