/* Main Custom Stylesheet */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.prose .wp-block-code,
.prose .cm-code-box {
    margin: 24px 0;
}

.prose .wp-block-code pre,
.prose .cm-code-box pre,
.prose pre {
    display: block;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 18px 20px;
    overflow-x: auto;
    white-space: pre;
    color: #dbeafe;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.prose .wp-block-code pre {
    margin-bottom: 0;
}

.prose pre code,
.prose .wp-block-code code,
.prose .cm-code-box code {
    display: block;
    max-width: none;
    padding: 0;
    overflow: visible;
    color: inherit;
    background: transparent;
    border: 0;
    font-family: Consolas, "Liberation Mono", Menlo, Monaco, monospace;
    font-size: 13px;
    line-height: 1.7;
}

.prose :not(pre) > code {
    padding: 2px 6px;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9em;
}

/* Blog detail content styling */
.cm-blog-single-page {
    background: #ffffff;
}

.cm-blog-article {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.cm-blog-header {
    padding-bottom: 8px;
}

.cm-blog-title {
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
}

.cm-blog-featured-image {
    margin: 32px 0 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #f8fafc;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.cm-blog-featured-image img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.cm-blog-content {
    color: #42526e;
    font-size: 18px;
    line-height: 1.78;
}

.cm-blog-content > *:first-child {
    margin-top: 0;
}

.cm-blog-content p {
    margin: 0 0 1.25em;
    color: #42526e;
}

.cm-blog-content h2,
.cm-blog-content h3,
.cm-blog-content h4 {
    color: #0f172a;
    letter-spacing: 0;
}

.cm-blog-content h2 {
    position: relative;
    margin: 2.25em 0 0.7em;
    padding-top: 0;
    padding-left: 18px;
    border-top: 0;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 800;
}

.cm-blog-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 5px;
    height: 0.95em;
    border-radius: 999px;
    background: #4f46e5;
}

.cm-blog-content h3 {
    margin: 1.8em 0 0.7em;
    font-size: 23px;
    line-height: 1.28;
    font-weight: 800;
}

.cm-blog-content h4 {
    margin: 1.6em 0 0.65em;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.cm-blog-content ul,
.cm-blog-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.35em;
}

.cm-blog-content li {
    margin: 0.45em 0;
    padding-left: 0.15em;
}

.cm-blog-content strong,
.cm-blog-content b {
    color: #0f172a;
    font-weight: 800;
}

.cm-blog-content a {
    color: #3525cd;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}

.cm-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.cm-blog-content blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    border: 1px solid #e0e7ff;
    border-left: 4px solid #4f46e5;
    border-radius: 18px;
    color: #334155;
    background: #f8f7ff;
}

.cm-blog-content .cm-quick-answer {
    margin: 34px 0;
    padding: 24px 26px;
    border: 1px solid #dedcff;
    border-left: 5px solid #4f46e5;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbfbff 0%, #f4f2ff 100%);
    box-shadow: 0 16px 45px rgba(53, 37, 205, 0.08);
}

.cm-blog-content .cm-quick-answer-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: #3525cd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-blog-content .cm-quick-answer p {
    margin: 0;
    color: #172033;
    font-size: 18px;
    line-height: 1.65;
}

.cm-blog-content .cm-quick-answer strong {
    color: #172033;
}

.cm-blog-content hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

.cm-blog-content .wp-block-table {
    margin: 30px 0;
    overflow-x: auto;
}

.cm-blog-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    font-size: 15px;
    line-height: 1.6;
}

.cm-blog-content .wp-block-table table {
    display: table;
    min-width: 620px;
    margin: 0;
}

.cm-blog-content th,
.cm-blog-content td {
    padding: 14px 16px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    text-align: left;
}

.cm-blog-content th:last-child,
.cm-blog-content td:last-child {
    border-right: 0;
}

.cm-blog-content tr:last-child td {
    border-bottom: 0;
}

.cm-blog-content th {
    color: #0f172a;
    background: #f8fafc;
    font-weight: 800;
}

.cm-blog-content tr:nth-child(even) td {
    background: #f8fafc;
}

.cm-blog-content dl {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 12px 18px;
    margin: 26px 0;
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
}

.cm-blog-content dt {
    color: #0f172a;
    font-weight: 800;
}

.cm-blog-content dd {
    margin: 0;
    color: #475569;
}

.cm-blog-content details,
.cm-blog-content .faq-item {
    margin: 14px 0;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(53, 37, 205, 0.04);
}

.cm-blog-content summary {
    cursor: pointer;
    padding: 16px 18px;
    color: #0f172a;
    font-weight: 800;
}

.cm-blog-content details > *:not(summary) {
    padding: 0 18px 18px;
}

.cm-blog-content .faq-item {
    padding: 18px;
}

.cm-blog-content .faq-item h3,
.cm-blog-content .faq-item h4,
.cm-blog-content .faq-item p:last-child {
    margin-bottom: 0;
}

.soft-shadow {
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
}
.hover-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
}
/* Tool Page Styles */
.custom-shadow { box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04); }
.active-filter { color: #3525cd; border-bottom: 2px solid #3525cd; padding-bottom: 4px; font-weight: 600; }

.cm-upload-trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    color: #475569;
    background: #f8f7ff;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.cm-upload-trust-note .material-symbols-outlined {
    flex: 0 0 auto;
    color: #4f46e5;
    font-size: 18px;
}

.cm-conversion-next-actions {
    margin: 18px auto 0;
    max-width: 760px;
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.cm-conversion-next-actions__content {
    padding: 22px;
    border-left: 4px solid #4f46e5;
}

.cm-conversion-next-actions h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.cm-conversion-next-actions p {
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.6;
}

.cm-conversion-next-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cm-conversion-next-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #d8def0;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2a44;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cm-conversion-next-actions__btn:hover {
    transform: translateY(-1px);
    border-color: #4f46e5;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.12);
}

.cm-conversion-next-actions__btn--primary {
    border-color: #3b2ee8;
    background: #3b2ee8;
    color: #ffffff;
}

.cm-conversion-next-actions__btn:disabled,
.cm-conversion-next-actions__btn.cm-download-locked {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cm-conversion-next-actions__btn .material-symbols-outlined {
    font-size: 18px;
}

.cm-guest-capture {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #f8f7ff;
}

.cm-guest-capture strong,
.cm-guest-capture span {
    display: block;
}

.cm-guest-capture strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
}

.cm-guest-capture span {
    margin-top: 2px;
    color: #52627a;
    font-size: 13px;
    line-height: 1.45;
}

.cm-guest-capture__row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.cm-guest-capture input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 9px 12px;
    color: #0f172a;
    font-size: 14px;
}

.cm-guest-capture button {
    flex: 0 0 auto;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    background: #3b2ee8;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cm-guest-capture button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.cm-guest-capture__message {
    min-height: 18px;
    margin-top: 9px !important;
    font-size: 12px !important;
}

.cm-guest-capture__message--success {
    color: #047857 !important;
}

.cm-guest-capture__message--error {
    color: #dc2626 !important;
}

.cm-guest-account-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    background: #f0fdf4;
}

.cm-guest-account-card div {
    flex: 1 1 auto;
}

.cm-guest-account-card strong,
.cm-guest-account-card span {
    display: block;
}

.cm-guest-account-card strong {
    color: #064e3b;
    font-size: 14px;
    line-height: 1.4;
}

.cm-guest-account-card span {
    margin-top: 2px;
    color: #047857;
    font-size: 13px;
    line-height: 1.45;
}

.cm-guest-account-card button {
    flex: 0 0 auto;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    background: #047857;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cm-guest-account-card button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.cm-guest-account-card__message {
    flex-basis: 100%;
    min-height: 18px;
    margin: 8px 0 0 !important;
    font-size: 12px !important;
}

.cm-conversion-upgrade-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #fde7cf;
    border-radius: 12px;
    background: #fff7ed;
}

.cm-conversion-upgrade-card strong,
.cm-conversion-upgrade-card span {
    display: block;
}

.cm-conversion-upgrade-card strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
}

.cm-conversion-upgrade-card span {
    margin-top: 2px;
    color: #6b4e2e;
    font-size: 13px;
    line-height: 1.45;
}

.cm-conversion-upgrade-card__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cm-conversion-upgrade-card a,
.cm-conversion-upgrade-card button,
.cm-inline-upgrade-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 9px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.cm-upload-limit-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px auto 0;
    max-width: 760px;
    padding: 11px 13px;
    border: 1px solid #fde7cf;
    border-radius: 12px;
    background: #fff7ed;
    color: #6b4e2e;
    font-size: 13px;
    line-height: 1.45;
}

.cm-upload-limit-notice .material-symbols-outlined {
    flex: 0 0 auto;
    color: #ea580c;
    font-size: 18px;
}

.cm-upload-limit-notice .cm-inline-upgrade-link {
    flex: 0 0 auto;
    margin-left: auto;
}

.cm-plan-modal.hidden {
    display: none;
}

.cm-plan-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.cm-plan-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}

.cm-plan-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
    padding: 24px;
}

.cm-plan-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}

.cm-plan-modal__header {
    padding-right: 42px;
    margin-bottom: 18px;
}

.cm-plan-modal__header span {
    display: block;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cm-plan-modal__header h2 {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.2;
}

.cm-plan-modal__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cm-plan-modal__grid article {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    background: #ffffff;
}

.cm-plan-modal__grid .cm-plan-modal__featured {
    border-color: #4f46e5;
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.13);
}

.cm-plan-modal__grid h3,
.cm-plan-modal__grid strong,
.cm-plan-modal__grid p {
    margin: 0;
}

.cm-plan-modal__grid h3 {
    color: #111827;
    font-size: 18px;
}

.cm-plan-modal__grid strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 28px;
}

.cm-plan-modal__grid p {
    min-height: 62px;
    margin-top: 8px;
    color: #52627a;
    font-size: 13px;
    line-height: 1.5;
}

.cm-plan-modal__grid a,
.cm-plan-modal__pricing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #3b2ee8;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.cm-plan-modal__pricing-link {
    width: 100%;
    margin-top: 16px;
    border: 1px solid #c7d2fe;
    background: #f8f7ff;
    color: #3525cd;
}

body.cm-plan-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .cm-conversion-next-actions__content {
        padding: 18px;
    }

    .cm-conversion-next-actions__buttons,
    .cm-conversion-next-actions__btn {
        width: 100%;
    }

    .cm-conversion-upgrade-card,
    .cm-conversion-upgrade-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cm-conversion-upgrade-card a,
    .cm-conversion-upgrade-card button,
    .cm-upload-limit-notice .cm-inline-upgrade-link {
        width: 100%;
    }

    .cm-guest-capture__row {
        flex-direction: column;
    }

    .cm-guest-account-card {
        align-items: stretch;
        flex-direction: column;
    }

    .cm-guest-account-card button {
        width: 100%;
    }

    .cm-upload-limit-notice {
        flex-wrap: wrap;
    }

    .cm-plan-modal__dialog {
        padding: 18px;
    }

    .cm-plan-modal__grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-item.active .faq-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.faq-icon {
    transition: transform 0.3s ease;
}

/* Auth password reveal control */
.auth-form-panel input[type="password"],
.auth-form-panel input[type="text"]#password {
    padding-right: 56px !important;
}

.auth-form-panel .relative > button[type="button"].cm-password-toggle,
.auth-form-panel #password + button[type="button"] {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    cursor: pointer;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

.auth-form-panel .relative > button[type="button"].cm-password-toggle:focus-visible,
.auth-form-panel #password + button[type="button"]:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

.auth-form-panel .relative > button[type="button"].cm-password-toggle .material-symbols-outlined,
.auth-form-panel #password + button[type="button"] .material-symbols-outlined {
    display: block;
    font-size: 20px !important;
    line-height: 1 !important;
}

/* Responsive hardening across page templates */
html,
body {
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .text-display-xl,
    h1.text-display-xl,
    .font-display-xl.text-display-xl {
        font-size: 38px !important;
        line-height: 1.16 !important;
        letter-spacing: 0 !important;
    }

    .text-headline-lg,
    h2.text-headline-lg,
    h3.text-headline-lg {
        font-size: 26px !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
    }

    .text-headline-md,
    h3.text-headline-md,
    h4.text-headline-md,
    h5.text-headline-md {
        font-size: 22px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
    }

    .auth-card,
    .auth-page-main > .max-w-5xl,
    .auth-page-main > .w-full.max-w-5xl {
        min-height: 0 !important;
    }

    body .auth-page-main .auth-card {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .auth-form-panel {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        padding: 28px 20px !important;
        overflow: hidden;
    }

    .auth-form-panel > div {
        max-width: 100% !important;
        min-width: 0;
    }

    .auth-form-panel input,
    .auth-form-panel select,
    .auth-form-panel textarea,
    .auth-form-panel button {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .auth-form-panel input:not([type="checkbox"]),
    .auth-form-panel select,
    .auth-form-panel textarea,
    .auth-form-panel button[type="submit"] {
        width: 100% !important;
    }

    .auth-form-panel input[type="checkbox"] {
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
    }

    .auth-form-panel .flex.justify-between {
        gap: 8px;
        flex-wrap: wrap;
    }

    .auth-brand-panel {
        order: 2;
    }
}

@media (max-width: 640px) {
    .cm-blog-single-page {
        padding-top: 96px !important;
        padding-bottom: 56px !important;
    }

    .cm-blog-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .cm-blog-content h2 {
        font-size: 26px;
    }

    .cm-blog-content h3 {
        font-size: 21px;
    }

    .cm-blog-content table {
        font-size: 14px;
    }

    .cm-blog-content .wp-block-table table {
        min-width: 560px;
    }

    .cm-blog-content th,
    .cm-blog-content td {
        padding: 12px 14px;
    }

    .cm-blog-content dl {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px;
    }

    .cm-blog-featured-image {
        border-radius: 18px;
    }
}

@media (max-width: 639px) {
    body {
        font-size: 14px;
    }

    nav .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        gap: 12px;
        min-width: 0;
    }

    nav a.text-xl {
        font-size: 18px !important;
        min-width: 0;
        flex: 1 1 auto;
    }

    nav a.text-xl span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    nav a[href*="/register/"] {
        min-width: 120px !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
        text-align: center;
        white-space: nowrap;
    }

    nav .container > div:last-child {
        flex: 0 0 auto;
        min-width: 0;
    }

    nav .container > div:last-child a:first-child {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .text-display-xl,
    h1.text-display-xl,
    .font-display-xl.text-display-xl {
        font-size: 30px !important;
        line-height: 1.18 !important;
    }

    .text-headline-lg,
    h2.text-headline-lg,
    h3.text-headline-lg {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    .text-headline-md,
    h3.text-headline-md,
    h4.text-headline-md,
    h5.text-headline-md {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }

    main[class*="pt-[140px]"],
    main[class*="pt-[160px]"],
    .auth-page-shell {
        padding-top: 96px !important;
    }

    section[class*="py-24"],
    section[class*="py-20"],
    .section-padding {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    section,
    main,
    .site-container {
        max-width: 100%;
    }

    .auth-page-shell {
        align-items: flex-start !important;
        padding-bottom: 32px !important;
        min-height: 0 !important;
    }

    .auth-page-main {
        width: 100%;
        padding: 16px !important;
        align-items: flex-start !important;
        overflow: hidden;
    }

    .auth-card,
    .auth-page-main > .max-w-5xl,
    .auth-page-main > .w-full.max-w-5xl {
        border-radius: 12px !important;
        overflow: hidden;
    }

    body .auth-page-main .auth-card {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .auth-form-panel {
        width: 100% !important;
        padding: 28px 20px !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .auth-form-panel > .max-w-md,
    .auth-form-panel > div {
        max-width: 100% !important;
        min-width: 0;
    }

    .auth-form-panel form {
        gap: 16px;
        max-width: 100%;
    }

    .auth-form-panel input,
    .auth-form-panel select,
    .auth-form-panel textarea,
    .auth-form-panel button {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .auth-form-panel input:not([type="checkbox"]),
    .auth-form-panel select,
    .auth-form-panel textarea,
    .auth-form-panel button[type="submit"] {
        width: 100% !important;
    }

    .auth-form-panel input[type="checkbox"] {
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
    }

    .auth-form-panel input,
    .auth-form-panel button {
        min-height: 46px;
    }

    .auth-form-panel label,
    .auth-form-panel a {
        font-size: 14px !important;
    }

    .auth-form-panel .flex.justify-between {
        gap: 12px;
        flex-wrap: wrap;
    }

    .auth-brand-panel {
        padding: 28px 20px !important;
        gap: 24px;
    }

    .auth-brand-title {
        font-size: 28px !important;
        line-height: 1.18 !important;
        margin-bottom: 24px !important;
    }

    .auth-brand-panel ul {
        display: grid;
        gap: 14px;
    }

    .auth-brand-panel li {
        gap: 12px !important;
    }

    .auth-brand-panel .pt-12 {
        padding-top: 24px !important;
    }

    #stm-upload-zone {
        min-height: 220px !important;
        padding: 28px 18px !important;
    }

    .convert-btn,
    button[type="submit"],
    .btn-large {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    .grid,
    [class*="grid-cols-"] {
        gap: 16px;
    }

    .rounded-\[40px\] {
        border-radius: 20px !important;
    }

    .p-16 {
        padding: 28px !important;
    }

    .p-12,
    .p-10,
    .p-8 {
        padding: 24px !important;
    }

    .px-6 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .py-24 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .py-20 {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    table,
    pre,
    code {
        max-width: 100%;
        overflow-x: auto;
    }
}

.stm-seo-tools-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

@media (min-width: 640px) {
    .stm-seo-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .stm-seo-tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
