.wsm-shell,
.wsm-shell * {
    box-sizing: border-box;
}

.wsm-shell {
    --wsm-white: #ffffff;
    --wsm-border: rgba(39, 39, 39, 0.13);
    --wsm-soft-border: rgba(39, 39, 39, 0.08);
    --wsm-muted: #6d6d6d;
    --wsm-success: #247044;
    --wsm-error: #a92d37;
    position: relative;
    width: 100%;
    color: var(--wsm-text);
    font-size: 16px;
    line-height: 1.6;
}

.wsm-shell.wsm-force-fullwidth {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wsm-shell a {
    color: var(--wsm-primary);
    text-decoration: none;
}

.wsm-shell a:hover,
.wsm-shell a:focus {
    text-decoration: underline;
}

.wsm-shell h1,
.wsm-shell h2,
.wsm-shell h3,
.wsm-shell p {
    margin-top: 0;
}

.wsm-portal-container {
    width: 100%;
    min-height: 620px;
    padding: clamp(28px, 5vw, 72px) max(24px, calc((100vw - 1500px) / 2));
    background: var(--wsm-background);
}

.wsm-portal-header {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--wsm-border);
}

.wsm-portal-logo {
    width: auto;
    max-width: 170px;
    max-height: 80px;
    object-fit: contain;
}

.wsm-portal-header h1 {
    margin: 2px 0 0;
    color: var(--wsm-primary);
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.05;
}

.wsm-eyebrow {
    display: block;
    color: var(--wsm-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wsm-public-intro,
.wsm-auth-box,
.wsm-member-bar,
.wsm-portal-nav,
.wsm-main-content,
.wsm-alert,
.wsm-status-panel {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.wsm-public-intro {
    max-width: 900px;
    margin-bottom: 28px;
    text-align: center;
}

.wsm-public-intro h2,
.wsm-page-heading h2,
.wsm-dashboard-hero h2 {
    margin-bottom: 10px;
    color: var(--wsm-primary);
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.16;
}

.wsm-auth-box {
    overflow: hidden;
    max-width: 1040px;
    border: 1px solid var(--wsm-border);
    border-radius: 18px;
    background: var(--wsm-white);
    box-shadow: 0 18px 55px rgba(39, 39, 39, 0.08);
}

.wsm-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--wsm-border);
    background: rgba(255, 255, 255, 0.7);
}

.wsm-auth-tabs:has(.wsm-auth-tab:only-child) {
    grid-template-columns: 1fr;
}

.wsm-auth-tab {
    min-height: 62px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--wsm-muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wsm-auth-tab.is-active {
    border-color: var(--wsm-secondary);
    color: var(--wsm-primary);
    background: rgba(199, 161, 90, 0.08);
}

.wsm-auth-panel {
    padding: clamp(24px, 4vw, 50px);
}

.wsm-form-card > h2 {
    margin-bottom: 8px;
    color: var(--wsm-primary);
    font-size: 30px;
}

.wsm-form-card > p {
    margin-bottom: 26px;
    color: var(--wsm-muted);
}

.wsm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.wsm-field-full,
.wsm-fieldset,
.wsm-form-grid > .wsm-alert {
    grid-column: 1 / -1;
}

.wsm-field label,
.wsm-fieldset legend {
    display: block;
    margin-bottom: 7px;
    color: var(--wsm-text);
    font-size: 14px;
    font-weight: 700;
}

.wsm-field input,
.wsm-field textarea,
.wsm-field select,
.wsm-filter-bar input,
.wsm-filter-bar select {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid var(--wsm-border);
    border-radius: 8px;
    background: var(--wsm-white);
    color: var(--wsm-text);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wsm-field textarea {
    min-height: 115px;
    resize: vertical;
}

.wsm-field input:focus,
.wsm-field textarea:focus,
.wsm-field select:focus,
.wsm-filter-bar input:focus,
.wsm-filter-bar select:focus {
    border-color: var(--wsm-secondary);
    box-shadow: 0 0 0 3px rgba(199, 161, 90, 0.16);
}

.wsm-field input[readonly] {
    background: #f0f0f0;
    color: #666;
}

.wsm-fieldset {
    margin: 0;
    padding: 15px 18px;
    border: 1px solid var(--wsm-border);
    border-radius: 10px;
}

.wsm-radio,
.wsm-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    margin-right: 18px;
    font-size: 14px;
}

.wsm-radio input,
.wsm-checkbox input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.wsm-form-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 18px 0;
}

.wsm-form-row-between {
    justify-content: space-between;
}

.wsm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 23px;
    border: 1px solid var(--wsm-primary);
    border-radius: 8px;
    background: var(--wsm-primary);
    color: var(--wsm-white) !important;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.wsm-button:hover,
.wsm-button:focus {
    opacity: 0.9;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.wsm-button-secondary {
    border-color: var(--wsm-secondary);
    background: var(--wsm-secondary);
    color: var(--wsm-text) !important;
}

.wsm-button-small {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 14px;
}

.wsm-password-wrap {
    position: relative;
}

.wsm-password-wrap input {
    padding-right: 88px;
}

.wsm-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 5px 7px;
    border: 0;
    background: transparent;
    color: var(--wsm-primary);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.wsm-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.wsm-alert {
    margin-bottom: 22px;
    padding: 14px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--wsm-white);
}

.wsm-alert-success {
    border-color: rgba(36, 112, 68, 0.28);
    color: var(--wsm-success);
}

.wsm-alert-error {
    border-color: rgba(169, 45, 55, 0.28);
    color: var(--wsm-error);
}

.wsm-alert-info {
    border-color: var(--wsm-border);
}

.wsm-status-panel {
    max-width: 720px;
    padding: 45px;
    border: 1px solid var(--wsm-border);
    border-radius: 18px;
    background: var(--wsm-white);
    text-align: center;
    box-shadow: 0 18px 55px rgba(39, 39, 39, 0.07);
}

.wsm-status-panel .wsm-status-icon {
    width: auto;
    height: auto;
    color: var(--wsm-secondary);
    font-size: 48px;
}

.wsm-status-panel h2 {
    margin: 14px 0 8px;
    color: var(--wsm-primary);
}

.wsm-member-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 18px;
    border: 1px solid var(--wsm-border);
    border-radius: 10px 10px 0 0;
    background: var(--wsm-white);
}

.wsm-member-bar strong {
    display: block;
    color: var(--wsm-primary);
}

.wsm-member-label {
    display: block;
    color: var(--wsm-muted);
    font-size: 12px;
}

.wsm-logout-link {
    font-weight: 700;
}

.wsm-portal-nav {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 26px;
    border: 1px solid var(--wsm-border);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: var(--wsm-white);
}

.wsm-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 58px;
    padding: 10px;
    border-right: 1px solid var(--wsm-soft-border);
    color: var(--wsm-muted) !important;
    font-weight: 700;
    text-align: center;
}

.wsm-nav-link:last-child {
    border-right: 0;
}

.wsm-nav-link:hover,
.wsm-nav-link:focus,
.wsm-nav-link.is-active {
    background: var(--wsm-primary);
    color: var(--wsm-white) !important;
    text-decoration: none !important;
}

.wsm-nav-link .dashicons {
    width: auto;
    height: auto;
    font-size: 19px;
}

.wsm-dashboard-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 16px;
    background: var(--wsm-primary);
    color: var(--wsm-white);
}

.wsm-dashboard-hero::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -40px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.wsm-dashboard-hero > div {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.wsm-dashboard-hero h2 {
    color: var(--wsm-white);
}

.wsm-dashboard-hero p {
    margin-bottom: 0;
}

.wsm-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.wsm-dashboard-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    padding: 21px;
    border: 1px solid var(--wsm-border);
    border-radius: 12px;
    background: var(--wsm-white);
    color: var(--wsm-text) !important;
    box-shadow: 0 8px 30px rgba(39, 39, 39, 0.04);
}

.wsm-dashboard-card:hover,
.wsm-dashboard-card:focus {
    border-color: var(--wsm-secondary);
    text-decoration: none !important;
}

.wsm-dashboard-icon {
    grid-row: 1 / 3;
    align-self: center;
    width: auto;
    height: auto;
    color: var(--wsm-secondary);
    font-size: 31px;
}

.wsm-dashboard-number {
    overflow: hidden;
    color: var(--wsm-primary);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsm-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.wsm-content-card {
    padding: 25px;
    border: 1px solid var(--wsm-border);
    border-radius: 14px;
    background: var(--wsm-white);
}

.wsm-content-card-wide {
    grid-column: 1 / -1;
}

.wsm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--wsm-soft-border);
}

.wsm-section-head h3 {
    margin: 0;
    color: var(--wsm-primary);
    font-size: 21px;
}

.wsm-section-head a,
.wsm-text-link {
    font-size: 14px;
    font-weight: 700;
}

.wsm-page-heading {
    margin-bottom: 24px;
}

.wsm-page-heading p {
    max-width: 760px;
    color: var(--wsm-muted);
}

.wsm-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(190px, 260px) auto;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid var(--wsm-border);
    border-radius: 10px;
    background: var(--wsm-white);
}

.wsm-notice-list,
.wsm-document-list,
.wsm-event-list {
    display: grid;
    gap: 14px;
}

.wsm-notice-item,
.wsm-document-item,
.wsm-event-item {
    border: 1px solid var(--wsm-border);
    border-radius: 12px;
    background: var(--wsm-white);
}

.wsm-notice-item {
    padding: 23px;
}

.wsm-notice-item.is-pinned {
    border-left: 5px solid var(--wsm-secondary);
}

.wsm-notice-item h3,
.wsm-document-item h3,
.wsm-event-item h3 {
    margin: 5px 0 8px;
    color: var(--wsm-primary);
    font-size: 20px;
    line-height: 1.3;
}

.wsm-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wsm-muted);
    font-size: 12px;
}

.wsm-item-meta span,
.wsm-document-category {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(199, 161, 90, 0.14);
    color: var(--wsm-primary);
    font-size: 11px;
    font-weight: 700;
}

.wsm-notice-item > p:last-child,
.wsm-richtext > *:last-child {
    margin-bottom: 0;
}

.wsm-document-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 19px;
}

.wsm-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(122, 31, 43, 0.08);
    color: var(--wsm-primary);
    font-size: 27px;
}

.wsm-document-body {
    min-width: 0;
}

.wsm-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--wsm-muted);
    font-size: 12px;
}

.wsm-file-missing {
    color: var(--wsm-muted);
    font-size: 12px;
}

.wsm-event-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 19px;
    padding: 20px;
}

.wsm-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border-radius: 10px;
    background: var(--wsm-primary);
    color: var(--wsm-white);
    line-height: 1;
}

.wsm-event-date span {
    font-size: 29px;
    font-weight: 800;
}

.wsm-event-date small {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wsm-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    color: var(--wsm-muted);
    font-size: 13px;
}

.wsm-event-meta .dashicons {
    width: auto;
    height: auto;
    color: var(--wsm-secondary);
    font-size: 16px;
}

.wsm-event-body .wsm-richtext {
    margin-top: 13px;
}

.wsm-profile-form {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--wsm-border);
    border-radius: 14px;
    background: var(--wsm-white);
}

.wsm-empty {
    margin: 0;
    padding: 22px;
    border: 1px dashed var(--wsm-border);
    border-radius: 10px;
    color: var(--wsm-muted);
    text-align: center;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 980px) {
    .wsm-dashboard-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsm-portal-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wsm-nav-link:nth-child(4) {
        border-right: 0;
    }

    .wsm-nav-link:nth-child(n+5) {
        border-top: 1px solid var(--wsm-soft-border);
    }

    .wsm-filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .wsm-filter-bar .wsm-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .wsm-shell.wsm-force-fullwidth {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .wsm-portal-container {
        min-height: 500px;
        padding: 26px 16px 40px;
    }

    .wsm-portal-header {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 22px;
    }

    .wsm-portal-logo {
        max-width: 100px;
        max-height: 58px;
    }

    .wsm-auth-tabs,
    .wsm-form-grid,
    .wsm-content-grid,
    .wsm-dashboard-cards,
    .wsm-filter-bar {
        grid-template-columns: 1fr;
    }

    .wsm-content-card-wide,
    .wsm-filter-bar .wsm-button {
        grid-column: auto;
    }

    .wsm-auth-panel {
        padding: 22px 17px;
    }

    .wsm-form-row-between,
    .wsm-member-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .wsm-portal-nav {
        display: flex;
        overflow-x: auto;
        border-radius: 0 0 10px 10px;
        scrollbar-width: thin;
    }

    .wsm-nav-link {
        flex: 0 0 auto;
        min-width: 130px;
        border-top: 0 !important;
        border-right: 1px solid var(--wsm-soft-border) !important;
    }

    .wsm-dashboard-hero {
        padding: 26px 21px;
    }

    .wsm-content-card {
        padding: 19px;
    }

    .wsm-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .wsm-document-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .wsm-document-item .wsm-button,
    .wsm-document-item .wsm-file-missing {
        grid-column: 1 / -1;
        width: 100%;
    }

    .wsm-event-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }

    .wsm-event-date {
        min-height: 62px;
    }

    .wsm-event-date span {
        font-size: 24px;
    }
}


.wsm-private-form {
    margin-bottom: 34px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--wsm-border);
    border-radius: 14px;
    background: var(--wsm-white);
}

.wsm-field-help {
    display: block;
    margin-top: 7px;
    color: var(--wsm-muted);
    font-size: 12px;
}

.wsm-subsection-heading {
    margin: 34px 0 15px;
    padding-top: 24px;
    border-top: 1px solid var(--wsm-border);
}

.wsm-subsection-heading h3 {
    margin: 0;
    color: var(--wsm-primary);
    font-size: 25px;
}

.wsm-private-list {
    display: grid;
    gap: 16px;
}

.wsm-private-item {
    padding: 22px;
    border: 1px solid var(--wsm-border);
    border-radius: 12px;
    background: var(--wsm-white);
}

.wsm-private-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.wsm-private-item h3 {
    margin: 4px 0 0;
    color: var(--wsm-primary);
}

.wsm-private-text {
    margin-top: 15px;
    white-space: normal;
}

.wsm-admin-reply {
    margin-top: 18px;
    padding: 16px;
    border-left: 4px solid var(--wsm-secondary);
    border-radius: 6px;
    background: rgba(199, 161, 90, 0.11);
}

.wsm-admin-reply strong {
    display: block;
    margin-bottom: 6px;
    color: var(--wsm-primary);
}

.wsm-frontend-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ececec;
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.wsm-frontend-status-new {
    background: #fff2cc;
    color: #765600;
}

.wsm-frontend-status-read,
.wsm-frontend-status-review {
    background: #dceeff;
    color: #175b89;
}

.wsm-frontend-status-answered,
.wsm-frontend-status-completed,
.wsm-frontend-status-closed {
    background: #dff3e7;
    color: #17643a;
}

.wsm-frontend-status-rejected {
    background: #f8d7da;
    color: #842029;
}

.wsm-member-upload-item {
    align-items: flex-start;
}

.wsm-upload-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 150px;
}

@media (max-width: 720px) {
    .wsm-private-item-head {
        flex-direction: column;
    }

    .wsm-upload-actions {
        grid-column: 1 / -1;
        min-width: 0;
    }
}


/* Anmeldebereich im Markenstil, Version 1.3.0 */
.wsm-auth-stage {
    display: grid;
    grid-template-columns: minmax(300px, 0.62fr) minmax(560px, 1.38fr);
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(122, 31, 43, 0.14);
    border-radius: 22px;
    background: var(--wsm-white);
    box-shadow: 0 26px 70px rgba(66, 24, 29, 0.14);
}

.wsm-auth-stage .wsm-auth-box {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.wsm-auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 620px;
    padding: clamp(32px, 4.2vw, 52px);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 13%, rgba(255,255,255,.14) 0 5px, transparent 6px),
        radial-gradient(circle at 78% 22%, rgba(255,255,255,.11) 0 8px, transparent 9px),
        radial-gradient(circle at 68% 74%, rgba(255,255,255,.09) 0 12px, transparent 13px),
        linear-gradient(145deg, var(--wsm-primary), #4f1019);
    color: #fff;
}

.wsm-auth-brand::before,
.wsm-auth-brand::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
}

.wsm-auth-brand::before {
    width: 290px;
    height: 290px;
    right: -155px;
    top: -85px;
}

.wsm-auth-brand::after {
    width: 190px;
    height: 190px;
    left: -110px;
    bottom: -70px;
}

.wsm-auth-brand > * {
    position: relative;
    z-index: 1;
}

.wsm-auth-brand-kicker {
    margin-bottom: 18px;
    color: var(--wsm-secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.wsm-auth-brand h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 3.1vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.wsm-auth-brand > p {
    max-width: 420px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
}

.wsm-auth-brand-statement {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 34px;
    padding-left: 0;
    border-left: 0;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    line-height: 1.35;
}

.wsm-auth-brand-intro {
    margin: 0 0 10px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    font-weight: 500;
}

.wsm-auth-brand-statement span,
.wsm-auth-brand-statement strong {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff;
}

.wsm-auth-brand-statement strong {
    border-color: rgba(199,161,90,.28);
    background: rgba(199,161,90,.12);
    color: #fff;
}

.wsm-auth-brand-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.74);
    font-size: 13px;
}

.wsm-auth-brand-note .dashicons {
    color: var(--wsm-secondary);
}

.wsm-auth-stage .wsm-auth-panel {
    padding: clamp(34px, 5vw, 68px);
}

.wsm-login-card {
    max-width: 540px;
    margin: 0 auto;
}

.wsm-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border: 1px solid rgba(122,31,43,.13);
    border-radius: 50%;
    background: rgba(122,31,43,.06);
    color: var(--wsm-primary);
    font-size: 25px;
}

.wsm-form-card > h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
}

.wsm-auth-stage .wsm-field input,
.wsm-auth-stage .wsm-field textarea,
.wsm-auth-stage .wsm-field select {
    min-height: 54px;
    border-color: rgba(39,39,39,.16);
    border-radius: 5px;
    background: #fff;
}

.wsm-auth-stage .wsm-field input:focus,
.wsm-auth-stage .wsm-field textarea:focus,
.wsm-auth-stage .wsm-field select:focus {
    border-color: var(--wsm-primary);
    box-shadow: 0 0 0 3px rgba(122,31,43,.10);
}

.wsm-button-wide {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    border-radius: 5px;
    letter-spacing: .02em;
}

.wsm-auth-stage .wsm-auth-tabs {
    background: #fbfaf8;
}

.wsm-auth-stage .wsm-auth-tab {
    min-height: 66px;
}

.wsm-auth-back {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.wsm-auth-back a {
    color: var(--wsm-primary);
}

@media (max-width: 980px) {
    .wsm-auth-stage {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .wsm-auth-brand {
        min-height: auto;
        padding: 34px;
    }

    .wsm-auth-brand-statement {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 24px;
    }

    .wsm-auth-brand-note {
        margin-top: 0;
    }
}

@media (max-width: 620px) {
    .wsm-portal-container {
        padding: 24px 14px 42px;
    }

    .wsm-portal-header {
        gap: 14px;
        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .wsm-portal-logo {
        max-width: 120px;
        max-height: 58px;
    }

    .wsm-portal-header h1 {
        font-size: 28px;
    }

    .wsm-auth-stage {
        border-radius: 12px;
    }

    .wsm-auth-brand {
        padding: 30px 24px;
    }

    .wsm-auth-brand h2 {
        font-size: 30px;
    }

    .wsm-auth-brand-statement {
        display: flex;
        flex-direction: column;
        font-size: 14px;
    }

    .wsm-auth-stage .wsm-auth-panel {
        padding: 30px 22px 34px;
    }

    .wsm-form-row-between {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
