/* Syntax Host */
:root {
    --ink: #0b1f4d;
    --muted: #5a6d86;
    --paper: #f4f8fc;
    --card: #ffffff;
    --line: #d4e0ee;
    --teal: #1478d4;
    --teal-soft: #e8f1f8;
    --accent-2: #2ec5f3;
    --bad: #9a4a4a;
    --bad-soft: #fbeeee;
    --good: #2f6d4f;
    --shadow: 0 12px 36px rgba(11, 31, 77, 0.08);
    --type: "Bookman Old Style", Bookman, "URW Bookman", "Palatino Linotype", Palatino, serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(46, 197, 243, 0.08), transparent 32%),
        var(--paper);
    font-family: var(--type);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2 {
    font-family: var(--type);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0;
    color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 14ch; }
h2 { font-size: 2rem; }

a { color: var(--teal); }

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    padding: 10px 7vw;
    background: rgba(244, 248, 252, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.mark { display: flex; align-items: center; text-decoration: none; }
.mark img { width: 5cm; height: auto; max-width: 46vw; }

.top nav { display: flex; gap: 16px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--teal); }

main { padding: 12px 7vw 80px; }

.hero { max-width: 980px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent-2);
}
#search > h1.order-headline {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.15rem, 3.6vw, 2rem);
    line-height: 1.2;
}
.lead { max-width: 46rem; font-size: 1.15rem; color: var(--muted); }
.lead-dummies {
    max-width: 46rem;
    margin: 0 0 1.25rem;
    padding: 14px 16px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink, #1a2a3a);
    background: #f4f8fc;
    border-left: 3px solid var(--accent, #1478d4);
    border-radius: 0 8px 8px 0;
}

.steps {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 28px 0;
    color: var(--muted);
}
.steps li.is-on { color: var(--ink); font-weight: 600; }

.lookup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem auto auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.cap {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
}
.lookup input, .lookup select { font-size: 1.15rem; width: 100%; }
.tld-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding-left: 14px;
}
.tld-wrap b { color: var(--muted); font-size: 1.3rem; }
.tld-wrap input { border: 0; background: transparent; padding-left: 2px; width: 100%; }
.quick { margin: 16px 0 8px; color: var(--muted); font-size: 0.85rem; }
.tlds { display: flex; gap: 8px; }
.tld {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    cursor: pointer;
}
.tld:hover, .tld:focus-visible { background: var(--ink); color: white; }

[hidden] { display: none !important; }

.btn, button.btn {
    border: 0;
    background: var(--ink);
    color: #f4f8fc;
    border-radius: 8px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 560;
    cursor: pointer;
}
.btn:hover { background: var(--teal); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
button.text {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    cursor: pointer;
    padding: 8px 0;
}

.result {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}
.result p { margin: 0 0 8px; }
.result.good #result-text { color: var(--good); font-weight: 560; }
.result.bad #result-text { color: var(--bad); font-weight: 560; }
#result-note { color: var(--muted); font-weight: 400; }
.result .btn { margin-top: 6px; }
small { color: var(--muted); font-size: 0.82rem; }

.note {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}
.note.bad { background: var(--bad-soft); color: var(--bad); }
.note.good { background: var(--teal-soft); color: var(--teal); }

.sheet { margin-top: 28px; }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 28px;
}
.grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 28px;
}
.stack, .summary { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
label.checkline { flex-direction: row; align-items: center; gap: 10px; }
label.checkline input { width: auto; }
input, select, textarea {
    font: inherit;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.summary {
    background: #eef5fc;
    border-radius: 22px;
    padding: 22px;
}
.summary ul { margin: 0; padding-left: 18px; color: var(--muted); }
.summary-purchase {
    grid-template-columns: 1fr;
    margin-bottom: 8px;
}
.summary-purchase dd { font-size: 1.05rem; }
.summary-purchase .summary-total {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.summary-purchase .summary-total dd {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 700;
}
.muted, .warn { color: var(--muted); }
.warn { color: var(--bad); }
.password {
    font-family: var(--type);
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.mail-line {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.mail-line input {
    border: 0;
    border-radius: 0;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}
.mail-line span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #eef5fc;
    color: var(--ink);
    white-space: nowrap;
}
.made p { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
.made span { color: var(--muted); }

.narrow { max-width: 720px; }
.narrow .receipt-title { max-width: none; }
.narrow.is-panel { max-width: 980px; }
.is-panel h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); max-width: none; }

.cp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
    gap: 14px;
    margin: 6px 0 22px;
}
.cp-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 8px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: var(--shadow);
}
button.cp-icon { appearance: none; }
.cp-icon svg {
    width: 54px;
    height: 54px;
    padding: 11px;
    border-radius: 16px;
    background: var(--teal-soft);
    color: var(--teal);
}
.cp-icon span { font-size: 0.95rem; }
.cp-icon[data-tone="mail"] svg,
.cp-icon[data-tone="mail"] span { color: #0b1f4d; }
.cp-icon[data-tone="mail"] svg { background: #e8f1f8; }
.cp-icon[data-tone="webmail"] svg,
.cp-icon[data-tone="webmail"] span { color: #1478d4; }
.cp-icon[data-tone="webmail"] svg { background: #e7f3fc; }
.cp-icon[data-tone="web"] svg,
.cp-icon[data-tone="web"] span { color: #0c8eb8; }
.cp-icon[data-tone="web"] svg { background: #e5f8fc; }
.cp-icon[data-tone="db"] svg,
.cp-icon[data-tone="db"] span { color: #12305f; }
.cp-icon[data-tone="db"] svg { background: #e8eef6; }
.cp-icon[data-tone="ftp"] svg,
.cp-icon[data-tone="ftp"] span { color: #1478d4; }
.cp-icon[data-tone="ftp"] svg { background: #e7f3fc; }
.cp-icon[data-tone="ssl"] svg,
.cp-icon[data-tone="ssl"] span { color: #0b1f4d; }
.cp-icon[data-tone="ssl"] svg { background: #e8f1f8; }
.cp-icon[data-tone="dns"] svg,
.cp-icon[data-tone="dns"] span { color: #0c8eb8; }
.cp-icon[data-tone="dns"] svg { background: #e5f8fc; }
.cp-icon { transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease; }
.cp-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(11, 31, 77, 0.12);
}
.cp-icon[data-tone="mail"]:hover,
.cp-icon[data-tone="mail"].is-on { border-color: #0b1f4d; }
.cp-icon[data-tone="webmail"]:hover { border-color: #1478d4; }
.cp-icon[data-tone="web"]:hover { border-color: #2ec5f3; }
.cp-icon[data-tone="db"]:hover,
.cp-icon[data-tone="db"].is-on { border-color: #12305f; }
.cp-icon[data-tone="ftp"]:hover,
.cp-icon[data-tone="ftp"].is-on { border-color: #1478d4; }
.cp-icon[data-tone="ssl"]:hover,
.cp-icon[data-tone="ssl"].is-on { border-color: #0b1f4d; }
.cp-icon[data-tone="dns"]:hover,
.cp-icon[data-tone="dns"].is-on { border-color: #2ec5f3; }
.cp-icon.is-on svg { color: #fff; }
.cp-icon[data-tone="mail"].is-on svg { background: #0b1f4d; }
.cp-icon[data-tone="db"].is-on svg { background: #12305f; }
.cp-icon[data-tone="ftp"].is-on svg { background: #1478d4; }
.cp-icon[data-tone="ssl"].is-on svg { background: #0b1f4d; }
.cp-icon[data-tone="dns"].is-on svg { background: #0c8eb8; }
.cp-panel[hidden] { display: none; }
.cp-panel .table-wrap { margin-bottom: 16px; }
.row-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.row-form input { width: 9rem; padding: 8px 10px; }
button.text.danger { color: var(--bad); }
.zone {
    max-width: 100%;
    min-width: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-all;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.45;
}
.admin h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: none; }
.admin h2 { max-width: none; font-size: 1.6rem; margin: 8px 0 12px; }

.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.timeline li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}
.timeline li.bad { background: var(--bad-soft); }
.timeline li.ok strong { color: var(--good); }
.timeline span { color: var(--muted); text-align: right; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 18px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eee;
    font-size: 0.82rem;
}
.pill.live, .pill.paid { background: var(--teal-soft); color: var(--teal); }
.pill.attention, .pill.failed { background: var(--bad-soft); color: var(--bad); }
.mine {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px 22px;
    margin: 0;
}
.mine div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mine dt {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mine dd { margin: 0; overflow-wrap: anywhere; }
.pkg-usage { margin-top: 4px; }
.mine dd.is-warn { color: var(--bad); font-weight: 600; }

.checks { list-style: none; padding: 0; }
.checks li { padding: 8px 0; }
.checks li.ok::before { content: "● "; color: var(--good); }
.checks li.bad::before { content: "● "; color: var(--bad); }

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.site-header .btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
}
.host-admin {
    position: sticky;
    top: 70px;
    z-index: 19;
    background: var(--ink);
    padding: 0 7vw;
}
.host-admin-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    min-height: 44px;
}
.host-admin-inner strong { color: #fff; font-size: 13px; margin-right: 8px; }
.host-admin a { color: #c5daf0; font-size: 14px; text-decoration: none; }
.host-admin a:hover { color: #fff; }
.host-board {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}
.host-board-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.host-board-link:hover, .host-board-link.is-on {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.dash-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}
.dash-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
}
.dash-card span { display: block; color: var(--muted); font-size: 13px; }
.dash-card strong { display: block; font-size: 1.5rem; margin-top: 4px; }
.dash-card em {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 13px;
    color: var(--teal);
}
.dash-money { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-card-btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    background: linear-gradient(180deg, #f3f9ff, #fff);
    border-color: #b7d3ee;
}
.dash-card-btn:hover, a.dash-card:hover { border-color: var(--teal); }
.payout-note { margin: -12px 0 28px; }

body.is-reseller {
    min-height: 100vh;
    background:
        radial-gradient(1200px 400px at 80% -10%, rgba(46, 197, 243, 0.16), transparent 55%),
        #eef2f7;
    color: #10233f;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
}
body.is-reseller h1, body.is-reseller h2 {
    font-family: inherit;
    letter-spacing: -0.03em;
}
.rs-ico, svg.rs-ico { width: 14px !important; height: 14px !important; max-width: 14px; flex: 0 0 auto; }
.rs-app {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
}
.rs-side {
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    background: linear-gradient(180deg, #10284f 0%, #0b1f4d 100%);
    color: #fff;
}
.rs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 8px 26px;
    color: #fff;
    text-decoration: none;
    font-weight: 650;
}
.rs-brand img, .rs-brand svg {
    height: 22px;
    width: auto;
    max-width: 96px;
    background: #fff;
    border-radius: 6px;
    padding: 3px 5px;
}
.rs-nav { display: flex; flex-direction: column; gap: 6px; }
.rs-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c5daf0;
    text-decoration: none;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}
.rs-nav .rs-ico { width: 14px; height: 14px; }
.rs-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.rs-nav a.is-on {
    background: rgba(46, 197, 243, 0.16);
    color: #fff;
    box-shadow: inset 3px 0 0 #2ec5f3;
}
.rs-side-user {
    margin: 8px 0 4px;
    padding: 12px 11px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.rs-who { display: flex; align-items: center; gap: 10px; }
.rs-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2ec5f3;
    color: #0b1f4d;
    font-size: 11px;
    font-weight: 700;
}
.rs-who strong, .rs-who em { display: block; }
.rs-who strong { font-size: 13px; }
.rs-who em { color: #9bb4ce; font-size: 12px; font-style: normal; }
.rs-side-user .rs-logout { color: #c5daf0; text-decoration: none; font-size: 13px; font-weight: 600; padding-left: 38px; }
.rs-side-user .rs-logout:hover { color: #fff; }
.rs-wrap { min-width: 0; }
.rs-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 0 36px;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(212, 224, 238, 0.8);
    backdrop-filter: blur(16px);
}
.rs-bar p { margin: 0; font-size: 14px; font-weight: 650; color: #5a6d86; }
.rs-langs { display: flex; gap: 4px; padding: 3px; background: #eef3f8; border-radius: 999px; }
.rs-langs a {
    color: #5a6d86;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 999px;
}
.rs-langs a.is-on, .rs-langs a:hover { background: #0b1f4d; color: #fff; }
body.is-reseller main.rs-content { padding: 28px 36px 72px; }
body.is-reseller .admin { max-width: 1120px; }
body.is-reseller .admin h1 { font-size: 1.7rem; margin: 0 0 8px; max-width: none; }
body.is-reseller .eyebrow { letter-spacing: 0.12em; }
body.is-reseller .card, body.is-reseller .rs-panel, body.is-reseller .table-wrap {
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.06);
}
body.is-reseller .table-wrap { overflow: hidden; }
body.is-reseller table { border-radius: 0; }
body.is-reseller th { color: #5a6d86; font-size: 12px; font-weight: 700; }
.rs-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin: 0 0 22px;
}
.rs-hero h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.rs-hero p { margin: 0; color: #5a6d86; }
.rs-hero-pay {
    min-width: 210px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.06);
}
.rs-hero-pay span { display: block; color: #5a6d86; font-size: 12px; font-weight: 650; }
.rs-hero-pay strong { display: block; margin-top: 2px; font-size: 1.05rem; }
body.is-reseller .dash-grid { gap: 16px; }
body.is-reseller .dash-card {
    border: 0;
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
body.is-reseller a.dash-card:hover, body.is-reseller .dash-card-btn:hover, body.is-reseller .rs-kpi-card.is-owed:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(16, 35, 63, 0.1);
    border-color: transparent;
}
.rs-kpi-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; }
.rs-kpi-ico {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    background: none;
    color: inherit;
}
.rs-kpi-card span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5a6d86;
    font-size: 13px;
    font-weight: 650;
}
.rs-kpi-card strong {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.rs-kpi-card strong small { font-size: 0.85rem; color: #5a6d86; font-weight: 650; }
.rs-kpi-card.is-owed {
    background: linear-gradient(180deg, #14305f, #0b1f4d);
    color: #fff;
}
.rs-kpi-card.is-owed span, .rs-kpi-card.is-owed em, .rs-kpi-card.is-owed strong small { color: #c5daf0; }
.rs-kpi-card.is-owed strong { color: #fff; }
button.dash-card.rs-kpi-card {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
body.is-admin .admin-reseller-kpi .dash-card,
body.is-admin .admin-reseller-kpi button.dash-card {
    border: 0;
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.06);
}
body.is-admin .admin-reseller-kpi button.dash-card.rs-kpi-card.is-owed:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(16, 35, 63, 0.12);
}
body.is-reseller .dash-stats .dash-card strong { font-size: 1.45rem; }
body.is-reseller .dash-card.is-warn strong { color: #9a4a4a; }
.rs-share {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 22px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.06);
}
.rs-share-top { display: flex; align-items: flex-start; gap: 12px; }
.rs-share-top strong { display: block; font-size: 1rem; }
.rs-share-top p { margin: 4px 0 0; color: #5a6d86; }
.rs-share-row { display: flex; gap: 10px; align-items: center; }
.rs-share-row input {
    flex: 1;
    background: #f4f7fb;
    border: 0;
    border-radius: 12px;
}
.rs-share-row .btn { padding: 12px 16px; border-radius: 12px; }
.rs-share-linkline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    word-break: break-all;
}
.rs-share-linkline a { color: #1478d4; font-weight: 600; }
.rs-share-sub { margin: 14px 0 6px; }
.rs-share-section { margin: 18px 0 4px; font-weight: 650; color: #10233f; }
.rs-webhotel-block {
    margin-top: 8px;
    padding: 14px 16px 6px;
    border-left: 4px solid #2ec5f3;
    background: #f8fbfe;
    border-radius: 0 14px 14px 0;
}
.rs-share-sub-nested { margin-left: 8px; }
.rs-invite-nested { margin-left: 18px; }
.rs-copy-inline { padding: 8px 12px; font-size: 13px; }
.rs-apps-note { margin-top: 14px; line-height: 1.45; }
.rs-invite-links {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #e2eaf3;
    border-radius: 12px;
    background: #f8fbfe;
}
.rs-invite-links legend { font-size: 13px; font-weight: 650; color: #5a6d86; padding: 0 4px; }
.rs-invite-links .checkline { display: block; margin: 6px 0; }
.reseller-product-grid { gap: 10px; }
.reseller-product-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}
.reseller-product-row:last-child { border-bottom: 0; }
.reseller-product-pct { margin: 0; font-size: 13px; color: #5a6d86; }
.reseller-product-pct input { max-width: 5rem; margin-left: 6px; }
.rs-rates { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.rs-rates li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5fc;
    color: #10233f;
    font-size: 13px;
}
.rs-rates b { color: #1478d4; }
.rs-commission-terms .rs-rates { padding: 0 16px 8px; }
.rs-terms-sub { padding: 0 16px; margin: 0 0 6px; font-size: 13px; }
.rs-rules-heading {
    margin: 12px 16px 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #10233f;
}
.rs-rules {
    margin: 0 16px 16px;
    padding-left: 1.15rem;
    color: #5a6d86;
    font-size: 14px;
    line-height: 1.45;
}
.rs-rules li { margin: 0.35em 0; }

.rs-agreement-scroll {
  max-height: min(62vh, 520px);
  overflow: auto;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line, #d8dee6);
  border-radius: 8px;
  background: var(--panel, #fffdf7);
}
.rs-agreement-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 600;
  margin: 1rem 0;
}
.rs-agreement-check input { margin-top: 0.25rem; flex-shrink: 0; }

[data-help] {
  cursor: help;
}
[data-help]:hover::after,
[data-help]:focus-visible::after {
  content: attr(data-help);
  position: absolute;
  z-index: 1200;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%);
  max-width: min(22rem, 92vw);
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
  background: #0b1f4d;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  white-space: normal;
  text-align: left;
}
button[data-help],
input.btn[data-help],
a.btn[data-help] {
  position: relative;
}
.rs-row-actions { white-space: nowrap; }
.rs-row-actions .inline-form { display: inline-block; margin: 0 0 0 8px; vertical-align: middle; }
.rs-row-actions .btn.ghost { padding: 6px 10px; font-size: 13px; }
.rs-overview {
    margin: 0 0 22px;
    padding: 18px 20px 20px;
    background: #f4f8fc;
    border: 1px solid #dbe6f2;
    border-radius: 22px;
}
.rs-overview h2 { margin: 0 0 14px; font-size: 1.15rem; }
.rs-overview .dash-grid { margin: 0; }
.rs-overview .dash-grid.dash-stats { margin-top: 5mm; }
.rs-overview .payout-note { display: none; }
.rs-panel { padding: 8px 8px 4px; margin: 0 0 22px; }
.rs-panel h2 { padding: 14px 16px 6px; font-size: 1.15rem; }
.rs-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 14px 16px 6px;
}
.rs-panel-head h2 { padding: 0; margin: 0; }
.rs-panel-head a { font-size: 13px; font-weight: 600; }
.rs-login-head { max-width: 28rem; }
.rs-who-light strong, .rs-who-light em { display: block; color: inherit; }
.rs-who-light em { color: var(--muted); font-style: normal; font-size: 14px; }
.rs-empty {
    padding: 28px 24px;
    background: #fff;
    border-radius: 20px;
    color: #5a6d86;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.06);
}
body.is-reseller .note { border-radius: 14px; }
.host-dialog {
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.host-dialog::backdrop { background: rgba(11, 31, 77, 0.42); }
.host-dialog-inner { padding: 24px 26px 22px; }
.host-dialog-inner h2 { max-width: none; font-size: 2rem; margin: 0 0 8px; }
.domain-suggest-dialog .host-dialog-inner { max-width: 36rem; }
.domain-suggest-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 8px;
    max-height: 280px;
    overflow: auto;
}
.domain-suggest-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.domain-suggest-list li:last-child { border-bottom: 0; }
.domain-suggest-list strong { font-size: 1.05rem; color: var(--ink); }
.domain-suggest-list span.meta { color: var(--muted, #5a6d86); font-size: 0.92rem; }
.domain-suggest-list .btn.ghost { flex-shrink: 0; padding: 8px 14px; }
.domain-suggest-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.domain-suggest-tag.is-free { background: #e6f6ed; color: #0d6b3a; }
.domain-suggest-tag.is-taken { background: #f3e8e8; color: #8b3030; }
.domain-suggest-tag.is-test { background: #f0ebe0; color: #6b5a30; }
.domain-suggest-bypass { margin-top: 0; }
.domain-suggest-list li.is-taken strong { color: var(--muted, #5a6d86); }
.btn.ghost {
    background: #fff;
    color: var(--teal);
    border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--teal); }
a.dash-card { text-decoration: none; color: inherit; }
.reseller-block { margin: 0 0 18px; }
.reseller-block h2 { font-size: 1.5rem; max-width: none; }
@media (max-width: 800px) {
    .dash-grid, .dash-money { grid-template-columns: 1fr 1fr; }
    .dash-money .dash-card-btn { grid-column: 1 / -1; }
    .rs-app { display: block; }
    .rs-side { position: sticky; top: 0; z-index: 20; padding: 12px 16px 10px; }
    .rs-brand { margin: 0 0 10px; }
    .rs-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .rs-nav a { padding: 8px 10px; }
    .rs-nav a.is-on { box-shadow: none; }
    .rs-side-user {
        flex: 1 1 100%;
        margin: 6px 0 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .rs-side-user .rs-logout { padding-left: 0; }
    .rs-bar, body.is-reseller main.rs-content { padding-left: 16px; padding-right: 16px; }
    .rs-hero, .rs-share-row { flex-direction: column; align-items: stretch; }
    .rs-hero-pay { min-width: 0; }
}

.is-front main { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 80px; }
.front-hero {
    margin: 8px 0 42px;
    padding: 48px 28px 36px;
    border-radius: 28px;
    background: linear-gradient(180deg, #e7f3fb 0%, #f8fbfe 72%);
    text-align: center;
}
.front-hero h1 {
    max-width: 18em;
    margin: 0 auto 14px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.front-hero .lead { margin: 0 auto 8px; }
.front-why { margin: 22px 0 8px; font-weight: 700; color: var(--ink); }
.front-points {
    list-style: none;
    padding: 0;
    margin: 0 auto 18px;
    max-width: 34rem;
    text-align: left;
    color: var(--ink);
}
.front-points li { position: relative; padding: 5px 0 5px 1.7rem; }
.front-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.4 2.4L10 3.2' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.front-cta {
    margin: 28px auto 0;
    max-width: 32rem;
    padding: 22px 24px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(20, 120, 212, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 28px rgba(11, 31, 77, 0.08);
}
.front-cta .front-ready { margin: 0 0 6px; font-size: 1.12rem; }
.front-cta-lead { margin: 0 auto 4px !important; color: var(--muted, #4a6078); }
.front-cta-note { margin: 0 0 14px; font-size: 0.95rem; color: var(--ink); }
.front-cta-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
}
.front-cta-arrow {
    width: clamp(40px, 12vw, 56px);
    height: auto;
    flex-shrink: 0;
    color: var(--teal);
    opacity: 0.85;
}
.front-cta-arrow--right { transform: scaleX(-1); }
.front-start {
    display: inline-block;
    margin: 0;
    padding: 6px 4px;
    color: var(--teal);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.front-start:hover { color: var(--accent-2); }

.plan-grid, .feat-grid, .learn-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.plan-grid { margin: 0 0 56px; }
.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 280px;
    padding: 36px 22px 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--ink);
    text-align: center;
    text-decoration: none;
}
.plan-card.is-mid { background: linear-gradient(180deg, #e7f3fb, #f8fbfe); }
.plan-card:hover { border-color: #9ec4ea; }
.plan-card svg { width: 92px; height: 72px; }
.plan-card strong { font-size: 1.15rem; }
.plan-card span { color: var(--muted); font-size: 0.95rem; }

.feat-head { text-align: center; margin: 0 0 22px; }
.feat-head h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.feat-head p { color: var(--muted); max-width: 40rem; margin: 0 auto; }
.feat-grid { margin-bottom: 48px; }
.feat-card {
    padding: 20px 18px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.feat-card.is-soft { background: #f3f8fd; }
.feat-ico {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat-card.is-soft .feat-ico,
.feat-card.is-pale .feat-ico { background: #e7f3fb; color: var(--teal); }
.feat-card h3 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: 0; }
.feat-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.learn-grid { margin: 10px 0 20px; text-align: center; }
.learn-grid h3 { margin-bottom: 8px; }
.learn-grid p { color: var(--muted); }
.learn-grid a { color: var(--teal); font-weight: 700; }
.learn-grid a:hover { color: var(--accent-2); }

.plan-picks { display: grid; gap: 10px; }
.plan-pick {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}
.plan-pick:has(input:checked) { border-color: var(--teal); background: #f3f8fd; }
.plan-pick input { grid-row: 1 / span 2; }
.plan-pick strong { color: var(--ink); }
.plan-pick span { grid-column: 2; color: var(--muted); font-size: 0.9rem; }
.plan-pick b { grid-row: 1 / span 2; grid-column: 3; color: var(--ink); }
.ticket-hp { position: absolute !important; left: -10000px !important; }
.ticket-public-head, .ticket-message header, .ticket-row, .ticket-controls, .ticket-staff-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}
.ticket-status, .ticket-attachment {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #dff3f6;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 700;
}
.ticket-thread { display: grid; gap: 14px; margin: 24px 0; }
.ticket-message { max-width: 82%; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.ticket-message.is-staff { margin-left: auto; background: #edf8fb; }
.ticket-message header time { color: var(--muted); font-size: .82rem; }
.ticket-message p { overflow-wrap: anywhere; }
.ticket-list { display: grid; gap: 8px; margin: 22px 0; }
.ticket-row { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.ticket-row span:first-child { display: grid; gap: 3px; }
.ticket-row small { color: var(--muted); }
.ticket-controls, .ticket-staff-row { flex-wrap: wrap; margin-bottom: 12px; }
.ticket-controls label { min-width: 150px; }
.ticket-staff-row input { min-width: 150px; flex: 1; }
.ticket-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 14px;
}
.ticket-details div { display: grid; gap: 4px; min-width: 0; }
.ticket-details span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.ticket-details strong, .ticket-details a { overflow-wrap: anywhere; color: var(--ink); }
.ticket-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-filters a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

.seo-manual { max-width: 760px; }
.seo-manual-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.seo-manual-toc { margin: 20px 0 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: #f5f9fc; }
.seo-manual-toc ol { margin: 8px 0 0; padding-left: 1.25rem; }
.seo-manual-toc a { color: var(--ink); }
.seo-manual-block h2 { margin: 0 0 8px; font-size: 1.15rem; }
.seo-manual-block p { margin: 0; line-height: 1.55; }
.seo-manual-banner { margin: 18px 0 24px; border-color: #b8e4f5; background: linear-gradient(135deg, #f0f9fd 0%, #fff 55%); }
.seo-manual-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.seo-manual-banner-inner p { margin: 0; max-width: 42rem; line-height: 1.5; }
.seo-manual-cta { flex-shrink: 0; font-size: 1rem; padding: 12px 22px; }
.seo-panel .seo-manual-actions h1 { flex: 1; min-width: 12rem; }
.is-admin .seo-manual-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; }

@media (max-width: 800px) {
    .grid, .split, .split-3, .timeline li { display: flex; flex-direction: column; }
    .lookup { grid-template-columns: 1fr; }
    .cp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    h1 { max-width: none; }
    .top, main { padding-left: 20px; padding-right: 20px; }
    .plan-grid, .feat-grid, .learn-grid { grid-template-columns: 1fr; }
    .is-front main { width: min(1080px, calc(100% - 24px)); }
    .ticket-message { max-width: 100%; }
    .ticket-public-head, .ticket-row, .ticket-controls, .ticket-staff-row { align-items: stretch; flex-direction: column; }
    .ticket-details { grid-template-columns: 1fr 1fr; }
}
