/* ==========================================================================
   MVN services pages (new interface): only what the shared system lacks.
   The services group's own file during the redesign (overwrites/header.tpl loads
   it); the integrator folds each block into assets/css/mvn-ui.css. Tokens only.
   ========================================================================== */

/* 1. Raw HTML a module or another addon prints on the service page (a module's
      own overview, its client area, hook output): it scrolls sideways in its own
      box, never the page. */
html.mvn-ui .mvn-svc-raw {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    /* dir="auto" picks the output's own direction; its text follows it. */
    text-align: start;
}

/* 1b. MVN's own sign-in forms (form.mvn-door): the head's "התחברות לשרת האחסון"
       (includes/mvn/head/clientareaproductdetails.tpl), the shortcuts in "פרטים"
       (clientareaproductdetails.tpl) and the mailboxes' empty and error lines
       (includes/mvn/hosting-mail.tpl). The form is only a wrapper: its button is the row's item. */
html.mvn-ui form.mvn-door {
    display: contents;
}

/* 2. Cancellation is a regular button (owner, 2026-10-28): the service page's
      "Cancel" item in the bar drops the quiet-danger look sidebar.tpl gives it. */
html.mvn-ui body.page-clientareaproductdetails .mvn-subnav .mvn-btn.is-quiet.is-danger[menuitemname*="Cancel"] {
    border-color: var(--mvn-rule-2);
    background: var(--mvn-paper);
    color: var(--mvn-ink);
    font-weight: var(--mvn-w-medium);
}
html.mvn-ui body.page-clientareaproductdetails .mvn-subnav .mvn-btn.is-quiet.is-danger[menuitemname*="Cancel"]:hover {
    border-color: var(--mvn-ink);
    background: var(--mvn-paper);
    color: var(--mvn-ink);
}
html.mvn-ui body.page-clientareaproductdetails .mvn-subnav .mvn-btn.is-quiet.is-danger[menuitemname*="Cancel"]:active {
    background: var(--mvn-sunken);
}

/* 3. A row that is over (an ended service, a cancelled add-on) quiets its address too:
      .mvn-addr-name sets its own ink and weight. */
html.mvn-ui .mvn-row.is-muted .mvn-addr-name {
    color: inherit;
    font-weight: inherit;
}

/* 4. The WordPress sites panel. The softaculous_sso addon (a separate project)
      inserts it by script after the service page's empty .product-details anchor,
      with its own card CSS in the head; here it becomes a part like the others:
      its title beside or above one frame, rows split by rules, action words.
      The addon's CSS loads earlier ($headoutput), so equal weight would do; its
      few !important declarations (.btn-sso, .wp-version-outdated) need !important
      back, marked below. */
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget {
    display: flex;
    flex-direction: column;
    gap: var(--mvn-s-3);
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--mvn-ink-2);
    font-size: var(--mvn-t-small);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .widget-header {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--mvn-s-1) var(--mvn-s-4);
    padding: 0;
    background: none;
    color: var(--mvn-ink);
    font-size: var(--mvn-t-part);
    font-weight: var(--mvn-w-strong);
    line-height: var(--mvn-lh-ui);
    text-align: start;
}
/* The brand mark and the buttons' icons only decorate. */
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget :is(.widget-header > i.fa-wordpress, .btn-sso > i, .softaculous-sso-empty > i) {
    display: none;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .btn-sso-refresh {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: var(--mvn-s-1);
    min-height: var(--mvn-act-h);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--mvn-accent);
    font-size: var(--mvn-t-small);
    font-weight: var(--mvn-w-medium);
    text-decoration: underline;
    text-decoration-color: var(--mvn-accent-line);
    text-underline-offset: var(--mvn-underline-gap);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .btn-sso-refresh:hover {
    background: none;
    color: var(--mvn-accent-strong);
    text-decoration-color: currentColor;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .btn-sso-refresh i {
    font-size: var(--mvn-t-icon);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .widget-body {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: var(--mvn-hair) solid var(--mvn-rule);
    border-radius: var(--mvn-r-panel);
    background: var(--mvn-paper);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-search {
    padding: var(--mvn-s-3) var(--mvn-frame-pad);
    border-block-end: var(--mvn-hair) solid var(--mvn-rule-soft);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-search input {
    width: 100%;
    min-height: var(--mvn-field-h);
    padding: var(--mvn-s-2) var(--mvn-s-3);
    border: var(--mvn-hair) solid var(--mvn-rule-2);
    border-radius: var(--mvn-r-ctl);
    background: var(--mvn-paper);
    color: var(--mvn-ink);
    font-size: var(--mvn-t-body);
    text-align: start;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-search input:focus {
    border-color: var(--mvn-accent);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table :is(th, td) {
    height: auto; /* Lagom's table>tbody>tr>td sets a row height */
    padding: var(--mvn-s-3) var(--mvn-frame-pad);
    background: none;
    border: 0;
    border-block-start: var(--mvn-hair) solid var(--mvn-rule-soft);
    color: var(--mvn-ink-2);
    font-size: var(--mvn-t-small);
    line-height: var(--mvn-lh-ui);
    text-align: start;
    vertical-align: middle;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table th {
    border-block-start: 0;
    background: none;
    color: var(--mvn-ink-3);
    font-size: var(--mvn-t-caption);
    font-weight: var(--mvn-w-medium);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table tbody tr:hover {
    background: var(--mvn-row-hover);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table td:first-child a {
    color: var(--mvn-ink);
    font-size: var(--mvn-t-body);
    font-weight: var(--mvn-w-strong);
    text-decoration: none;
    direction: ltr;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table td:first-child a:hover {
    color: var(--mvn-accent);
    text-decoration: underline;
}
/* The WordPress version: a quiet state tag, amber when an update waits */
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-version-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--mvn-s-1);
    min-height: var(--mvn-tag-h);
    padding: 0 var(--mvn-s-2);
    border-radius: var(--mvn-r-sm);
    background: var(--mvn-ok-wash);
    color: var(--mvn-ok);
    font-size: var(--mvn-t-caption);
    font-weight: var(--mvn-w-medium);
    font-variant-numeric: tabular-nums;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-version-badge.wp-version-outdated {
    background: var(--mvn-warn-wash) !important; /* the addon sets its red fill with !important */
    color: var(--mvn-warn);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .softaculous-sso-actions {
    white-space: nowrap;
}
/* Row actions as action words (the addon forces white, undecorated text with !important) */
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .btn-sso {
    display: inline-flex;
    align-items: center;
    min-height: var(--mvn-act-h);
    margin: 0;
    margin-inline-end: var(--mvn-s-4);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--mvn-ink) !important;
    font-size: var(--mvn-t-small);
    font-weight: var(--mvn-w-medium);
    text-decoration: underline !important;
    text-decoration-color: var(--mvn-rule-2) !important;
    text-underline-offset: var(--mvn-underline-gap);
    transform: none;
    cursor: pointer;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .btn-sso:last-child {
    margin-inline-end: 0;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .btn-sso:hover {
    background: none;
    text-decoration-color: currentColor !important;
    transform: none;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget :is(.wp-installations-pagination, .wp-installations-count) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--mvn-s-1);
    padding: var(--mvn-s-2) var(--mvn-frame-pad);
    border-block-start: var(--mvn-hair) solid var(--mvn-rule-soft);
    color: var(--mvn-ink-3);
    font-size: var(--mvn-t-caption);
    text-align: start;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-pagination {
    justify-content: flex-start;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-pagination button {
    display: inline-grid;
    place-items: center;
    min-width: var(--mvn-ctl-h-sm);
    height: var(--mvn-ctl-h-sm);
    padding: 0 var(--mvn-s-2);
    border: 0;
    border-radius: var(--mvn-r-ctl);
    background: none;
    color: var(--mvn-ink-2);
    font-size: var(--mvn-t-small);
    font-weight: var(--mvn-w-medium);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-pagination button:hover {
    background: var(--mvn-hover);
    color: var(--mvn-ink);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .wp-installations-pagination button.active {
    background: var(--mvn-accent-wash);
    color: var(--mvn-accent);
    font-weight: var(--mvn-w-strong);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget :is(.softaculous-sso-loading, .softaculous-sso-empty) {
    padding: var(--mvn-s-6) var(--mvn-frame-pad);
    color: var(--mvn-ink-3);
    font-size: var(--mvn-t-small);
    text-align: center;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .softaculous-sso-error {
    padding: var(--mvn-s-3) var(--mvn-frame-pad);
    background: var(--mvn-bad-wash);
    color: var(--mvn-bad);
    font-size: var(--mvn-t-small);
    text-align: start;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .softaculous-sso-install-btn {
    display: inline-flex;
    align-items: center;
    min-height: var(--mvn-ctl-h);
    margin-block-start: var(--mvn-s-3);
    padding: 0 var(--mvn-btn-pad);
    border: var(--mvn-hair) solid var(--mvn-rule-2);
    border-radius: var(--mvn-r-ctl);
    background: var(--mvn-paper);
    color: var(--mvn-ink) !important;
    font-size: var(--mvn-t-small);
    font-weight: var(--mvn-w-medium);
    text-decoration: none !important;
}
/* The addon's dialogs (appended to <body>): our surface, title and buttons */
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-overlay {
    background: var(--mvn-scrim);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal {
    overflow: hidden;
    border-radius: var(--mvn-r-panel);
    background: var(--mvn-paper);
    box-shadow: var(--mvn-shadow-pop);
    color: var(--mvn-ink-2);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-header {
    padding: var(--mvn-s-4) var(--mvn-frame-pad);
    border-block-end: var(--mvn-hair) solid var(--mvn-rule);
    border-radius: 0;
    background: none;
    color: var(--mvn-ink);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-header h3 {
    color: var(--mvn-ink);
    font-size: var(--mvn-t-total);
    font-weight: var(--mvn-w-strong);
    text-align: start;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-header h3 i {
    display: none;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-close {
    color: var(--mvn-ink-3);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-body {
    padding: var(--mvn-frame-pad);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-body .form-control {
    min-height: var(--mvn-field-h);
    border: var(--mvn-hair) solid var(--mvn-rule-2);
    border-radius: var(--mvn-r-ctl);
    color: var(--mvn-ink);
    font-size: var(--mvn-t-body);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-body .form-control:focus {
    border-color: var(--mvn-accent);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-footer {
    justify-content: flex-start;
    padding: var(--mvn-s-3) var(--mvn-frame-pad);
    border-block-start: var(--mvn-hair) solid var(--mvn-rule);
}
html.mvn-ui body.page-clientareaproductdetails :is(.softaculous-modal-footer, .softaculous-modal-body) .btn-sso {
    display: inline-flex;
    align-items: center;
    min-height: var(--mvn-ctl-h);
    margin: 0;
    padding: 0 var(--mvn-btn-pad);
    border: var(--mvn-hair) solid var(--mvn-rule-2);
    border-radius: var(--mvn-r-ctl);
    background: var(--mvn-paper);
    color: var(--mvn-ink) !important;
    font-size: var(--mvn-t-small);
    font-weight: var(--mvn-w-medium);
    transform: none;
}
html.mvn-ui body.page-clientareaproductdetails :is(.softaculous-modal-footer, .softaculous-modal-body) .btn-sso:hover {
    border-color: var(--mvn-ink);
    background: var(--mvn-paper);
    transform: none;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal-footer .btn-sso:last-child:not(:first-child) {
    border-color: var(--mvn-accent);
    background: var(--mvn-accent);
    color: var(--mvn-on-accent) !important;
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal .action-item {
    border: var(--mvn-hair) solid var(--mvn-rule);
    border-radius: var(--mvn-r-ctl);
    background: var(--mvn-paper);
    color: var(--mvn-ink);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal .action-item:hover {
    border-color: var(--mvn-rule-2);
    background: var(--mvn-row-hover);
    color: var(--mvn-ink);
}
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal .action-item i,
html.mvn-ui body.page-clientareaproductdetails .softaculous-modal .action-item:hover i {
    color: var(--mvn-ink-3);
}

/* Wide screens: the panel's title hangs in the margin column, as a part's does. */
@media (min-width: 1280px) {
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget {
        display: grid;
        grid-template-columns: var(--mvn-margin-w) minmax(0, 1fr);
        align-items: start;
        column-gap: var(--mvn-margin-gap);
    }
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .widget-header {
        position: sticky;
        top: var(--mvn-s-5);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: var(--mvn-s-1);
        padding-block-start: var(--mvn-s-2);
    }
}

/* Phones: each site reflows into its address and version, then its actions. */
@media (max-width: 599.98px) {
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table thead {
        display: none;
    }
    html.mvn-ui body.page-clientareaproductdetails :is(.softaculous-sso-table, .softaculous-sso-table tbody) {
        display: block;
    }
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-content: start;
        gap: var(--mvn-s-1) var(--mvn-s-3);
        align-items: center;
        padding: var(--mvn-s-3) var(--mvn-frame-pad);
        border-block-start: var(--mvn-hair) solid var(--mvn-rule-soft);
    }
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table tr:first-child {
        border-block-start: 0;
    }
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-table td {
        padding: 0;
        border: 0;
    }
    html.mvn-ui body.page-clientareaproductdetails .softaculous-sso-widget .softaculous-sso-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        grid-column: 1 / -1;
        white-space: normal;
    }
}

/* 5. A reseller's accounts (includes/mvn/reseller.tpl): one framed list, a row per DirectAdmin
      account (address, disk and traffic meters), its tools on a line under it (.mvn-ra-tools:
      view the site, sign in to its WordPress, manage the account) and, with several WordPress
      sites, a line that unfolds them. Child combinators keep the sites' own rows out. */
html.mvn-ui .mvn-frame.is-accounts {
    --mvn-cols: minmax(0, 1fr) minmax(var(--mvn-col-meter), auto) minmax(var(--mvn-col-meter), auto);
}
html.mvn-ui .mvn-frame.is-accounts .mvn-ra-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--mvn-s-2);
}
/* The sign-in forms are only wrappers: their button is the row's action word. */
html.mvn-ui .mvn-frame.is-accounts form {
    display: contents;
}
/* The WordPress line spans the row, under its cells. */
html.mvn-ui .mvn-frame.is-accounts > .mvn-rows > .mvn-row > .mvn-row-fold {
    grid-column: 1 / -1;
    min-width: 0;
    margin-block-start: var(--mvn-s-1);
}
html.mvn-ui .mvn-frame.is-accounts .mvn-row-fold > .mvn-fold > summary {
    min-height: var(--mvn-act-h);
    font-size: var(--mvn-t-small);
    font-weight: var(--mvn-w-medium);
}
@media (max-width: 599.98px) {
    html.mvn-ui .mvn-frame.is-accounts > .mvn-rows > .mvn-row {
        grid-template-areas:
            "main main"
            "cells cells"
            "tools tools"
            "fold fold";
    }
    html.mvn-ui .mvn-frame.is-accounts > .mvn-rows > .mvn-row > .mvn-row-fold {
        grid-area: fold;
    }
    html.mvn-ui .mvn-frame.is-accounts > .mvn-rows > .mvn-row > .mvn-row-fold.mvn-ra-tools {
        grid-area: tools;
    }
    html.mvn-ui .mvn-frame.is-accounts .mvn-row-cells > .mvn-cell {
        flex: 1 1 100%;
    }
    /* The column labels are gone on phones: each meter names itself (.mvn-sr pins itself
       with !important, so the label needs it back). */
    html.mvn-ui .mvn-frame.is-accounts .mvn-cell > .mvn-sr {
        position: static !important;
        display: block;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        color: var(--mvn-ink-3);
        font-size: var(--mvn-t-caption);
    }
}
@media (pointer: coarse) {
    html.mvn-ui .mvn-frame.is-accounts .mvn-row-fold > .mvn-fold > summary {
        min-height: var(--mvn-touch);
    }
}

/* 6. A reseller's page in tabs (clientareaproductdetails.tpl, owner 2026-10-29): the tabs under the
      bar, then one panel; the accounts tab opens with its tools on one line (the hosting sign-in,
      the password change, and the search by domain at the end). */
html.mvn-ui .mvn-page-tabs {
    margin-block-end: var(--mvn-s-2);
}
/* A panel spaces its parts like the page does */
html.mvn-ui .mvn-tab-panel {
    display: flex;
    flex-direction: column;
    gap: var(--mvn-page-gap);
    min-width: 0;
}
html.mvn-ui .mvn-tab-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--mvn-s-2);
}
html.mvn-ui .mvn-tab-tools .mvn-ra-find {
    margin-inline-start: auto;
}

/* 7. A sign-in's waiting page (MvnReseller::waitAndExit), alone in its new tab while the sign-in is
      prepared: the logo, a ring turning in the accent, one line and the site, centred. */
html.mvn-ui body.mvn-wait-page {
    margin: 0;
    background: var(--mvn-page);
    color: var(--mvn-ink-2);
    font-family: var(--mvn-font);
}
html.mvn-ui .mvn-wait {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--mvn-s-3);
    min-height: 100vh;
    padding: var(--mvn-gutter);
    text-align: center;
}
html.mvn-ui .mvn-wait img {
    margin-block-end: var(--mvn-s-5);
}
html.mvn-ui .mvn-wait-spin {
    inline-size: var(--mvn-s-8);
    block-size: var(--mvn-s-8);
    border: var(--mvn-line) solid var(--mvn-rule);
    border-block-start-color: var(--mvn-accent);
    border-radius: 50%;
    animation: mvn-spin 0.8s linear infinite;
}
html.mvn-ui .mvn-wait-title {
    margin: var(--mvn-s-2) 0 0;
    color: var(--mvn-ink);
    font-size: var(--mvn-t-part);
    font-weight: var(--mvn-w-strong);
    line-height: var(--mvn-lh-ui);
}
html.mvn-ui .mvn-wait-site {
    color: var(--mvn-ink);
    font-size: var(--mvn-t-body);
}
html.mvn-ui .mvn-wait-note {
    margin: 0;
    color: var(--mvn-ink-3);
    font-size: var(--mvn-t-small);
}
@media (prefers-reduced-motion: reduce) {
    html.mvn-ui .mvn-wait-spin {
        animation-duration: 2.4s;
    }
}

/* 8. "הוספת אתר" (includes/mvn/reseller-add.tpl): the shared form components; the button that fills
      strong WordPress details spans the frame, under the user name and the password. */
html.mvn-ui .mvn-fields > .mvn-btns {
    grid-column: 1 / -1;
}

/* 9. The creation's progress page (MvnReseller::makePage), alone in its tab like the waiting page
      (section 7): the logo, the title and the domain centred, then the steps as a framed list, each
      with its state tag (the running one's dot breathes), then the outcome and its buttons. */
html.mvn-ui .mvn-make {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--mvn-s-5);
    width: 100%;
    max-width: calc(var(--mvn-form-w) + 2 * var(--mvn-gutter));
    margin-inline: auto;
    padding: var(--mvn-s-8) var(--mvn-gutter);
}
/* No Lagom here: its rule hides [hidden] in the client area, and the keyboard's ring there is
   scoped to body.lagom (mvn-ui.css section 2); both standalone pages get the same ring. */
html.mvn-ui .mvn-make [hidden] {
    display: none;
}
html.mvn-ui body.mvn-wait-page :focus-visible {
    outline: var(--mvn-ring) solid var(--mvn-focus);
    outline-offset: var(--mvn-ring-gap);
}
/* The title takes the focus when the outcome arrives (for screen readers); it is not a control */
html.mvn-ui body.mvn-wait-page .mvn-make-title:focus {
    outline: none;
}
html.mvn-ui .mvn-make-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mvn-s-2);
    text-align: center;
}
html.mvn-ui .mvn-make-head img {
    margin-block-end: var(--mvn-s-4);
}
html.mvn-ui .mvn-make-title {
    margin: 0;
    color: var(--mvn-ink);
    font-size: var(--mvn-t-part);
    font-weight: var(--mvn-w-strong);
    line-height: var(--mvn-lh-ui);
}
html.mvn-ui .mvn-make-site {
    color: var(--mvn-ink);
    font-size: var(--mvn-t-body);
}
/* A step's note, name servers and the provider's words wrap under its name */
html.mvn-ui .mvn-make-steps .mvn-row-sub {
    white-space: normal;
    overflow-wrap: anywhere;
}
html.mvn-ui .mvn-make-steps .mvn-row[data-state="run"] .mvn-state::before {
    animation: mvn-make-breathe var(--mvn-dur-spin) var(--mvn-ease) infinite alternate;
}
@keyframes mvn-make-breathe {
    to { opacity: 0; }
}
html.mvn-ui .mvn-make-end {
    display: flex;
    flex-direction: column;
    gap: var(--mvn-s-4);
}
html.mvn-ui .mvn-make-errors {
    margin: 0;
    padding-inline-start: var(--mvn-s-4);
}
@media (prefers-reduced-motion: reduce) {
    html.mvn-ui .mvn-make-steps .mvn-row[data-state="run"] .mvn-state::before {
        animation: none;
    }
}
@media (max-width: 599.98px) {
    html.mvn-ui .mvn-make {
        padding-block: var(--mvn-s-6);
    }
    html.mvn-ui .mvn-make-end .mvn-btns > * {
        flex: 1 1 100%;
    }
    html.mvn-ui .mvn-make-end .mvn-btns .mvn-btn {
        width: 100%;
    }
}

/* 10. A regular hosting package's mailboxes (includes/mvn/hosting-mail.tpl, its "תיבות דואר" tab):
       one framed list, a row per mailbox (its address, the usage meter, "כניסה לתיבה"). The
       sign-in form is only a wrapper: its button is the row's action. */
html.mvn-ui .mvn-frame.is-mailboxes {
    --mvn-cols: minmax(0, 1fr) minmax(var(--mvn-col-meter), auto) auto;
}
html.mvn-ui .mvn-frame.is-mailboxes form {
    display: contents;
}
@media (max-width: 599.98px) {
    /* The address takes the whole line; the meter and the sign-in share the next one. */
    html.mvn-ui .mvn-frame.is-mailboxes > .mvn-rows > .mvn-row {
        grid-template-areas:
            "main main"
            "cells acts";
        align-items: end;
    }
    html.mvn-ui .mvn-frame.is-mailboxes .mvn-row-cells > .mvn-cell {
        flex: 1 1 100%;
    }
    /* The column labels are gone on phones: the meter names itself (.mvn-sr pins itself with
       !important, so the label needs it back). */
    html.mvn-ui .mvn-frame.is-mailboxes .mvn-cell > .mvn-sr {
        position: static !important;
        display: block;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        color: var(--mvn-ink-3);
        font-size: var(--mvn-t-caption);
    }
}

/* 11. A regular hosting package's WordPress sites (includes/mvn/hosting-sites.tpl, its "אתרים" tab),
       as the reseller page's site rows: one framed list, a row per site (its address and version),
       "צפייה באתר" and "התחברות לאתר" at its end. The sign-in form is only a wrapper. On phones the
       address takes its line and the buttons the next. */
html.mvn-ui .mvn-frame.is-sites {
    --mvn-cols: minmax(0, 1fr) auto;
}
html.mvn-ui .mvn-frame.is-sites form {
    display: contents;
}
html.mvn-ui .mvn-frame.is-sites .mvn-row-acts {
    flex-wrap: wrap;
    gap: var(--mvn-s-2);
}
@media (max-width: 599.98px) {
    html.mvn-ui .mvn-frame.is-sites > .mvn-rows > .mvn-row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "acts";
    }
    html.mvn-ui .mvn-frame.is-sites .mvn-row-acts {
        flex-direction: row;
        justify-content: flex-start;
    }
}

/* 9. The service list as a simple table (owner, 2026-11-04): the service, what it costs, when it
      renews, its state, then the control panel's door and "ניהול". The price's period is quiet. */
html.mvn-ui .mvn-frame.is-services.is-priced {
    --mvn-cols: minmax(0, 1fr) minmax(var(--mvn-col-amount), auto) minmax(var(--mvn-col-date), auto) minmax(var(--mvn-col-state), auto) minmax(var(--mvn-col-acts), auto);
}
html.mvn-ui .mvn-frame.is-priced .mvn-cell small {
    display: inline;
}
@media (max-width: 599.98px) {
    /* Phones: the title, then what it costs, when it renews and its state, then its actions */
    html.mvn-ui .mvn-frame.is-services.is-priced .mvn-row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "cells"
            "acts";
    }
    html.mvn-ui .mvn-frame.is-services.is-priced .mvn-row-acts {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: var(--mvn-s-1) var(--mvn-s-5);
    }
}
