/* Cronomagic Domains — theme v2 "Clear Sky".
   Design source: Claude Design canvas "Cronomagic Domains — Portal Redesign"
   (https://claude.ai/artifact/N7rDcBwM7YWBExMNa6mJmY), Foundations page.
   No CSS framework: base.css holds the reset, grid and utilities; this file holds the tokens (1),
   the core components such as buttons, forms, alerts, tables, menus and dialogs (2) and the cm- components (3). */

/* 1. Tokens =================================================================
   Blues and gold follow cronomagic.com (2026-11-11): brand #225AA9, hover #1B3F7A, deep navy #0D2A57,
   gold #FFCA05, tints #EAF1FB / #E3EBF6 / #F3F7FD. */
:root {
    --cm-navy-950: #0D2A57;
    --cm-navy-900: #102B4A;
    --cm-navy: #1B3F7A;
    --cm-blue: #225AA9;
    --cm-sky: #5B86C5;
    --cm-sky-100: #E3EBF6;
    --cm-ice: #EAF1FB;
    --cm-bg: #F6F8FB;
    --cm-surface: #FFFFFF;
    --cm-line: #DFE6EF;
    --cm-line-strong: #CFD9E5;
    --cm-field-border: #D3DCE8;
    --cm-ink: #13202F;
    --cm-ink-2: #34445A;
    --cm-muted: #5A6A7E;
    --cm-placeholder: #8C9AAB;
    --cm-red: #CC0000;
    --cm-red-700: #A30000;
    --cm-gold: #FFCA05;
    --cm-gold-100: #FFF6D1;
    --cm-green: #157347;
    --cm-green-100: #E4F4EA;
    --cm-amber: #8A5300;
    --cm-amber-100: #FFF1D1;
    --cm-danger: #B42318;
    --cm-danger-100: #FDECEA;
    --cm-info: #1F5F9E;
    --cm-info-100: #E5EFFA;

    --cm-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --cm-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    --cm-display: "Space Grotesk", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

    --cm-r-sm: 8px;
    --cm-r-md: 10px;
    --cm-r-lg: 14px;
    --cm-r-xl: 20px;

    --cm-shadow-sm: 0 1px 2px rgba(16, 43, 74, .06);
    --cm-shadow-md: 0 6px 20px rgba(16, 43, 74, .08);
    --cm-shadow-lg: 0 18px 48px rgba(11, 31, 54, .22);
    --cm-shadow-pop: 0 12px 32px rgba(16, 43, 74, .14), 0 2px 6px rgba(16, 43, 74, .06);

    --cm-ease: cubic-bezier(.2, .7, .2, 1);
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* 2. Core components ========================================================= */

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .66rem 1.15rem; border: 1px solid transparent; border-radius: var(--cm-r-md);
    background: transparent; color: var(--cm-ink);
    font: 600 15px/1.3 var(--cm-font); text-align: center; white-space: nowrap; vertical-align: middle;
    text-decoration: none !important; cursor: pointer; user-select: none;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 2px; }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn-sm { padding: .44rem .85rem; font-size: 14px; border-radius: var(--cm-r-sm); }
.btn-lg { padding: .88rem 1.5rem; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--cm-blue); border-color: var(--cm-blue); color: #fff; }
.btn-primary:hover { background: var(--cm-navy); border-color: var(--cm-navy); color: #fff; }
.btn-cta { background: var(--cm-red); border-color: var(--cm-red); color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 6px 16px rgba(204, 0, 0, .18); }
.btn-cta:hover { background: var(--cm-red-700); border-color: var(--cm-red-700); color: #fff; }
.btn-outline-primary { background: #fff; border-color: var(--cm-line-strong); color: var(--cm-blue); }
.btn-outline-primary:hover { background: var(--cm-ice); border-color: var(--cm-sky); color: var(--cm-navy); }
.btn-outline-secondary, .btn-light { background: #fff; border-color: var(--cm-line-strong); color: var(--cm-ink); }
.btn-outline-secondary:hover, .btn-light:hover { background: var(--cm-ice); border-color: var(--cm-sky); color: var(--cm-ink); }
.btn-outline-danger { background: #fff; border-color: #F0B8B2; color: var(--cm-danger); }
.btn-outline-danger:hover { background: var(--cm-danger-100); border-color: #E79A92; color: var(--cm-danger); }
.btn-danger { background: var(--cm-danger); border-color: var(--cm-danger); color: #fff; }
.btn-danger:hover { background: #8A1C13; border-color: #8A1C13; color: #fff; }
.btn-link { color: var(--cm-blue); padding-left: .6rem; padding-right: .6rem; }
.btn-link:hover { color: var(--cm-navy); background: var(--cm-ice); }
.btn-close {
    width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; flex: none;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334445A' stroke-width='2.2' stroke-linecap='round'%3e%3cpath d='M6 6l12 12M18 6 6 18'/%3e%3c/svg%3e") center / 16px no-repeat;
    opacity: .7; cursor: pointer;
}
.btn-close:hover { opacity: 1; background-color: rgba(19, 32, 47, .06); }

/* Form fields: white, quiet border, crisp 2px blue edge on focus (no glow) */
.form-label { display: inline-block; margin-bottom: .4rem; font-size: 13px; font-weight: 600; color: var(--cm-ink-2); letter-spacing: .005em; }
.form-label + .text-muted.small { font-size: 12.5px; font-weight: 500; }
.form-text { display: block; margin-top: .35rem; font-size: 12.5px; color: var(--cm-muted); }
.form-control, .form-select {
    display: block; width: 100%; min-height: 46px; padding: .62rem .9rem;
    border: 1px solid var(--cm-field-border); border-radius: var(--cm-r-md);
    background-color: #fff; color: var(--cm-ink);
    font: 500 15px/1.4 var(--cm-font);
    box-shadow: 0 1px 2px rgba(16, 43, 74, .04);
    appearance: none; -webkit-appearance: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.form-control::placeholder { color: var(--cm-placeholder); opacity: 1; }
.form-control:hover, .form-select:hover { border-color: #B7C5D6; }
.form-control:focus, .form-select:focus {
    outline: none; border-color: var(--cm-blue);
    box-shadow: inset 0 0 0 1px var(--cm-blue);
}
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: #F3F6FA; color: var(--cm-muted); box-shadow: none; }
textarea.form-control { min-height: 110px; line-height: 1.55; }
.form-control-sm, .form-select-sm { min-height: 38px; padding: .4rem .75rem; font-size: 14px; border-radius: var(--cm-r-sm); }
.form-control-lg, .form-select-lg { min-height: 54px; padding: .8rem 1rem; font-size: 17px; border-radius: 12px; }
.form-select {
    padding-right: 2.5rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6A7E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m7 10 5 5 5-5'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.input-validation-error, .input-validation-error:hover { border-color: var(--cm-danger) !important; }
.input-validation-error:focus { box-shadow: inset 0 0 0 1px var(--cm-danger) !important; }
.field-validation-error { display: block; margin-top: .35rem; font-size: 12.5px; font-weight: 600; }
.text-danger.small:empty { display: none; }

/* New-password checklist (Views/Shared/_PasswordRules, site.js): grey circle until met, then a green tick. */
.cm-pw-rules {
    list-style: none; margin: .6rem 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 6px 14px;
    font-size: 12.5px; color: var(--cm-muted);
}
.cm-pw-rules li { display: flex; align-items: center; gap: 7px; transition: color .15s var(--cm-ease); }
.cm-pw-rules li::before {
    content: ""; flex: none; width: 16px; height: 16px; box-sizing: border-box;
    border: 1.5px solid var(--cm-line-strong); border-radius: 50%;
    background: no-repeat center / 10px;
    transition: background-color .15s var(--cm-ease), border-color .15s var(--cm-ease);
}
.cm-pw-rules li.is-met { color: var(--cm-green); font-weight: 600; }
.cm-pw-rules li.is-met::before {
    border-color: var(--cm-green); background-color: var(--cm-green);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M20 6 9 17l-5-5'/%3e%3c/svg%3e");
}

/* Checkboxes and radios */
.form-check { display: flex; align-items: flex-start; gap: .6rem; min-height: 1.5rem; margin-bottom: .35rem; }
.form-check-inline { display: inline-flex; margin-right: 1.25rem; }
.form-check-label { font-weight: 500; cursor: pointer; line-height: 1.45; }
.form-check-input {
    flex: none; width: 19px; height: 19px; margin: .1em 0 0; vertical-align: middle;
    border: 1.5px solid #B7C5D6; border-radius: 6px; background: #fff center / 13px no-repeat;
    appearance: none; -webkit-appearance: none; cursor: pointer;
    transition: background-color .12s, border-color .12s;
}
.form-check-input[type=radio] { border-radius: 50%; }
.form-check-input:hover { border-color: var(--cm-blue); }
.form-check-input:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 2px; }
.form-check-input:checked { background-color: var(--cm-blue); border-color: var(--cm-blue); }
.form-check-input[type=checkbox]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m5 12.5 4.5 4.5L19 7.5'/%3e%3c/svg%3e"); }
.form-check-input[type=radio]:checked { background-color: #fff; border-width: 6px; }
.form-check-input:disabled { opacity: .5; cursor: default; }

/* Field groups: input with a button or a text add-on */
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group > :not(:first-child) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .form-control:focus, .input-group > .form-select:focus { z-index: 3; }
.input-group > .btn { position: relative; z-index: 2; }
.input-group-text { display: flex; align-items: center; padding: 0 .9rem; border: 1px solid var(--cm-field-border); border-radius: var(--cm-r-md); background: var(--cm-ice); color: var(--cm-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Custom select (site.js turns every select.form-select into this; the native select stays as the form value) */
.cm-select { position: relative; width: 100%; }
.cm-select-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.cm-select-btn {
    display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 46px; padding: .62rem .9rem;
    border: 1px solid var(--cm-field-border); border-radius: var(--cm-r-md); background: #fff; color: var(--cm-ink);
    font: 500 15px/1.4 var(--cm-font); text-align: left; cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 43, 74, .04);
    transition: border-color .15s, box-shadow .15s;
}
.cm-select-btn:hover { border-color: #B7C5D6; }
.cm-select-btn:focus-visible, .cm-select.is-open .cm-select-btn { outline: none; border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); }
.cm-select-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-select-value.is-placeholder { color: var(--cm-placeholder); }
.cm-select-chev { flex: none; color: var(--cm-muted); transition: transform .18s var(--cm-ease); }
.cm-select.is-open .cm-select-chev { transform: rotate(180deg); color: var(--cm-blue); }
.cm-select.is-sm .cm-select-btn { min-height: 38px; padding: .4rem .75rem; font-size: 14px; border-radius: var(--cm-r-sm); }
.cm-select.is-lg .cm-select-btn { min-height: 54px; padding: .8rem 1rem; font-size: 17px; border-radius: 12px; }
.cm-select.is-invalid .cm-select-btn { border-color: var(--cm-danger); }
.cm-select.is-disabled .cm-select-btn { background: #F3F6FA; color: var(--cm-muted); cursor: default; }
.cm-select-panel {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1060;
    min-width: 220px; padding: 6px; border: 1px solid var(--cm-line); border-radius: 12px;
    background: #fff; box-shadow: var(--cm-shadow-pop);
    opacity: 0; transform: translateY(-4px) scale(.99); transform-origin: top center; pointer-events: none;
    transition: opacity .14s var(--cm-ease), transform .14s var(--cm-ease);
}
.cm-select.drop-up .cm-select-panel { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; }
.cm-select.is-open .cm-select-panel { opacity: 1; transform: none; pointer-events: auto; }
.cm-select-search { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0 10px; height: 40px; border-radius: 8px; background: var(--cm-bg); color: var(--cm-muted); }
.cm-select-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 14px var(--cm-font); color: var(--cm-ink); }
.cm-select-search input::placeholder { color: var(--cm-placeholder); }
.cm-select-list { max-height: 280px; overflow-y: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; scrollbar-width: thin; }
.cm-select-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--cm-ink); cursor: pointer; }
.cm-select-opt .cm-select-check { margin-left: auto; color: var(--cm-blue); visibility: hidden; flex: none; }
.cm-select-opt.is-active { background: var(--cm-ice); }
.cm-select-opt[aria-selected=true] { color: var(--cm-navy); font-weight: 700; }
.cm-select-opt[aria-selected=true] .cm-select-check { visibility: visible; }
.cm-select-opt.is-placeholder { color: var(--cm-muted); }
.cm-select-opt[aria-disabled=true] { opacity: .45; cursor: default; }
.cm-select-empty { padding: 14px 10px; font-size: 14px; color: var(--cm-muted); text-align: center; }

/* Phone input with country picker (intl-tel-input, enhanced by ui.js on input[data-cm-phone]) */
.iti {
    --iti-hover-color: var(--cm-ice); --iti-border-color: var(--cm-line); --iti-icon-color: var(--cm-muted);
    --iti-spacer-horizontal: 12px; --iti-arrow-padding: 8px; --iti-flag-width: 20px;
    font-family: var(--cm-font);
}
.iti.cm-phone { display: block; width: 100%; }
.iti__country-container { padding: 1px; }
.iti__selected-country { padding-right: 12px !important; border-radius: calc(var(--cm-r-md) - 1px) 0 0 calc(var(--cm-r-md) - 1px) !important; cursor: pointer; transition: background-color .15s; }
.iti__selected-country:hover, .iti__selected-country[aria-expanded=true] { background-color: var(--cm-ice) !important; }
.iti__selected-country:focus-visible { outline: none; background-color: var(--cm-ice) !important; box-shadow: inset 0 0 0 2px var(--cm-blue); }
.iti .iti__selected-country .iti__selected-country-primary { background-color: transparent !important; }
.iti__selected-dial-code { margin-left: 2px; font-weight: 600; color: var(--cm-ink); }
.iti__selected-country { box-shadow: inset -1px 0 0 var(--cm-line); }
.iti__arrow { border-color: var(--cm-muted); transition: transform .18s var(--cm-ease); }
.iti__country-selector {
    padding: 6px; border: 1px solid var(--cm-line) !important; border-radius: 12px;
    background: #fff; box-shadow: var(--cm-shadow-pop) !important;
}
.iti--inline-country-selector:not(.iti--detached-country-selector) .iti__country-selector { top: calc(100% + 6px); min-width: 280px; }
.iti__search-input-wrapper { margin: 0 0 6px; border-bottom: 0; border-radius: 8px; background: var(--cm-bg); }
.iti__search-input { height: 40px; border: 0; border-radius: 8px; background: transparent; font: 500 14px var(--cm-font); color: var(--cm-ink); outline: none; }
.iti__search-input::placeholder { color: var(--cm-placeholder); }
.iti--inline-country-selector .iti__country-list { max-height: 260px; overscroll-behavior: contain; scrollbar-width: thin; overflow-y: auto; }
.iti__country { gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--cm-ink); }
.iti__country.iti__highlight { background-color: var(--cm-ice); }
.iti__country[aria-selected=true] { color: var(--cm-navy); font-weight: 700; }
.iti__country-name { margin: 0; }
.iti__dial-code { color: var(--cm-muted); font-family: var(--cm-mono); font-size: 12.5px; font-weight: 500; }
.iti__no-results { padding: 14px 10px; font-size: 14px; color: var(--cm-muted); }
.iti--fullscreen-popup .iti__country-selector { border-radius: 14px; }

/* Date picker (ui.js turns every input[type=date].form-control into this; the native input keeps the value) */
.cm-date { position: relative; width: 100%; }
.cm-date-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.cm-date-btn {
    display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 46px; padding: .62rem .9rem;
    border: 1px solid var(--cm-field-border); border-radius: var(--cm-r-md); background: #fff; color: var(--cm-ink);
    font: 500 15px/1.4 var(--cm-font); text-align: left; cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 43, 74, .04);
    transition: border-color .15s, box-shadow .15s;
}
.cm-date-btn:hover { border-color: #B7C5D6; }
.cm-date-btn:focus-visible, .cm-date.is-open .cm-date-btn { outline: none; border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); }
.cm-date-icon { flex: none; display: flex; color: var(--cm-muted); transition: color .15s; }
.cm-date.is-open .cm-date-icon, .cm-date.has-value .cm-date-icon { color: var(--cm-blue); }
.cm-date-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-date-value.is-placeholder { color: var(--cm-placeholder); }
.cm-date.has-value .cm-date-btn { padding-right: 2.6rem; }
.cm-date-clear {
    position: absolute; top: 50%; right: .55rem; transform: translateY(-50%);
    display: none; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0;
    border: 0; border-radius: 7px; background: transparent; color: var(--cm-muted); cursor: pointer;
}
.cm-date.has-value .cm-date-clear { display: flex; }
.cm-date-clear:hover { background: var(--cm-ice); color: var(--cm-ink); }
.cm-date.is-sm .cm-date-btn { min-height: 38px; padding: .4rem .75rem; font-size: 14px; border-radius: var(--cm-r-sm); }
.cm-date.is-lg .cm-date-btn { min-height: 54px; padding: .8rem 1rem; font-size: 17px; border-radius: 12px; }
.cm-date.is-invalid .cm-date-btn { border-color: var(--cm-danger); }
.cm-date.is-disabled .cm-date-btn { background: #F3F6FA; color: var(--cm-muted); cursor: default; }
.cm-date-panel {
    position: absolute; left: 0; top: calc(100% + 6px); z-index: 1060;
    width: 300px; padding: 12px; border: 1px solid var(--cm-line); border-radius: 14px;
    background: #fff; box-shadow: var(--cm-shadow-pop);
    opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.99); transform-origin: top left; pointer-events: none;
    transition: opacity .14s var(--cm-ease), transform .14s var(--cm-ease), visibility 0s .14s;
}
.cm-date.align-end .cm-date-panel { left: auto; right: 0; transform-origin: top right; }
.cm-date.drop-up .cm-date-panel { top: auto; bottom: calc(100% + 6px); transform-origin: bottom left; }
.cm-date.is-open .cm-date-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.cm-date-head { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.cm-date-title {
    flex: 1; height: 34px; border: 0; border-radius: 8px; background: transparent;
    font: 700 15px var(--cm-font); color: var(--cm-ink); cursor: pointer;
}
.cm-date-title:hover { background: var(--cm-ice); color: var(--cm-navy); }
.cm-date-nav {
    display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0;
    border: 0; border-radius: 8px; background: transparent; color: var(--cm-muted); cursor: pointer;
}
.cm-date-nav:hover { background: var(--cm-ice); color: var(--cm-blue); }
.cm-date-panel button:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 1px; }
.cm-date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cm-date-dow { padding: 4px 0 6px; font-size: 11.5px; font-weight: 700; color: var(--cm-muted); text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.cm-date-day, .cm-date-month {
    position: relative; height: 36px; padding: 0; border: 0; border-radius: 9px; background: transparent;
    font: 600 14px var(--cm-font); color: var(--cm-ink); cursor: pointer;
    transition: background-color .12s, color .12s;
}
.cm-date-day:hover, .cm-date-month:hover { background: var(--cm-ice); color: var(--cm-navy); }
.cm-date-day.is-outside { color: #A9B5C4; font-weight: 500; }
.cm-date-day.is-today, .cm-date-month.is-today { color: var(--cm-blue); }
.cm-date-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cm-gold); }
.cm-date-day[aria-pressed=true], .cm-date-month[aria-pressed=true] { background: var(--cm-blue); color: #fff; box-shadow: 0 2px 6px rgba(34, 90, 169, .35); }
.cm-date-day[aria-pressed=true]:hover, .cm-date-month[aria-pressed=true]:hover { background: var(--cm-navy); color: #fff; }
.cm-date-day:disabled { color: #C8D1DC; background: transparent; cursor: default; text-decoration: line-through; }
.cm-date-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 0; }
.cm-date-month { height: 44px; }
.cm-date-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cm-line); }
.cm-date-link { padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; font: 600 13.5px var(--cm-font); color: var(--cm-muted); cursor: pointer; }
.cm-date-link:hover { background: var(--cm-ice); color: var(--cm-ink); }
.cm-date-link.is-primary { color: var(--cm-blue); }
.cm-date-link.is-primary:hover { color: var(--cm-navy); }
@media (max-width: 360px) { .cm-date-panel { width: calc(100vw - 32px); } }

/* Alerts */
.alert { position: relative; margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid transparent; border-radius: 12px; font-size: 14px; }
.alert-success { background: var(--cm-green-100); border-color: #B9DFC7; color: #0F5132; }
.alert-warning { background: var(--cm-amber-100); border-color: #F2D48E; color: #6A4000; }
.alert-danger { background: var(--cm-danger-100); border-color: #F3C0BA; color: #8A1C13; }
.alert-info { background: var(--cm-info-100); border-color: #C3D8EF; color: #17497A; }
.alert h1, .alert h2, .alert h3, .alert h4, .alert h5, .alert h6 { color: inherit; }
.alert-link, .alert a { color: inherit; font-weight: 700; text-decoration: underline; }
.alert-dismissible { padding-right: 3.25rem; }
.alert-dismissible .btn-close { position: absolute; top: .45rem; right: .5rem; }
.alert ul { margin-bottom: 0; padding-left: 1.1rem; }
.validation-summary-valid { display: none; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .32em .72em; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.25; white-space: nowrap; vertical-align: middle; background: #EEF1F5; color: #4A586A; }
.badge.text-bg-success { background: var(--cm-green-100); color: var(--cm-green); }
.badge.text-bg-warning { background: var(--cm-amber-100); color: var(--cm-amber); }
.badge.text-bg-danger { background: var(--cm-danger-100); color: var(--cm-danger); }
.badge.text-bg-info { background: var(--cm-info-100); color: var(--cm-info); }
.badge.text-bg-secondary { background: #EEF1F5; color: #4A586A; }
.badge.text-bg-light { background: var(--cm-ice); color: var(--cm-ink-2); }
.badge.text-bg-primary { background: var(--cm-blue); color: #fff; }

/* Tables */
.table { width: 100%; margin-bottom: 1rem; font-size: 14px; color: var(--cm-ink); vertical-align: top; }
.table > thead, .table > tbody, .table > tfoot, .table tr, .table td, .table th { vertical-align: inherit; }
.table > :not(caption) > * > * { padding: .85rem 1rem; border-bottom: 1px solid var(--cm-line); }
.table > thead > tr > th { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--cm-muted); background: #FAFBFD; white-space: nowrap; vertical-align: bottom; }
.table > tbody > tr:hover > * { background-color: #FAFCFF; }
.table > tbody > tr:last-child > * { border-bottom: 0; }
.table .table-warning, .table tr.table-warning > * { background-color: #FFF7DD !important; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Lists */
.list-group { display: flex; flex-direction: column; margin: 0; padding: 0; border-radius: 12px; }
.list-group-item { position: relative; display: block; padding: .9rem 1.25rem; background: #fff; border: 1px solid var(--cm-line); color: var(--cm-ink); }
.list-group-item + .list-group-item { border-top-width: 0; }
.list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.list-group-item:last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.list-group-flush { border-radius: 0; }
.list-group-flush > .list-group-item { border-width: 0 0 1px; border-radius: 0; }
.list-group-flush > .list-group-item:last-child { border-bottom-width: 0; }

/* Menus (site.js: [data-cm-toggle=dropdown]) */
.dropdown { position: relative; }
.dropdown-toggle::after { content: ""; width: .42em; height: .42em; margin-left: .2em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform .18s var(--cm-ease); }
.dropdown-toggle[aria-expanded=true]::after { transform: translateY(15%) rotate(-135deg); }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 1000;
    min-width: 13rem; margin: 0; padding: 6px; list-style: none;
    background: #fff; border: 1px solid var(--cm-line); border-radius: 12px; box-shadow: var(--cm-shadow-pop);
    font-size: 14px;
    visibility: hidden; opacity: 0; transform: translateY(-4px); pointer-events: none;
    transition: opacity .14s var(--cm-ease), transform .14s var(--cm-ease), visibility 0s .14s;
}
.dropdown-menu.show { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.dropdown-menu-end { left: auto; right: 0; }
.dropdown-item { display: block; width: 100%; padding: .55rem .75rem; border: 0; border-radius: 8px; background: none; color: var(--cm-ink); font: 600 14px var(--cm-font); text-align: left; white-space: nowrap; text-decoration: none !important; cursor: pointer; }
.dropdown-item:hover, .dropdown-item:focus-visible { background: var(--cm-ice); color: var(--cm-navy); outline: none; }
.dropdown-divider { height: 0; margin: 6px 0; border: 0; border-top: 1px solid var(--cm-line); }

/* Collapse and fade (site.js: [data-cm-toggle=collapse]) */
.collapse:not(.show) { display: none; }
.fade { transition: opacity .15s linear; }
.fade:not(.show) { opacity: 0; }

/* Dialogs (site.js: [data-cm-toggle=modal]) */
.modal { position: fixed; inset: 0; z-index: 1055; display: none; padding: 1rem; overflow-x: hidden; overflow-y: auto; outline: 0; }
.modal.show { display: block; }
.modal-dialog { position: relative; width: auto; max-width: 520px; margin: 2rem auto; pointer-events: none; }
.modal-lg { max-width: 860px; }
.modal-dialog-scrollable { height: calc(100% - 4rem); }
.modal-dialog-scrollable .modal-content { max-height: 100%; overflow: hidden; }
.modal-dialog-scrollable .modal-body { overflow-y: auto; }
.modal.show .modal-dialog { animation: cm-pop .2s var(--cm-ease); }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: #fff; border-radius: 18px; box-shadow: var(--cm-shadow-lg); outline: 0; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-bottom: 1px solid var(--cm-line); }
.modal-title { margin: 0; font-weight: 800; letter-spacing: -.015em; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1.5rem; }
.modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--cm-line); }
.cm-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(11, 31, 54, .5); backdrop-filter: blur(2px); animation: cm-fade .2s ease; }
body.cm-modal-open { overflow: hidden; }
@keyframes cm-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes cm-fade { from { opacity: 0; } }

/* 3. Components ================================================================== */
.cm-mono { font-family: var(--cm-mono); font-size: 13px; letter-spacing: -.01em; }
.cm-muted { color: var(--cm-muted); }
.cm-small { font-size: 13px; }
.cm-right { text-align: right; }
.cm-nowrap { white-space: nowrap; }
.cm-spacer { flex: 1 1 auto; }
.cm-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cm-stack { display: flex; flex-direction: column; gap: 24px; }
.cm-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.cm-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cm-blue); }
.cm-h1 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.cm-h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.cm-h3 { font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.cm-lead { font-size: 17px; color: var(--cm-muted); margin: 0; }

/* Buttons for the shells (the pages mostly use Bootstrap .btn) */
.cm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--cm-r-md); border: 1px solid transparent; font: 600 15px/1 var(--cm-font); cursor: pointer; white-space: nowrap; text-decoration: none !important; background: transparent; color: var(--cm-ink); transition: background .15s, border-color .15s, color .15s; }
.cm-btn-primary { background: var(--cm-blue); color: #fff !important; }
.cm-btn-primary:hover { background: var(--cm-navy); }
.cm-btn.cm-btn-cta { background: var(--cm-red); color: #fff !important; }
.cm-btn.cm-btn-cta:hover { background: var(--cm-red-700); }
.cm-btn-secondary { background: #fff; color: var(--cm-ink) !important; border-color: var(--cm-line-strong); }
.cm-btn-secondary:hover { border-color: var(--cm-sky); background: var(--cm-ice); }
.cm-btn-ghost { color: var(--cm-ink-2) !important; }
.cm-btn-ghost:hover, .cm-btn-ghost.is-active { background: var(--cm-ice); color: var(--cm-navy) !important; }
.cm-btn-sm { height: 38px; padding: 0 12px; font-size: 14px; border-radius: var(--cm-r-sm); }
.cm-btn-icon { width: 44px; padding: 0; }
.cm-btn-icon.cm-btn-sm { width: 38px; }

/* Badges / tags */
.cm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 18px; white-space: nowrap; background: var(--cm-ice); color: var(--cm-ink-2); }
.cm-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cm-badge-plain::before { display: none; }
.cm-badge-success { background: var(--cm-green-100); color: var(--cm-green); }
.cm-badge-warning { background: var(--cm-amber-100); color: var(--cm-amber); }
.cm-badge-danger { background: var(--cm-danger-100); color: var(--cm-danger); }
.cm-badge-info { background: var(--cm-info-100); color: var(--cm-info); }
.cm-badge-primary { background: var(--cm-blue); color: #fff; }
.cm-badge-gold { background: var(--cm-gold-100); color: #6B5200; }
.cm-badge-neutral { background: #EEF1F5; color: #4A586A; }
.cm-tag, .cm-nic { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; background: var(--cm-ice); color: var(--cm-ink-2); font: 500 12px var(--cm-mono); }
.cm-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--cm-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }

/* Cards */
.cm-card { background: var(--cm-surface); border: 1px solid var(--cm-line); border-radius: var(--cm-r-lg); box-shadow: var(--cm-shadow-sm); }
.cm-card-hd, .cm-card > .cm-card-header, .cm-card-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 16px 20px; border-bottom: 1px solid var(--cm-line); font-weight: 700; font-size: 15px;
}
.cm-card-hd h2, .cm-card-hd h3 { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.cm-card-body, .cm-card-bd { padding: 20px; }
.cm-card-ft { padding: 14px 20px; border-top: 1px solid var(--cm-line); background: #FAFBFD; border-radius: 0 0 var(--cm-r-lg) var(--cm-r-lg); }
.cm-card > .table-responsive:last-child, .cm-card > .cm-table-wrap:last-child { border-radius: 0 0 var(--cm-r-lg) var(--cm-r-lg); }
.cm-card > .table-responsive:first-child { border-radius: var(--cm-r-lg); }
.cm-card .table { margin-bottom: 0; }
.cm-card > .table-responsive:first-child .table thead th:first-child { border-top-left-radius: var(--cm-r-lg); }
.cm-card > .table-responsive:first-child .table thead th:last-child { border-top-right-radius: var(--cm-r-lg); }
.cm-card > .list-group-flush:last-child > .list-group-item:last-child { border-radius: 0 0 var(--cm-r-lg) var(--cm-r-lg); }
a.cm-card { display: block; color: inherit; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.cm-card:hover { border-color: var(--cm-sky); box-shadow: var(--cm-shadow-md); transform: translateY(-1px); }
a.cm-card.cm-feature, a.cm-card.cm-stat { display: flex; }
.cm-icontile, .cm-feature .cm-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cm-ice); color: var(--cm-blue); flex: none; }
.cm-icontile-sm { width: 32px; height: 32px; border-radius: 9px; }
.cm-icontile-amber { background: var(--cm-amber-100); color: var(--cm-amber); }
.cm-icontile-green { background: var(--cm-green-100); color: var(--cm-green); }

/* Tables */
.cm-table-wrap { width: 100%; overflow-x: auto; }
.cm-domain { font-weight: 700; color: var(--cm-ink); }
a.cm-domain { color: var(--cm-ink); }
a.cm-domain:hover { color: var(--cm-blue); }
.cm-sub { display: block; font-size: 12px; color: var(--cm-muted); font-weight: 500; }
tr.is-flagged > * { background: #FFFBEF !important; }

/* Alerts with an icon */
.cm-alert { display: flex; gap: 12px; align-items: flex-start; }
.cm-alert > svg { flex: none; margin-top: 1px; }

/* Segmented tabs */
.cm-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #E9EEF5; border-radius: 12px; flex-wrap: wrap; }
.cm-tab { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font: 600 14px var(--cm-font); color: var(--cm-ink-2); cursor: pointer; text-decoration: none !important; }
.cm-tab:hover { background: rgba(255, 255, 255, .6); color: var(--cm-ink); }
.cm-tab.is-active { background: #fff; color: var(--cm-ink); box-shadow: var(--cm-shadow-sm); }
.cm-tab-n { font-size: 12px; color: var(--cm-muted); font-weight: 700; }

/* Checkout progress */
.cm-stepper { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--cm-muted); list-style: none; margin: 0; padding: 0; }
.cm-step { display: inline-flex; align-items: center; gap: 8px; }
.cm-step-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--cm-line-strong); font-size: 12px; font-weight: 700; background: #fff; }
.cm-step.is-active { color: var(--cm-ink); }
.cm-step.is-active .cm-step-n { background: var(--cm-blue); border-color: var(--cm-blue); color: #fff; }
.cm-step.is-done .cm-step-n { background: var(--cm-green-100); border-color: #A9D8BB; color: var(--cm-green); }
.cm-step-line { display: block; width: 32px; height: 2px; background: var(--cm-line-strong); border-radius: 2px; }

/* Stat tiles */
.cm-stat { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.cm-stat-label { font-size: 13px; font-weight: 600; color: var(--cm-muted); display: flex; align-items: center; gap: 10px; }
.cm-stat-value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--cm-navy-900); line-height: 1.1; }
.cm-stat-meta { font-size: 13px; color: var(--cm-muted); }
.cm-statstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.cm-statstrip > * + * { border-left: 1px solid var(--cm-line); }
@media (max-width: 600px) { .cm-statstrip > * + * { border-left: 0; border-top: 1px solid var(--cm-line); } }

/* Definition lists and contacts */
.cm-dl { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; gap: 10px 20px; margin: 0; font-size: 14px; }
.cm-dl dt { color: var(--cm-muted); font-weight: 600; }
.cm-dl dd { margin: 0; }
.cm-contact { border: 1px solid var(--cm-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; height: 100%; min-width: 0; }
/* Long emails and street lines wrap inside the card instead of running past its edge. */
.cm-contact address { font-style: normal; font-size: 14px; color: var(--cm-ink-2); line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.cm-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.cm-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cm-sky-100); color: var(--cm-navy); font-size: 13px; font-weight: 800; flex: none; text-transform: uppercase; }
.cm-avatar-sm { width: 30px; height: 30px; font-size: 12px; }
.cm-avatar-staff { background: var(--cm-navy-950); color: var(--cm-gold); }
.cm-paycard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--cm-line); border-radius: 12px; }
.cm-paycard-brand { min-width: 42px; height: 28px; padding: 0 6px; border-radius: 6px; background: var(--cm-navy-900); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; text-transform: uppercase; }

/* Page heads */
.cm-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cm-pagehead p { margin: 0; }
.cm-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cm-page-header { padding: 2rem 0 1.25rem; }
.cm-page-header h1 { font-size: 30px; font-weight: 800; margin: 0; }
.cm-page-header p { color: var(--cm-muted); margin: .35rem 0 0; }
.cm-page-header + .cm-stepper { margin-bottom: 1.5rem; }

/* Public header ----------------------------------------------------------------- */
.cm-topbar { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--cm-line); position: sticky; top: 0; z-index: 1020; }
.cm-topbar-in { display: flex; align-items: center; gap: 16px; height: 72px; }
.cm-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.cm-nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--cm-ink-2); text-decoration: none; }
.cm-nav a:hover { background: var(--cm-ice); color: var(--cm-navy); text-decoration: none; }
.cm-nav a.is-active { color: var(--cm-navy); background: var(--cm-ice); }
.cm-userbtn { padding-left: 4px; border-radius: 999px; height: 40px; }
.cm-userbtn::after { margin-left: 2px; }
.cm-menu-btn { display: none; }
.cm-mobile-nav { border-top: 1px solid var(--cm-line); background: #fff; }
.cm-mobile-nav a { display: block; padding: 12px 4px; font-size: 16px; color: var(--cm-ink); border-bottom: 1px solid var(--cm-line); }
.cm-mobile-nav a:last-child { border-bottom: 0; }

/* Hero and marketing sections */
.cm-hero { position: relative; overflow: hidden; background-color: var(--cm-navy-950); background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; color: #fff; }
.cm-hero h1 { color: #fff; font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0; }
.cm-hero .cm-lead { color: rgba(255, 255, 255, .8); font-size: 19px; }
.cm-hero-gold { color: var(--cm-gold); }
.cm-hero-orbit { position: absolute; right: -120px; top: -60px; width: 640px; height: 430px; opacity: .5; pointer-events: none; }
.cm-hero-in { position: relative; padding-top: 96px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.cm-chip, .cm-tld-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 600; color: #fff; }
.cm-chip strong, .cm-tld-chip strong { color: var(--cm-gold); }
.cm-section { padding: 80px 0; }
.cm-section-white { background: #fff; border-top: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); }
.cm-feature { padding: 24px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.cm-feature-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--cm-blue); margin-top: auto; }
.cm-howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.cm-howto li { display: flex; flex-direction: column; gap: 10px; }
.cm-howto-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cm-navy-950); color: var(--cm-gold); font-weight: 800; }
.cm-pricegrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.cm-pricetile { border: 1px solid var(--cm-line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.cm-pricetile-tld { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }

/* Domain search box */
.cm-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--cm-shadow-lg); width: 100%; }
.cm-search-ic { color: var(--cm-muted); margin-left: 12px; flex: none; }
.cm-search input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; font: 600 19px var(--cm-font); color: var(--cm-ink); background: transparent; }
.cm-search input::placeholder { color: #8090A3; font-weight: 500; }
.cm-search-compact { box-shadow: var(--cm-shadow-sm); border: 1px solid var(--cm-line); border-radius: 14px; padding: 6px; }
.cm-search-compact input { height: 44px; font-size: 17px; }
.cm-search:focus-within { box-shadow: 0 0 0 2px var(--cm-gold), var(--cm-shadow-lg); }
.cm-search-compact:focus-within { border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); }

/* Search result, cart */
.cm-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--cm-r-xl); border: 1px solid; background: #fff; }
.cm-result.is-available { border-color: #A9D8BB; box-shadow: 0 0 0 4px var(--cm-green-100); }
.cm-result.is-taken { border-color: #F0C2BC; box-shadow: 0 0 0 4px var(--cm-danger-100); }
.cm-result.is-error { border-color: #F2D48E; box-shadow: 0 0 0 4px var(--cm-amber-100); }
.cm-result-domain, .cm-result .cm-domain { font-size: 32px; font-weight: 800; letter-spacing: -.025em; word-break: break-all; line-height: 1.15; }
.cm-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--cm-navy-900); line-height: 1.1; }
.cm-total, .cm-summary-total { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--cm-navy-900); }
.cm-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cm-divider { height: 1px; background: var(--cm-line); border: 0; margin: 4px 0; opacity: 1; }
.cm-cartrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid var(--cm-line); }
.cm-cartrow:last-child { border-bottom: 0; }
.cm-cartrow-head { padding-top: 12px; padding-bottom: 12px; background: #FAFBFD; border-radius: var(--cm-r-lg) var(--cm-r-lg) 0 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--cm-muted); }
.cm-cart-domain { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-weight: 700; font-size: 16px; word-break: break-all; }
.cm-cart-years { width: 130px; }
.cm-cart-plan { width: 240px; }
.cm-saved-card { border: 1px solid var(--cm-line); border-radius: 12px; padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; cursor: pointer; background: #fff; }
.cm-saved-card:hover { border-color: var(--cm-sky); }
.cm-saved-card:has(input:checked) { border-color: var(--cm-blue); background: var(--cm-ice); box-shadow: 0 0 0 3px rgba(34, 90, 169, .12); }

/* Split sign-in */
.cm-auth { width: 100%; display: flex; flex-wrap: wrap; overflow: hidden; border-radius: 20px; box-shadow: var(--cm-shadow-md); }
.cm-auth-form { flex: 1 1 420px; padding: 48px; display: flex; flex-direction: column; gap: 24px; background: #fff; }
.cm-auth-side { flex: 1 1 380px; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.cm-auth-side h2 { color: #fff; font-size: 28px; line-height: 1.2; margin: 0; }
.cm-auth-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.cm-auth-list li { display: flex; gap: 14px; align-items: flex-start; }
.cm-auth-list-ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--cm-gold); flex: none; }
@media (max-width: 600px) { .cm-auth-form, .cm-auth-side { padding: 28px 22px; } }
/* Same two panels inside a dialog (cart → "sign in or create an account"). */
.cm-auth-modal { max-width: 900px; }
.cm-auth-modal .cm-auth { flex-direction: row; box-shadow: var(--cm-shadow-lg); }
.cm-auth-modal .cm-auth-form, .cm-auth-modal .cm-auth-side { flex-basis: 380px; padding: 36px; gap: 18px; }
.cm-auth-modal .cm-auth-side { justify-content: space-between; gap: 24px; }
.cm-auth-modal .cm-auth-side h2 { font-size: 24px; }
@media (max-width: 600px) { .cm-auth-modal .cm-auth-form, .cm-auth-modal .cm-auth-side { padding: 26px 20px; } }

/* Footer */
.cm-footer { background: var(--cm-navy-950); color: rgba(255, 255, 255, .72); font-size: 14px; margin-top: 4rem; }
.cm-footer a { color: #fff; font-weight: 500; }
.cm-footer a:hover { color: var(--cm-gold); text-decoration: none; }
.cm-footer h4, .cm-footer h6 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.cm-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cm-footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.cm-footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.cm-has-hero-footer .cm-footer { margin-top: 0; }

/* Client portal shell: layout option A "floating sidebar" (canvas page "Client portal — pick a layout") ---
   Centred like the public site, own header, sidebar as a white card beside the content on a tinted page. */
body.cm-portal-page { background: #EEF2F7; }
.cm-portal-top { position: sticky; top: 0; z-index: 1020; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--cm-line); }
.cm-portal-bar { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.cm-portal-home { display: flex; padding: 10px 0; text-decoration: none !important; }
.cm-portal-find { display: flex; align-items: center; gap: 8px; flex: 0 1 340px; height: 42px; padding: 0 12px; border: 1px solid var(--cm-line-strong); border-radius: var(--cm-r-md); background: var(--cm-bg); color: var(--cm-muted); margin: 0; }
.cm-portal-find:focus-within { border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); background: #fff; }
.cm-portal-find input { border: 0; outline: none; flex: 1; min-width: 0; font: 500 14px var(--cm-font); color: var(--cm-ink); background: transparent; }
.cm-portal-find input::-webkit-search-cancel-button { display: none; }
.cm-portal-menu { display: none; }

.cm-portal { display: flex; gap: 28px; align-items: flex-start; padding-top: 32px; padding-bottom: 8px; flex: 1 0 auto; }
.cm-portal-side { scroll-margin-top: 88px; position: sticky; top: 96px; flex: 0 0 264px; max-height: calc(100vh - 112px); overflow-y: auto; background: #fff; border: 1px solid var(--cm-line); border-radius: 18px; box-shadow: var(--cm-shadow-sm); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.cm-portal-me { display: flex; align-items: center; gap: 12px; padding: 6px 8px 14px; margin-bottom: 2px; border-bottom: 1px solid var(--cm-line); }
.cm-portal-me .cm-avatar { width: 44px; height: 44px; font-size: 15px; }
.cm-portal-me-name { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.cm-portal-me-name strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-portal-me-name > span { font-size: 12px; color: var(--cm-muted); }
/* The customer's company, under their name (sidebar card and header account menu). */
.cm-portal-me-name > .cm-me-company, .cm-menu-head .cm-me-company { font-size: 13px; font-weight: 600; color: var(--cm-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.cm-portal-nav { display: flex; flex-direction: column; gap: 2px; }
.cm-portal-label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cm-muted); padding: 14px 12px 6px; }
.cm-portal-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--cm-ink-2); text-decoration: none; transition: background-color .12s, color .12s; }
.cm-portal-nav a svg { flex: none; color: var(--cm-muted); }
.cm-portal-nav a:hover { background: var(--cm-ice); color: var(--cm-navy); text-decoration: none; }
.cm-portal-nav a.is-active { background: var(--cm-sky-100); color: var(--cm-navy-900); }
.cm-portal-nav a.is-active svg { color: var(--cm-blue); }
.cm-portal-nav .cm-n { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--cm-ice); color: var(--cm-ink-2); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.cm-portal-nav a.is-active .cm-n { background: #fff; }
.cm-portal-nav .cm-n-warn, .cm-portal-nav a.is-active .cm-n-warn { background: var(--cm-amber-100); color: var(--cm-amber); }
.cm-portal-nav .cm-n-red, .cm-portal-nav a.is-active .cm-n-red { background: var(--cm-red); color: #fff; }
.cm-portal-help { margin-top: 10px; background: var(--cm-ice); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--cm-ink-2); }
.cm-portal-help strong { color: var(--cm-ink); font-size: 14px; }
.cm-portal-help a { font-weight: 600; word-break: break-all; }
.cm-portal-side form { margin: 0; }
.cm-portal-signout { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 42px; margin-top: 4px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; font: 600 14px var(--cm-font); color: var(--cm-ink-2); cursor: pointer; }
.cm-portal-signout:hover { background: var(--cm-danger-100); color: var(--cm-danger); }
.cm-portal-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cm-portal-body > .alert { margin: 0 !important; }
.cm-portal-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; font-size: 13px; color: var(--cm-muted); padding-top: 28px; padding-bottom: 32px; }
.cm-sticky { position: sticky; top: 96px; }

/* Portal pieces: quick actions, empty states, tips */
.cm-quick { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.cm-quick a { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r-lg); text-decoration: none; color: var(--cm-ink); transition: border-color .12s, box-shadow .12s; }
.cm-quick a:hover { border-color: var(--cm-sky); box-shadow: var(--cm-shadow-md); text-decoration: none; }
.cm-quick strong { display: block; font-size: 15px; }
.cm-quick-sub { display: block; font-size: 13px; color: var(--cm-muted); margin-top: 2px; }
.cm-quick-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cm-sky-100); color: var(--cm-navy); flex: none; }
.cm-quick-ic.is-red { background: var(--cm-danger-100); color: var(--cm-danger); }
.cm-quick-ic.is-gold { background: var(--cm-gold-100); color: var(--cm-amber); }
.cm-quick-ic.is-green { background: var(--cm-green-100); color: var(--cm-green); }
.cm-empty { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cm-empty p { margin: 0; }
.cm-empty-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cm-sky-100); color: var(--cm-navy); }
.cm-tips { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.cm-tips > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cm-ink-2); }
.cm-tips strong { display: block; color: var(--cm-ink); }
.cm-portal-search { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 20px; }
.cm-portal-search .cm-portal-search-field { flex: 1 1 360px; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border: 1px solid var(--cm-field-border); border-radius: 12px; background: #fff; color: var(--cm-muted); }
.cm-portal-search .cm-portal-search-field:focus-within { border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); }
.cm-portal-search input { border: 0; outline: none; flex: 1; min-width: 0; font: 600 17px var(--cm-font); color: var(--cm-ink); background: transparent; }

/* Portal account menu, sign-out confirmation */
.cm-portal-top .dropdown-menu { min-width: 240px; }
.cm-portal-top .dropdown-item { display: flex; align-items: center; gap: 10px; }
.cm-portal-top .dropdown-item svg { color: var(--cm-muted); flex: none; }
.cm-menu-head { display: flex; flex-direction: column; gap: 2px; padding: .5rem .75rem .25rem; line-height: 1.3; }
.cm-menu-head strong { font-size: 14px; }
.cm-menu-head span { font-size: 12px; color: var(--cm-muted); }
.dropdown-item.cm-menu-danger:hover, .dropdown-item.cm-menu-danger:hover svg { background: var(--cm-danger-100); color: var(--cm-danger); }
.modal-sm-confirm { max-width: 420px; }
.cm-confirm { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 24px 8px; }
.cm-confirm-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cm-danger-100); color: var(--cm-danger); }
.cm-confirm-ic.is-primary { background: var(--cm-info-100); color: var(--cm-info); }
/* Renew a domain: domain pick list, term cards, date change */
.cm-stepno { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: var(--cm-blue); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 2px; }
.cm-picklist { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; }
.cm-pick { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--cm-line); color: var(--cm-ink); text-decoration: none; transition: background-color .12s; }
.cm-pick:first-child { border-top: 0; }
.cm-pick:hover { background: var(--cm-ice); text-decoration: none; color: var(--cm-ink); }
.cm-pick.is-selected { background: var(--cm-sky-100); }
.cm-pick-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--cm-line-strong); background: #fff; display: grid; place-items: center; color: #fff; }
.cm-pick.is-selected .cm-pick-dot { border-color: var(--cm-blue); background: var(--cm-blue); }
.cm-pick-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cm-pick-main .cm-domain { word-break: break-all; }
.cm-terms { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); border: 0; margin: 0; padding: 0; min-width: 0; }
.cm-term { position: relative; margin: 0; cursor: pointer; }
.cm-term input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cm-term-box { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 14px 12px; border: 1px solid var(--cm-field-border); border-radius: 12px; background: #fff; transition: border-color .12s, background-color .12s, box-shadow .12s; }
.cm-term:hover .cm-term-box { border-color: var(--cm-sky); }
.cm-term input:checked + .cm-term-box { border-color: var(--cm-blue); background: var(--cm-ice); box-shadow: inset 0 0 0 1px var(--cm-blue); }
.cm-term input:focus-visible + .cm-term-box { outline: 2px solid var(--cm-blue); outline-offset: 2px; }
.cm-term-years { font-size: 13px; font-weight: 700; color: var(--cm-muted); }
.cm-term input:checked + .cm-term-box .cm-term-years { color: var(--cm-navy); }
.cm-term-price { font-size: 20px; font-weight: 800; color: var(--cm-ink); letter-spacing: -.01em; }
.cm-term-until { font-size: 12px; color: var(--cm-muted); }
.cm-renew-dates { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--cm-ice); }
.cm-renew-dates > div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 0; }
.cm-renew-dates > span { color: var(--cm-muted); flex: none; }
.cm-renew-dates strong { font-size: 14px; }
.cm-howlist { list-style: none; counter-reset: howto; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cm-howlist li { counter-increment: howto; position: relative; padding-left: 40px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--cm-ink-2); }
.cm-howlist li::before { content: counter(howto); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--cm-sky-100); color: var(--cm-navy); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.cm-howlist strong { color: var(--cm-ink); }

/* Staff / reseller shell ---------------------------------------------------------------- */
.cm-admin { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--cm-bg); }
.cm-admin-side { flex: 1 1 248px; max-width: 264px; background: var(--cm-navy-950); color: rgba(255, 255, 255, .72); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.cm-admin-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 8px 18px; text-decoration: none !important; }
.cm-admin-nav { display: flex; flex-direction: column; gap: 2px; }
.cm-admin-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); text-decoration: none; }
.cm-admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.cm-admin-nav a.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.cm-admin-nav a.is-active svg { color: var(--cm-gold); }
.cm-admin-label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding: 14px 12px 6px; }
.cm-admin-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.cm-admin-top { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--cm-line); }
.cm-admin-search { display: flex; align-items: center; gap: 8px; flex: 0 1 440px; height: 40px; padding: 0 12px; border: 1px solid var(--cm-line-strong); border-radius: var(--cm-r-md); background: var(--cm-bg); color: var(--cm-muted); margin: 0; }
.cm-admin-search:focus-within { border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); background: #fff; }
.cm-admin-search input { border: 0; outline: none; flex: 1; min-width: 0; font: 500 14px var(--cm-font); color: var(--cm-ink); background: transparent; }
.cm-admin-user { display: flex; align-items: center; gap: 10px; }
.cm-admin-user form { margin: 0; }
.cm-admin-body { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.cm-admin-body > .alert { margin: 0 !important; }
.cm-actionbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 12px 12px 20px; border-radius: 14px; background: var(--cm-navy-950); color: #fff; box-shadow: var(--cm-shadow-lg); position: sticky; bottom: 16px; z-index: 5; }
.cm-actionbar .btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.cm-actionbar .btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .4); }
.cm-diff { background: #FFF6D6 !important; font-weight: 600; }
.cm-signin-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background-color: var(--cm-navy-950); background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; }
.cm-signin-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; box-shadow: var(--cm-shadow-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; }

/* Secondary pages (forms, lists, previews) */
.cm-hd-sub { display: block; font-size: 13px; font-weight: 500; color: var(--cm-muted); margin-top: 2px; letter-spacing: 0; }
.cm-card-ft.cm-actions, .cm-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-form-body { padding: 24px; }
.cm-narrow { max-width: 760px; width: 100%; }
.cm-cardlist { display: flex; flex-direction: column; }
.cm-cardrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid var(--cm-line); }
.cm-cardrow:first-child { border-top: 0; }
.cm-cardrow-main { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cm-cardrow-main strong { font-size: 15px; }
.cm-cardrow-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cm-mailpreview { margin: 0; padding: 20px; background: var(--cm-ice); border-top: 1px solid var(--cm-line); border-radius: 0 0 var(--cm-r-lg) var(--cm-r-lg); white-space: pre-wrap; font: 400 14px/1.65 var(--cm-font); color: var(--cm-ink-2); }
/* Filter form in a card header: full width (a plain .cm-card-hd shrinks it to content and the fields stack). */
.cm-filterform { flex-direction: column; align-items: stretch; gap: 14px; font-weight: 500; }
.cm-filterbar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; width: 100%; }
.cm-filterbar > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; min-width: 0; }
.cm-filterbar > .cm-filter-wide { flex: 2 1 260px; }
.cm-filterbar > .cm-filter-actions { flex: none; flex-direction: row; gap: 8px; }
.cm-filterbar .form-label { margin: 0; font-size: 13px; }
.cm-filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.cm-filter-foot .cm-tabs { max-width: 100%; }
@media (max-width: 575.98px) {
    .cm-filterbar > div { flex-basis: 100%; }
    .cm-filterbar > .cm-filter-actions > .btn { flex: 1; }
}
.table tfoot th, .table tfoot td { background: #FAFBFD; font-weight: 800; border-bottom: 0; }
.cm-error { min-height: 52vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 64px 0; }
.cm-error-code { font-size: 88px; line-height: 1; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(135deg, var(--cm-navy-900), var(--cm-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-error p { margin: 0; max-width: 460px; }

/* Responsive ------------------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .cm-nav, .cm-hide-md { display: none !important; }
    .cm-menu-btn { display: inline-flex; }
    .cm-hero h1 { font-size: 38px; }
    .cm-hero .cm-lead { font-size: 17px; }
    .cm-hero-in { padding-top: 64px; padding-bottom: 72px; }
    .cm-section { padding: 56px 0; }
    .cm-admin-side { max-width: none; flex-basis: 100%; }
    .cm-admin-nav { flex-direction: row; overflow-x: auto; gap: 4px; }
    .cm-admin-nav a { flex: none; }
    .cm-admin-label { display: none; }
    .cm-admin-side { padding: 10px 12px; flex-direction: row; align-items: center; gap: 12px; overflow-x: auto; }
    .cm-admin-brand { padding: 0; }
    .cm-admin-top, .cm-admin-body { padding-left: 16px; padding-right: 16px; }
    .cm-admin-body { padding-top: 20px; }

    .cm-portal { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 20px; }
    .cm-portal-side { display: none; position: static; flex: none; max-height: none; }
    .cm-portal-side.show { display: flex; }
    .cm-portal-menu { display: inline-flex; }
}
@media (max-width: 600px) {
    .cm-hide-sm { display: none !important; }
    .cm-search { flex-wrap: wrap; }
    .cm-search .btn { width: 100%; }
    .cm-h1, .cm-h2, .cm-page-header h1 { font-size: 24px; }
    .cm-result { padding: 20px; }
    .cm-result-domain, .cm-result .cm-domain { font-size: 24px; }
    .cm-dl { grid-template-columns: 1fr; gap: 2px 0; }
    .cm-dl dd { margin-bottom: 10px; }
    .cm-cart-years, .cm-cart-plan { width: 100%; }
}

/* Print (invoices) ---------------------------------------------------------------------------- */
/* Invoice (admin/payments/{id}/invoice) */
.cm-invoice-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; max-width: 880px; margin: 0 auto 16px; }
.cm-invoice {
    max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r-lg);
    box-shadow: var(--cm-shadow-sm); overflow: hidden; color: var(--cm-ink-2); font-size: 14px; line-height: 1.55;
}
.cm-invoice address { margin: 0; font-style: normal; }
.cm-inv-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px 28px; border-top: 6px solid var(--cm-blue); }
.cm-inv-from address { margin-top: 14px; font-size: 13px; color: var(--cm-muted); }
.cm-inv-from address strong { color: var(--cm-ink); font-size: 14px; }
.cm-inv-title { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.cm-inv-title h1 { margin: 0; font: 800 30px/1 var(--cm-font); letter-spacing: .08em; text-transform: uppercase; color: var(--cm-navy-900, #0D2A57); }
.cm-inv-paid { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #E6F6EC; color: #1E7B45; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cm-inv-ref { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 4px 0 0; font-size: 13px; }
.cm-inv-ref dt { color: var(--cm-muted); font-weight: 600; }
.cm-inv-ref dd { margin: 0; color: var(--cm-ink); font-weight: 600; text-align: right; }
.cm-inv-domain { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 20px 36px; background: var(--cm-ice, #EAF1FB); border-top: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); }
.cm-inv-domain-name { font: 800 24px/1.2 var(--cm-font); color: var(--cm-ink); letter-spacing: -.01em; word-break: break-all; }
.cm-inv-dates { display: flex; gap: 28px; flex-wrap: wrap; margin: 0; }
.cm-inv-dates dt { font-size: 11.5px; font-weight: 700; color: var(--cm-muted); text-transform: uppercase; letter-spacing: .06em; }
.cm-inv-dates dd { margin: 2px 0 0; font-weight: 700; color: var(--cm-ink); }
.cm-inv-label { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 11.5px; font-weight: 800; color: var(--cm-muted); text-transform: uppercase; letter-spacing: .07em; }
.cm-inv-label svg { color: var(--cm-blue); }
.cm-inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 36px 8px; }
.cm-inv-box { padding: 16px 18px; border: 1px solid var(--cm-line); border-radius: var(--cm-r-md); }
.cm-inv-box address strong { color: var(--cm-ink); }
.cm-inv-kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 10px 0 0; font-size: 13px; }
.cm-inv-kv dt { color: var(--cm-muted); font-weight: 600; }
.cm-inv-kv dd { margin: 0; color: var(--cm-ink); word-break: break-word; }
.cm-inv-ns { width: 100%; border-collapse: collapse; font-size: 13px; }
.cm-inv-ns th, .cm-inv-ns td { padding: 4px 8px 4px 0; text-align: left; }
.cm-inv-ns thead th { font-size: 11px; font-weight: 700; color: var(--cm-muted); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--cm-line); }
.cm-inv-ns tbody th { width: 40px; color: var(--cm-muted); font-weight: 700; }
.cm-inv-ns td { color: var(--cm-ink); word-break: break-all; }
.cm-inv-lines { width: calc(100% - 72px); margin: 20px 36px 0; border-collapse: collapse; }
.cm-inv-lines th { padding: 10px 12px; background: #F3F7FD; font-size: 11.5px; font-weight: 800; color: var(--cm-muted); text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.cm-inv-lines th:first-child { border-radius: 8px 0 0 8px; }
.cm-inv-lines th:last-child { border-radius: 0 8px 8px 0; }
.cm-inv-lines td { padding: 14px 12px; border-bottom: 1px solid var(--cm-line); vertical-align: top; color: var(--cm-ink); }
.cm-inv-lines .text-end, .cm-inv-lines .text-center { text-align: right; }
.cm-inv-lines .text-center { text-align: center; }
.cm-inv-sub { display: block; font-size: 12.5px; color: var(--cm-muted); }
.cm-inv-foot { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; padding: 24px 36px; }
.cm-inv-totals { margin: 0; }
.cm-inv-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 4px; }
.cm-inv-totals dt { color: var(--cm-muted); font-weight: 600; }
.cm-inv-totals dd { margin: 0; color: var(--cm-ink); font-weight: 600; text-align: right; }
.cm-inv-totals .is-total { margin: 6px 0; padding: 12px 14px; border-radius: var(--cm-r-md); background: var(--cm-blue); }
.cm-inv-totals .is-total dt, .cm-inv-totals .is-total dd { color: #fff; font-weight: 800; font-size: 16px; }
.cm-inv-totals .is-cad dt, .cm-inv-totals .is-cad dd { font-size: 13px; font-weight: 500; }
.cm-inv-note { padding: 16px 36px 24px; border-top: 1px dashed var(--cm-line); font-size: 12.5px; color: var(--cm-muted); text-align: center; }
.cm-inv-note span { display: block; }
@media (max-width: 720px) {
    .cm-inv-head, .cm-inv-domain, .cm-inv-note { padding-left: 18px; padding-right: 18px; }
    .cm-inv-grid, .cm-inv-foot { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
    .cm-inv-lines { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; }
    .cm-inv-title { align-items: flex-start; text-align: left; }
    .cm-inv-ref dd { text-align: left; }
}

@media print {
    .cm-topbar, .cm-footer, .cm-admin-side, .cm-admin-top, .cm-portal-side, .cm-portal-top, .cm-portal-foot, .no-print, .cm-actionbar { display: none !important; }
    .cm-invoice { max-width: none; border: 0; border-radius: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .cm-inv-grid { grid-template-columns: 1fr 1fr !important; }
    .cm-inv-foot { grid-template-columns: 1fr 300px !important; }
    .cm-inv-lines tr, .cm-inv-box, .cm-inv-totals { break-inside: avoid; }
    body, body.cm-portal-page, .cm-admin { background: #fff; }
    .cm-admin-body { padding: 0; }
    .cm-card { border: 0; box-shadow: none; }
}

/* Email template editor (TinyMCE frame tuned to the Clear Sky fields) */
.tox.tox-tinymce.cm-tox { border: 1px solid var(--cm-field-border); border-radius: var(--cm-r-md); box-shadow: 0 1px 2px rgba(16, 43, 74, .04); font-family: var(--cm-font); }
.tox.tox-tinymce.cm-tox.tox-edit-focus, .tox.tox-tinymce.cm-tox:focus-within { border-color: var(--cm-blue); box-shadow: inset 0 0 0 1px var(--cm-blue); }
.tox.cm-tox .tox-edit-area::before { display: none; }
.tox.cm-tox .tox-editor-header { border-bottom: 1px solid var(--cm-line) !important; box-shadow: none !important; padding: 0 !important; }
.tox.cm-tox .tox-toolbar__primary, .tox.cm-tox .tox-toolbar-overlord { background: var(--cm-bg) !important; }
.tox.cm-tox .tox-statusbar { border-top: 1px solid var(--cm-line); color: var(--cm-muted); }
.tox .tox-dialog-wrap .tox-navobj iframe, .tox .tox-dialog .tox-dialog__body-content iframe { min-height: 60vh; }
.cm-token {
    display: inline-flex; align-items: center; margin: 0 6px 6px 0; padding: 3px 8px;
    border: 1px solid var(--cm-line); border-radius: 6px; background: var(--cm-ice); color: var(--cm-navy);
    font: 500 12px var(--cm-mono); cursor: pointer; transition: background-color .12s, border-color .12s;
}
.cm-token:hover { background: var(--cm-sky-100); border-color: #B7C5D6; }
.cm-token:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 1px; }

/* 4. Public site "Orbit light" ==================================================================
   Design source: the same canvas, page "Public site v4 — Orbit light" (design/canvas/project/v4-*.dc.html).
   (v3 "Orbit" was the dark version of this layout; the company kept its light look with brand blue as the
   main colour.) Applies to pages on the public layout only (body.cm-public); the client portal and the staff
   panels keep the Clear Sky look above. Light "stage" header with the logo, cart and sign-in; no top
   navigation bar: Register / Transfer / WHOIS are the switch above the search box (.cm-switch).
   Gold is only used as a fill (star, badges with dark text): gold text is unreadable on white. */
.cm-public {
    --cm-brand: #225AA9;
    --cm-brand-deep: #1B3F7A;
    --cm-tint: #F3F7FD;
    --cm-pub-line: #D5E1EE;
    --cm-pub-field: #B9CBE0;
    --cm-pub-muted: #51647A;
    --cm-on-brand: #E3EEF9;
    --cm-r-lg: 22px;
    --cm-r-xl: 24px;
    background: #F5F8FC;
}

/* Stage: the light band at the top of every public page */
.cm-stage { position: relative; z-index: 20; background: linear-gradient(180deg, #FFFFFF 0%, var(--cm-tint) 100%); border-bottom: 1px solid var(--cm-pub-line); color: var(--cm-navy-950); }
/* The grid fades out before the bottom edge: otherwise a grid line can land just above the border
   (short headers such as Sign in and WHOIS) and read as a double rule. */
.cm-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(34, 90, 169, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 90, 169, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.cm-stage-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cm-stage-deco svg { position: absolute; right: -80px; top: 30px; width: 520px; height: 312px; }
.cm-stage-top { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-top: 20px; }

/* Logo with "Domain Registration" beneath it. Default: white wordmark for dark backgrounds (staff and
   reseller sidebar); .cm-brand-light: blue-and-gold wordmark on white (public site, client portal header,
   staff/reseller sign-in, invoices). */
.cm-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none !important; }
.cm-brand img { height: 66px; width: auto; display: block; }
.cm-brand > span { font: 600 16px/1.2 var(--cm-display); letter-spacing: .005em; color: #C9D8EA; white-space: nowrap; }
.cm-brand-light > span { color: var(--cm-navy); }
.cm-brand-sm { gap: 2px; }
.cm-brand-sm img { height: 46px; }
.cm-brand-sm > span { font-size: 13px; }

.cm-stage-link, .cm-stage-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; font: 600 15px/1 var(--cm-font); color: var(--cm-navy-950); text-decoration: none !important; cursor: pointer; transition: background .15s, border-color .15s; }
.cm-stage-pill { padding: 0 18px; border-color: var(--cm-brand); background: #fff; font-weight: 700; color: var(--cm-brand-deep); }
.cm-stage-link:hover, .cm-stage-link.is-active { background: #EAF1FB; color: var(--cm-brand-deep); }
.cm-stage-pill:hover { background: #EAF1FB; color: var(--cm-brand-deep); }
.cm-stage-link:focus-visible, .cm-stage-pill:focus-visible, .cm-switch a:focus-visible, .cm-brand:focus-visible { outline: 2px solid var(--cm-brand); outline-offset: 2px; }
.cm-stage-pill.cm-userbtn { padding-left: 6px; height: auto; }
.cm-stage .cm-count { background: var(--cm-red); color: #fff; font-family: var(--cm-mono); }
.cm-stage-bar { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 28px; padding-bottom: 36px; }

/* Register / Transfer / WHOIS */
.cm-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid #C6D6E8; border-radius: 16px; }
.cm-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #3B4F66; text-decoration: none !important; transition: background .15s, color .15s; }
.cm-switch a:hover { background: #EAF1FB; color: var(--cm-brand-deep); }
.cm-switch a.is-active { background: var(--cm-brand); color: #fff; font-weight: 700; }

/* Search "console" (Views/Shared/_DomainSearch with ViewData["Console"]) */
.cm-console { flex-wrap: wrap; max-width: 760px; background: #fff; border: 1px solid var(--cm-pub-field); border-radius: 18px; padding: 8px 8px 8px 20px; box-shadow: 0 18px 40px rgba(13, 42, 87, .12); }
.cm-console:focus-within { border-color: var(--cm-brand); box-shadow: 0 0 0 4px rgba(34, 90, 169, .14), 0 18px 40px rgba(13, 42, 87, .12); }
.cm-search-www { font: 400 17px var(--cm-mono); color: #6B7F96; }
.cm-console input { flex: 1 1 180px; height: 56px; font: 500 19px var(--cm-mono); color: var(--cm-navy-950); }
.cm-console input::placeholder { color: #7D8EA3; font-weight: 500; }
.cm-console .btn { min-height: 56px; padding: 0 26px; border-radius: 12px; font-size: 16px; font-weight: 700; box-shadow: none; }
.cm-stage-bar .cm-console { box-shadow: 0 12px 30px rgba(13, 42, 87, .1); }
.cm-stage-bar .cm-console input { height: 52px; font-size: 18px; }
.cm-stage-bar .cm-console .btn { min-height: 52px; }

/* Home hero */
.cm-orb-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 96px; }
.cm-orb-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.cm-orb-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid #C6D6E8; border-radius: 999px; background: #fff; font: 500 13px var(--cm-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cm-brand-deep); }
.cm-orb-hero h1 { margin: 0; font: 700 clamp(44px, 6.2vw, 84px)/.98 var(--cm-display); letter-spacing: -.035em; color: var(--cm-navy-950); text-wrap: balance; }
.cm-orb-hero h1 span { color: var(--cm-brand); }
.cm-orb-lead { margin: 0; max-width: 540px; font-size: 19px; line-height: 1.55; color: #3B4F66; }
.cm-orb-find { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
/* "Search a name" links jump to the search box (#q-h): stop high enough that the Register / Transfer / WHOIS switch above it is in view too. */
.cm-orb-find input { scroll-margin-top: 160px; }
.cm-orbit { flex: 1 1 420px; max-width: 540px; margin: 0 auto; position: relative; aspect-ratio: 1 / 1; }
.cm-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cm-orbit-glow { position: absolute; left: 18%; top: 18%; width: 64%; height: 64%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 134, 197, .28) 0%, rgba(91, 134, 197, 0) 68%); }
.cm-orbit-a { transform-origin: 50% 50%; animation: cm-orbit-spin 90s linear infinite; }
.cm-orbit-b { transform-origin: 50% 50%; animation: cm-orbit-spin 140s linear infinite reverse; }
@keyframes cm-orbit-spin { to { transform: rotate(360deg); } }
.cm-orbit-tile { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #C6D6E8; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(13, 42, 87, .08); font: 400 14px var(--cm-mono); color: var(--cm-navy-950); white-space: nowrap; }
.cm-orbit-tile b { font-weight: 400; color: var(--cm-brand); }
.cm-orbit-tile em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--cm-brand-deep); }
.cm-orbit-t1 { left: 66%; top: 21%; gap: 12px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--cm-brand); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 16px 36px rgba(13, 42, 87, .3); }
.cm-orbit-t1 b { font-weight: 700; color: #D6E6F7; }
.cm-orbit-t1 em { padding: 4px 8px; border-radius: 8px; background: var(--cm-gold); color: var(--cm-navy-950); }
.cm-orbit-t2 { left: 30%; top: 41%; }
.cm-orbit-t3 { left: 70%; top: 64%; }
.cm-orbit-t4 { left: 34%; top: 82%; }

/* Home sections */
.cm-orb-section { padding: 96px 0 88px; }
.cm-orb-tight { padding-top: 0; }
.cm-orb-white { background: #fff; border-top: 1px solid var(--cm-pub-line); border-bottom: 1px solid var(--cm-pub-line); }
.cm-orb-tint { background: var(--cm-tint); }
.cm-orb-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.cm-orb-head-row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.cm-orb-eyebrow { font: 700 13px var(--cm-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cm-brand); }
.cm-orb-h2 { margin: 0; font: 700 clamp(30px, 3.6vw, 48px)/1.05 var(--cm-display); letter-spacing: -.03em; color: var(--cm-navy-950); }

.cm-bento { display: flex; flex-wrap: wrap; gap: 20px; }
.cm-tile { position: relative; overflow: hidden; flex: 1 1 320px; min-width: 0; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 32px; border: 1px solid var(--cm-pub-line); border-radius: 24px; background: #fff; color: var(--cm-navy-950); text-decoration: none !important; transition: transform .18s var(--cm-ease), border-color .18s, box-shadow .18s; }
a.cm-tile:hover { transform: translateY(-3px); border-color: var(--cm-sky); box-shadow: 0 14px 30px rgba(13, 42, 87, .12); color: var(--cm-navy-950); }
.cm-tile-wide { flex: 2 1 560px; }
.cm-tile-brand, a.cm-tile-brand:hover { background: var(--cm-brand); border-color: var(--cm-brand); color: #fff; }
a.cm-tile-brand:hover { border-color: var(--cm-brand-deep); }
.cm-tile-tint { background: #EAF1FB; border-color: #C6D6E8; }
.cm-tile-art { position: absolute; right: -40px; bottom: -40px; width: 380px; height: 266px; pointer-events: none; }
.cm-tile-ic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #EAF1FB; color: var(--cm-brand); }
.cm-tile-brand .cm-tile-ic { background: var(--cm-gold); color: var(--cm-navy-950); }
.cm-tile-text { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.cm-tile-title { font: 700 24px/1.2 var(--cm-display); letter-spacing: -.02em; }
.cm-tile-wide .cm-tile-title { font-size: 30px; }
.cm-tile-brand .cm-tile-title { color: #fff; }
.cm-tile-desc { font-size: 15px; color: var(--cm-pub-muted); }
.cm-tile-wide .cm-tile-desc { font-size: 16px; }
.cm-tile-brand .cm-tile-desc { color: var(--cm-on-brand); }
.cm-tile-tint .cm-tile-desc { color: #3B4F66; }
.cm-tile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--cm-brand); }
.cm-tile-brand .cm-tile-link { color: #fff; text-decoration: underline; text-decoration-color: var(--cm-gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cm-lookup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border: 1px solid #C6D6E8; border-radius: 16px; background: #fff; color: var(--cm-pub-muted); }
.cm-lookup:focus-within { border-color: var(--cm-brand); box-shadow: inset 0 0 0 1px var(--cm-brand); }
.cm-lookup input { flex: 1 1 160px; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: 400 16px var(--cm-mono); color: var(--cm-navy-950); }
.cm-lookup button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--cm-brand); color: #fff; font: 700 15px var(--cm-font); cursor: pointer; }
.cm-lookup button:hover { background: var(--cm-brand-deep); }

.cm-hosting { display: flex; flex-direction: column; gap: 32px; padding: 40px; border: 1px solid var(--cm-pub-line); border-radius: 28px; background: #fff; }
.cm-hosting-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 640px; }
.cm-hosting-copy p { margin: 0; color: var(--cm-pub-muted); }
.cm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.cm-plan { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--cm-pub-line); border-radius: 20px; background: #F5F8FC; }
.cm-plan-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--cm-pub-line); background: #fff; color: var(--cm-brand); }
.cm-plan-name { font: 700 22px/1.2 var(--cm-display); letter-spacing: -.02em; }
.cm-plan-desc { flex: 1 1 auto; font-size: 14px; color: var(--cm-pub-muted); overflow-wrap: anywhere; }
.cm-plan-price { padding-top: 14px; border-top: 1px solid var(--cm-pub-line); font: 700 22px var(--cm-mono); color: var(--cm-brand-deep); }
.cm-plan-price small { font-size: 13px; font-weight: 400; color: var(--cm-pub-muted); }
.cm-plan:nth-child(2) { background: var(--cm-brand); border-color: var(--cm-brand); color: #fff; }
.cm-plan:nth-child(2) .cm-plan-ic { border-color: var(--cm-gold); background: var(--cm-gold); color: var(--cm-navy-950); }
.cm-plan:nth-child(2) .cm-plan-desc { color: var(--cm-on-brand); }
.cm-plan:nth-child(2) .cm-plan-price { border-top-color: rgba(255, 255, 255, .3); color: #fff; }
.cm-plan:nth-child(2) .cm-plan-price small { color: #D6E6F7; }

.cm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.cm-steps li { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 8px 0; border-top: 2px solid var(--cm-brand); }
.cm-steps li:last-child { border-top-color: var(--cm-gold); }
.cm-steps-n { font: 700 64px/1 var(--cm-display); letter-spacing: -.04em; color: var(--cm-brand); }
.cm-steps li:last-child .cm-steps-n { color: var(--cm-brand-deep); }
.cm-steps-t { font: 700 21px/1.25 var(--cm-display); letter-spacing: -.01em; }
.cm-steps-d { font-size: 15px; color: var(--cm-pub-muted); }

.cm-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--cm-pub-line); border-radius: 20px; background: var(--cm-pub-line); }
.cm-board > div { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: #fff; }
.cm-board-tld { font: 700 34px/1.1 var(--cm-display); letter-spacing: -.03em; color: var(--cm-navy-950); }
.cm-board-price { font: 700 15px var(--cm-mono); color: var(--cm-brand); }
.cm-board-price small { font-size: inherit; font-weight: 400; color: var(--cm-pub-muted); }
.cm-board-note { font: 400 13px var(--cm-mono); color: var(--cm-pub-muted); }
.cm-board-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 26px 30px; border-radius: 20px; background: var(--cm-brand); }
.cm-board-cta > svg { position: absolute; right: 220px; top: -30px; width: 400px; height: 140px; pointer-events: none; }
.cm-board-cta > span { position: relative; font: 700 24px/1.2 var(--cm-display); letter-spacing: -.02em; color: #fff; }
.cm-board-cta .btn { position: relative; min-height: 52px; padding: 0 24px; border-radius: 12px; background: #fff; border-color: #fff; color: var(--cm-brand-deep); font-size: 16px; font-weight: 700; }
.cm-board-cta .btn:hover { background: #EAF1FB; border-color: #EAF1FB; color: var(--cm-brand-deep); }
.cm-board-cta .btn svg { color: var(--cm-red); }

/* The working pages (search results, cart, transfer, WHOIS, sign in, create account) in the same voice */
.cm-public .cm-h1, .cm-public .cm-h2, .cm-public .cm-page-header h1 { font-family: var(--cm-display); font-weight: 700; letter-spacing: -.03em; }
.cm-public .cm-h1 { font-size: 36px; line-height: 1.1; }
.cm-public .cm-card { border-color: var(--cm-pub-line); box-shadow: none; }
.cm-public .cm-card-hd h2, .cm-public .cm-card-hd h3 { font: 700 18px/1.3 var(--cm-display); letter-spacing: -.01em; }
.cm-public .cm-card .cm-steps-n { font-size: 44px; }
.cm-public .cm-domain, .cm-public .cm-cart-domain { font-family: var(--cm-mono); font-weight: 500; letter-spacing: -.01em; }
.cm-public .cm-price, .cm-public .cm-total, .cm-public .cm-summary-total { font-family: var(--cm-mono); font-weight: 700; }
.cm-public .cm-result { align-items: flex-end; padding: 32px; border-color: var(--cm-pub-line); border-radius: 24px; box-shadow: none; }
.cm-public .cm-result-domain, .cm-public .cm-result .cm-domain { font: 700 clamp(26px, 4vw, 48px)/1.05 var(--cm-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.cm-public .cm-result .cm-badge { padding: 5px 12px; font: 700 12px/18px var(--cm-mono); letter-spacing: .08em; text-transform: uppercase; }
.cm-public .cm-result .cm-badge::before { display: none; }
.cm-public .cm-result.is-available { background: var(--cm-brand); border-color: var(--cm-brand); color: #fff; box-shadow: 0 18px 40px rgba(13, 42, 87, .22); }
.cm-public .cm-result.is-available .cm-result-domain, .cm-public .cm-result.is-available .cm-domain, .cm-public .cm-result.is-available .cm-price { color: #fff; }
.cm-public .cm-result.is-available .text-muted { color: var(--cm-on-brand) !important; }
.cm-public .cm-result.is-available .cm-badge { background: var(--cm-gold); color: var(--cm-navy-950); }
.cm-public .cm-result.is-taken .cm-result-domain { color: var(--cm-pub-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.cm-public .cm-result.is-taken .cm-badge { background: #EAF1FB; color: var(--cm-brand-deep); }
.cm-public .cm-result.is-error { border-color: #F2D48E; }
.cm-public .cm-auth { border: 1px solid var(--cm-pub-line); border-radius: 24px; box-shadow: none; }
.cm-public .cm-auth-side { background-color: var(--cm-brand); background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 56px 56px; }
.cm-public .cm-auth-side h2 { font-family: var(--cm-display); font-weight: 700; letter-spacing: -.02em; }
.cm-public .cm-auth-side .cm-eyebrow { color: #fff !important; }
.cm-public .cm-auth-list { color: #fff; }
.cm-public .cm-auth-list-ic { background: rgba(255, 255, 255, .16); color: var(--cm-gold); }
.cm-public .cm-footer { background: var(--cm-brand-deep); color: #D6E6F7; }
.cm-public .cm-footer a { color: #fff; }
.cm-public .cm-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cm-gold); }
.cm-public .cm-footer h4, .cm-public .cm-footer h6 { font: 700 12px var(--cm-mono); letter-spacing: .1em; }
.cm-public .cm-footer-base { border-top-color: rgba(255, 255, 255, .2); }

@media (max-width: 600px) {
    .cm-stage .cm-brand img { height: 52px; }
    .cm-stage .cm-brand > span { font-size: 14px; }
    .cm-stage-link, .cm-stage-pill { padding: 0 12px; }
    .cm-switch a { padding: 0 14px; }
    .cm-orb-hero { gap: 32px; padding-top: 40px; padding-bottom: 64px; }
    .cm-orb-section { padding: 64px 0 56px; }
    .cm-orb-tight { padding-top: 0; }
    .cm-tile, .cm-hosting { padding: 24px; }
    .cm-public .cm-h1 { font-size: 28px; }
    .cm-public .cm-result { padding: 22px; }
    .cm-board-cta > svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cm-orbit-a, .cm-orbit-b { animation: none; }
    .cm-tile { transition: none; }
}
@media print { .cm-stage { display: none !important; } }
