.hhls-checkout-wrap {
    --hhls-ink: #0f172a;
    --hhls-muted: #475569;
    --hhls-surface: #ffffff;
    --hhls-border: #cbd5e1;
    --hhls-accent: #0f766e;
    --hhls-accent-ink: #ffffff;
    --hhls-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    background: radial-gradient(circle at top right, #dbeafe 0%, #f8fafc 45%, #ffffff 100%);
    border: 1px solid var(--hhls-border);
    border-radius: 16px;
    box-shadow: var(--hhls-shadow);
    color: var(--hhls-ink);
    margin: 0 auto;
    max-width: 980px;
    padding: 28px;
}

.hhls-checkout-head h2 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 8px 0;
}

.hhls-checkout-head p {
    color: var(--hhls-muted);
    margin: 0;
}

.hhls-checkout-email,
.hhls-checkout-domain {
    display: block;
    margin-top: 18px;
}

.hhls-checkout-email span,
.hhls-checkout-domain span {
    color: var(--hhls-muted);
    display: block;
    font-size: 0.86rem;
    margin-bottom: 8px;
}

.hhls-checkout-email-input,
.hhls-checkout-domain-input {
    border: 1px solid var(--hhls-border);
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 0.95rem;
    padding: 11px 12px;
    width: 100%;
}

.hhls-checkout-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 18px;
}

.hhls-checkout-card {
    background: var(--hhls-surface);
    border: 1px solid var(--hhls-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 16px;
}

.hhls-checkout-card h3 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.hhls-checkout-card p {
    color: var(--hhls-muted);
    margin: 0 0 14px 0;
}

.hhls-checkout-button {
    background: linear-gradient(135deg, #0f766e, #0ea5a1);
    border: 0;
    border-radius: 10px;
    color: var(--hhls-accent-ink);
    cursor: pointer;
    font-weight: 700;
    margin-top: auto;
    min-height: 44px;
    padding: 10px 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.hhls-checkout-button:hover:not(:disabled),
.hhls-checkout-button:focus-visible:not(:disabled) {
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.24);
    transform: translateY(-1px);
}

.hhls-checkout-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.72;
}

.hhls-checkout-status {
    color: var(--hhls-muted);
    margin: 14px 0 0 0;
    min-height: 20px;
}

.hhls-checkout-status.is-error {
    color: #b91c1c;
}

.hhls-checkout-empty {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    padding: 12px 14px;
}

.hhls-register-wrap {
    --hhls-register-ink: #0f172a;
    --hhls-register-muted: #475569;
    --hhls-register-border: #cbd5e1;
    --hhls-register-soft: #f8fafc;
    --hhls-register-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    background: linear-gradient(150deg, #ecfeff 0%, #f8fafc 42%, #ffffff 100%);
    border: 1px solid var(--hhls-register-border);
    border-radius: 16px;
    box-shadow: var(--hhls-register-shadow);
    color: var(--hhls-register-ink);
    margin: 0 auto;
    max-width: 880px;
    padding: 28px;
}

.hhls-register-head h2 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.15;
    margin: 0 0 10px 0;
}

.hhls-register-kicker {
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.hhls-register-head p {
    color: var(--hhls-register-muted);
    margin: 0;
}

.hhls-register-steps {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.hhls-register-step {
    background: #ffffff;
    border: 1px solid #d8e4f3;
    border-radius: 12px;
    padding: 14px;
}

.hhls-register-step-number {
    align-items: center;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    margin-bottom: 8px;
    width: 24px;
}

.hhls-register-step h3 {
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.hhls-register-step p {
    color: var(--hhls-register-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.hhls-register-benefits {
    color: #25405f;
    margin: 12px 0 0 18px;
    padding: 0;
}

.hhls-register-benefits li {
    margin: 6px 0;
}

.hhls-register-form {
    margin-top: 18px;
}

.hhls-register-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhls-register-field {
    display: block;
}

.hhls-register-field span {
    color: var(--hhls-register-muted);
    display: block;
    font-size: 0.86rem;
    margin-bottom: 8px;
}

.hhls-register-help {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-top: 8px;
}

.hhls-register-slug {
    background: #ffffff;
    border: 1px dashed #93c5fd;
    border-radius: 7px;
    color: #0f172a;
    display: inline-block;
    font-family: "Menlo", "Consolas", "Monaco", monospace;
    font-size: 0.84rem;
    margin-left: 6px;
    padding: 4px 8px;
}

.hhls-register-field input {
    border: 1px solid var(--hhls-register-border);
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 0.95rem;
    min-height: 42px;
    padding: 10px 12px;
    width: 100%;
}

.hhls-register-field--full {
    grid-column: 1 / -1;
}

.hhls-register-trap {
    left: -9999px;
    opacity: 0;
    position: absolute;
    top: auto;
    width: 1px;
}

.hhls-register-button {
    background: linear-gradient(135deg, #0f766e, #0891b2);
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    margin-top: 16px;
    min-height: 44px;
    padding: 10px 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.hhls-register-button:hover:not(:disabled),
.hhls-register-button:focus-visible:not(:disabled) {
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.24);
    transform: translateY(-1px);
}

.hhls-register-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.72;
}

.hhls-register-form-note {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 10px 0 0 0;
}

.hhls-register-status {
    color: var(--hhls-register-muted);
    margin: 12px 0 0 0;
    min-height: 20px;
}

.hhls-register-status.is-error {
    color: #b91c1c;
}

.hhls-register-result {
    background: var(--hhls-register-soft);
    border: 1px solid var(--hhls-register-border);
    border-radius: 12px;
    margin-top: 14px;
    padding: 14px;
}

.hhls-register-result h3 {
    font-size: 1.05rem;
    margin: 0 0 8px 0;
}

.hhls-register-result p {
    color: var(--hhls-register-muted);
    margin: 0 0 10px 0;
}

.hhls-register-key {
    background: #ffffff;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    color: #0f172a;
    font-family: "Menlo", "Consolas", "Monaco", monospace;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    padding: 10px 12px;
}

.hhls-register-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.hhls-kb-wrap {
    --hhls-kb-ink: #0f172a;
    --hhls-kb-muted: #475569;
    --hhls-kb-border: #c7d6ea;
    --hhls-kb-soft: #f8fbff;
    --hhls-kb-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    background: linear-gradient(165deg, #f0f9ff 0%, #f8fbff 45%, #ffffff 100%);
    border: 1px solid var(--hhls-kb-border);
    border-radius: 16px;
    box-shadow: var(--hhls-kb-shadow);
    color: var(--hhls-kb-ink);
    box-sizing: border-box;
    margin: 0;
    padding: 28px;
    width: min(1800px, calc(100vw - 48px));
    max-width: min(1800px, calc(100vw - 48px));
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
}

.hhls-kb-hero {
    border-bottom: 1px solid #d8e5f5;
    margin-bottom: 14px;
    padding-bottom: 18px;
}

.hhls-kb-kicker {
    color: #0d6b8c;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.hhls-kb-hero h2 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    line-height: 1.1;
    margin: 0 0 10px 0;
}

.hhls-kb-hero p {
    color: var(--hhls-kb-muted);
    margin: 0;
}

.hhls-kb-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hhls-kb-hero-meta span {
    background: #ffffff;
    border: 1px solid #d4e2f4;
    border-radius: 999px;
    color: #17315c;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
}

.hhls-kb-quickstart {
    background: #ffffff;
    border: 1px solid #d4e2f4;
    border-radius: 14px;
    margin: 0 0 14px 0;
    padding: 14px;
}

.hhls-kb-quickstart-head h3 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 1.15rem;
    margin: 0 0 6px 0;
}

.hhls-kb-quickstart-head p {
    color: var(--hhls-kb-muted);
    margin: 0;
}

.hhls-kb-quickstart-list {
    counter-reset: hhls-kb-step;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
}

.hhls-kb-quickstart-list li {
    counter-increment: hhls-kb-step;
    background: #f8fbff;
    border: 1px solid #dce8f6;
    border-radius: 10px;
    padding: 11px 12px;
}

.hhls-kb-quickstart-list h4 {
    align-items: baseline;
    color: #17315c;
    display: flex;
    font-size: 0.94rem;
    gap: 8px;
    margin: 0 0 8px 0;
}

.hhls-kb-quickstart-list h4::before {
    color: #17315c;
    content: counter(hhls-kb-step) ".";
    flex: 0 0 auto;
    font-weight: 700;
}

.hhls-kb-quickstart-list p {
    color: #31517a;
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0 0 6px 0;
}

.hhls-kb-quickstart-settings code {
    color: #10243f;
    font-size: 0.8rem;
}

.hhls-kb-quickstart-recommended strong,
.hhls-kb-quickstart-settings strong,
.hhls-kb-quickstart-screen strong {
    color: #17315c;
}

.hhls-kb-quickstart-why {
    color: #4b627e;
}

.hhls-kb-quickstart-screen {
    margin-bottom: 0;
}

.hhls-kb-quickstart-note {
    background: #eff6ff;
    border: 1px solid #d7e5f7;
    border-radius: 10px;
    color: #21416b;
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 12px 0 0 0;
    padding: 10px 12px;
}

.hhls-kb-layout {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.hhls-kb-nav {
    background: #ffffff;
    border: 1px solid #d7e5f5;
    border-radius: 14px;
    padding: 14px;
    position: sticky;
    top: 24px;
}

.hhls-kb-nav h3 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 1.02rem;
    margin: 0 0 8px 0;
}

.hhls-kb-nav p {
    color: var(--hhls-kb-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.hhls-kb-nav-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hhls-kb-nav-list li {
    background: #f8fbff;
    border: 1px solid #dfeaf8;
    border-radius: 10px;
    padding: 14px;
}

.hhls-kb-nav-list a {
    color: #163768;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
    text-decoration: none;
}

.hhls-kb-nav-list a:hover,
.hhls-kb-nav-list a:focus-visible {
    text-decoration: underline;
}

.hhls-kb-nav-list span {
    color: #526a8a;
    display: block;
    font-size: 0.78rem;
}

.hhls-kb-content {
    display: grid;
    gap: 14px;
}

.hhls-kb-block {
    background: #ffffff;
    border: 1px solid #d4e2f4;
    border-radius: 14px;
    padding: 14px;
}

.hhls-kb-block-head h3 {
    font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
}

.hhls-kb-card-menu {
    color: #1e3a68;
    font-size: 0.84rem;
    margin: 0 0 8px 0;
}

.hhls-kb-block-head > p {
    color: var(--hhls-kb-muted);
    line-height: 1.5;
    margin: 0;
}

.hhls-kb-pill-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
}

.hhls-kb-pill-list li {
    background: #f8fbff;
    border: 1px solid #dce8f6;
    border-radius: 10px;
    color: #27476e;
    font-size: 0.88rem;
    line-height: 1.45;
    padding: 9px 11px;
}

.hhls-kb-section-settings {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.hhls-kb-empty {
    background: #f8fbff;
    border: 1px solid #dce8f6;
    border-radius: 10px;
    color: #516882;
    font-size: 0.9rem;
    margin: 0;
    padding: 10px 12px;
}

.hhls-kb-settings-group {
    background: #f8fbff;
    border: 1px solid #d4e2f4;
    border-radius: 12px;
    overflow: hidden;
}

.hhls-kb-settings-group summary {
    align-items: flex-start;
    background: #eff6ff;
    cursor: pointer;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
    padding: 11px 13px;
}

.hhls-kb-settings-group summary::-webkit-details-marker {
    display: none;
}

.hhls-kb-settings-group summary h4 {
    font-size: 1rem;
    margin: 0;
}

.hhls-kb-settings-group[open] summary {
    border-bottom: 1px solid #dbe7f6;
}

.hhls-kb-setting-count {
    background: #ffffff;
    border: 1px solid #cfe0f5;
    border-radius: 999px;
    color: #27476e;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
}

.hhls-kb-group-option {
    color: var(--hhls-kb-muted);
    font-size: 0.82rem;
    margin: 6px 0 0 0;
}

.hhls-kb-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.hhls-kb-table {
    border-collapse: collapse;
    min-width: 1160px;
    table-layout: fixed;
    width: 100%;
}

.hhls-kb-table th,
.hhls-kb-table td {
    border-bottom: 1px solid #e1e9f5;
    overflow-wrap: anywhere;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.hhls-kb-table th {
    background: #f8fbff;
    color: #29456b;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hhls-kb-table td {
    color: #17315c;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hhls-kb-table td code {
    color: #10243f;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
    white-space: normal;
}

.hhls-kb-table th:nth-child(1),
.hhls-kb-table td:nth-child(1) {
    width: 12%;
}

.hhls-kb-table th:nth-child(2),
.hhls-kb-table td:nth-child(2) {
    width: 18%;
}

.hhls-kb-table th:nth-child(3),
.hhls-kb-table td:nth-child(3) {
    width: 20%;
}

.hhls-kb-table th:nth-child(4),
.hhls-kb-table td:nth-child(4) {
    width: 18%;
}

.hhls-kb-table th:nth-child(5),
.hhls-kb-table td:nth-child(5) {
    width: 20%;
}

.hhls-kb-table th:nth-child(6),
.hhls-kb-table td:nth-child(6) {
    width: 12%;
}

.hhls-kb-setting-label {
    display: block;
    margin-bottom: 4px;
}

.hhls-kb-setting-tech {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.5;
}

.hhls-kb-setting-plain {
    color: #17315c;
    font-weight: 600;
    line-height: 1.55;
}

.hhls-kb-setting-impact {
    color: #31517a;
    line-height: 1.55;
}

.hhls-kb-setting-reco-value {
    color: #123a66;
    font-weight: 700;
    line-height: 1.45;
}

.hhls-kb-setting-reco-why {
    color: #4b627e;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 4px;
}

.hhls-kb-table tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 1100px) {
    .hhls-kb-layout {
        grid-template-columns: 1fr;
    }

    .hhls-kb-nav {
        position: static;
    }

    .hhls-kb-nav-list {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }
}

@media (max-width: 640px) {
    .hhls-checkout-wrap {
        border-radius: 12px;
        padding: 16px;
    }

    .hhls-checkout-card {
        min-height: 168px;
    }

    .hhls-register-wrap {
        border-radius: 12px;
        padding: 16px;
    }

    .hhls-register-grid {
        grid-template-columns: 1fr;
    }

    .hhls-register-steps {
        grid-template-columns: 1fr;
    }

    .hhls-register-field--full {
        grid-column: auto;
    }

    .hhls-kb-wrap {
        border-radius: 12px;
        padding: 16px;
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin-left: calc(50% - 50vw + 10px);
        margin-right: calc(50% - 50vw + 10px);
    }

    .hhls-kb-nav-list {
        grid-template-columns: 1fr;
    }

    .hhls-kb-block {
        padding: 12px;
    }

    .hhls-kb-settings-group summary {
        flex-direction: column;
    }

    .hhls-kb-hero-meta {
        gap: 8px;
    }

    .hhls-kb-hero-meta span {
        font-size: 0.75rem;
    }

    .hhls-kb-table {
        min-width: 980px;
        table-layout: auto;
    }

    .hhls-kb-quickstart-list {
        grid-template-columns: 1fr;
    }
}
