/* حقوق — شبكة الخدمات العشرين + صفحات الخدمات /tools */

.hq-svc-section {
    background: #ffffff;
    padding: 8px 0 56px;
}

.hq-svc-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 20px;
}

.hq-svc-section__head h2 {
    margin: 0;
    font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
    color: #1f2937;
}

.hq-svc-section__head p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.hq-svc-legend {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.35;
}

.hq-svc-legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hq-svc-legend .hq-lock {
    flex: 0 0 auto;
}

.hq-svc-legend__limited {
    font-style: normal;
    color: #dc2626;
    font-weight: 700;
}

.hq-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hq-svc-grid > div { display: flex; }

.hq-svc-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 84px;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #1f2937;
    font: inherit;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
    -webkit-tap-highlight-color: transparent;
}

.hq-svc-card:hover {
    background: #ffffff;
    border-color: #9ca3af;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}

.hq-svc-card:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.hq-svc-card:active { background: #f1f3f5; }

.hq-svc-card__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    color: #374151;
}

.hq-svc-card__icon svg,
.st-head__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hq-ic-s { fill: #e5e7eb; }
.hq-ic-w { fill: #ffffff; }

.hq-svc-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hq-svc-card__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.hq-svc-card__lock {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.hq-lock { display: block; }
.hq-svc-card--free {
    border-color: #86efac;
    background: #f0fdf4;
}
.hq-svc-card--free:hover {
    border-color: #16a34a;
    background: #ecfdf5;
}
.hq-svc-card--paid {
    border-color: #fca5a5;
    background: #fef2f2;
}
.hq-svc-card--paid:hover {
    border-color: #dc2626;
    background: #fee2e2;
}

@media (max-width: 1100px) {
    .hq-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .hq-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hq-svc-card { min-height: 72px; padding: 12px 14px; gap: 10px; }
    .hq-svc-card__icon { width: 40px; height: 40px; }
    .hq-svc-card__title { font-size: 0.95rem; }
}

@media (max-width: 560px) {
    .hq-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hq-svc-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 112px;
        padding: 14px 10px;
        text-align: center;
    }
    .hq-svc-card__body {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .hq-svc-card__icon { width: 38px; height: 38px; }
    .hq-svc-card__title { flex: 0 0 auto; font-size: 0.88rem; line-height: 1.4; }
}

.hq-md > :first-child { margin-top: 0; }
.hq-md > :last-child { margin-bottom: 0; }
.hq-md p { margin: 0 0 10px; }
.hq-md h2, .hq-md h3, .hq-md h4 { margin: 16px 0 6px; line-height: 1.4; color: #111827; }
.hq-md h2 { font-size: 1.1rem; }
.hq-md h3 { font-size: 1.02rem; }
.hq-md h4 { font-size: 0.96rem; }
.hq-md ul, .hq-md ol { margin: 0 0 10px; padding-inline-start: 22px; }
.hq-md li { margin-bottom: 4px; }
.hq-md hr { border: 0; border-top: 1px solid #e5e7eb; margin: 14px 0; }
.hq-md blockquote { margin: 10px 0; padding: 4px 12px; border-inline-start: 3px solid #d1d5db; color: #374151; }
.hq-md code { font-family: ui-monospace, Consolas, monospace; font-size: 0.85em; background: #eef0f2; padding: 1px 5px; border-radius: 4px; }

.hq-md-table { margin: 10px 0; overflow-x: auto; }
.hq-md-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.9rem;
}
.hq-md-table th,
.hq-md-table td {
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    text-align: start;
    vertical-align: top;
}
.hq-md-table th { background: #f1f3f5; font-weight: 700; }

.hq-md .hq-md-table table { display: table; width: 100%; }

@media (max-width: 767px) {
    .hq-md-table thead { display: table-header-group; }
    .hq-md-table tbody { display: table-row-group; }
    .hq-md-table tr {
        display: table-row;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .hq-md-table th,
    .hq-md-table td { display: table-cell; width: auto; border: 1px solid #e5e7eb; padding: 7px 8px; }
    .hq-md-table th::before,
    .hq-md-table td::before { content: none; }
}

/* ---------- نتائج الخدمات: لا تحديد ولا نسخ ---------- */
.hq-protected,
.hq-protected * {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* ---------- حقول التاريخ: تلميح موحّد بدل نص المتصفح ---------- */
.hq-date { position: relative; display: block; }
.hq-date > input { width: 100%; }
.hq-date.is-empty > input:not(:focus)::-webkit-datetime-edit { color: transparent; }
.hq-date.is-empty::after {
    content: attr(data-ph);
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    pointer-events: none;
    white-space: nowrap;
}
.hq-date.is-empty:focus-within::after { display: none; }

/* ---------- صفحات الخدمات /tools/<slug> ---------- */

.st-wrap { max-width: 960px; }

.st-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    font-size: 0.85rem;
    color: #6b7280;
}
.st-crumbs a { color: #374151; text-decoration: none; }
.st-crumbs a:hover { color: #1a5f7a; text-decoration: underline; }
.st-crumbs span:last-child { color: #1f2937; font-weight: 600; }

.lc-card__head.st-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: start;
}
.st-head__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    padding: 6px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f8f9fa;
    color: #374151;
}
.st-head .lc-card__sub { max-width: 68ch; margin-inline: 0; }

.st-form .lc-section + .lc-section { margin-top: 24px; }
.st-form .lc-field[hidden] { display: none; }
.st-full { grid-column: 1 / -1; }
.st-textarea { min-height: 96px; resize: vertical; line-height: 1.7; font: inherit; }

.st-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}
.st-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #1f2937;
    cursor: pointer;
}
.st-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1a5f7a; }
.st-check:has(input:checked) { border-color: #1a5f7a; background: #f0f7fa; }


/* ---------- تقرير نتيجة الخدمة ---------- */
.st-out {
    --st-ink: var(--hq-ink, #0f172a);
    --st-text: #1f2937;
    --st-muted: #64748b;
    --st-line: #e5e9f0;
    --st-soft: #f7f8fb;
    --st-accent: var(--hq-accent, #1a5f7a);
}
.st-out:empty { display: none; }

.st-out .st-result.lc-result {
    margin-top: 32px;
    padding: 0;
    border-top: 0;
    font-family: var(--hq-font, "Cairo", "Noto Sans Arabic", sans-serif);
    color: var(--st-text);
    font-feature-settings: "tnum" 1, "lnum" 1;
    font-variant-numeric: tabular-nums lining-nums;
    -webkit-font-smoothing: antialiased;
}
.st-out .st-result > * + * { margin-top: 22px; }

.st-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* رأس التقرير */
.st-out .st-rhead {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--st-ink);
    color: #fff;
}
.st-out .st-rhead__kicker {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.68);
}
.st-out .st-rhead__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
}
.st-out .st-rhead__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
}
.st-out .st-rhead__meta div { display: grid; gap: 2px; }
.st-out .st-rhead__meta dt {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}
.st-out .st-rhead__meta dd {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

/* الخلاصة */
.st-out .st-verdict {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--st-ink);
}
.st-out .st-verdict__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #475569;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}
.st-out .st-verdict__body { min-width: 0; }
.st-out .st-verdict__label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0.75;
}
.st-out .st-verdict p {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.7;
}
.st-out .st-verdict--good { border-color: #a7d7bb; background: #f0faf4; color: #14532d; }
.st-out .st-verdict--good .st-verdict__icon { background: #15803d; }
.st-out .st-verdict--warn { border-color: #f3d19c; background: #fffaf0; color: #7c2d12; }
.st-out .st-verdict--warn .st-verdict__icon { background: #c2410c; }
.st-out .st-verdict--bad { border-color: #f5b5b5; background: #fef5f5; color: #7f1d1d; }
.st-out .st-verdict--bad .st-verdict__icon { background: #b91c1c; }
.st-out .st-verdict--info { border-color: #c7d2fe; background: #f5f7ff; color: #1e293b; }
.st-out .st-verdict--info .st-verdict__icon { background: var(--st-accent); }

/* الأرقام الرئيسية */
.st-out .st-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}
.st-out .st-kpis:empty { display: none; }
.st-out .st-kpi {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid var(--st-line);
    border-top: 3px solid var(--st-accent);
    border-radius: 12px;
    background: #fff;
}
.st-out .st-kpi__label {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--st-muted);
}
.st-out .st-kpi__value {
    font-size: clamp(1.35rem, 3.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--st-ink);
}
.st-out .st-kpi__value .st-cur {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--st-muted);
    margin-inline: 4px;
}

/* عناوين الأقسام */
.st-out .st-block { margin-top: 26px; }
.st-out .st-result .st-out__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--st-ink);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--st-ink);
}
.st-out .st-num {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 26px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--st-ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* جدول البنود */
.st-out .st-result table.st-kv {
    display: table;
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    border: 1px solid var(--st-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    font-size: 0.98rem;
}
.st-out .st-result table.st-kv tbody th,
.st-out .st-result table.st-kv tbody td {
    display: table-cell;
    padding: 13px 18px;
    border-bottom: 1px solid var(--st-line);
    vertical-align: middle;
    background: transparent;
}
.st-out .st-result table.st-kv tbody tr:nth-child(even) th,
.st-out .st-result table.st-kv tbody tr:nth-child(even) td { background: var(--st-soft); }
.st-out .st-result table.st-kv tbody tr:last-child th,
.st-out .st-result table.st-kv tbody tr:last-child td { border-bottom: 0; }
.st-out .st-result table.st-kv tbody th {
    width: auto;
    text-align: start;
    font-weight: 600;
    color: var(--st-text);
}
.st-out .st-kv__label { display: block; line-height: 1.55; }
.st-out .st-result table.st-kv .lc-kv__hint {
    display: block;
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--st-muted);
}
.st-out .st-result table.st-kv td {
    width: 1%;
    text-align: end;
    white-space: nowrap;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--st-ink);
    direction: inherit;
    unicode-bidi: normal;
}
.st-out .st-cur {
    font-size: 0.78em;
    font-weight: 600;
    color: var(--st-muted);
    margin-inline: 3px;
}
.st-out .st-result table.st-kv tfoot th,
.st-out .st-result table.st-kv tfoot td {
    display: table-cell;
    padding: 15px 18px;
    background: var(--st-ink);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    border: 0;
}
.st-out .st-result table.st-kv tfoot th { text-align: start; }
.st-out .st-result table.st-kv tfoot td { text-align: end; white-space: nowrap; font-size: 1.15rem; }
.st-out .st-result table.st-kv tfoot .st-cur { color: rgba(255, 255, 255, 0.72); }

/* الملخص النصي */
.st-out .st-summary {
    padding: 16px 20px;
    border-inline-start: 4px solid var(--st-accent);
    border-radius: 0 12px 12px 0;
    background: var(--st-soft);
    font-size: 1rem;
    line-height: 1.95;
    color: var(--st-text);
}
[dir="rtl"] .st-out .st-summary { border-radius: 12px 0 0 12px; }

/* المستند: ورقة رسمية */
.st-out .st-doc {
    border: 1px solid #d5dbe5;
    border-radius: 14px;
    background: #eef1f6;
    overflow: hidden;
}
.st-out .st-doc__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #d5dbe5;
}
.st-out .st-doc__bar h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--st-ink);
}
.st-out .st-doc__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.st-out .st-doc__actions button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--st-ink);
    border-radius: 9px;
    background: var(--st-ink);
    color: #fff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.st-out .st-doc__actions button:hover { background: #fff; color: var(--st-ink); }
.st-out .st-doc__actions button:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; }
.st-out .st-doc__body {
    max-width: 780px;
    max-height: 640px;
    margin: 18px auto;
    padding: 40px 48px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e7ef;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    font-size: 1rem;
    line-height: 2;
    color: #111827;
}
.st-out .st-doc__body.hq-md > h2:first-child {
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #111827;
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    color: #111827;
}
.st-out .st-doc__body.hq-md h3 {
    margin: 22px 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}
.st-out .st-doc__body.hq-md p { margin: 0 0 12px; text-align: justify; text-justify: inter-word; }
.st-out .st-doc__body.hq-md li { margin-bottom: 6px; }
.st-out .st-doc__body.hq-md strong { font-weight: 800; color: #0b1220; }
.st-out .st-doc__body.hq-md hr { margin: 22px 0; border-top-color: #cbd5e1; }

/* قائمة التحقق */
.st-out .st-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-out .st-checklist .st-check {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    background: #fff;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--st-text);
}
.st-out .st-checklist .st-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--st-ink); }
.st-out .st-checklist .st-check:has(input:checked) { border-color: #a7d7bb; background: #f0faf4; }
.st-out .st-checklist .st-check:has(input:checked) span { text-decoration: line-through; color: var(--st-muted); }

/* الملاحظات */
.st-out .st-result .st-notes .st-out__title { border-bottom-width: 1px; border-bottom-color: var(--st-line); font-size: 1rem; }
.st-out .st-result ul.lc-notes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--st-text);
}
.st-out .st-result ul.lc-notes li {
    position: relative;
    margin: 0;
    padding-inline-start: 22px;
}
.st-out .st-result ul.lc-notes li::before {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--st-accent);
}

/* إخلاء المسؤولية */
.st-out .st-result .st-disclaimer {
    margin-top: 26px;
    padding: 14px 16px;
    border: 0;
    border-top: 1px solid var(--st-line);
    border-radius: 0;
    background: transparent;
    font-size: 0.82rem;
    line-height: 1.85;
    color: var(--st-muted);
}

/* الصياغة بالذكاء الاصطناعي */
.st-out .st-ai {
    padding: 18px;
    border: 1px dashed #94a3b8;
    border-radius: 14px;
    background: var(--st-soft);
}
.st-out .st-ai__head h3 { margin: 0; font-size: 1.02rem; font-weight: 800; color: var(--st-ink); }
.st-out .st-ai__head p { margin: 4px 0 14px; font-size: 0.88rem; color: var(--st-muted); }
.st-ai__btn { cursor: pointer; font: inherit; font-weight: 700; }
.st-ai__btn:disabled { opacity: 0.6; cursor: progress; }
.st-ai__out:not(:empty) { margin-top: 14px; }

@media (max-width: 599px) {
    .lc-card__head.st-head { gap: 12px; }
    .st-head__icon { width: 46px; height: 46px; }
    .st-checks { grid-template-columns: 1fr; }

    .st-out .st-result { margin-top: 24px; }
    .st-out .st-rhead { padding: 16px; border-radius: 12px; align-items: flex-start; }
    .st-out .st-rhead__meta { gap: 6px 18px; }
    .st-out .st-verdict { padding: 14px; gap: 12px; }
    .st-out .st-verdict__icon { width: 30px; height: 30px; font-size: 0.95rem; }
    .st-out .st-verdict p { font-size: 1rem; }
    .st-out .st-kpis { grid-template-columns: 1fr; gap: 10px; }
    .st-out .st-kpi { padding: 14px 16px; }
    .st-out .st-result table.st-kv { font-size: 0.93rem; }
    .st-out .st-result table.st-kv tbody th,
    .st-out .st-result table.st-kv tbody td { padding: 12px 14px; }
    .st-out .st-result table.st-kv td { font-size: 0.97rem; }
    .st-out .st-result table.st-kv tfoot th,
    .st-out .st-result table.st-kv tfoot td { padding: 14px; }
    .st-out .st-doc__body { margin: 10px; padding: 22px 18px; max-height: none; font-size: 0.96rem; line-height: 1.95; }
    .st-out .st-doc__body.hq-md p { text-align: start; }
    .st-out .st-doc__bar { padding: 10px 12px; }
}
/* ---------- تنبيه الحقول الاختياري + بوابات + جدار الدفع ---------- */
.st-field-hint,
.lc-gateway .st-field-hint {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
}

.st-status {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px !important;
}

.st-gateway__intro { margin: 0 0 14px; color: #4b5563; }
.st-gateway__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.st-gateway__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f8f9fa;
    text-align: start;
    cursor: pointer;
    font: inherit;
    color: #1f2937;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.st-gateway__card:hover {
    background: #fff;
    border-color: #9ca3af;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}
.st-gateway__card.is-paid { border-color: #bfdbfe; }
.st-gateway__card.is-free { border-color: #fecaca; }
.st-gateway__title { font-weight: 700; font-size: 1.05rem; }
.st-gateway__desc { font-size: 0.88rem; color: #4b5563; line-height: 1.5; }
.st-gateway__badge {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
}

.st-paywall {
    margin-top: 8px;
    padding: 28px 22px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: linear-gradient(180deg, #eff6ff 0%, #fff 70%);
    text-align: center !important;
}
.st-paywall__icon { display: flex; justify-content: center; margin-bottom: 10px; }
.st-paywall__icon .hq-lock { width: 36px; height: 36px; }
.st-paywall h2,
.st-paywall p,
.st-paywall__hint {
    text-align: center !important;
}
.st-paywall h2 { margin: 0 0 8px; font-size: 1.25rem; }
.st-paywall p { margin: 0 auto 16px; max-width: 52ch; color: #4b5563; line-height: 1.65; }
.st-paywall__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}
.st-paywall__actions .lc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #1a5f7a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.st-paywall__actions .lc-cta--ghost {
    background: #fff;
    color: #1a5f7a;
    border: 1px solid #1a5f7a;
}
.st-paywall__hint { font-size: 0.82rem; color: #6b7280; }

.lc-gateway__bar {
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}
.lc-change-country,
.st-change-gate {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    border-radius: 8px;
    padding: 8px 16px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}
.lc-change-country:hover,
.st-change-gate:hover { border-color: #9ca3af; }

@media (max-width: 820px) {
    .st-gateway__grid { grid-template-columns: 1fr; }
}
