/* Portal — white page, pastel only on thin borders / dividers */
:root {
    --p-bg: #ffffff;
    --p-bg-soft: #ffffff;
    --p-surface: #ffffff;
    --p-surface-2: #ffffff;
    --p-text: #3d3438;
    --p-muted: #7a6e74;
    --p-accent: #b86b7a;
    --p-accent-soft: #f3e4e8;
    --p-accent-2: #7a9e8e;
    --p-sky: #dfe8f2;
    --p-border: #e8dde2;
    --p-border-hover: #d4b8c0;
    --p-radius: 10px;
    --p-font: "Segoe UI", "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body.portal {
    margin: 0;
    font-family: var(--p-font);
    background: #ffffff;
    color: var(--p-text);
    line-height: 1.65;
    min-height: 100vh;
}

a { color: var(--p-accent); text-decoration: none; }
a:hover { text-decoration: underline; color: #9a5564; }

.portal-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.portal-header {
    border-bottom: 1px solid var(--p-border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.portal-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
}

.portal-logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--p-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.portal-logo span { color: var(--p-accent); }

.portal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    flex: 1;
}
.portal-nav a {
    color: var(--p-muted);
    font-size: 0.92rem;
    text-decoration: none;
}
.portal-nav a:hover { color: var(--p-accent); }

.portal-header-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}
.portal-search-toggle { display: none; }
.portal-search {
    display: flex;
    gap: 0.35rem;
}
.portal-search input {
    background: var(--p-bg);
    border: 1px solid var(--p-border);
    color: var(--p-text);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    min-width: 140px;
}
.portal-search input:focus {
    outline: none;
    border-color: var(--p-border-hover);
    box-shadow: 0 0 0 3px var(--p-accent-soft);
}
.portal-search button,
.portal-btn {
    border: 1px solid var(--p-border);
    background: var(--p-surface);
    color: var(--p-text);
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.portal-search button:hover,
.portal-btn:hover {
    border-color: var(--p-border-hover);
    background: #ffffff;
    text-decoration: none;
}
.portal-search-submit-icon { display: none; }
.portal-icon-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid var(--p-border);
    background: #fff;
    color: var(--p-text);
    border-radius: 8px;
    cursor: pointer;
    flex: 0 0 auto;
}
.portal-icon-btn:hover,
.portal-icon-btn[aria-expanded="true"] {
    border-color: var(--p-border-hover);
    color: var(--p-accent);
}
.portal-mobile-panel { display: none; }
.portal-btn-primary {
    background: var(--p-accent);
    border: 1px solid transparent;
    color: #fff;
    font-weight: 600;
}
.portal-btn-primary:hover {
    background: #9a5564;
    text-decoration: none;
    filter: none;
}

.portal-hero {
    padding: 3.25rem 0 2.25rem;
}
.portal-hero h1 {
    font-size: clamp(1.55rem, 3.8vw, 2.25rem);
    line-height: 1.22;
    max-width: 20ch;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
    color: #4a3a40;
}
.portal-lead {
    color: var(--p-muted);
    font-size: 1.05rem;
    max-width: 52ch;
    margin: 0 0 1.5rem;
}
.portal-hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.portal-section { padding: 2.25rem 0; }
.portal-section-alt {
    background: #ffffff;
    border-block: 1px solid var(--p-border);
}
.portal-section h2 {
    margin: 0 0 1.15rem;
    font-size: 1.3rem;
    color: #4a3a40;
}

.portal-path {
    font-family: ui-monospace, Consolas, monospace;
    color: var(--p-accent-2);
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.portal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.9rem;
}
.portal-cards-sm { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

.portal-card {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 1.05rem;
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color .15s, background .15s;
}
.portal-card:hover {
    border-color: var(--p-border-hover);
    background: #ffffff;
    text-decoration: none;
    transform: none;
}
.portal-card span { color: var(--p-muted); font-size: 0.88rem; }
.portal-card-date {
    font-size: 0.78rem;
    color: var(--p-muted);
    letter-spacing: 0.02em;
}
.portal-cards--news {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.portal-list { display: flex; flex-direction: column; gap: 0.65rem; }
.portal-list-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.95rem 1.05rem;
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    color: inherit;
    text-decoration: none;
}
.portal-list-item:hover {
    border-color: var(--p-border-hover);
    background: #ffffff;
    text-decoration: none;
}
.portal-list-item span,
.portal-list-item small { color: var(--p-muted); font-size: 0.88rem; }

.portal-main { padding-bottom: 3rem; }
.portal-page { padding-top: 1.75rem; }
.portal-page h1 {
    margin: 0.5rem 0 1rem;
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    line-height: 1.25;
    color: #4a3a40;
}

.portal-crumbs {
    font-size: 0.85rem;
    color: var(--p-muted);
    margin-bottom: 0.75rem;
}
.portal-crumbs a { color: var(--p-muted); }
.portal-crumbs a:hover { color: var(--p-accent); }

.portal-meta { color: var(--p-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.portal-content { max-width: 68ch; }
.portal-content p { margin: 0 0 1rem; }
.portal-content h2 {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.2rem;
    color: #4a3a40;
}
.portal-content h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.05rem;
}

.portal-eeat {
    margin: 2rem 0;
    padding: 1.05rem 1.2rem;
    border: 1px solid var(--p-border);
    border-left: 3px solid #d4a0ab;
    background: #ffffff;
    border-radius: 0 var(--p-radius) var(--p-radius) 0;
}
.portal-eeat p { margin: 0.35rem 0 0; color: var(--p-muted); font-size: 0.92rem; }

.portal-source {
    margin: 1.1rem 0 0;
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.3;
}
.portal-source a {
    color: #9a9590 !important;
    text-decoration: none;
    border-bottom: 1px dotted #c5c0ba;
}
.portal-source a:hover {
    color: var(--p-accent) !important;
    border-bottom-color: var(--p-accent);
}
/* legacy block from seed — keep compact if still present */
.portal-sources {
    margin: 1.1rem 0 0;
    padding: 0;
    border: 0;
    text-align: right;
    max-width: none;
    margin-left: 0;
}
.portal-sources strong {
    display: none;
}
.portal-sources ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.portal-sources li {
    margin: 0;
}
.portal-sources li + li {
    display: none;
}
.portal-sources a,
.portal-source-link {
    color: #9a9590 !important;
    font-size: 0.8rem;
    text-decoration: none;
    border-bottom: 1px dotted #c5c0ba;
}
.portal-sources a:hover,
.portal-source-link:hover {
    color: var(--p-accent) !important;
    border-bottom-color: var(--p-accent);
}

.portal-pager {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--p-border);
}

.portal-lessons {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.portal-lessons li { margin: 0 0 0.5rem; }
.portal-lessons a {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.7rem 0.95rem;
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}
.portal-lessons a:hover {
    border-color: var(--p-border-hover);
    background: #ffffff;
}
.portal-lessons span {
    font-family: ui-monospace, Consolas, monospace;
    color: var(--p-accent);
    min-width: 1.5rem;
}

.portal-code-blocks pre {
    background: #ffffff;
    border: 1px solid var(--p-border);
    border-radius: 8px;
    padding: 1rem;
    overflow: auto;
    font-size: 0.88rem;
    color: #3d3438;
}

.portal-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin: 1.5rem 0;
}
.portal-pros-cons > div {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 1rem;
}
.portal-rating { color: #c49a3c; font-weight: 600; }

.portal-toc {
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.2rem 1rem;
    background: #ffffff;
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    max-width: 68ch;
}
.portal-toc__title {
    display: block;
    margin: 0 0 0.85rem;
    color: #4a3a40;
    font-size: 0.95rem;
    font-weight: 600;
}
.portal-toc__panel {
    position: relative;
}
.portal-toc--collapsible.is-collapsed .portal-toc__panel {
    max-height: 12.5rem;
    overflow: hidden;
}
.portal-toc--collapsible.is-collapsed .portal-toc__panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.4rem;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
}
.portal-toc__list {
    margin: 0;
    padding: 0 0 0 1.15rem;
    display: grid;
    gap: 0.35rem;
}
.portal-toc__list a {
    color: var(--p-muted);
    text-decoration: none;
    line-height: 1.4;
}
.portal-toc__list a:hover {
    color: var(--p-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.portal-toc__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--p-accent);
    cursor: pointer;
}
.portal-toc__toggle::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    translate: 0 -0.1rem;
    transition: transform 0.2s ease;
}
.portal-toc--collapsible:not(.is-collapsed) .portal-toc__toggle::after {
    transform: rotate(-135deg);
    translate: 0 0.15rem;
}
.portal-toc--collapsible.is-collapsed .portal-toc__toggle-less,
.portal-toc--collapsible:not(.is-collapsed) .portal-toc__toggle-more {
    display: none;
}

.portal-related {
    margin: 2rem 0;
    max-width: 68ch;
}
.portal-related ul { padding-left: 1.2rem; }
.portal-useful {
    margin: 2rem 0;
    max-width: 68ch;
}
.portal-useful h2 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}
.portal-useful-list {
    margin: 0;
    padding-left: 1.2rem;
}
.portal-useful-list a { text-decoration: underline; }
.portal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
}
.portal-content th,
.portal-content td {
    border: 1px solid var(--p-border);
    padding: 0.55rem 0.7rem;
    text-align: left;
}
.portal-content th { background: #ffffff; }

.portal-footer {
    border-top: 1px solid var(--p-border);
    padding: 2rem 0;
    color: var(--p-muted);
    font-size: 0.9rem;
    background: #ffffff;
}
.portal-footer-links { margin-top: 0.5rem; }
.portal-footer-partners {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: center;
}
.portal-footer-partners a {
    display: inline-block;
    line-height: 0;
}
.portal-footer-partners img {
    width: auto;
    height: auto;
    max-width: 100%;
    vertical-align: top;
}
.portal-footer-counters {
    margin-top: 1rem;
    opacity: 0.85;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.portal-content img {
    max-width: 100%;
    height: auto;
}

.portal-search-lg { margin: 1rem 0 1.5rem; }
.portal-search-lg input { flex: 1; min-width: 200px; }

.portal-practice {
    margin: 1.5rem 0;
    padding: 1rem 1.15rem;
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    background: #ffffff;
}

.portal-layout {
    display: grid;
    grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr) minmax(11rem, 15rem);
    gap: 1.5rem 1.75rem;
    align-items: start;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}
.portal-content-col { min-width: 0; }
.portal-content-col > .portal-wrap,
.portal-content-col .portal-hero > .portal-wrap,
.portal-content-col .portal-section > .portal-wrap,
.portal-content-col > .portal-page {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}
.portal-main > .portal-wrap.portal-layout { padding-top: 1rem; }

.portal-side {
    position: sticky;
    top: 4.5rem;
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 1rem 1.05rem;
    background: #fff;
}
.portal-side-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
.portal-side-title a { color: var(--p-text); text-decoration: none; }
.portal-side-title a:hover { color: var(--p-accent); }
.portal-side-empty { color: var(--p-muted); font-size: 0.9rem; margin: 0; }
.portal-side-news {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.portal-side-news a {
    display: block;
    color: var(--p-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
}
.portal-side-news a:hover { color: var(--p-accent); }
.portal-side-date {
    display: block;
    color: var(--p-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
}
.portal-side-teaser,
.portal-side-news span {
    display: block;
    margin-top: 0.2rem;
    color: var(--p-muted);
    font-weight: 400;
    font-size: 0.82rem;
    line-height: 1.4;
}

.portal-404 {
    padding: 2rem 0 1rem;
    max-width: 40rem;
}
.portal-404-code {
    margin: 0;
    font-size: clamp(3rem, 12vw, 5.5rem);
    line-height: 1;
    color: #e8dde2;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.portal-404 h1 { margin: 0.35rem 0 0.75rem; }
.portal-404-suggest { margin-top: 2.25rem; }
.portal-404-suggest h2 { margin: 0 0 1rem; font-size: 1.2rem; }

.admin-pencil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: #fff;
    color: #3d3438;
    border: 1px solid var(--p-border);
    box-shadow: 0 2px 10px rgba(61, 52, 56, 0.1);
    text-decoration: none;
    z-index: 40;
}
.admin-pencil:hover {
    border-color: var(--p-border-hover);
    color: var(--p-accent);
    text-decoration: none;
}
.admin-pencil--page {
    position: fixed;
    top: 5.5rem;
    right: 1rem;
    z-index: 120;
}

@media (max-width: 900px) {
    .portal-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .portal-header-inner {
        flex-wrap: nowrap;
        gap: 0.55rem;
        padding: 0.65rem 1rem;
    }
    .portal-logo {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .portal-icon-btn,
    .portal-search-toggle {
        display: inline-flex;
    }
    .portal-nav {
        display: none;
    }
    .portal-side {
        display: none !important;
    }
    .portal-header-tools {
        margin-left: 0;
        position: relative;
    }
    .portal-search {
        display: none;
        position: absolute;
        top: calc(100% + 0.45rem);
        right: 0;
        width: min(92vw, 22rem);
        padding: 0.45rem;
        background: #fff;
        border: 1px solid var(--p-border);
        border-radius: 10px;
        box-shadow: 0 10px 28px rgba(61, 52, 56, 0.12);
        z-index: 30;
    }
    .portal-header.is-search-open .portal-search {
        display: flex;
    }
    .portal-search input {
        flex: 1;
        min-width: 0;
    }
    .portal-search-submit-text { display: none; }
    .portal-search-submit-icon { display: block; }
    .portal-search button {
        width: 2.2rem;
        height: 2.2rem;
        padding: 0;
    }
    .portal-mobile-panel {
        display: none;
        border-top: 1px solid var(--p-border);
        background: #fff;
        padding: 0.75rem 1rem 1rem;
        max-height: min(70vh, 28rem);
        overflow: auto;
    }
    .portal-header.is-menu-open .portal-mobile-panel {
        display: block;
    }
    .portal-mobile-panel[hidden] {
        display: none !important;
    }
    .portal-mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        margin-bottom: 1rem;
    }
    .portal-mobile-nav a {
        display: block;
        padding: 0.55rem 0.15rem;
        color: var(--p-text);
        text-decoration: none;
        border-bottom: 1px solid #f3e9ed;
        font-size: 0.98rem;
    }
    .portal-mobile-nav a:hover { color: var(--p-accent); }
    .portal-mobile-news .portal-side-title {
        margin-top: 0.25rem;
    }
    .admin-pencil--page {
        top: auto;
        bottom: 5.5rem;
        right: 0.75rem;
    }
}

@media (max-width: 720px) {
    .portal-pros-cons { grid-template-columns: 1fr; }
    .portal-hero h1 { max-width: none; }
    .portal-footer-partners {
        flex-direction: column;
        align-items: stretch;
    }
    .portal-footer-partners a {
        width: 100%;
    }
    .portal-footer-partners img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }
    .portal-content img {
        width: auto;
        max-width: 100%;
        height: auto;
    }
}

.portal-cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 200;
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    box-shadow: 0 8px 28px rgba(61, 52, 56, 0.12);
}
.portal-cookie[hidden] { display: none !important; }
.portal-cookie p {
    margin: 0;
    flex: 1 1 16rem;
    font-size: 0.88rem;
    color: var(--p-text);
    line-height: 1.45;
}
.portal-cookie button {
    border: 0;
    background: var(--p-accent);
    color: #fff;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    cursor: pointer;
    font: inherit;
}
.portal-cookie button:hover { background: #9a5564; }

.portal-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 32rem;
    margin: 1.5rem 0;
}
.portal-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.92rem;
}
.portal-contact-form input[type="text"],
.portal-contact-form input[type="email"],
.portal-contact-form input[type="tel"],
.portal-contact-form textarea {
    border: 1px solid var(--p-border);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font: inherit;
}
.portal-contact-form .pd-consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--p-muted);
}
.portal-contact-form .pd-consent input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex: 0 0 auto;
}
.portal-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}
.portal-form-status {
    margin: 0;
    font-size: 0.9rem;
    color: var(--p-accent-2);
}
.portal-list-item time {
    display: block;
    font-size: 0.78rem;
    color: var(--p-muted);
    margin-bottom: 0.15rem;
}
.portal-list-item span {
    display: block;
    margin-top: 0.25rem;
    color: var(--p-muted);
    font-size: 0.88rem;
}
.portal-footer-legal {
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

.auth-shell {
    min-height: 100vh;
    margin: 0;
    background: #f4f6fb;
    color: #111;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.auth-shell__bar {
    padding: 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.auth-shell__brand {
    font-weight: 700;
    color: #111;
    text-decoration: none;
}
.auth-shell__main {
    padding: 1.5rem 1rem 3rem;
}

.auth-page {
    padding: 1.5rem 0 2.5rem;
}
.auth-page__inner {
    display: flex;
    justify-content: center;
}
.auth-card {
    width: min(100%, 440px);
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--p-line, #ddd);
    border-radius: 12px;
    background: #fff;
}
.auth-card__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--p-accent, #2563eb);
}
.auth-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
    line-height: 1.2;
}
.auth-card__lead {
    margin: 0 0 1.1rem;
    color: var(--p-muted, #666);
    font-size: 0.95rem;
}
.auth-card__error {
    margin: 0 0 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    background: #fff0f0;
    color: #b42318;
}
.auth-form,
.auth-page .field {
    display: grid;
    gap: 0.4rem;
}
.auth-form {
    gap: 1rem;
}
.auth-page input[type="email"],
.auth-page input[type="password"],
.auth-page input[type="text"] {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--p-line, #ccc);
    border-radius: 8px;
    font: inherit;
}
.auth-page .btn,
.auth-page button[type="submit"] {
    display: inline-flex;
    justify-content: center;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 8px;
    background: var(--p-accent, #2563eb);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.auth-card__footer {
    margin: 1.1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--p-line, #ddd);
    text-align: center;
}


/* Текст под счётчиками (по центру) */
.portal-footer-counters-wrap,
.sl-footer-counters-wrap,
.ss-footer-counters-wrap,
.mb-footer-counters-wrap,
.ff-footer-counters-wrap,
.lm-footer-counters-wrap,
.parked-footer-counters-wrap,
.footer-counters-wrap {
  margin-top: 1rem;
  text-align: center;
}
.portal-footer-counters-text,
.sl-footer-counters-text,
.ss-footer-counters-text,
.mb-footer-counters-text,
.ff-footer-counters-text,
.lm-footer-counters-text,
.parked-footer-counters-text,
.footer-counters-text {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #6b6560;
  text-align: center;
}
.portal-footer-counters-text p,
.sl-footer-counters-text p,
.ss-footer-counters-text p,
.mb-footer-counters-text p,
.ff-footer-counters-text p,
.lm-footer-counters-text p,
.parked-footer-counters-text p,
.footer-counters-text p {
  margin: 0.35em 0;
}
.portal-footer-counters-text a,
.sl-footer-counters-text a,
.ss-footer-counters-text a,
.mb-footer-counters-text a,
.ff-footer-counters-text a,
.lm-footer-counters-text a,
.parked-footer-counters-text a,
.footer-counters-text a {
  display: inline;
  color: inherit;
  text-decoration: underline;
}

