/* The create-site page (CMS-L99).
   ==================================================================
   The page the blue design draws, translated into this panel's CSS: a
   light canvas, three plan cards with one dark recommendation, capsule
   capacity rows, a shared-tools panel, a comparison table and a bar that
   floats over the bottom of the page carrying the choice.

   The mobile menu shares its bottom clearance with the form on this route.
   The owner design system (owner-ds.css) still dresses the controls that
   live inside the result dialog: the dialog itself is an ordinary
   .ow-dialog.

   Every measurement is the design's, read from its own sheet. The blue is
   #0770c6 and appears in exactly four places, as the design uses it: the
   ring of the selected card, the selection label, focus feedback and the
   bar's action. Everything else is neutral. */

.cms-owner-panel .ow-create {
    /* The design's palette, named by what it is for. */
    --owc-canvas: #f4f4f4;
    --owc-card: #e9e9e9;
    --owc-deep: #111111;
    --owc-ink: #111111;
    --owc-text: #646464;
    --owc-muted: #737373;
    --owc-line: #e2e2e2;
    --owc-accent: #0770c6;
    --owc-accent-hover: #065da5;

    background: var(--owc-canvas);
    color: #161616;
    /* The panel sets 310 on its root; the design's body is 500, and the
       installed IRANYekanXVF reads thin (and at 400, broken) below Medium —
       which is what made this page's type look wrong next to the design. */
    font-weight: 500;
    /* The design clips its page in this axis, and so does this one: the
       comparison table is wider than a phone and must scroll inside its own
       box, not widen the document. Without this the page scrolled sideways on
       a narrow screen (measured: 559px of document for a 390px viewport, while
       the sites list beside it stayed at 390). */
    overflow-x: clip;
    /* The header is fixed and 48px tall; the canvas starts under it, so the
       page reads as one sheet rather than a card floating on white. */
    margin-block-start: 48px;
    min-block-size: calc(100dvh - 48px);
    padding: 42px 32px 150px;
}

.cms-owner-panel .ow-create *,
.cms-owner-panel .ow-create *::before,
.cms-owner-panel .ow-create *::after {
    box-sizing: border-box;
}

.cms-owner-panel .ow-create :is(button, a):focus-visible {
    outline: 2px solid var(--owc-accent);
    outline-offset: 3px;
}

.cms-owner-panel .owc-visually-hidden {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.cms-owner-panel .owc-form {
    max-inline-size: 1200px;
    margin-inline: auto;
}

/* ── Intro: what this page is, and the one question ─────────────────── */

.cms-owner-panel .owc-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-block-end: 30px;
    text-align: center;
}

.cms-owner-panel .owc-eyebrow {
    padding: 5px 14px;
    border: 1px solid #cdcdcd;
    border-radius: 100px;
    background: #e4e4e4;
    color: #404040;
    font-size: 14px;
    line-height: 1.8;
}

.cms-owner-panel .owc-title {
    margin: 15px 0 8px;
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -1.6px;
    color: var(--owc-ink);
}

.cms-owner-panel .owc-title-soft {
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.cms-owner-panel .owc-description {
    margin: 0;
    color: #6b6b6b;
    font-size: 16px;
    line-height: 1.9;
}

.cms-owner-panel .owc-field {
    inline-size: 100%;
    max-inline-size: 440px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: start;
}

.cms-owner-panel .owc-field__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.cms-owner-panel .owc-field__label {
    font-weight: 500;
}

.cms-owner-panel .owc-field__hint {
    font-size: 14px;
    color: #6b6b6b;
}

.cms-owner-panel .owc-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-inline: 14px;
    border: 1px solid #cdcdcd;
    border-radius: 14px;
    background: #f9f9f9;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.cms-owner-panel .owc-input:focus-within {
    border-color: var(--owc-accent);
    box-shadow: 0 0 0 3px #0770c614;
}

.cms-owner-panel .owc-input--invalid {
    border-color: #bd3f46;
}

.cms-owner-panel .owc-input__icon {
    display: flex;
    color: #777;
}

.cms-owner-panel .owc-input__field {
    inline-size: 100%;
    min-inline-size: 0;
    block-size: 48px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #222;
    font-family: inherit;
    font-size: 16px;
}

.cms-owner-panel .owc-input__field::placeholder {
    color: #757575;
    opacity: 1;
}

.cms-owner-panel .owc-error {
    margin: 0;
    color: #ad343e;
    font-size: 14px;
    line-height: 1.8;
}

/* ── Plans: the switch, the cards, the choice ────────────────────────── */

.cms-owner-panel .owc-plans__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-block-end: 32px;
    text-align: center;
}

.cms-owner-panel .owc-plans__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: #292929;
}

.cms-owner-panel .owc-plans__note {
    margin: 3px 0 0;
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.9;
}

.cms-owner-panel .owc-periods {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 100px;
    background: #dfdfdf;
    flex-wrap: wrap;
}

.cms-owner-panel .owc-period {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-block-size: 42px;
    padding: 8px 17px;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: #4d4d4d;
    font-family: inherit;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.cms-owner-panel .owc-period--active {
    background: var(--owc-ink);
    color: #fff;
}


.cms-owner-panel .owc-period__badge {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
}

.cms-owner-panel .owc-period--active .owc-period__badge {
    opacity: 0.7;
}
.cms-owner-panel .owc-plans__empty {
    margin: 0;
    padding: 28px;
    border: 1px dashed #cfcfcf;
    border-radius: 22px;
    background: #fafafa;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.cms-owner-panel .owc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding: 0;
    margin: 0;
    border: 0;
    min-inline-size: 0;
}

/* A catalogue with fewer plans than the design's three: two cards share the
   row rather than leaving a third of the page empty, and one card takes the
   whole width (the row is the design's, the count is the seller's). */
@media (min-width: 901px) {
    .cms-owner-panel .owc-grid:has(> .owc-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cms-owner-panel .owc-grid:has(> .owc-card:only-child) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cms-owner-panel .owc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-inline-size: 0;
    padding: 28px 24px 22px;
    border: 1px solid transparent;
    border-radius: 30px;
    background: var(--owc-card);
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cms-owner-panel .owc-card:hover {
    border-color: #a5a5a5;
}

.cms-owner-panel .owc-card--selected,
.cms-owner-panel .owc-card--selected:hover {
    border-color: var(--owc-accent);
    box-shadow: 0 0 0 3px var(--owc-canvas), 0 0 0 5px var(--owc-accent);
}

.cms-owner-panel .owc-card--dark {
    background: var(--owc-deep);
    color: #f4f4f4;
}

/* The radio is the design's: hidden, and the card draws the focus. */
.cms-owner-panel .owc-card:has(input:focus-visible) {
    outline: 3px solid var(--owc-accent);
    outline-offset: 7px;
}

.cms-owner-panel .owc-card__badge {
    position: absolute;
    inset-block-start: -12px;
    inset-inline-end: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 100px;
    block-size: 100px;
    padding: 15px;
    border: 10px solid var(--owc-canvas);
    border-radius: 50%;
    background: var(--owc-deep);
    color: #fff;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.cms-owner-panel .owc-card__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    min-block-size: 38px;
}

.cms-owner-panel .owc-card__name {
    display: inline-flex;
    flex-shrink: 0;
    margin: 0;
    padding: 4px 13px;
    border: 1px solid #c0c0c0;
    border-radius: 100px;
    background: #d7d7d7;
    color: #272727;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.cms-owner-panel .owc-card__name label {
    cursor: pointer;
}

.cms-owner-panel .owc-card__controls {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.cms-owner-panel .owc-card__chosen {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 100px;
    background: #eaf3fb;
    color: var(--owc-accent);
    font-size: 14px;
    line-height: 1.8;
}

.cms-owner-panel .owc-card__radio {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.cms-owner-panel .owc-card__description {
    margin: 12px 0 7px;
    min-block-size: 56px;
    color: var(--owc-text);
    font-size: 16px;
    line-height: 1.8;
}

.cms-owner-panel .owc-card__meta {
    margin-block: 20px 5px;
    min-block-size: 28px;
    font-size: 14px;
    line-height: 1.7;
    color: #676767;
}

.cms-owner-panel .owc-card__old {
    text-decoration: line-through;
    text-decoration-color: currentColor;
}

.cms-owner-panel .owc-card__discount {
    padding: 1px 6px;
    border-radius: 4px;
    background: #e2e2e2;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.7;
}

.cms-owner-panel .owc-card--dark .owc-card__discount {
    background: #2e2e2e;
    color: #d0d0d0;
}
.cms-owner-panel .owc-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    min-block-size: 57px;
}

.cms-owner-panel .owc-card__amount {
    color: #141414;
    font-size: clamp(30px, 2.9vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.7px;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.cms-owner-panel .owc-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
/* The rolling price: one window per digit over a column of ۰–۹. */
.cms-owner-panel .owc-card__amount .owc-reel {
    display: inline-flex;
    align-items: flex-start;
    direction: ltr;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cms-owner-panel .owc-reel__window {
    display: inline-block;
    block-size: 1.2em;
    overflow: clip;
    flex: none;
}

.cms-owner-panel .owc-reel__track {
    display: flex;
    flex-direction: column;
    inline-size: max-content;
    line-height: 1.2;
}

.cms-owner-panel .owc-reel__face {
    display: grid;
    place-items: center;
    block-size: 1.2em;
    line-height: 1.2em;
    flex: none;
}

.cms-owner-panel .owc-reel__separator {
    display: inline-block;
    block-size: 1.2em;
    line-height: 1.2em;
    flex: none;
}

/* A reader who asked for less motion gets a short step, not a jump: the number
   still moves, it just does not run. (Windows Server and remote sessions often
   report reduce by default, which is how a server showed no roll at all.) */
@media (prefers-reduced-motion: reduce) {
    .cms-owner-panel .owc-reel__track {
        transition-duration: 120ms !important;
    }
}
.cms-owner-panel .owc-card__unit {
    color: #676767;
    font-size: 14px;
}

.cms-owner-panel .owc-card__period {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-block-size: 54px;
    margin-block-start: 5px;
    color: #666666;
    font-size: 14px;
    line-height: 1.9;
}

.cms-owner-panel .owc-card__gift {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b4b67;
}

.cms-owner-panel .owc-card__unavailable {
    margin: 0 0 8px;
    color: #ad343e;
    font-size: 14px;
    line-height: 1.8;
}

.cms-owner-panel .owc-card__caps-label {
    display: block;
    margin-block: 18px 10px;
    color: #636363;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.cms-owner-panel .owc-card__caps {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.cms-owner-panel .owc-cap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-block-size: 46px;
    padding: 8px 12px;
    border-radius: 100px;
    background: #f2f2f2;
    color: #434343;
    font-size: 14px;
    line-height: 1.9;
}

.cms-owner-panel .owc-cap b {
    font-weight: 600;
}

.cms-owner-panel .owc-cap__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    inline-size: 23px;
    block-size: 23px;
    border-radius: 50%;
    background: var(--owc-ink);
    color: #fff;
}

.cms-owner-panel .owc-cap__icon svg {
    inline-size: 13px;
    block-size: 13px;
}






.cms-owner-panel .owc-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    inline-size: 100%;
    min-block-size: 48px;
    margin-block-start: auto;
    padding: 10px 12px;
    border: 1px solid var(--owc-ink);
    border-radius: 100px;
    background: var(--owc-ink);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 160ms ease;
}

.cms-owner-panel .owc-card__action:hover:not(:disabled) {
    background: #323232;
}

.cms-owner-panel .owc-card__action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cms-owner-panel .owc-card__note {
    display: block;
    margin-block-start: 10px;
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

/* The dark card keeps the same anatomy in its own scheme. */
.cms-owner-panel .owc-card--dark .owc-card__name {
    border-color: #424242;
    background: #232323;
    color: #f4f4f4;
}

.cms-owner-panel .owc-card--dark .owc-card__description,
.cms-owner-panel .owc-card--dark .owc-card__meta,
.cms-owner-panel .owc-card--dark .owc-card__unit,
.cms-owner-panel .owc-card--dark .owc-card__period,
.cms-owner-panel .owc-card--dark .owc-card__caps-label,
.cms-owner-panel .owc-card--dark .owc-card__note {
    color: #a7a7a7;
}

.cms-owner-panel .owc-card--dark .owc-card__amount {
    color: #f4f4f4;
}

.cms-owner-panel .owc-card--dark .owc-card__period .owc-card__gift,
.cms-owner-panel .owc-card--dark .owc-card__gift {
    color: #c9c9c9;
}

.cms-owner-panel .owc-card--dark .owc-card__caps-label,




.cms-owner-panel .owc-card--dark .owc-cap {
    background: #272727;
    color: #e9e9e9;
}

.cms-owner-panel .owc-card--dark .owc-cap__icon {
    background: #f0f0f0;
    color: #151515;
}

.cms-owner-panel .owc-card--dark .owc-card__action {
    border-color: #f0f0f0;
    background: #f0f0f0;
    color: #151515;
}

.cms-owner-panel .owc-card--dark .owc-card__action:hover:not(:disabled) {
    background: #d6d6d6;
}

.cms-owner-panel .owc-card--dark .owc-card__chosen {
    background: #f5f5f5;
    color: #111;
}

/* ── The tools every plan has ────────────────────────────────────────── */

.cms-owner-panel .owc-shared {
    margin-block-start: 64px;
    padding: 27px 28px 0;
    border: 1px solid #dedede;
    border-radius: 24px;
    background: #fafafa;
}

.cms-owner-panel .owc-shared__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block-end: 25px;
    border-block-end: 1px solid #ededed;
}

.cms-owner-panel .owc-shared__title {
    margin: 0 0 5px;
    color: #222;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.8;
}

.cms-owner-panel .owc-shared__note {
    margin: 0;
    color: #737373;
    font-size: 14px;
    line-height: 1.9;
}

.cms-owner-panel .owc-shared__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 7px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    background: #f8f8f8;
    color: #555;
    font-size: 14px;
}

.cms-owner-panel .owc-shared__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.cms-owner-panel .owc-shared__item {
    padding: 24px 18px 25px;
    text-align: center;
}

.cms-owner-panel .owc-shared__item + .owc-shared__item {
    border-inline-start: 1px solid #ededed;
}

.cms-owner-panel .owc-shared__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 46px;
    block-size: 46px;
    margin-block-end: 10px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #f7f7f7;
    color: #333;
}

.cms-owner-panel .owc-shared__item h3 {
    margin: 0 0 4px;
    color: #292929;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
}

.cms-owner-panel .owc-shared__item p {
    margin: 0;
    color: #737373;
    font-size: 14px;
    line-height: 1.9;
}

/* ── The comparison table ────────────────────────────────────────────── */

.cms-owner-panel .owc-compare {
    margin-block-start: 36px;
}

.cms-owner-panel .owc-compare__head {
    margin-block-end: 20px;
}

.cms-owner-panel .owc-compare__title {
    margin: 0;
    color: #292929;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
}

.cms-owner-panel .owc-compare__note {
    margin: 3px 0 0;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.9;
}

.cms-owner-panel .owc-compare__hint {
    display: none;
    margin: 8px 0 0;
    color: #707070;
    font-size: 14px;
    line-height: 1.8;
}

.cms-owner-panel .owc-table-wrap {
    inline-size: 100%;
    overflow-x: auto;
    border: 1px solid #dadada;
    border-radius: 22px;
    background: #f9f9f9;
    overscroll-behavior-x: contain;
}

.cms-owner-panel .owc-table-wrap:focus-visible {
    outline: 2px solid var(--owc-accent);
    outline-offset: 3px;
}

.cms-owner-panel .owc-table {
    inline-size: 100%;
    min-inline-size: 650px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.cms-owner-panel .owc-table__head {
    padding: 15px 16px;
    border-block-end: 1px solid var(--owc-line);
    background: #f9f9f9;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.cms-owner-panel .owc-table__feature-head {
    inline-size: 31%;
    position: sticky;
    inset-inline-start: 0;
    z-index: 2;
    border-inline-end: 1px solid #d7d7d7;
    background: #e9e9e9;
    color: #292929;
    font-size: 16px;
    font-weight: 700;
    text-align: start;
}

.cms-owner-panel .owc-table__plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    inline-size: 100%;
    min-block-size: 50px;
    padding: 5px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.cms-owner-panel .owc-table__plan:hover {
    background: #ececec;
}

.cms-owner-panel .owc-table__plan[aria-pressed="true"] {
    background: #e5e5e5;
}

.cms-owner-panel .owc-table__plan-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.cms-owner-panel .owc-table__plan[aria-pressed="true"] .owc-table__plan-name {
    color: #0562ab;
}

.cms-owner-panel .owc-table__plan-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #5c5c5c;
    font-size: 14px;
    font-weight: 500;
}

.cms-owner-panel .owc-table__col--selected {
    background: #f7f7f7;
}

.cms-owner-panel .owc-table__group {
    padding: 10px 16px;
    border-block-end: 1px solid #e9e9e9;
    background: #e4e4e4;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
    text-align: start;
}

.cms-owner-panel .owc-table__group-title {
    color: #383838;
}

.cms-owner-panel .owc-table__group-note {
    margin-inline-start: 16px;
    color: #737373;
    font-weight: 500;
}

.cms-owner-panel .owc-table__label {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    padding: 12px 16px;
    border-block-end: 1px solid #ededed;
    border-inline-end: 1px solid #dedede;
    background: #f0f0f0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
    text-align: start;
    vertical-align: middle;
}

.cms-owner-panel .owc-table__label-icon {
    display: inline-flex;
    margin-inline-end: 10px;
    color: #555;
    vertical-align: middle;
}

.cms-owner-panel .owc-table__cell {
    padding: 12px;
    border-block-end: 1px solid #ededed;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    overflow-wrap: anywhere;
}

.cms-owner-panel .owc-table__included {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 35px;
    block-size: 35px;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
    background: #fff;
    color: #444;
    vertical-align: middle;
}


/* ── The note under the table ────────────────────────────────────────── */

.cms-owner-panel .owc-ai-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding-block-start: 18px;
    color: #6d6d6d;
    font-size: 14px;
    line-height: 1.9;
}

/* ── The bar: what is chosen, what it costs, and the action ──────────── */

.cms-owner-panel .ow-create::after {
    content: "";
    position: fixed;
    z-index: 9;
    inset-inline-start: 76px;
    inset-inline-end: 0;
    bottom: 0;
    block-size: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, #f4f4f400 0%, #f4f4f4a8 36%, #f4f4f4f0 72%, #f4f4f4 100%);
}

.cms-owner-panel .owc-bar {
    position: fixed;
    z-index: 20;
    inset-inline-start: calc(76px + 24px);
    inset-inline-end: 24px;
    bottom: 16px;
    margin-inline: auto;
    max-inline-size: 1136px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    border: 1px solid #d1d1d1;
    border-radius: 22px;
    background: #f9f9f9;
    box-shadow: 0 6px 24px #1d1d1d0b;
}

/* The rail's own two widths (cms-owner.css): pinning the sidebar moves the
   page 248px, so the bar and its fade follow it. Otherwise the copy sits
   behind the sidebar, which paints above both. */
.cms-owner-panel:has(.header-open-rtl) .ow-create::after {
    inset-inline-start: 254px;
}

.cms-owner-panel:has(.header-open-rtl) .owc-bar {
    inset-inline-start: calc(254px + 24px);
}

.cms-owner-panel .owc-bar__copy {
    flex: 1;
    min-inline-size: 0;
}

.cms-owner-panel .owc-bar__title {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
}

.cms-owner-panel .owc-bar__detail {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cms-owner-panel .owc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    min-block-size: 46px;
    min-inline-size: 190px;
    padding: 11px 18px;
    border: 1px solid var(--owc-accent);
    border-radius: 100px;
    background: var(--owc-accent);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    transition: background 160ms ease, border-color 160ms ease;
}

.cms-owner-panel .owc-cta:hover:not(:disabled) {
    border-color: var(--owc-accent-hover);
    background: var(--owc-accent-hover);
}

.cms-owner-panel .owc-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* A refusal the page has to say out loud, above the bar — and above the
   dialog layer, because a refusal raised from inside the result dialog (a
   gateway that would not open, an invoice that would not re-read) is useless
   if the modal covers it. The dialog layer is z-index 2000. */
.cms-owner-panel .owc-toast {
    position: fixed;
    z-index: 2400;
    inset-inline: 0;
    bottom: 96px;
    margin-inline: auto;
    inline-size: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
    max-inline-size: min(560px, calc(100vw - 32px));
    padding: 10px 12px 10px 16px;
    border: 1px solid #f3c6c2;
    border-radius: 12px;
    background: #fef3f2;
    color: #912018;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 6px 24px #1d1d1d14;
}

.cms-owner-panel .owc-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 26px;
    block-size: 26px;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

/* ── The result dialog's own frames ──────────────────────────────────── */

.cms-owner-panel .ow-create-outcome .ow-dialog__heading {
    text-align: start;
}

.cms-owner-panel .ow-create-outcome .ow-tasks {
    margin-block: 4px 16px;
}

.cms-owner-panel .ow-create-outcome .ow-notice {
    margin-block-start: 4px;
}

/* ── Narrow screens ──────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .cms-owner-panel .owc-grid {
        gap: 14px;
    }

    .cms-owner-panel .owc-card {
        padding-inline: 18px;
    }

    /* The design stacks the card's heading here, so the selection label
       and the recommendation badge do not fight for one row. */
    .cms-owner-panel .owc-card__head {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        block-size: 84px;
        min-block-size: 84px;
        gap: 10px;
    }

    .cms-owner-panel .owc-card__controls {
        min-block-size: 33px;
    }
}

@media (max-width: 900px) {
    .cms-owner-panel .owc-compare__hint {
        display: block;
    }

    .cms-owner-panel .owc-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cms-owner-panel .owc-card {
        padding: 24px;
    }

    .cms-owner-panel .owc-card__head {
        block-size: auto;
        min-block-size: 38px;
    }

    .cms-owner-panel .owc-card__amount {
        font-size: 39px;
    }

    .cms-owner-panel .owc-card__description {
        min-block-size: auto;
    }
}

@media (max-width: 1000px) {
    .cms-owner-panel .owc-shared__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cms-owner-panel .owc-shared__item:nth-child(4) {
        border-inline-start: 0;
    }
}

@media (max-width: 767px) {
    .cms-owner-panel:has(.ow-create) {
        --owc-safe-bottom: env(safe-area-inset-bottom, 0px);
        --owc-menu-height: calc(88px + var(--owc-safe-bottom));
        --owc-menu-clearance: calc(var(--owc-menu-height) + 8px);
    }

    .cms-owner-panel:has(.ow-create) .mobile-menu-section {
        box-sizing: border-box;
        block-size: var(--owc-menu-height);
        padding-block-end: calc(12px + var(--owc-safe-bottom));
    }

    .cms-owner-panel:has(.ow-create) .mobile-menu-content {
        box-sizing: border-box;
        block-size: 100%;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        padding: 6px 8px;
    }

    .cms-owner-panel:has(.ow-create) .mobile-menu-item {
        padding: 0 2px;
        text-align: center;
    }

    .cms-owner-panel:has(.ow-create) .mobile-menu-item-title {
        line-height: 14px;
        overflow-wrap: anywhere;
    }

    .cms-owner-panel .ow-create {
        padding: 24px 16px var(--owc-menu-clearance);
    }

    .cms-owner-panel .ow-create::after {
        content: none;
    }

    .cms-owner-panel .ow-create .owc-bar {
        position: sticky;
        inset-inline: auto;
        inset-block-end: var(--owc-menu-clearance);
        margin-block-start: 20px;
        gap: 8px;
        flex-wrap: wrap;
        padding: 10px 12px;
        border-radius: 18px;
    }

    .cms-owner-panel .owc-bar__copy {
        flex-basis: 12rem;
        overflow-wrap: anywhere;
    }

    .cms-owner-panel .owc-cta {
        flex: 1 0 auto;
        min-inline-size: 0;
        max-inline-size: 100%;
        padding: 11px 12px;
        gap: 7px;
        font-size: 14px;
    }

    .cms-owner-panel .owc-toast {
        inset-block: 60px auto;
        overflow-wrap: anywhere;
    }

    .cms-owner-panel .owc-title {
        letter-spacing: -0.8px;
        font-size: clamp(31px, 7.3vw, 48px);
    }

    .cms-owner-panel .owc-intro {
        gap: 18px;
    }

    .cms-owner-panel .owc-field__row {
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    .cms-owner-panel .owc-plans__head {
        gap: 15px;
        margin-block-end: 26px;
    }

    .cms-owner-panel .owc-periods {
        justify-content: center;
        max-inline-size: 100%;
        border-radius: 24px;
    }

    .cms-owner-panel .owc-period {
        max-inline-size: 100%;
        padding-inline: 14px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .cms-owner-panel .owc-card {
        padding: 18px;
        overflow-wrap: anywhere;
    }

    .cms-owner-panel .owc-card__badge {
        position: static;
        align-self: flex-end;
        inline-size: auto;
        block-size: auto;
        margin-block-end: 10px;
        padding: 3px 10px;
        border: 1px solid #666;
        border-radius: 14px;
    }

    .cms-owner-panel .owc-card__head {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .cms-owner-panel .owc-card__name {
        max-inline-size: 100%;
    }

    .cms-owner-panel .owc-card__amount {
        font-size: clamp(24px, 7.5vw, 36px);
    }

    .cms-owner-panel .owc-compare__hint {
        display: block;
    }

    .cms-owner-panel .owc-compare__title {
        font-size: 21px;
    }

    .cms-owner-panel .owc-table-wrap {
        /* Keep the table's visually hidden labels inside its scroll area. */
        position: relative;
    }

    .cms-owner-panel .owc-shared {
        margin-block-start: 44px;
        padding: 20px 18px 0;
        border-radius: 20px;
    }

    .cms-owner-panel .owc-shared__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-block-end: 20px;
    }

    .cms-owner-panel .owc-shared__title {
        font-size: 20px;
    }

    .cms-owner-panel .owc-shared__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cms-owner-panel .owc-shared__item {
        padding: 20px 8px;
        border-block-end: 1px solid #ededed;
        border-inline-start: 0;
    }

    .cms-owner-panel .owc-shared__item:nth-child(even) {
        border-inline-start: 1px solid #ededed;
    }

    .cms-owner-panel .owc-shared__item:last-child {
        grid-column: 1 / -1;
        border-block-end: 0;
    }

    .cms-owner-panel .owc-ai-note {
        padding-block-start: 14px;
    }
}

@media (max-width: 767px) and (max-height: 480px) {
    .cms-owner-panel .ow-create .owc-bar {
        position: static;
    }
}

/* ── The panel's dark scheme ─────────────────────────────────────────── */

/* The design is drawn light. The panel is not, so the page keeps its shape
   and swaps its neutrals, rather than staying a bright sheet inside a dark
   chrome. The blue does not change: it is the reading direction of a
   choice, not a surface. */
:root[data-haya-scheme="dark"] .cms-owner-panel .ow-create {
    --owc-canvas: #17171b;
    --owc-card: #232329;
    --owc-deep: #0c0c0f;
    --owc-ink: #f2f2f4;
    --owc-text: #b7b7bd;
    --owc-muted: #9a9aa2;
    --owc-line: #2e2e35;

    color: #ececef;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-eyebrow {
    border-color: #3a3a42;
    background: #26262d;
    color: #d4d4da;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-title,
:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card__amount {
    color: #f2f2f4;
}

/* The headings and labels the light sheet paints with a fixed charcoal:
   on this canvas they would sit at about 1.6:1. */
:root[data-haya-scheme="dark"] .cms-owner-panel :is(
    .owc-field__row,
    .owc-field__label,
    .owc-plans__title,
    .owc-plans__note,
    .owc-shared__title,
    .owc-shared__item h3,
    .owc-compare__title,
    .owc-compare__note,
    .owc-compare__hint,
    .owc-ai-note,
    .owc-bar__detail,
    .owc-table__plan,
    .owc-table__group,
    .owc-card__meta,
    .owc-card__caps-label,
    .owc-description,
    .owc-card__description,
    .owc-shared__note,
    .owc-shared__item p) {
    color: #b7b7bd;
}


:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__plan:hover {
    background: #2a2a31;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__plan[aria-pressed="true"] {
    background: #2a2a31;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__group-note {
    color: #9a9aa2;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-shared__head,
:root[data-haya-scheme="dark"] .cms-owner-panel .owc-shared__item {
    border-color: #2e2e35;
}

/* The 14px greys and the danger text the light sheet paints on a light
   surface: on this canvas the same values drop to 2.5–3.8:1, so they take the
   next step the panel's own palette uses for dark surfaces. */
:root[data-haya-scheme="dark"] .cms-owner-panel :is(
    .owc-card__unit,
    .owc-card__period,
    .owc-card__note,
    .owc-plans__note,
    .owc-field__hint) {
    color: #a9a9b2;
}

:root[data-haya-scheme="dark"] .cms-owner-panel :is(.owc-error, .owc-card__unavailable) {
    color: #f2a7a2;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-period__badge {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
}

.cms-owner-panel .owc-period--active .owc-period__badge {
    opacity: 0.7;
}
.cms-owner-panel .owc-plans__empty {
    border-color: #34343c;
    background: #1c1c21;
    color: #a9a9b2;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-input__icon {
    color: #9a9aa2;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__plan[aria-pressed="true"] .owc-table__plan-name {
    color: #7cc3f5;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-input {
    border-color: #3a3a42;
    background: #1e1e24;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-input__field {
    color: #ececef;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-periods {
    background: #26262d;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-period {
    color: #b7b7bd;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-period--active {
    background: #f2f2f4;
    color: #15151a;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card {
    border-color: #2a2a31;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card--dark {
    border-color: #3a3a44;
    background: #0e0e12;
    /* On a dark canvas the design's near-black card all but disappears; a
       hairline keeps the one recommended plan visible without recolouring it. */
    box-shadow: 0 0 0 1px #2f2f37;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card--selected {
    box-shadow: 0 0 0 3px var(--owc-canvas), 0 0 0 5px var(--owc-accent);
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card__name {
    border-color: #3d3d45;
    background: #2b2b32;
    color: #e7e7ea;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card__chosen {
    background: #10293c;
    color: #79c2f2;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-cap {
    background: #2a2a31;
    color: #d8d8dd;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-cap__icon {
    background: #f0f0f0;
    color: #151515;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-card__action {
    border-color: #f0f0f0;
    background: #f0f0f0;
    color: #151515;
}


:root[data-haya-scheme="dark"] .cms-owner-panel .owc-shared {
    border-color: #2e2e35;
    background: #1c1c21;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-shared__item h3 {
    color: #e7e7ea;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-shared__icon {
    border-color: #34343c;
    background: #24242a;
    color: #d8d8dd;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-shared__badge {
    border-color: #34343c;
    background: #24242a;
    color: #c9c9cf;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table-wrap {
    border-color: #2e2e35;
    background: #1c1c21;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__head {
    border-block-end-color: #2e2e35;
    background: #1c1c21;
    color: #d8d8dd;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__feature-head {
    border-inline-end-color: #34343c;
    background: #26262d;
    color: #e7e7ea;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__group {
    border-block-end-color: #2e2e35;
    background: #26262d;
    color: #c9c9cf;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__label {
    border-block-end-color: #2a2a31;
    border-inline-end-color: #34343c;
    background: #232329;
    color: #dcdce1;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__cell {
    border-block-end-color: #2a2a31;
    color: #c4c4cb;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__col--selected {
    background: #24242b;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-table__included {
    border-color: #34343c;
    background: #24242a;
    color: #d8d8dd;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-bar {
    border-color: #34343c;
    background: #1f1f25;
    box-shadow: 0 6px 24px #00000059;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-bar__title {
    color: #e7e7ea;
}

:root[data-haya-scheme="dark"] .cms-owner-panel .ow-create::after {
    background: linear-gradient(to bottom, #17171b00 0%, #17171ba8 36%, #17171bf0 72%, #17171b 100%);
}

:root[data-haya-scheme="dark"] .cms-owner-panel .owc-toast {
    border-color: #5c2b28;
    background: #2a1715;
    color: #f2b8b5;
}
