:root {
    --portal-bg: #f5f3ee;
    --portal-panel: #ffffff;
    --portal-ink: #14251f;
    --portal-muted: #68766f;
    --portal-green: #1e755a;
    --portal-dark: #0b3d30;
    --portal-deep: #072b22;
    --portal-mint: #dcefe6;
    --portal-lime: #b9dd73;
    --portal-coral: #df684e;
    --portal-line: rgba(20, 37, 31, 0.11);
    --portal-shadow: 0 24px 60px rgba(20, 37, 31, 0.08);
}

/* Premium-Preisseite: persönliche Kampagnenbegleitung */
.investment-page {
    display: grid;
    gap: 30px;
    min-width: 0;
}

.investment-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
    gap: clamp(28px, 4vw, 58px);
    overflow: hidden;
    border-radius: 20px;
    background:
            radial-gradient(circle at 83% 4%, rgba(181, 218, 112, 0.17), transparent 29%),
            radial-gradient(circle at 10% 100%, rgba(78, 158, 123, 0.2), transparent 30%),
            #082d23;
    color: #ffffff;
    padding: clamp(38px, 5vw, 66px);
    box-shadow: 0 30px 80px rgba(8, 29, 23, 0.16);
}

.investment-hero::after {
    position: absolute;
    right: -190px;
    bottom: -260px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.investment-hero-copy,
.investment-promise {
    position: relative;
    z-index: 1;
}

.investment-kicker {
    display: flex;
    gap: 11px;
    align-items: center;
    margin: 0 0 24px;
    color: #c8dc96;
    font-size: 0.58rem;
    font-weight: 880;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.investment-kicker span {
    width: 30px;
    height: 1px;
    background: #d8c47d;
}

.investment-hero h2 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.75rem, 5.1vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.investment-hero h2 em {
    display: block;
    color: #bfd77f;
    font-style: italic;
    font-weight: 500;
}

.investment-hero-copy > p:not(.investment-kicker) {
    max-width: 720px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, 0.69);
    font-size: 0.83rem;
    line-height: 1.8;
}

.investment-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 31px;
}

.investment-assurances span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 31px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.58rem;
    font-weight: 760;
    padding: 0 12px;
}

.investment-assurances span::before {
    color: #bfd77f;
    content: "✓";
    font-weight: 900;
}

.investment-promise {
    align-self: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07);
    padding: 29px;
    backdrop-filter: blur(8px);
}

.investment-promise-icon {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 31px;
    place-items: center;
    border-radius: 50%;
    background: #bfd77f;
    color: #123528;
}

.investment-promise > p:first-of-type {
    margin: 0 0 13px;
    color: #c8dc96;
    font-size: 0.56rem;
    font-weight: 880;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.investment-promise h3 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.investment-promise > p:last-child {
    margin: 21px 0 0;
    color: rgba(255, 255, 255, 0.61);
    font-size: 0.72rem;
    line-height: 1.7;
}

.investment-rhythm {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    border: 1px solid #dde6e1;
    border-radius: 16px;
    background: #ffffff;
    padding: 30px clamp(25px, 4vw, 48px);
}

.investment-rhythm > div > p,
.investment-heading > div > p {
    margin: 0 0 8px;
    color: #287c5d;
    font-size: 0.56rem;
    font-weight: 880;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.investment-rhythm h3,
.investment-heading h3 {
    margin: 0;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.5vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.investment-rhythm ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.investment-rhythm li {
    display: grid;
    align-content: start;
    border-left: 1px solid #dfe7e3;
    padding-left: 19px;
}

.investment-rhythm li > span {
    color: #b4a05a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.76rem;
}

.investment-rhythm li strong {
    margin-top: 10px;
    color: #17372b;
    font-size: 0.7rem;
}

.investment-rhythm li small {
    margin-top: 7px;
    color: #74817b;
    font-size: 0.62rem;
    line-height: 1.55;
}

.investment-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 50px;
    align-items: end;
    padding: 42px 5px 12px;
}

.investment-heading > p {
    margin: 0;
    color: #6d7b75;
    font-size: 0.72rem;
    line-height: 1.7;
}

.investment-plans {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.12fr) minmax(0, 0.95fr);
    gap: 16px;
    align-items: stretch;
    padding-top: 12px;
}

.investment-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #dce4e0;
    border-radius: 17px;
    background: #ffffff;
    padding: 29px;
    box-shadow: 0 16px 44px rgba(8, 29, 23, 0.06);
}

.investment-card.featured {
    border-color: #0b3025;
    background:
            radial-gradient(circle at 90% 4%, rgba(191, 215, 127, 0.16), transparent 25%),
            #0b3025;
    color: #ffffff;
    transform: translateY(-12px);
    box-shadow: 0 28px 64px rgba(8, 29, 23, 0.2);
}

.investment-recommendation {
    position: absolute;
    top: -14px;
    right: 20px;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 29px;
    border-radius: 999px;
    background: #bfd77f;
    color: #15372b;
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    padding: 0 12px;
    text-transform: uppercase;
}

.investment-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.investment-card-topline p {
    margin: 0;
    color: #287c5d;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.investment-card-topline > span {
    color: #ae9b58;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
}

.investment-card.featured .investment-card-topline p {
    color: #c7dc92;
}

.investment-card.featured .investment-card-topline > span {
    color: rgba(255, 255, 255, 0.5);
}

.investment-card > h3 {
    margin: 24px 0 0;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.investment-card.featured > h3 {
    color: #ffffff;
}

.investment-card-description {
    min-height: 70px;
    margin: 14px 0 0;
    color: #6c7a74;
    font-size: 0.68rem;
    line-height: 1.62;
}

.investment-card.featured .investment-card-description {
    color: rgba(255, 255, 255, 0.63);
}

.investment-price {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    align-items: baseline;
    margin: 27px 0 0;
}

.investment-price strong {
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 3.7vw, 3.45rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
}

.investment-price span {
    color: #738079;
    font-size: 0.62rem;
    font-weight: 720;
}

.investment-card.featured .investment-price strong {
    color: #ffffff;
}

.investment-card.featured .investment-price span {
    color: rgba(255, 255, 255, 0.55);
}

.investment-daily {
    margin: 12px 0 0;
    color: #c7dc92;
    font-size: 0.58rem;
    line-height: 1.5;
}

.investment-card ul {
    display: grid;
    gap: 12px;
    margin: 27px 0 30px;
    padding: 25px 0 0;
    border-top: 1px solid #e2e8e5;
    list-style: none;
}

.investment-card li {
    position: relative;
    color: #43554d;
    font-size: 0.66rem;
    line-height: 1.45;
    padding-left: 20px;
}

.investment-card li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #26805f;
    content: "✓";
    font-weight: 900;
}

.investment-card.featured ul {
    border-color: rgba(255, 255, 255, 0.12);
}

.investment-card.featured li {
    color: rgba(255, 255, 255, 0.78);
}

.investment-card.featured li::before {
    color: #bfd77f;
}

.investment-card > button,
.investment-test-note > button,
.investment-inquiry form > button {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: auto;
    border: 1px solid #163c2e;
    border-radius: 8px;
    background: #ffffff;
    color: #17372b;
    cursor: pointer;
    font-size: 0.63rem;
    font-weight: 880;
    padding: 0 17px;
}

.investment-card > button:hover,
.investment-test-note > button:hover {
    border-color: #277d5d;
    background: #277d5d;
    color: #ffffff;
    transform: translateY(-1px);
}

.investment-card.featured > button {
    border-color: #bfd77f;
    background: #bfd77f;
    color: #123529;
}

.investment-card.featured > button:hover {
    border-color: #ffffff;
    background: #ffffff;
}

.investment-card.featured > small {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.52rem;
    text-align: center;
}

.investment-inquiry[hidden] {
    display: none;
}

.investment-inquiry {
    display: grid;
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.2fr);
    gap: clamp(30px, 5vw, 72px);
    border: 1px solid #cdded5;
    border-radius: 18px;
    background:
            radial-gradient(circle at 4% 100%, rgba(191, 215, 127, 0.22), transparent 25%),
            #edf6f1;
    padding: clamp(30px, 5vw, 58px);
}

.investment-inquiry-intro > p:first-child {
    margin: 0 0 12px;
    color: #287c5d;
    font-size: 0.56rem;
    font-weight: 880;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.investment-inquiry-intro h3 {
    margin: 0;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.investment-inquiry-intro > p:last-child {
    margin: 22px 0 0;
    color: #65776f;
    font-size: 0.72rem;
    line-height: 1.7;
}

.investment-inquiry form {
    display: grid;
    gap: 15px;
}

.investment-inquiry-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.investment-inquiry label {
    display: grid;
    gap: 7px;
    color: #26463a;
    font-size: 0.65rem;
    font-weight: 760;
}

.investment-inquiry input,
.investment-inquiry textarea,
.investment-inquiry select {
    width: 100%;
    border: 1px solid #cfddd6;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: #18392d;
    font: inherit;
    padding: 11px 13px;
}

.investment-inquiry input {
    min-height: 45px;
}

.investment-inquiry input[readonly] {
    background: #e6eee9;
    color: #456058;
}

.investment-consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
}

.investment-consent input {
    width: 17px;
    min-height: 17px;
    margin: 1px 0 0;
}

.investment-inquiry form > button {
    justify-self: start;
    margin-top: 4px;
    border-color: #0b3025;
    background: #0b3025;
    color: #ffffff;
}

.investment-inquiry form > button:hover {
    background: #267c5d;
}

.investment-inquiry form > button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.investment-inquiry-status {
    min-height: 20px;
    margin: 0;
    color: #1c6c50;
    font-size: 0.65rem;
    line-height: 1.5;
}

.investment-inquiry-status.error {
    color: #b13d2d;
}

.investment-test-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    border-top: 1px solid #dfe6e2;
    border-bottom: 1px solid #dfe6e2;
    padding: 30px 6px;
}

.investment-test-note > span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background: #e5f1eb;
    color: #247659;
    font-size: 0.58rem;
    font-weight: 850;
    line-height: 1.35;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
}

.investment-test-note h3,
.investment-test-note p {
    margin: 0;
}

.investment-test-note h3 {
    color: #17372b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.investment-test-note p {
    max-width: 660px;
    margin-top: 7px;
    color: #6d7b75;
    font-size: 0.67rem;
    line-height: 1.55;
}

.investment-test-note > button {
    min-width: 190px;
    margin-top: 0;
}

.investment-footnote {
    max-width: 900px;
    margin: -5px auto 0;
    color: #85908b;
    font-size: 0.57rem;
    line-height: 1.6;
    text-align: center;
}

/* Premium-Preisseite: ruhige Kaufentscheidung statt Landingpage */
.investment-page {
    gap: 38px;
}

.investment-hero {
    display: block;
    padding: clamp(24px, 2.6vw, 34px) clamp(28px, 4.6vw, 64px);
}

.investment-hero h2 {
    max-width: 820px;
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 1;
}

.investment-hero-copy > p:not(.investment-kicker) {
    max-width: 690px;
    margin-top: 18px;
    font-size: 0.78rem;
    line-height: 1.65;
}

.investment-assurances {
    margin-top: 23px;
}

.investment-offer-section {
    display: grid;
    gap: 18px;
}

.investment-offer-section--ongoing {
    border-top: 1px solid #dbe4df;
    padding-top: 42px;
}

.investment-heading {
    align-items: start;
    padding: 0 5px 4px;
}

.investment-heading h3 {
    font-size: clamp(1.75rem, 2.8vw, 2.65rem);
}

.investment-heading > p {
    max-width: 460px;
}

.investment-plans {
    padding-top: 0;
}

.investment-plans--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.investment-plans--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.investment-card {
    min-height: 525px;
    padding: 31px;
}

.investment-plans--two .investment-card {
    min-height: 545px;
}

.investment-card.featured {
    transform: none;
}

.investment-card-topline {
    min-height: 16px;
}

.investment-card > h3 {
    margin-top: 17px;
    font-size: clamp(1.6rem, 2.2vw, 2.15rem);
}

.investment-price {
    margin-top: 19px;
}

.investment-price strong {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.investment-card-description {
    min-height: 66px;
    margin-top: 15px;
}

.investment-card ul {
    gap: 10px;
    margin: 21px 0 26px;
    padding-top: 20px;
}

.investment-card-note {
    margin: -6px 0 22px;
    color: #77847e;
    font-size: 0.57rem;
    line-height: 1.55;
}

.investment-card.featured .investment-card-note {
    color: rgba(255, 255, 255, 0.55);
}

.investment-card > button {
    width: 100%;
    min-height: 50px;
}

.investment-recommendation {
    position: static;
    width: fit-content;
    margin: -2px 0 18px;
    background: rgba(191, 215, 127, 0.92);
    font-size: 0.5rem;
}

.investment-plans--three .featured .investment-card-topline {
    min-height: 0;
}

.investment-test-note {
    margin-top: 2px;
}

@media (max-width: 980px) {
    .investment-plans--two,
    .investment-plans--three {
        grid-template-columns: 1fr;
    }

    .investment-card,
    .investment-plans--two .investment-card {
        min-height: 0;
    }
}

@media (max-width: 680px) {
    .investment-hero h2 {
        font-size: clamp(2.15rem, 10vw, 3.25rem);
    }

    .investment-offer-section--ongoing {
        padding-top: 30px;
    }
}

@media (max-width: 980px) {
    .investment-hero,
    .investment-rhythm,
    .investment-heading,
    .investment-inquiry {
        grid-template-columns: 1fr;
    }

    .investment-promise {
        max-width: 620px;
    }

    .investment-heading {
        gap: 18px;
    }

    .investment-heading > p {
        max-width: 680px;
    }

    .investment-plans {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .investment-card {
        padding: 31px;
    }

    .investment-card.featured {
        order: -1;
        transform: none;
    }

    .investment-card-description {
        min-height: 0;
    }
}

@media (max-width: 680px) {
    .investment-page {
        gap: 22px;
    }

    .investment-hero {
        border-radius: 15px;
        padding: 34px 23px 24px;
    }

    .investment-hero h2 {
        font-size: clamp(2.65rem, 12.5vw, 4rem);
    }

    .investment-promise {
        padding: 24px;
    }

    .investment-rhythm {
        gap: 27px;
        padding: 27px 23px;
    }

    .investment-rhythm ol {
        grid-template-columns: 1fr;
    }

    .investment-rhythm li {
        grid-template-columns: 31px 1fr;
        column-gap: 10px;
    }

    .investment-rhythm li > span {
        grid-row: 1 / 3;
    }

    .investment-rhythm li strong {
        margin-top: 0;
    }

    .investment-rhythm li small {
        grid-column: 2;
    }

    .investment-heading {
        padding-top: 23px;
    }

    .investment-card {
        border-radius: 14px;
        padding: 27px 23px;
    }

    .investment-inquiry {
        border-radius: 14px;
        padding: 29px 22px;
    }

    .investment-inquiry-row,
    .investment-test-note {
        grid-template-columns: 1fr;
    }

    .investment-test-note {
        justify-items: start;
        padding-inline: 2px;
    }

    .investment-test-note > span {
        width: auto;
        height: 30px;
        border-radius: 999px;
        padding-inline: 12px;
    }

    .investment-test-note > button {
        width: 100%;
    }
}

body:has(.customer-dashboard:not(.locked)) {
    background: var(--portal-bg);
}

body:has(.customer-dashboard:not(.locked)) .page-shell {
    width: 100%;
    max-width: none;
}

.portal-legal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    border-top: 1px solid rgba(17, 47, 38, .1);
    background: #fff;
    padding: 20px;
}

.portal-legal-footer a {
    color: var(--portal-muted);
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
}

.portal-legal-footer a:hover {
    color: var(--portal-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.customer-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--portal-bg);
}

.customer-dashboard.locked {
    display: none;
}

.portal-sidebar {
    position: sticky;
    top: 0;
    z-index: 180;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(18px, 2.4vw, 42px);
    align-items: center;
    min-height: 82px;
    overflow: visible;
    border-bottom: 1px solid var(--portal-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    color: var(--portal-ink);
    padding: 12px clamp(20px, 3vw, 52px);
    box-shadow: 0 7px 24px rgba(20, 37, 31, 0.05);
}

.portal-sidebar::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #dff4ea 0%,
        #73c59f 18%,
        var(--portal-green) 32%,
        #d9f7c6 46%,
        var(--portal-green) 60%,
        var(--portal-dark) 78%,
        #9ed8bf 100%);
    background-position: 0% 0;
    background-size: 240% 100%;
    animation: portal-sidebar-light-sweep 7s ease-in-out infinite alternate;
    content: "";
    pointer-events: none;
}

@keyframes portal-sidebar-light-sweep {
    from {
        background-position: 0% 0;
    }

    to {
        background-position: 100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-sidebar::after {
        animation: none;
    }

    .werbestudio-menu {
        animation: none;
    }

    .studio-journey-progress i {
        transition: none;
    }
}

.portal-brand {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--portal-dark);
    font-size: 1.08rem;
    text-decoration: none;
    white-space: nowrap;
}

.portal-brand > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 9px;
    background: var(--portal-dark);
    color: #ffffff;
    font-weight: 950;
}

.portal-brand em {
    color: var(--portal-green);
    font-style: normal;
}

.portal-brand .site-brand-logo {
    display: block;
    width: auto;
    height: 56px;
}

.portal-user-card {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    border: 0;
    border-left: 1px solid var(--portal-line);
    border-radius: 0;
    background: transparent;
    color: var(--portal-ink);
    cursor: pointer;
    padding: 4px 0 4px 22px;
    text-align: left;
}

.portal-user-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.portal-user-actions .portal-user-card {
    grid-column: auto;
    grid-row: auto;
}

.portal-design-service-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    border: 1px solid rgba(30, 117, 90, 0.15);
    border-radius: 999px;
    background: linear-gradient(135deg, #f6fbf8, #ffffff);
    color: var(--portal-dark);
    cursor: pointer;
    font-size: 0.72rem;
    padding: 0 14px 0 10px;
    white-space: nowrap;
}

.portal-design-service-link span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--portal-mint);
    color: var(--portal-green);
    font-size: 0.82rem;
}

.portal-design-service-link strong {
    font-size: 0.72rem;
    font-weight: 850;
}

.portal-design-service-link:hover,
.portal-design-service-link.active {
    border-color: rgba(30, 117, 90, 0.35);
    background: var(--portal-dark);
    color: #ffffff;
}

.portal-design-service-link:hover span,
.portal-design-service-link.active span {
    background: rgba(255, 255, 255, 0.12);
    color: #d9f7c6;
}

.portal-user-card:hover strong,
.portal-user-card:focus-visible strong {
    color: var(--portal-green);
}

.portal-user-card:focus-visible {
    outline: 3px solid rgba(30, 117, 90, 0.16);
    outline-offset: 5px;
}

.portal-user-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 50%;
    background: var(--portal-mint);
    color: var(--portal-dark);
    font-size: 0.77rem;
    font-weight: 950;
}

.portal-user-card div {
    display: grid;
    min-width: 0;
}

.portal-user-card strong,
.portal-user-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-user-card strong {
    font-size: 0.78rem;
}

.portal-user-card small {
    margin-top: 3px;
    color: var(--portal-muted);
    font-size: 0.64rem;
}

.portal-user-chevron {
    color: var(--portal-muted);
    font-size: 0.85rem;
}

.portal-nav-label {
    display: none;
}

.portal-mobile-menu-button,
.portal-mobile-menu {
    display: none;
}

.portal-sidebar .dashboard-tabs {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    overflow-x: auto;
    border: 0;
    padding: 0;
    scrollbar-width: none;
}

.portal-sidebar .dashboard-tabs::-webkit-scrollbar {
    display: none;
}

.portal-sidebar .tab-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    min-width: max-content;
    width: auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--portal-muted);
    font-size: 0.75rem;
    font-weight: 760;
    padding: 0 10px;
    white-space: nowrap;
}

.portal-sidebar .tab-button > span {
    color: #87938d;
    font-size: 0.95rem;
    text-align: center;
}

.portal-sidebar .tab-button:hover,
.portal-sidebar .tab-button.active {
    background: var(--portal-mint);
    color: var(--portal-dark);
}

.portal-sidebar .tab-button.active {
    box-shadow: none;
}

.portal-sidebar .tab-button.active > span {
    color: var(--portal-green);
}

.portal-sidebar .werbestudio-trigger::after {
    display: inline-block;
    margin-left: 1px;
    color: currentColor;
    content: "⌄";
    font-size: 0.85rem;
    transition: transform 160ms ease;
}

.portal-sidebar .werbestudio-trigger {
    gap: 8px;
    min-height: 50px;
    padding-right: 12px;
}

.portal-sidebar .werbestudio-trigger .studio-tab-icon {
    font-size: 0.9rem;
}

.portal-sidebar .werbestudio-trigger .studio-tab-context {
    display: grid;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.portal-sidebar .werbestudio-trigger .studio-tab-context small {
    color: inherit;
    font-size: 0.55rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.portal-sidebar .werbestudio-trigger .studio-tab-context strong {
    overflow: hidden;
    color: inherit;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-sidebar .werbestudio-trigger[aria-expanded="true"] {
    background: var(--portal-mint);
    color: var(--portal-dark);
}

.portal-sidebar .werbestudio-trigger[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.werbestudio-menu[hidden] {
    display: none;
}

.werbestudio-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--werbestudio-menu-left, 50%);
    z-index: 220;
    display: block;
    width: min(430px, calc(100% - 40px));
    overflow: hidden;
    border: 1px solid rgba(8, 29, 23, 0.13);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 75px rgba(8, 29, 23, 0.2);
    padding: 0;
    transform: none;
    animation: studio-journey-reveal 180ms ease-out both;
}

@keyframes studio-journey-reveal {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.werbestudio-menu .studio-journey-step:focus-visible {
    outline: 3px solid rgba(30, 117, 90, 0.2);
    outline-offset: -3px;
}

.studio-journey-header {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(circle at 96% 0%, rgba(200, 240, 220, 0.12), transparent 35%),
            linear-gradient(135deg, #071c16 0%, #0c3528 100%);
    color: #ffffff;
    padding: 25px 25px 22px;
}

.studio-journey-header::after {
    position: absolute;
    right: -38px;
    bottom: -75px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.018);
    content: "";
}

.studio-journey-header > p {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 10px;
    color: #aac5b9;
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.studio-journey-header > p span {
    width: 24px;
    height: 1px;
    background: #d8c47d;
}

.studio-journey-header h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.56rem;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.studio-journey-progress-copy {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 22px;
    color: #b9cdc4;
    font-size: 0.59rem;
}

.studio-journey-progress-copy strong {
    color: #d3e8de;
    font-size: inherit;
    font-weight: 790;
}

.studio-journey-progress {
    position: relative;
    z-index: 1;
    height: 3px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.studio-journey-progress i {
    display: block;
    width: var(--studio-readiness, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d8c47d, #c8f0dc);
    box-shadow: 0 0 18px rgba(200, 240, 220, 0.28);
    transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-journey-steps {
    display: grid;
    gap: 10px;
    padding: 17px;
}

.studio-journey-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    width: 100%;
    margin: 0;
    border: 1px solid #dfe8e3;
    border-radius: 11px;
    background: #ffffff;
    color: #10271f;
    cursor: pointer;
    padding: 16px;
    text-align: left;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.studio-journey-step:hover:not(:disabled) {
    border-color: #83bca5;
    box-shadow: 0 11px 28px rgba(8, 29, 23, 0.08);
    transform: translateY(-1px);
}

.studio-journey-step.current:not(.locked) {
    border-color: #1f775a;
    box-shadow: inset 3px 0 0 #1f775a;
}

.studio-area-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d8e7df;
    border-radius: 12px;
    background: linear-gradient(135deg, #edf8f2, #ffffff);
    color: #1f775a;
    font-size: 0.9rem;
    font-weight: 900;
}

.studio-step-copy {
    display: grid;
    min-width: 0;
}

.studio-step-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.studio-step-topline > strong {
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.studio-step-status {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    border-radius: 999px;
    font-size: 0.51rem;
    font-weight: 850;
    padding: 0 8px;
    white-space: nowrap;
}

.studio-step-status.pending {
    background: #f4eee0;
    color: #876d2c;
}

.studio-step-status.ready {
    background: #dff3e9;
    color: #176545;
}

.studio-step-status.locked {
    background: #edf0ee;
    color: #7b8681;
}

.studio-step-description {
    margin-top: 6px;
    color: #74817b;
    font-size: 0.63rem;
    line-height: 1.45;
}

.studio-step-action {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 13px;
    color: #1f775a;
    font-size: 0.58rem;
    font-weight: 850;
}

.studio-step-action b {
    font-size: 0.78rem;
}

.studio-campaign-step.locked,
.studio-review-step.locked {
    border-color: #e7ece9;
    background: #f8faf9;
    cursor: not-allowed;
    opacity: 0.68;
}

.studio-campaign-step.locked .studio-area-mark,
.studio-review-step.locked .studio-area-mark {
    background: #e9edeb;
    color: #89938e;
}

.studio-campaign-step.locked .studio-step-action,
.studio-review-step.locked .studio-step-action {
    color: #8a9590;
}

.studio-campaign-step.ready,
.studio-review-step.ready,
.studio-approval-step.ready {
    border-color: #b8d8ca;
    background: linear-gradient(135deg, #f5fbf8, #ffffff);
}

.studio-journey-footer {
    border-top: 1px solid #e5ebe8;
    background: #f7f9f8;
    color: #6d7a74;
    font-size: 0.57rem;
    line-height: 1.5;
    padding: 13px 20px;
    text-align: center;
}

.portal-help-card {
    display: none;
}

.portal-help-card.portal-help-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(100%, 1180px);
    margin: 26px auto 0;
    border: 1px solid rgba(30, 117, 90, 0.12);
    border-radius: 24px;
    background:
            radial-gradient(circle at 4% 0%, rgba(185, 221, 115, 0.16), transparent 30%),
            linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 248, 0.88));
    box-shadow: 0 18px 44px rgba(7, 43, 34, 0.07);
    padding: 18px 22px;
}

/* Auf Seiten mit einem eigenen Abschluss darf der globale Hilfeblock nicht doppelt erscheinen. */
.portal-help-card.portal-help-strip[hidden] {
    display: none;
}

.portal-help-card > span {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 0;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(30, 117, 90, 0.12);
    background: #ffffff;
    color: var(--portal-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(7, 43, 34, 0.08);
}

.portal-help-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.portal-help-card p {
    max-width: 46rem;
    margin: 5px 0 0;
    color: var(--portal-muted);
    font-size: 0.74rem;
    font-weight: 650;
    line-height: 1.55;
}

.portal-help-card button {
    min-height: 40px;
    border: 1px solid rgba(30, 117, 90, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--portal-green);
    cursor: pointer;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0 16px;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(7, 43, 34, 0.06);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.portal-help-card button:hover,
.portal-help-card button:focus {
    background: var(--portal-green);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(7, 43, 34, 0.14);
}

.portal-main {
    min-width: 0;
    padding: 33px clamp(22px, 4vw, 58px) 70px;
}

.portal-main .dashboard-header {
    align-items: center;
    max-width: 1180px;
    margin: 0 auto 28px;
    border-bottom: 1px solid var(--portal-line);
    padding-bottom: 22px;
}

.portal-main .dashboard-header .eyebrow {
    margin-bottom: 6px;
}

.portal-main .dashboard-header h2 {
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.portal-login-state {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--portal-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
}

.portal-login-state > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #45a878;
    box-shadow: 0 0 0 4px rgba(69, 168, 120, 0.12);
}

.portal-login-state p {
    font-size: 0.68rem;
}

.portal-main .tab-panel.active {
    display: grid;
    gap: 22px;
    width: min(100%, 1180px);
    margin: 0 auto;
    justify-items: stretch;
}

.profile-overview-intro {
    display: grid;
    grid-template-columns: minmax(210px, 0.46fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: start;
    padding: 18px 5px 12px;
}

.profile-overview-intro[hidden],
.profile-studio-hero[hidden] {
    display: none;
}

.profile-overview-kicker {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 0;
    color: #26805f;
    font-size: 0.58rem;
    font-weight: 880;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-overview-kicker span {
    width: 26px;
    height: 1px;
    background: #d0b968;
}

.profile-overview-intro h1,
.profile-overview-intro div > p {
    margin: 0;
}

.profile-overview-intro h1 {
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4.2vw, 3.9rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.profile-overview-intro h1 em {
    color: #267c5d;
    font-style: italic;
    font-weight: 500;
}

.profile-overview-intro div > p {
    max-width: 690px;
    margin-top: 20px;
    color: #697a72;
    font-size: 0.82rem;
    line-height: 1.75;
}

.profile-return-strip {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    min-height: 78px;
    border: 1px solid #dce6e1;
    border-radius: 14px;
    background: linear-gradient(105deg, #ffffff, #f6faf8);
    padding: 14px 22px;
    box-shadow: 0 12px 32px rgba(8, 29, 23, 0.05);
}

.profile-return-strip[hidden] {
    display: none;
}

.profile-return-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #e4f3eb;
    color: #176448;
    font-size: 0.92rem;
}

.profile-return-strip p,
.profile-return-strip strong {
    margin: 0;
}

.profile-return-strip p {
    margin-bottom: 4px;
    color: #26805f;
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-return-strip strong {
    color: #17372b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.94rem, 1.6vw, 1.16rem);
    font-weight: 500;
    line-height: 1.35;
}

.profile-onboarding-preview {
    display: grid;
    gap: 22px;
}

.profile-onboarding-preview[hidden] {
    display: none;
}

.onboarding-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.58fr);
    gap: clamp(24px, 4vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(13, 61, 46, 0.12);
    border-radius: 24px;
    background:
            radial-gradient(circle at 80% 0%, rgba(216, 196, 125, 0.16), transparent 31%),
            linear-gradient(135deg, #ffffff 0%, #f4faf7 54%, #e9f4ef 100%);
    box-shadow: 0 30px 80px rgba(8, 29, 23, 0.11);
    padding: clamp(30px, 5vw, 62px);
}

.onboarding-hero-copy {
    align-self: center;
}

.onboarding-eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 28px;
    color: #24775a;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.onboarding-eyebrow span {
    width: 32px;
    height: 1px;
    background: #d0b968;
}

.onboarding-hero-card h1 {
    max-width: 740px;
    margin: 0;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 5vw, 5.25rem);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.onboarding-hero-card h1 em {
    color: #267c5d;
    font-style: italic;
    font-weight: 500;
}

#profileOnboardingLead {
    max-width: 690px;
    margin: 26px 0 0;
    color: #586b62;
    font-size: clamp(0.92rem, 1.6vw, 1.1rem);
    line-height: 1.75;
}

.onboarding-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 34px;
}

.onboarding-action-note {
    max-width: 280px;
    color: #6c7c74;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.5;
}

.onboarding-primary-action,
.onboarding-secondary-action {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.onboarding-secondary-action[hidden] {
    display: none !important;
}

.onboarding-primary-action {
    border: 0;
    background: #123a2d;
    color: #fffdf6;
    padding: 0 24px;
    box-shadow: 0 16px 36px rgba(18, 58, 45, 0.2);
}

.onboarding-secondary-action {
    border: 1px solid #d6e3dd;
    background: rgba(255, 255, 255, 0.76);
    color: #17372b;
    padding: 0 21px;
}

.onboarding-primary-action:hover,
.onboarding-secondary-action:hover {
    transform: translateY(-1px);
}

.onboarding-primary-action:hover {
    box-shadow: 0 20px 42px rgba(18, 58, 45, 0.25);
}

.onboarding-guidance-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    border: 1px solid rgba(216, 196, 125, 0.22);
    border-radius: 22px;
    background:
            radial-gradient(circle at 100% 0%, rgba(216, 196, 125, 0.2), transparent 34%),
            linear-gradient(160deg, #071b15, #0a3327);
    color: #ffffff;
    padding: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.onboarding-guidance-card small {
    color: #d8c47d;
    font-size: 0.56rem;
    font-weight: 880;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.onboarding-guidance-card strong {
    display: block;
    margin-top: 12px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.onboarding-guidance-card p {
    margin: 16px 0 28px;
    color: #bdd0c8;
    font-size: 0.78rem;
    line-height: 1.65;
}

.onboarding-progress-line {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.onboarding-progress-line i {
    display: block;
    width: var(--onboarding-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d8c47d, #dff2e8);
    transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

#profileOnboardingProgressLabel {
    margin-top: 12px;
    color: #d8e6df;
    font-size: 0.68rem;
}

.onboarding-path,
.onboarding-control-panel {
    border: 1px solid #dfe8e3;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(8, 29, 23, 0.07);
}

.onboarding-path {
    display: grid;
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    overflow: hidden;
}

.onboarding-path-intro {
    background: #f6faf8;
    padding: clamp(26px, 4vw, 42px);
}

.onboarding-path-intro p {
    margin: 0 0 18px;
    color: #26805f;
    font-size: 0.58rem;
    font-weight: 880;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.onboarding-path-intro h2 {
    margin: 0;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.onboarding-path-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-path-steps article {
    min-height: 205px;
    border-left: 1px solid #e4ece8;
    border-bottom: 1px solid #e4ece8;
    padding: 28px;
}

.onboarding-path-steps article:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.onboarding-path-steps span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d8c47d;
    border-radius: 50%;
    color: #7b642b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
}

.onboarding-path-steps h3 {
    margin: 20px 0 10px;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.onboarding-path-steps p {
    margin: 0;
    color: #64766d;
    font-size: 0.75rem;
    line-height: 1.65;
}

.onboarding-control-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

.onboarding-control-panel article {
    padding: 28px;
    border-left: 1px solid #e4ece8;
}

.onboarding-control-panel article:first-child {
    border-left: 0;
}

.onboarding-control-panel small {
    color: #26805f;
    font-size: 0.56rem;
    font-weight: 880;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.onboarding-control-panel strong {
    display: block;
    margin-top: 12px;
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
}

.onboarding-control-panel p {
    margin: 12px 0 0;
    color: #64766d;
    font-size: 0.73rem;
    line-height: 1.6;
}

.campaign-roadmap {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.55fr);
    min-height: 590px;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 26px 65px rgba(8, 29, 23, 0.1);
}

.campaign-roadmap[hidden] {
    display: none;
}

.campaign-roadmap-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
    background:
            radial-gradient(circle at 100% 100%, rgba(216, 196, 125, 0.08), transparent 34%),
            linear-gradient(145deg, #071b15 0%, #0a3024 100%);
    color: #ffffff;
    padding: clamp(34px, 4vw, 52px);
}

.campaign-roadmap-intro::before,
.campaign-roadmap-intro::after {
    position: absolute;
    right: -115px;
    bottom: -155px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(216, 196, 125, 0.12);
    border-radius: 50%;
    content: "";
}

.campaign-roadmap-intro::after {
    right: -55px;
    bottom: -215px;
    width: 390px;
    height: 390px;
}

.campaign-roadmap-intro > div {
    position: relative;
    z-index: 1;
}

.campaign-roadmap-overline {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 26px;
    color: #d8c47d;
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.campaign-roadmap-overline span {
    width: 30px;
    height: 1px;
    background: currentColor;
}

.campaign-roadmap-intro h2 {
    max-width: 390px;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 3.2vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1.02;
    text-align: left;
}

.campaign-roadmap-intro h2 span {
    display: block;
    margin-top: 0.28em;
    color: #dff2e8;
    hyphens: none;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: keep-all;
}

.campaign-roadmap-lead {
    max-width: 360px;
    margin: 25px 0 0;
    color: #bdcec6;
    font-size: 0.79rem;
    line-height: 1.65;
}

.campaign-roadmap-readiness > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    color: #d4e0da;
    font-size: 0.59rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campaign-roadmap-readiness > div:first-child strong {
    color: #ffffff;
    font-size: 0.58rem;
    letter-spacing: 0;
    text-transform: none;
}

.campaign-roadmap-progress {
    height: 4px;
    margin-top: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.campaign-roadmap-progress i {
    display: block;
    width: var(--campaign-readiness, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d8c47d, #dff2e8);
    box-shadow: 0 0 16px rgba(216, 196, 125, 0.25);
    transition: width 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.campaign-roadmap-readiness > p {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding-top: 23px;
}

.campaign-roadmap-readiness > p > b {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d8c47d;
    border-radius: 50%;
    color: #d8c47d;
    font-size: 0.82rem;
}

.campaign-roadmap-readiness > p span {
    display: grid;
    gap: 4px;
}

.campaign-roadmap-readiness > p small {
    color: #d8c47d;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campaign-roadmap-readiness > p strong {
    color: #ffffff;
    font-size: 0.69rem;
    font-weight: 720;
}

.campaign-roadmap-steps {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    padding: 30px clamp(24px, 3.5vw, 46px);
}

.campaign-roadmap.dna-ready .campaign-roadmap-steps {
    grid-template-rows: auto repeat(2, minmax(0, 1fr));
}

.campaign-roadmap.dna-ready #profileQuickstartCard {
    min-height: 82px;
    padding-block: 14px;
}

.campaign-roadmap.dna-ready #profileQuickstartCard .campaign-roadmap-number {
    width: 44px;
    height: 44px;
    font-size: 0.88rem;
}

.campaign-roadmap.dna-ready #profileQuickstartCard .campaign-roadmap-step-copy > p,
.campaign-roadmap.dna-ready #profileQuickstartButton {
    display: none;
}

.campaign-roadmap.dna-ready #profileQuickstartCard h3 {
    font-size: 1.12rem;
}

.campaign-roadmap-step {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: clamp(16px, 2.4vw, 30px);
    align-items: center;
    min-width: 0;
    border-bottom: 1px solid #e3e9e6;
    padding: 24px 0;
    transition: opacity 180ms ease;
}

.campaign-roadmap-step:last-child {
    border-bottom: 0;
}

.campaign-roadmap-step::before {
    position: absolute;
    top: 17px;
    bottom: 17px;
    left: calc(clamp(24px, 3.5vw, 46px) * -1);
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    content: "";
}

.campaign-roadmap-step.current::before {
    background: #d8c47d;
}

.campaign-roadmap-step.locked {
    opacity: 0.55;
}

.campaign-roadmap-number {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #d6dfda;
    border-radius: 50%;
    background: #ffffff;
    color: #72817a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.campaign-roadmap-step.complete .campaign-roadmap-number {
    border-color: #a9cdbd;
    background: #edf7f2;
    color: #176448;
}

.campaign-roadmap-step-copy {
    min-width: 0;
}

.campaign-roadmap-step-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
}

.campaign-roadmap-step h3,
.campaign-roadmap-step p {
    margin: 0;
}

.campaign-roadmap-step h3 {
    color: #10271f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.1vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.campaign-roadmap-step p {
    max-width: 520px;
    margin-top: 10px;
    color: #6d7b75;
    font-size: 0.7rem;
    line-height: 1.6;
}

.campaign-roadmap-status {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    border-radius: 999px;
    font-size: 0.54rem;
    font-weight: 820;
    padding: 0 10px;
    white-space: nowrap;
}

.campaign-roadmap-status.current {
    background: #f3ecd8;
    color: #7d6428;
}

.campaign-roadmap-status.complete {
    background: #dff2e8;
    color: #176448;
}

.campaign-roadmap-status.locked {
    background: #ecefed;
    color: #78837e;
}

.campaign-roadmap-action {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 138px;
    border: 1px solid #d9e0dc;
    border-radius: 8px;
    background: #ffffff;
    color: #17372b;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 850;
    padding: 0 17px;
    white-space: nowrap;
}

.campaign-roadmap-action.primary {
    border-color: #0a3024;
    background: #0a3024;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(8, 29, 23, 0.12);
}

.campaign-roadmap-action:hover:not(:disabled) {
    border-color: #237657;
    background: #237657;
    color: #ffffff;
    transform: translateY(-1px);
}

.campaign-roadmap-action:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.portal-main .company-form,
.portal-main .company-list-panel,
.portal-main .dashboard-card,
.portal-main .pricing-panel {
    max-width: none;
    border: 1px solid var(--portal-line);
    border-radius: 14px;
    background: var(--portal-panel);
    box-shadow: none;
    padding: 30px;
}

.portal-main .company-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.portal-main .company-form .section-heading,
.portal-main .company-form .company-limit-notice,
.portal-main .company-form .permission-check,
.portal-main .company-form label:last-of-type,
.portal-main .company-form .submit-button,
.portal-main .company-form .form-status,
.portal-main .company-form input[type="hidden"] {
    grid-column: 1 / -1;
}

.portal-main .company-form.limit-reached {
    grid-template-columns: 1fr;
}

.portal-main label {
    color: var(--portal-ink);
    font-size: 0.78rem;
}

.portal-main input,
.portal-main textarea,
.portal-main select {
    border-color: var(--portal-line);
    background: #fbfcfb;
}

.portal-main input:focus,
.portal-main textarea:focus,
.portal-main select:focus {
    border-color: var(--portal-green);
    outline: 3px solid rgba(30, 117, 90, 0.11);
}

.portal-main .submit-button {
    background: var(--portal-green);
}

.portal-main .company-list {
    grid-template-columns: 1fr;
}

.portal-main .company-card {
    border-radius: 12px;
}

.portal-main [data-panel="materialien"] .company-list-panel {
    border: 1px solid rgba(30, 117, 90, 0.12);
    border-radius: 28px;
    background:
            radial-gradient(circle at 10% 8%, rgba(213, 191, 120, 0.14), transparent 28%),
            linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.98) 62%),
            #ffffff;
    box-shadow: 0 24px 68px rgba(7, 43, 34, 0.1);
    padding: 30px;
}

.portal-main [data-panel="materialien"] .section-heading .eyebrow {
    color: var(--portal-green);
}

.portal-main [data-panel="materialien"] .company-card {
    overflow: hidden;
    border: 1px solid rgba(30, 117, 90, 0.12);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 43, 34, 0.08);
    padding: 0;
}

.materials-premium-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
    gap: 24px;
    align-items: stretch;
    background:
            radial-gradient(circle at 8% 10%, rgba(220, 239, 230, 0.42), transparent 30%),
            linear-gradient(145deg, #0d3e31, #155c46);
    color: #ffffff;
    padding: 28px;
}

.materials-eyebrow,
.material-section-head small,
.materials-identity-card small {
    display: block;
    margin: 0 0 8px;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.materials-premium-hero h3 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.materials-premium-hero p {
    max-width: 44rem;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    line-height: 1.65;
}

.materials-identity-card {
    align-self: stretch;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.materials-identity-card small {
    color: rgba(255, 255, 255, 0.62);
}

.materials-identity-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
}

.materials-identity-card span {
    display: inline-flex;
    margin-top: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 7px 10px;
}

.portal-main [data-panel="materialien"] .company-website {
    margin: 22px 28px 0;
}

.portal-main [data-panel="materialien"] .company-website {
    color: var(--portal-green);
    text-decoration: none;
}

.materials-profile-summary {
    position: relative;
    overflow: hidden;
    max-height: 142px;
    margin: 22px 28px 0;
    border: 1px solid rgba(30, 117, 90, 0.1);
    border-radius: 20px;
    background:
            linear-gradient(145deg, rgba(220, 239, 230, 0.28), rgba(255, 255, 255, 0.96) 58%),
            #ffffff;
    padding: 16px 18px 18px;
}

.materials-summary-edit {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(30, 117, 90, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--portal-green);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(7, 43, 34, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    z-index: 2;
}

.materials-summary-edit:hover,
.materials-summary-edit:focus {
    border-color: rgba(30, 117, 90, 0.3);
    box-shadow: 0 14px 28px rgba(7, 43, 34, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.materials-profile-summary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 28px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.materials-profile-summary small {
    display: block;
    padding-right: 42px;
    margin-bottom: 7px;
    color: var(--portal-green);
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.materials-profile-summary p {
    display: -webkit-box;
    margin: 0;
    color: rgba(39, 58, 52, 0.72);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.materials-profile-summary.is-editing {
    max-height: none;
    overflow: visible;
}

.materials-profile-summary.is-editing::after {
    display: none;
}

.materials-profile-summary.is-editing .materials-summary-edit,
.materials-profile-summary.is-editing > small,
.materials-profile-summary.is-editing > p {
    display: none;
}

.materials-summary-form[hidden] {
    display: none !important;
}

.materials-summary-form {
    display: grid;
    gap: 14px;
}

.materials-summary-form label {
    display: grid;
    gap: 9px;
    color: var(--portal-green);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.materials-summary-form textarea {
    width: 100%;
    min-height: 128px;
    border: 1px solid rgba(30, 117, 90, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--portal-ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.6;
    padding: 13px 14px;
    resize: vertical;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.materials-summary-form textarea:focus {
    border-color: rgba(30, 117, 90, 0.34);
    box-shadow: 0 0 0 4px rgba(30, 117, 90, 0.08);
    outline: none;
}

.materials-summary-form div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.materials-summary-form button {
    min-height: 38px;
    border: 1px solid rgba(30, 117, 90, 0.14);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    padding: 0 16px;
}

.materials-summary-form button[type="submit"] {
    background: linear-gradient(135deg, var(--portal-green), #2b8c6c);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(30, 117, 90, 0.18);
}

.materials-summary-form button[type="button"] {
    background: rgba(255, 255, 255, 0.88);
    color: rgba(39, 58, 52, 0.72);
}

.materials-summary-form button:disabled {
    cursor: progress;
    opacity: 0.62;
}

.portal-main [data-panel="materialien"] .material-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 24px 28px 28px;
    border: 1px solid rgba(30, 117, 90, 0.1);
    border-radius: 24px;
    background:
            linear-gradient(145deg, rgba(220, 239, 230, 0.28), rgba(255, 255, 255, 0.96) 58%),
            #ffffff;
    padding: 22px;
}

.portal-main [data-panel="materialien"] .material-section-head,
.portal-main [data-panel="materialien"] .material-checklist,
.portal-main [data-panel="materialien"] .material-next-card,
.portal-main [data-panel="materialien"] .material-action-grid,
.portal-main [data-panel="materialien"] .material-vault,
.portal-main [data-panel="materialien"] .material-list,
.portal-main [data-panel="materialien"] .material-empty,
.portal-main [data-panel="materialien"] .website-text-preview,
.portal-main [data-panel="materialien"] .material-next-actions,
.portal-main [data-panel="materialien"] .material-status {
    grid-column: 1 / -1;
}

.material-section-head h4 {
    margin: 0;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 500;
}

.material-section-head small {
    color: var(--portal-green);
}

.material-section-head p {
    max-width: 47rem;
    margin: 8px 0 0;
    color: var(--portal-muted);
}

.portal-main [data-panel="materialien"] .material-checklist {
    gap: 8px;
}

.portal-main [data-panel="materialien"] .material-checklist span {
    border-radius: 999px;
    font-size: 0.72rem;
    padding: 7px 10px;
}

.material-next-card {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(30, 117, 90, 0.12);
    border-radius: 22px;
    background:
            radial-gradient(circle at 8% 0%, rgba(185, 221, 115, 0.18), transparent 34%),
            linear-gradient(135deg, #083529, #145844);
    color: #ffffff;
    padding: 20px 22px;
    box-shadow: 0 22px 45px rgba(7, 43, 34, 0.13);
}

.material-next-card div {
    display: grid;
    gap: 5px;
}

.material-next-card small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.material-next-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.18rem, 1.7vw, 1.48rem);
    font-weight: 500;
}

.material-next-card p {
    max-width: 42rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.55;
}

.material-next-card button {
    flex: 0 0 auto;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--portal-green);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0 18px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

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

.material-action-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    border: 1px solid rgba(30, 117, 90, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    padding: 18px;
    box-shadow: 0 16px 34px rgba(7, 43, 34, 0.05);
}

.material-action-card > small {
    color: var(--portal-green);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.material-action-card h5 {
    margin: 0;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-weight: 500;
}

.material-action-card p {
    margin: 0;
    color: rgba(39, 58, 52, 0.68);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.55;
}

.portal-main [data-panel="materialien"] .website-scan-button {
    justify-self: start;
    border-color: rgba(30, 117, 90, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--portal-green);
    box-shadow: 0 12px 28px rgba(7, 43, 34, 0.06);
    padding-inline: 18px;
}

.portal-main [data-panel="materialien"] .website-scan-button:hover:not(:disabled) {
    background: var(--portal-green);
    color: #ffffff;
}

.website-analysis-preview {
    border: 1px solid rgba(30, 117, 90, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.website-analysis-preview summary {
    cursor: pointer;
    color: var(--portal-green);
    font-size: 0.72rem;
    font-weight: 850;
    list-style: none;
    padding: 12px 14px;
}

.website-analysis-preview summary::-webkit-details-marker {
    display: none;
}

.website-analysis-preview summary::after {
    float: right;
    content: "+";
}

.website-analysis-preview[open] summary {
    border-bottom: 1px solid rgba(30, 117, 90, 0.1);
}

.website-analysis-preview[open] summary::after {
    content: "−";
}

.website-analysis-preview .website-text-preview {
    max-height: 180px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.72rem;
    line-height: 1.5;
}

.portal-main [data-panel="materialien"] .material-note-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    border-top: 0;
    padding-top: 0;
}

.portal-main [data-panel="materialien"] .material-note-form textarea {
    min-height: 128px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    padding: 14px;
}

.portal-main [data-panel="materialien"] .material-note-form button,
.portal-main [data-panel="materialien"] .material-form button,
.material-next-actions button {
    min-height: 42px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 880;
    padding-inline: 17px;
}

.portal-main [data-panel="materialien"] .material-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    border-top: 0;
    padding-top: 0;
}

.portal-main [data-panel="materialien"] .material-note-form button,
.portal-main [data-panel="materialien"] .material-form button {
    align-self: flex-start;
    margin-top: auto;
}

.material-upload-drop {
    display: grid;
    gap: 4px;
    margin: 0;
    border: 1px dashed rgba(30, 117, 90, 0.26);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    padding: 14px 16px;
}

.material-upload-drop span {
    color: var(--portal-ink);
    font-size: 0.86rem;
    font-weight: 850;
}

.material-upload-drop small {
    color: var(--portal-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.material-upload-drop input[type="file"] {
    margin-top: 8px;
    min-height: 32px;
    padding: 0;
}

.material-next-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 0;
    padding-top: 0;
}

.material-next-actions button {
    border: 1px solid rgba(30, 117, 90, 0.16);
    background: #ffffff;
    color: var(--portal-green);
}

.material-vault {
    border: 1px solid rgba(30, 117, 90, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 34px rgba(7, 43, 34, 0.05);
    overflow: hidden;
}

.material-vault summary {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    padding: 18px;
}

.material-vault summary::-webkit-details-marker {
    display: none;
}

.material-vault summary span {
    display: grid;
    gap: 4px;
}

.material-vault summary small,
.material-vault.is-empty small {
    color: var(--portal-green);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.material-vault summary strong,
.material-vault.is-empty strong {
    color: var(--portal-ink);
    font-size: 1rem;
    font-weight: 900;
}

.material-vault summary em,
.material-vault.is-empty p {
    color: rgba(39, 58, 52, 0.62);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 650;
}

.material-vault summary b {
    border: 1px solid rgba(30, 117, 90, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--portal-green);
    font-size: 0.68rem;
    padding: 10px 14px;
    white-space: nowrap;
}

.material-vault[open] summary {
    border-bottom: 1px solid rgba(30, 117, 90, 0.09);
}

.material-vault:not([open]) .material-list {
    display: none;
}

.material-vault[open] summary b::after {
    content: " schließen";
}

.material-vault.is-empty {
    display: grid;
    padding: 18px;
}

.material-vault.is-empty > div {
    display: grid;
    gap: 5px;
}

.portal-main [data-panel="materialien"] .material-list {
    gap: 8px;
    padding: 14px;
}

.portal-main [data-panel="materialien"] .material-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-color: rgba(30, 117, 90, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    padding: 12px 14px;
}

.material-preview {
    display: grid;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid rgba(30, 117, 90, 0.12);
    border-radius: 12px;
    background: #f3f7f4;
}

.material-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material-open-link {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--portal-green);
    font-size: 0.7rem;
    font-weight: 900;
    text-decoration: none;
}

.material-preview + .material-open-link {
    grid-column: 1;
    grid-row: 2;
    width: 58px;
    text-align: center;
}

.material-open-link:hover {
    text-decoration: underline;
}

.portal-main [data-panel="materialien"] .material-open-link:not(.material-preview + .material-open-link) {
    grid-column: 2;
    grid-row: 1;
}

.portal-main [data-panel="materialien"] .material-delete-button {
    width: auto;
    min-width: 86px;
    height: 34px;
    border: 1px solid rgba(167, 56, 40, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(167, 56, 40, 0.76);
    font-size: 0.66rem;
    font-weight: 900;
    padding: 0 13px;
}

.portal-main .draft-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-main .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-main .pricing-card {
    border-radius: 12px;
}

/* Premium-Zugang: Login und Registrierung */
.access-modal {
    background:
            radial-gradient(circle at 12% 8%, rgba(185, 221, 115, 0.17), transparent 26%),
            radial-gradient(circle at 86% 88%, rgba(76, 157, 122, 0.19), transparent 30%),
            linear-gradient(135deg, #06271f 0%, #0b3d30 54%, #145844 100%);
}

.access-modal::before,
.access-modal::after {
    position: fixed;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.access-modal::before {
    top: -210px;
    left: -170px;
    width: 560px;
    height: 560px;
}

.access-modal::after {
    right: -260px;
    bottom: -330px;
    width: 720px;
    height: 720px;
}

.access-modal .access-modal-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
    gap: clamp(45px, 8vw, 110px);
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    padding: 48px 0;
}

.access-brand-panel {
    color: #ffffff;
}

.access-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: #ffffff;
    font-size: 1.08rem;
    padding: 8px 13px;
    text-decoration: none;
}

.access-brand-logo .site-brand-logo {
    height: 64px;
}

.access-brand-logo > span {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    border-radius: 9px;
    background: #ffffff;
    color: var(--portal-dark);
    font-weight: 950;
}

.access-brand-logo em {
    color: var(--portal-lime);
    font-style: normal;
}

.access-brand-copy {
    max-width: 670px;
    margin: clamp(48px, 8vh, 90px) 0 39px;
}

.access-brand-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: var(--portal-lime);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.access-brand-kicker::before {
    width: 27px;
    height: 2px;
    background: currentColor;
    content: "";
}

.access-brand-copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.35rem, 5.5vw, 5.6rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.94;
}

.access-brand-copy h1 em {
    color: var(--portal-lime);
    font-style: italic;
}

.access-brand-copy > p:last-child {
    max-width: 570px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.93rem;
    line-height: 1.75;
}

.access-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 680px;
}

.access-benefits article {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.055);
    padding: 13px;
}

.access-benefits article > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: rgba(185, 221, 115, 0.14);
    color: var(--portal-lime);
    font-size: 0.72rem;
    font-weight: 900;
}

.access-benefits article > div {
    display: grid;
    gap: 4px;
}

.access-benefits strong {
    font-size: 0.69rem;
}

.access-benefits small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.58rem;
    line-height: 1.4;
}

.access-free-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    color: var(--portal-lime);
}

.access-free-note > span {
    font-size: 1.2rem;
}

.access-free-note p {
    display: grid;
    gap: 2px;
    margin: 0;
}

.access-free-note strong {
    color: #ffffff;
    font-size: 0.68rem;
}

.access-free-note small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.6rem;
}

.access-modal .access-modal-card {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    border: 1px solid rgba(210, 222, 216, 0.86);
    border-radius: 18px;
    background: rgba(252, 253, 251, 0.985);
    box-shadow: 0 36px 92px rgba(5, 18, 14, 0.31);
    padding: clamp(30px, 3.8vw, 42px);
}

.access-modal .access-modal-brand span {
    background: var(--portal-dark);
}

.access-panel-intro {
    display: grid;
    gap: 8px;
    margin: 0 42px 24px 0;
}

.access-panel-intro p {
    margin: 0;
    color: rgba(16, 58, 45, 0.7);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.access-panel-intro h2 {
    margin: 0;
    color: var(--portal-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.12rem, 4vw, 2.78rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.96;
}

.access-panel-intro span {
    max-width: 34ch;
    color: rgba(34, 48, 43, 0.64);
    font-size: 0.82rem;
    font-weight: 560;
    line-height: 1.6;
}

.access-modal .access-mode-tabs {
    gap: 3px;
    margin: 0 0 22px;
    border: 1px solid rgba(179, 196, 188, 0.65);
    border-radius: 999px;
    background: #f4f7f5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    padding: 4px;
}

.access-modal .access-mode-tab {
    min-height: 39px;
    border-radius: 999px;
    color: rgba(52, 69, 62, 0.58);
    font-size: 0.7rem;
    letter-spacing: 0.01em;
}

.access-modal .access-mode-tab.active {
    background: #ffffff;
    color: var(--portal-dark);
    box-shadow:
            inset 0 0 0 1px rgba(18, 63, 50, 0.08),
            0 5px 14px rgba(8, 29, 23, 0.055);
}

.access-modal .registration-section {
    padding-top: 0;
}

.access-modal .access-form .section-heading {
    margin-bottom: 15px;
}

.access-modal .access-form .section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 500;
}

.access-modal .access-copy {
    margin: -3px 0 17px;
    color: rgba(34, 48, 43, 0.46);
    font-size: 0.73rem;
    font-weight: 560;
    line-height: 1.55;
}

.access-modal .access-form {
    gap: 12px;
}

.access-modal .access-form label {
    color: var(--portal-ink);
    font-size: 0.72rem;
    font-weight: 760;
}

.access-modal .access-form input {
    min-height: 49px;
    border: 1px solid rgba(188, 204, 196, 0.88);
    border-radius: 10px;
    background: #fbfcfa;
    color: var(--portal-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.access-modal .access-form input:focus {
    border-color: #123f32;
    outline: 0;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.82),
            0 0 0 2px rgba(18, 63, 50, 0.08);
}

.access-modal .access-form .submit-button {
    min-height: 49px;
    margin-top: 6px;
    border-radius: 10px;
    background: #123f32;
    box-shadow: 0 14px 28px rgba(18, 63, 50, 0.18);
}

.access-modal .access-form .submit-button:hover {
    background: #092c23;
    box-shadow: 0 16px 32px rgba(9, 44, 35, 0.2);
    transform: translateY(-1px);
}

.access-modal .access-form .submit-button:focus-visible {
    outline: 2px solid rgba(18, 63, 50, 0.24);
    outline-offset: 3px;
}

.access-modal .access-modal-close {
    top: 13px;
    right: 13px;
}

.access-modal [hidden],
.onboarding-modal[hidden] {
    display: none;
}

.access-modal .access-form label > small {
    margin-top: 5px;
    color: var(--portal-muted);
    font-size: 0.61rem;
    font-weight: 500;
    line-height: 1.4;
}

.access-password-field {
    position: relative;
    display: block;
}

.access-password-field input {
    padding-right: 48px;
}

.access-password-field .password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    border: 0;
    background: transparent;
    color: var(--portal-green);
    cursor: pointer;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
}

.password-visibility-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.password-visibility-toggle:focus-visible {
    border-radius: 6px;
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.access-modal .access-form .access-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    border: 1px solid rgba(188, 204, 196, 0.5);
    border-radius: 10px;
    background: rgba(246, 249, 247, 0.58);
    padding: 9px 10px;
}

.access-modal .access-form .access-consent input {
    width: 15px;
    min-height: 15px;
    margin-top: 1px;
    accent-color: #123f32;
}

.access-consent > span {
    display: grid;
    gap: 3px;
}

.access-consent strong {
    color: rgba(8, 29, 23, 0.76);
    font-size: 0.64rem;
    font-weight: 720;
}

.access-consent small {
    color: rgba(34, 48, 43, 0.48);
    font-size: 0.57rem;
    font-weight: 500;
    line-height: 1.45;
}

.access-consent small a {
    color: #123f32;
    font-weight: 720;
    text-underline-offset: 2px;
}

.access-assurances {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--portal-muted);
    font-size: 0.59rem;
    font-weight: 750;
}

.access-assurances span::first-letter {
    color: var(--portal-green);
}

.access-confirmation {
    display: grid;
    justify-items: center;
    gap: 13px;
    text-align: center;
}

.access-confirmation-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: var(--portal-mint);
    color: var(--portal-green);
    font-size: 1.45rem;
}

.access-confirmation .eyebrow,
.access-confirmation h2,
.access-confirmation p {
    margin: 0;
}

.access-confirmation h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 500;
}

.access-confirmation > p:not(.eyebrow):not(.form-status),
.access-confirmation > small {
    color: var(--portal-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.access-confirmation .submit-button {
    width: 100%;
    min-height: 46px;
}

.access-text-button {
    border: 0;
    background: transparent;
    color: var(--portal-green);
    cursor: pointer;
    font-size: 0.69rem;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.access-email-correction {
    display: grid;
    gap: 10px;
    width: 100%;
    border-top: 1px solid var(--portal-line);
    padding-top: 13px;
    text-align: left;
}

.access-email-correction label {
    display: grid;
    gap: 6px;
    color: var(--portal-ink);
    font-size: 0.7rem;
    font-weight: 760;
}

.access-email-correction input {
    min-height: 46px;
    border: 1px solid var(--portal-line);
    border-radius: 7px;
    padding: 0 12px;
}

.onboarding-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    overflow-y: auto;
    place-items: center;
    background: rgba(4, 32, 25, 0.86);
    backdrop-filter: blur(12px);
    padding: 24px;
}

.onboarding-card {
    display: grid;
    gap: 16px;
    width: min(100%, 610px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
    padding: clamp(25px, 5vw, 40px);
}

.onboarding-card > .eyebrow,
.onboarding-card > h2,
.onboarding-card > p {
    margin: 0;
}

.onboarding-card > h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
}

.onboarding-card > p {
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.onboarding-card > label {
    display: grid;
    gap: 7px;
    color: var(--portal-ink);
    font-size: 0.73rem;
    font-weight: 800;
}

.onboarding-card input,
.onboarding-card select {
    min-height: 48px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: #fafcfb;
    padding: 0 12px;
}

.onboarding-card fieldset {
    margin: 0;
    border: 0;
    padding: 0;
}

.onboarding-card legend {
    margin-bottom: 9px;
    color: var(--portal-ink);
    font-size: 0.73rem;
    font-weight: 800;
}

.onboarding-goals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.onboarding-goals label {
    position: relative;
    cursor: pointer;
}

.onboarding-goals input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onboarding-goals span {
    display: grid;
    min-height: 47px;
    place-items: center;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    color: var(--portal-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
    padding: 8px;
}

.onboarding-goals input:checked + span {
    border-color: var(--portal-green);
    background: var(--portal-mint);
    color: var(--portal-dark);
}

.onboarding-actions {
    display: grid;
    gap: 10px;
}

.onboarding-actions .submit-button {
    min-height: 48px;
}

@media (max-width: 520px) {
    .access-assurances,
    .onboarding-goals {
        grid-template-columns: 1fr;
    }

    .access-assurances {
        display: grid;
        gap: 6px;
    }

    .onboarding-modal {
        align-items: start;
        padding: 12px;
    }
}

@media (max-width: 1320px) {
    .portal-sidebar {
        gap: 14px;
        padding-inline: 22px;
    }

    .portal-sidebar .tab-button {
        gap: 6px;
        padding-inline: 8px;
    }

    .portal-user-actions {
        gap: 9px;
    }

    .portal-design-service-link {
        padding-right: 11px;
    }

    .portal-user-card {
        padding-left: 14px;
    }

    .portal-user-card small {
        display: none;
    }
}

@media (max-width: 1050px) {
    .portal-sidebar {
        grid-template-columns: auto auto;
        gap: 8px 20px;
        padding: 13px 18px 10px;
    }

    .portal-sidebar .dashboard-tabs {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }

    .portal-user-actions {
        grid-column: 2;
        justify-self: end;
    }

    .werbestudio-menu {
        width: min(430px, calc(100% - 36px));
    }

    .campaign-roadmap {
        grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.5fr);
    }

    .studio-editor-workspace {
        grid-template-columns: 1fr;
    }

    .studio-version-panel {
        max-height: none;
        overflow: visible;
    }

    #studioVersionList {
        max-height: 440px;
    }

    .onboarding-hero-card,
    .onboarding-path {
        grid-template-columns: 1fr;
    }

    .onboarding-guidance-card {
        min-height: 280px;
    }

    .campaign-roadmap-steps {
        padding-inline: 27px;
    }

    .campaign-roadmap-step {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 17px;
    }

    .campaign-roadmap-number {
        width: 50px;
        height: 50px;
    }

    .campaign-roadmap-action {
        min-width: 122px;
        padding-inline: 12px;
    }

    .access-modal .access-modal-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
        gap: 38px;
    }

    .access-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .customer-dashboard {
        display: block;
    }

    .customer-dashboard.locked {
        display: none;
    }

    .portal-sidebar {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 62px;
        gap: 10px;
        padding: 10px 14px;
    }

    .portal-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .portal-brand .site-brand-logo {
        height: 38px;
    }

    .portal-sidebar .dashboard-tabs,
    .portal-user-actions {
        display: none;
    }

    .portal-mobile-menu-button {
        grid-column: 2;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 40px;
        border: 1px solid rgba(30, 117, 90, 0.18);
        border-radius: 8px;
        background: #f5faf7;
        color: var(--portal-dark);
        cursor: pointer;
        padding: 5px 10px 5px 12px;
        text-align: left;
    }

    .portal-mobile-menu-context {
        display: grid;
        gap: 1px;
        min-width: 0;
    }

    .portal-mobile-menu-context small {
        color: var(--portal-muted);
        font-size: 0.52rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        line-height: 1;
        text-transform: uppercase;
    }

    .portal-mobile-menu-context strong {
        overflow: hidden;
        color: var(--portal-dark);
        font-size: 0.72rem;
        font-weight: 850;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-mobile-menu-button > span:last-child {
        font-size: 1rem;
        transition: transform 160ms ease;
    }

    .portal-mobile-menu-button[aria-expanded="true"] > span:last-child {
        transform: rotate(180deg);
    }

    .portal-mobile-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 10px;
        left: 10px;
        z-index: 230;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        border: 1px solid rgba(8, 29, 23, 0.12);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 20px 44px rgba(8, 29, 23, 0.16);
        padding: 10px;
    }

    .portal-mobile-menu[hidden] {
        display: none;
    }

    .portal-mobile-menu button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        border: 1px solid rgba(30, 117, 90, 0.11);
        border-radius: 8px;
        background: #ffffff;
        color: var(--portal-ink);
        cursor: pointer;
        font-size: 0.73rem;
        font-weight: 760;
        padding: 0 11px;
        text-align: left;
    }

    .portal-mobile-menu button:hover,
    .portal-mobile-menu button:focus-visible,
    .portal-mobile-menu button.active {
        border-color: rgba(30, 117, 90, 0.3);
        background: var(--portal-mint);
        color: var(--portal-dark);
    }

    .portal-main {
        padding: 23px 15px 55px;
    }

    .onboarding-hero-card {
        border-radius: 18px;
        padding: 28px;
    }

    .materials-premium-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 18px;
    }

    .materials-premium-hero h3 {
        font-size: clamp(1.75rem, 9vw, 2.45rem);
    }

    .materials-identity-card {
        padding: 16px;
    }

    .portal-main [data-panel="materialien"] .company-card {
        border-radius: 20px;
    }

    .portal-main [data-panel="materialien"] .company-list-panel {
        padding: 16px;
    }

    .portal-main [data-panel="materialien"] .company-website,
    .materials-profile-summary {
        margin-right: 18px;
        margin-left: 18px;
    }

    .portal-main [data-panel="materialien"] .material-section {
        gap: 16px;
        margin: 18px;
        border-radius: 20px;
        padding: 16px;
    }

    .material-next-card {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
    }

    .material-next-card button,
    .portal-main [data-panel="materialien"] .material-note-form button,
    .portal-main [data-panel="materialien"] .material-form button {
        align-self: stretch;
        width: 100%;
    }

    .material-action-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .material-action-card {
        min-height: 0;
        border-radius: 18px;
        padding: 16px;
    }

    .material-vault summary {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .material-vault summary b {
        align-self: stretch;
        text-align: center;
    }

    .onboarding-path-steps,
    .onboarding-control-panel {
        grid-template-columns: 1fr;
    }

    .onboarding-path-steps article,
    .onboarding-control-panel article {
        border-left: 0;
    }

    .onboarding-path-steps article:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e4ece8;
    }

    .onboarding-path-steps article:last-child {
        border-bottom: 0;
    }

    .onboarding-control-panel article {
        border-top: 1px solid #e4ece8;
    }

    .onboarding-control-panel article:first-child {
        border-top: 0;
    }

    .profile-overview-intro {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 8px 4px 10px;
    }

    .profile-overview-kicker {
        margin-top: 0;
    }

    .profile-overview-intro div > p {
        margin-top: 16px;
    }

    .campaign-roadmap {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .campaign-roadmap-intro {
        min-height: 450px;
    }

    .campaign-roadmap-intro h2 {
        max-width: 520px;
    }

    .campaign-roadmap-lead {
        max-width: 520px;
    }

    .campaign-roadmap-steps {
        grid-template-rows: none;
    }

    .campaign-roadmap-step {
        grid-template-columns: 50px minmax(0, 1fr);
        min-height: 180px;
    }

    .campaign-roadmap-action {
        grid-column: 2;
        justify-self: start;
    }

    .portal-main .company-form,
    .portal-main .draft-list,
    .portal-main .pricing-grid {
        grid-template-columns: 1fr;
    }

    .portal-main .company-form > * {
        grid-column: 1;
    }

    .portal-help-card.portal-help-strip {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .portal-help-card.portal-help-strip > button {
        grid-column: 2;
        justify-self: start;
    }

    .access-modal .access-modal-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
        width: min(100% - 24px, 560px);
        padding: 25px 0;
    }

    .access-brand-copy {
        margin: 35px 0 0;
    }

    .access-brand-copy h1 {
        font-size: clamp(3rem, 12vw, 4.6rem);
    }

    .access-benefits,
    .access-free-note {
        display: none;
    }

    .access-modal .access-modal-card {
        max-width: none;
        margin: 0;
    }

    .access-panel-intro {
        margin-right: 34px;
    }
}

@media (max-width: 520px) {
    .onboarding-path-intro {
        padding: 16px 18px;
    }

    .onboarding-path-intro p {
        margin-bottom: 8px;
        letter-spacing: 0.08em;
    }

    .onboarding-path-intro h2 {
        max-width: 19ch;
        font-size: 1.38rem;
        letter-spacing: -0.02em;
        line-height: 1.12;
    }

    .onboarding-path-steps article {
        min-height: 0;
        padding: 16px 18px;
    }

    .onboarding-path-steps span {
        width: 34px;
        height: 34px;
        font-size: 0.76rem;
    }

    .onboarding-path-steps h3 {
        margin: 12px 0 6px;
        font-size: 1.05rem;
        letter-spacing: -0.01em;
    }

    .onboarding-path-steps p {
        font-size: 0.72rem;
        line-height: 1.5;
    }

    .werbestudio-menu {
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        padding: 0;
    }

    .studio-journey-header {
        padding: 22px 20px 19px;
    }

    .studio-journey-steps {
        padding: 12px;
    }

    .studio-journey-step {
        padding: 14px;
    }

    .studio-step-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .portal-main .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-login-state {
        align-self: stretch;
    }

    .onboarding-hero-card {
        padding: 24px 18px;
    }

    .onboarding-hero-actions,
    .onboarding-primary-action,
    .onboarding-secondary-action {
        width: 100%;
    }

    .onboarding-primary-action,
    .onboarding-secondary-action {
        justify-content: center;
    }

    .onboarding-guidance-card,
    .onboarding-path-intro,
    .onboarding-path-steps article,
    .onboarding-control-panel article {
        padding: 22px;
    }

    .campaign-roadmap {
        border-radius: 14px;
    }

    .campaign-roadmap-intro {
        min-height: 420px;
        gap: 38px;
        padding: 30px 24px;
    }

    .campaign-roadmap-intro h2 {
        font-size: 2.45rem;
    }

    .campaign-roadmap-readiness > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .campaign-roadmap-steps {
        padding: 10px 20px;
    }

    .campaign-roadmap-step {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        min-height: 0;
        padding-block: 25px;
    }

    .campaign-roadmap-step::before {
        left: -20px;
    }

    .campaign-roadmap-number {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .campaign-roadmap-step-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .campaign-roadmap-action {
        grid-column: 2;
    }

    .portal-main .company-form,
    .portal-main .company-list-panel,
    .portal-main .dashboard-card,
    .portal-main .pricing-panel {
        padding: 20px;
    }

    .access-brand-copy > p:last-child {
        font-size: 0.82rem;
    }

    .access-modal .access-modal-layout {
        gap: 16px;
        padding: 16px 0;
    }

    .access-brand-panel {
        min-height: auto;
        padding: 24px 20px;
    }

    .access-brand-copy {
        margin-top: 26px;
    }

    .access-brand-copy h1 {
        font-size: clamp(2.35rem, 10vw, 3.1rem);
        max-width: 9.5ch;
    }

    .access-brand-copy > p:last-child {
        display: none;
    }

    .access-modal .access-modal-card {
        padding: 25px 18px 22px;
    }

    .access-panel-intro {
        gap: 7px;
        margin: 0 38px 20px 0;
    }

    .access-panel-intro h2 {
        font-size: 2.16rem;
    }

    .access-panel-intro span,
    .access-modal .access-copy {
        font-size: 0.76rem;
    }

    .access-modal .access-mode-tabs {
        margin-bottom: 15px;
    }

    .access-modal .access-form input,
    .access-modal .access-form .submit-button {
        min-height: 47px;
    }
}

/* Kurze Displays: Das Formular beginnt oben, ohne vorgelagerte Markenfläche. */
@media (max-height: 600px) {
    .access-modal .access-brand-panel { display: none; }
    .access-modal .access-modal-layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        align-content: start;
        min-height: 100%;
        width: min(560px, calc(100% - 24px));
        gap: 0;
        padding: max(12px, env(safe-area-inset-top)) 0 max(12px, env(safe-area-inset-bottom));
    }
    .access-modal .access-modal-card { width: 100%; max-width: none; margin: 0; padding: 20px 24px; }
    .access-modal .access-panel-intro { margin-bottom: 16px; }
    .access-modal .access-panel-intro h2 { font-size: 2rem; }
}
.access-modal { overscroll-behavior: contain; scroll-behavior: auto; }
.access-panel-intro h2[tabindex="-1"]:focus { outline: none; }

/* Campaign Atelier */
.campaign-atelier {
    --atelier-ink: #081d17;
    --atelier-deep: #06130f;
    --atelier-green: #1f7a5c;
    --atelier-mint: #c8f0dc;
    --atelier-champagne: #d8c47d;
    display: grid;
    gap: 18px;
    width: 100%;
}

.campaign-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: clamp(38px, 5.4vw, 86px);
    align-items: center;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(216, 196, 125, 0.16);
    border-radius: 28px;
    background:
            radial-gradient(circle at 78% 30%, rgba(200, 240, 220, 0.18), transparent 27%),
            radial-gradient(circle at 38% 112%, rgba(216, 196, 125, 0.13), transparent 25%),
            linear-gradient(135deg, #03110d 0%, #08241c 48%, #0b3b2c 100%);
    color: #ffffff;
    padding: clamp(38px, 6vw, 76px);
    box-shadow: 0 32px 90px rgba(6, 29, 22, 0.28);
}

.campaign-hero::before {
    position: absolute;
    top: -270px;
    right: -150px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
            0 0 0 85px rgba(255, 255, 255, 0.018),
            0 0 0 170px rgba(255, 255, 255, 0.012);
    content: "";
}

.campaign-hero::after {
    position: absolute;
    bottom: 1px;
    left: 26px;
    width: min(46%, 520px);
    height: 1px;
    background: linear-gradient(90deg, var(--atelier-champagne), transparent);
    content: "";
}

.campaign-hero-copy,
.campaign-intelligence-card {
    position: relative;
    z-index: 1;
}

.campaign-overline {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 25px;
    color: #a9c5b9;
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.campaign-overline span {
    width: 31px;
    height: 1px;
    background: var(--atelier-champagne);
}

.campaign-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.1rem, 7.6vw, 7rem);
    font-weight: 400;
    letter-spacing: -0.075em;
    line-height: 0.76;
}

.campaign-hero h1 em {
    display: inline-block;
    margin-left: 0.45em;
    color: var(--atelier-mint);
    font-weight: 400;
}

.campaign-hero-lead {
    max-width: 660px;
    margin: 34px 0 0;
    color: #c5d5ce;
    font-size: clamp(0.92rem, 1.3vw, 1.08rem);
    line-height: 1.75;
}

.campaign-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.campaign-hero-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 880;
    letter-spacing: 0.01em;
    padding: 0 18px;
}

.campaign-hero-primary {
    gap: 18px;
    border: 0;
    background: linear-gradient(135deg, #efffe7, #bff1d2 48%, #d8c47d);
    color: #062117;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.campaign-hero-primary:hover {
    transform: translateY(-1px);
}

.campaign-hero-secondary {
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #d7e8df;
}

.campaign-hero-secondary:hover {
    border-color: rgba(216, 196, 125, 0.5);
    color: #ffffff;
}

.campaign-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 24px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.campaign-hero-proof span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #a9bdb4;
    font-size: 0.66rem;
    font-weight: 720;
}

.campaign-hero-proof b {
    color: var(--atelier-champagne);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.campaign-intelligence-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.052)),
            rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(22px);
    padding: 24px;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.16),
            0 28px 70px rgba(0, 0, 0, 0.24);
}

.campaign-intelligence-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.campaign-intelligence-head > span {
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.campaign-intelligence-head small {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: var(--atelier-mint);
    font-size: 0.65rem;
    font-weight: 760;
}

.campaign-intelligence-head i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #75d5a6;
    box-shadow: 0 0 0 5px rgba(117, 213, 166, 0.12);
}

.campaign-score {
    position: relative;
    display: grid;
    width: 206px;
    height: 206px;
    margin: 27px auto 25px;
    place-items: center;
}

.campaign-score > div {
    position: absolute;
    display: grid;
    z-index: 1;
    text-align: center;
}

.campaign-score strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.9rem;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.campaign-score span {
    margin-top: 4px;
    color: #9fb9ae;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.campaign-score svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.campaign-score circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.09);
    stroke-width: 3;
}

.campaign-score .campaign-score-progress {
    stroke: var(--atelier-mint);
    stroke-dasharray: 295;
    stroke-dashoffset: 42;
    stroke-linecap: round;
    filter: drop-shadow(0 0 7px rgba(200, 240, 220, 0.35));
}

.campaign-signal-list {
    display: grid;
    gap: 9px;
}

.campaign-signal-list span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.055);
    color: #bfd0c8;
    font-size: 0.68rem;
    padding: 0 12px;
}

.campaign-signal-list i {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(117, 213, 166, 0.16);
    color: var(--atelier-mint);
}

.campaign-signal-list i::before {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    content: "✓";
    font-size: 0.53rem;
    font-style: normal;
    font-weight: 900;
}

.campaign-signal-list strong {
    overflow: hidden;
    color: #edf8f3;
    font-size: 0.69rem;
    font-weight: 820;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.campaign-signal-list em {
    color: #8fb3a5;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 780;
    text-transform: uppercase;
}

.campaign-next-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 14px;
    align-items: center;
    width: 100%;
    min-height: 72px;
    margin-top: 15px;
    border: 1px solid rgba(216, 196, 125, 0.34);
    border-radius: 15px;
    background:
            linear-gradient(135deg, rgba(216, 196, 125, 0.18), rgba(200, 240, 220, 0.08)),
            rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    padding: 14px 15px;
    text-align: left;
}

.campaign-next-action:hover {
    border-color: rgba(216, 196, 125, 0.68);
    background: rgba(255, 255, 255, 0.09);
}

.campaign-next-action small {
    color: #d8c47d;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.campaign-next-action strong {
    color: #ffffff;
    font-size: 0.75rem;
}

.campaign-next-action span {
    grid-row: 1 / 3;
    grid-column: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--atelier-mint);
}

.campaign-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: 12px;
    background: #ffffff;
}

.campaign-process span {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    border-right: 1px solid var(--portal-line);
    color: #7a8781;
    font-size: 0.69rem;
    font-weight: 780;
    padding: 0 20px;
}

.campaign-process span:last-child {
    border-right: 0;
}

.campaign-process span.active {
    background: #edf7f2;
    color: var(--atelier-ink);
}

.campaign-process span.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--atelier-green);
    content: "";
}

.campaign-process b {
    color: var(--atelier-green);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.campaign-atelier form {
    display: grid;
    gap: 18px;
}

.campaign-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.campaign-brief-panel,
.campaign-output-panel,
.campaign-governance {
    border: 1px solid var(--portal-line);
    border-radius: 18px;
    background: #ffffff;
}

.campaign-brief-panel {
    padding: clamp(26px, 4vw, 42px);
}

.campaign-section-head,
.campaign-output-head {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
}

.campaign-section-head p,
.campaign-output-head p,
.campaign-governance-copy > p {
    margin: 0 0 8px;
    color: var(--atelier-green);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.campaign-section-head h2,
.campaign-output-head h2,
.campaign-governance h2 {
    margin: 0;
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.campaign-section-head h2 + span {
    display: block;
    max-width: 42rem;
    margin-top: 12px;
    color: rgba(31, 48, 42, 0.68);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.65;
}

.campaign-private-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid #dce8e2;
    border-radius: 999px;
    color: #63736b;
    font-size: 0.57rem;
    font-weight: 750;
    padding: 0 10px;
    white-space: nowrap;
}

.campaign-private-badge::before {
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: #62b98d;
    content: "";
}

.campaign-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.campaign-form-grid-bottom {
    margin-top: 20px;
}

.campaign-atelier .campaign-form-grid label,
.campaign-atelier .campaign-premium-field {
    gap: 9px;
    margin: 0;
    color: #34473f;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.campaign-form-grid label small {
    color: #95a19c;
    font-size: 0.56rem;
    font-weight: 650;
}

.campaign-atelier .campaign-form-grid select,
.campaign-atelier .campaign-form-grid input,
.campaign-atelier .campaign-form-grid textarea,
.campaign-atelier .campaign-premium-field textarea {
    width: 100%;
    height: 50px;
    margin: 0;
    border: 1px solid #dce4e0;
    border-radius: 8px;
    background: #f9fbfa;
    color: var(--atelier-ink);
    font-size: 0.76rem;
    font-weight: 680;
    padding: 0 13px;
    text-transform: none;
}

.campaign-atelier .campaign-form-grid textarea,
.campaign-atelier .campaign-premium-field textarea {
    min-height: 150px;
    height: auto;
    padding: 15px 15px;
    line-height: 1.5;
    resize: vertical;
}

.campaign-atelier .campaign-premium-field {
    position: relative;
    gap: 11px;
    display: grid;
    border: 1px solid rgba(30, 117, 90, 0.22);
    border-radius: 18px;
    background:
            linear-gradient(135deg, rgba(223, 242, 233, 0.92), rgba(255, 255, 255, 0.96)),
            #ffffff;
    box-shadow: 0 18px 42px rgba(7, 28, 22, 0.08);
    padding: 16px;
}

.campaign-focus-field-wide {
    margin-top: 34px !important;
}

.campaign-channel-fieldset + .campaign-focus-field-wide {
    margin-top: 44px !important;
}

.campaign-atelier .campaign-premium-field > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--atelier-ink);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.campaign-atelier .campaign-premium-field > span::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #b9dd73;
    box-shadow: 0 0 0 5px rgba(185, 221, 115, 0.22);
    content: "";
}

.campaign-atelier .campaign-premium-field textarea {
    min-height: 170px;
    border-color: rgba(30, 117, 90, 0.24);
    border-radius: 14px;
    background: #ffffff;
    color: var(--atelier-ink);
    font-size: 0.88rem;
    font-weight: 720;
}

.campaign-atelier .campaign-premium-field textarea:focus {
    border-color: #1e755a;
    box-shadow: 0 0 0 4px rgba(30, 117, 90, 0.12);
    outline: none;
}

.campaign-atelier .campaign-premium-field small {
    color: #567067;
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.campaign-message-field {
    margin-top: 18px !important;
}

.campaign-message-field-wide {
    border-color: rgba(213, 191, 120, 0.44) !important;
    background:
            linear-gradient(135deg, rgba(255, 248, 229, 0.9), rgba(255, 255, 255, 0.97)),
            #ffffff !important;
}

.campaign-atelier .campaign-message-field-wide > span::before {
    background: #d5bf78;
    box-shadow: 0 0 0 5px rgba(213, 191, 120, 0.22);
}

.campaign-atelier .campaign-message-field-wide textarea {
    min-height: 135px;
    border-color: rgba(213, 191, 120, 0.48);
}

.campaign-atelier .campaign-message-field-wide textarea:focus {
    border-color: #b99232;
    box-shadow: 0 0 0 4px rgba(213, 191, 120, 0.16);
}

.campaign-no-go-field {
    display: grid;
    gap: 8px;
    margin-top: 18px !important;
    color: #34473f;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.campaign-no-go-field input {
    width: 100%;
    height: 50px;
    margin: 0;
    border: 1px solid #dce4e0;
    border-radius: 8px;
    background: #f9fbfa;
    color: var(--atelier-ink);
    font-size: 0.76rem;
    font-weight: 680;
    padding: 0 13px;
    text-transform: none;
}

.campaign-no-go-field input:focus {
    border-color: #1e755a;
    box-shadow: 0 0 0 4px rgba(30, 117, 90, 0.1);
    outline: none;
}

.campaign-no-go-field small {
    color: #7d8983;
    font-size: 0.64rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.campaign-channel-fieldset {
    margin: 26px 0 0;
    border: 0;
    padding: 0;
}

.campaign-channel-fieldset legend {
    margin-bottom: 10px;
    color: #34473f;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.campaign-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.campaign-atelier .campaign-channel-grid label {
    display: block;
    margin: 0;
    cursor: pointer;
}

.campaign-channel-grid input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.campaign-channel-grid span {
    display: grid;
    min-height: 42px;
    place-items: center;
    border: 1px solid #dce4e0;
    border-radius: 8px;
    background: #ffffff;
    color: #596a62;
    font-size: 0.65rem;
    font-weight: 760;
    transition: 150ms ease;
}

.campaign-channel-grid input:checked + span {
    border-color: var(--atelier-green);
    background: #eaf6f0;
    color: var(--atelier-ink);
    box-shadow: inset 0 0 0 1px var(--atelier-green);
}

.campaign-channel-grid input:focus-visible + span {
    outline: 3px solid rgba(31, 122, 92, 0.17);
    outline-offset: 2px;
}

.campaign-launch-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-top: 28px;
    border-top: 1px solid #e6ece9;
    padding-top: 25px;
}

.campaign-launch-row > div {
    display: grid;
    gap: 4px;
}

.campaign-launch-row strong {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.86rem;
    font-weight: 600;
}

.campaign-launch-row > div span {
    color: #7d8983;
    font-size: 0.62rem;
}

.campaign-launch-button {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    background: var(--atelier-ink);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 850;
    padding: 0 20px;
    white-space: nowrap;
}

.campaign-launch-button:hover:not(:disabled) {
    background: var(--atelier-green);
    transform: translateY(-1px);
}

.campaign-launch-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.campaign-output-panel {
    overflow: hidden;
    background: #f8faf9;
}

.campaign-output-head {
    padding: 28px 28px 22px;
    border-bottom: 1px solid var(--portal-line);
}

.campaign-output-head h2 {
    font-size: 1.65rem;
}

.campaign-delete-button {
    border: 0;
    background: transparent;
    color: #9a5d52;
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 6px 0;
    white-space: nowrap;
}

.campaign-delete-button:hover {
    color: #c33d29;
}

.campaign-atelier .campaign-draft-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 20px;
}

.campaign-atelier .campaign-draft-list--collapsed {
    display: block;
    padding: 12px 16px 16px;
}

.campaign-empty-state {
    display: grid;
    grid-column: 1 / -1;
    min-height: 330px;
    place-content: center;
    justify-items: center;
    padding: 30px;
    text-align: center;
}

.campaign-empty-state > span {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    place-items: center;
    border: 1px solid #cfe0d8;
    border-radius: 50%;
    background: #edf6f2;
    color: var(--atelier-green);
    font-size: 1.35rem;
}

.campaign-empty-state strong {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.campaign-empty-state p {
    max-width: 300px;
    margin: 9px 0 0;
    color: #7c8883;
    font-size: 0.7rem;
    line-height: 1.6;
}

.campaign-empty-state--transferred {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 0;
    align-items: center;
    justify-items: stretch;
    border: 1px solid #d8e5df;
    border-radius: 12px;
    background: linear-gradient(135deg, #f4faf6, #ffffff);
    padding: 14px 16px;
    text-align: left;
}

.campaign-empty-state--transferred > span {
    width: 34px;
    height: 34px;
    margin: 0;
    background: var(--atelier-green);
    color: #ffffff;
    font-size: 0.82rem;
}

.campaign-empty-state--transferred strong {
    display: block;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 850;
}

.campaign-empty-state--transferred p {
    max-width: none;
    margin: 3px 0 0;
    font-size: 0.62rem;
    line-height: 1.45;
}

.campaign-editor-jump {
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--atelier-ink);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 850;
    padding: 0 14px;
    white-space: nowrap;
}

.campaign-editor-jump:hover {
    background: var(--atelier-green);
}

.studio-editor-workspace {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr) minmax(280px, 0.72fr);
    gap: 18px;
    align-items: start;
}

.studio-editor-preview,
.studio-editor-fields,
.studio-version-panel {
    min-width: 0;
}

.studio-editor-preview {
    align-self: start;
}

.studio-editor-preview-shell {
    display: grid;
    gap: 16px;
    border: 1px solid rgba(216, 196, 125, 0.22);
    border-radius: 20px;
    background:
            radial-gradient(circle at 100% 0%, rgba(216, 196, 125, 0.18), transparent 34%),
            linear-gradient(160deg, #071b15, #0a3327);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 20px 54px rgba(8, 29, 23, 0.16);
}

.studio-editor-preview-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #d8c47d;
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.studio-editor-preview-top strong {
    color: #dff2e8;
    font-size: 0.55rem;
    text-align: right;
}

.studio-editor-mockup {
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    color: var(--atelier-ink);
}

.studio-editor-mockup-image {
    display: grid;
    min-height: 220px;
    max-height: 260px;
    place-items: center;
    overflow: hidden;
    background: #e6efe9;
    color: #527061;
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 18px;
    text-align: center;
}

.studio-editor-mockup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-editor-mockup-copy {
    display: grid;
    gap: 8px;
    padding: 17px;
}

.studio-editor-mockup-copy small {
    color: #26805f;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.studio-editor-mockup-copy strong {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.18;
}

.studio-editor-mockup-copy p {
    margin: 0;
    color: #61736a;
    font-size: 0.72rem;
    line-height: 1.55;
}

.studio-editor-mockup-copy em {
    color: #176448;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 850;
}

.studio-editor-preview-promise {
    display: grid;
    gap: 6px;
}

.studio-editor-preview-promise b {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 500;
}

.studio-editor-preview-promise span {
    color: #bdd0c8;
    font-size: 0.68rem;
    line-height: 1.55;
}

.studio-editor-fields {
    display: grid;
    gap: 13px;
    align-self: start;
    border: 1px solid #dfe8e3;
    border-radius: 18px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 18px 46px rgba(8, 29, 23, 0.07);
}

.studio-editor-control-intro span,
.studio-editor-impact-row span b {
    color: #26805f;
}

.studio-editor-control-intro h3,
.studio-editor-control-intro p {
    margin: 0;
}

.studio-editor-control-intro h3 {
    margin-top: 6px;
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.studio-editor-control-intro p {
    margin-top: 9px;
    color: #66776f;
    font-size: 0.72rem;
    line-height: 1.6;
}

.studio-editor-impact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.studio-editor-impact-row span {
    border-radius: 999px;
    background: #edf7f2;
    color: #50675c;
    font-size: 0.58rem;
    font-weight: 780;
    padding: 7px 10px;
}

.studio-editor-fields label {
    display: grid;
    gap: 6px;
    color: var(--atelier-ink);
    font-size: 0.68rem;
    font-weight: 780;
}

.studio-editor-fields input,
.studio-editor-fields textarea {
    width: 100%;
    border: 1px solid #dbe6e1;
    border-radius: 10px;
    background: #fbfdfc;
    color: var(--atelier-ink);
    font: inherit;
    font-size: 0.76rem;
    padding: 11px 12px;
}

.studio-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.studio-editor-actions button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 850;
    padding: 0 15px;
}

.studio-save-edit {
    background: var(--atelier-ink);
    color: #ffffff;
}

.studio-approve-edit {
    background: #d8c47d;
    color: #10271f;
}

.studio-cost-note {
    margin: 0;
    color: #6f7e77;
    font-size: 0.68rem;
    line-height: 1.55;
}

.studio-version-panel {
    display: grid;
    align-content: stretch;
    grid-template-rows: auto auto auto auto auto;
    gap: 16px;
    max-height: min(760px, calc(100vh - 210px));
    overflow: hidden;
    border: 1px solid #dfe8e3;
    border-radius: 18px;
    background: #fbfdfc;
    padding: 22px;
    box-shadow: 0 18px 46px rgba(8, 29, 23, 0.07);
}

.studio-version-panel > div:first-child small,
.studio-version-heading small,
.studio-version-item small {
    color: #26805f;
    font-size: 0.55rem;
    font-weight: 880;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.studio-version-panel > div:first-child strong,
.studio-version-heading strong {
    display: block;
    margin-top: 6px;
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.studio-concierge-card {
    border: 1px solid #e6ddbd;
    border-radius: 15px;
    background: linear-gradient(145deg, #fffdf6, #f7fbf8);
    padding: 16px;
}

.studio-concierge-card span {
    display: block;
    color: #7b642b;
    font-size: 0.6rem;
    font-weight: 880;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.studio-concierge-card p {
    margin: 9px 0 0;
    color: #61736a;
    font-size: 0.7rem;
    line-height: 1.6;
}

.studio-version-heading {
    border-top: 1px solid #e4ece8;
    padding-top: 14px;
}

#studioVersionList {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 0;
    overflow: visible;
}

.studio-version-summary {
    display: grid;
    gap: 6px;
    border: 1px solid #e1eae5;
    border-radius: 14px;
    background: #ffffff;
    padding: 15px;
}

.studio-version-summary.muted {
    background: #f7fbf8;
}

.studio-version-summary small {
    color: #26805f;
    font-size: 0.55rem;
    font-weight: 880;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.studio-version-summary strong {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.15;
}

.studio-version-summary span {
    color: #66776f;
    font-size: 0.68rem;
    line-height: 1.5;
}

.studio-version-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--atelier-ink);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 0 16px;
}

.studio-version-open:hover {
    background: #1b4638;
}

.studio-version-item {
    display: grid;
    gap: 8px;
    border: 1px solid #e1eae5;
    border-radius: 14px;
    background: #ffffff;
    padding: 15px;
}

.studio-version-item.current {
    border-color: #bddbcc;
    background: #f3faf7;
}

.studio-version-item strong {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.studio-version-item span,
.studio-version-item em {
    color: #66776f;
    font-size: 0.68rem;
    font-style: normal;
    line-height: 1.55;
}

.studio-version-item button {
    justify-self: start;
    min-height: 36px;
    border: 1px solid #d8c47d;
    border-radius: 999px;
    background: #fffdf6;
    color: #5f4b1d;
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 850;
    padding: 0 13px;
}

.studio-version-item button:hover {
    background: #f7efd8;
}

.studio-version-modal[hidden] {
    display: none;
}

.studio-version-modal {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
}

.studio-version-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 17, 13, 0.56);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.studio-version-modal-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(960px, 100%);
    max-height: min(82vh, 820px);
    overflow: hidden;
    border: 1px solid rgba(216, 196, 125, 0.22);
    border-radius: 28px;
    background:
            radial-gradient(circle at 100% 0, rgba(216, 196, 125, 0.14), transparent 30%),
            #fffef9;
    box-shadow: 0 34px 100px rgba(4, 17, 13, 0.32);
}

.studio-version-modal-card header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #e6ece8;
    padding: 28px 30px 24px;
}

.studio-version-modal-card header p,
.studio-version-modal-card header h2,
.studio-version-modal-card header span {
    margin: 0;
}

.studio-version-modal-card header p {
    color: #26805f;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.studio-version-modal-card header h2 {
    margin-top: 7px;
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.studio-version-modal-card header span {
    display: block;
    margin-top: 10px;
    color: #6a7a72;
    font-size: 0.78rem;
    line-height: 1.5;
}

.studio-version-modal-close {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid #dfe8e3;
    border-radius: 999px;
    background: #ffffff;
    color: var(--atelier-ink);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.studio-version-modal-list {
    display: grid;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 30px 30px;
}

.studio-version-modal-list .studio-version-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px 18px;
    border-radius: 18px;
    padding: 18px;
}

.studio-version-modal-list .studio-version-item small,
.studio-version-modal-list .studio-version-item strong,
.studio-version-modal-list .studio-version-item em,
.studio-version-modal-list .studio-version-item span {
    grid-column: 1;
}

.studio-version-modal-list .studio-version-item button {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    white-space: nowrap;
}

body.studio-version-modal-open {
    overflow: hidden;
}

.campaign-draft-list > .empty-state {
    min-height: 280px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px dashed #cfdad5;
    border-radius: 12px;
    color: #7c8883;
}

.campaign-draft-list .draft-card {
    border-color: #dfe7e3;
    border-radius: 12px;
    box-shadow: 0 9px 24px rgba(8, 29, 23, 0.05);
    padding: 18px;
}

.campaign-draft-list .draft-card-header span {
    background: #e7f4ee;
    color: var(--atelier-green);
}

.campaign-draft-list .draft-card h3 {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.campaign-governance {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: clamp(30px, 5vw, 70px);
    padding: clamp(28px, 4vw, 44px);
}

.campaign-governance-copy > span {
    display: block;
    max-width: 480px;
    margin-top: 14px;
    color: #78867f;
    font-size: 0.68rem;
    line-height: 1.6;
}

.studio-approved-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.studio-approved-empty,
.studio-approved-card {
    border: 1px solid #dfe8e3;
    border-radius: 16px;
    background: #fbfdfc;
    box-shadow: 0 14px 34px rgba(8, 29, 23, 0.06);
}

.studio-approved-empty {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 22px;
}

.studio-approved-empty > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #edf7f2;
    color: var(--atelier-green);
}

.studio-approved-empty strong,
.studio-approved-empty p,
.studio-approved-card p {
    margin: 0;
}

.studio-approved-empty strong {
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 500;
}

.studio-approved-empty p,
.studio-approved-card p {
    color: #66776f;
    font-size: 0.72rem;
    line-height: 1.6;
}

.studio-approved-card {
    display: grid;
    gap: 15px;
    padding: 20px;
}

.studio-approved-card-top {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
}

.studio-approved-card-top > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #dff2e8;
    color: #176448;
    font-weight: 900;
}

.studio-approved-card-top small,
.studio-approved-card-meta small {
    color: #26805f;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.studio-approved-card-top strong {
    display: block;
    margin-top: 5px;
    color: var(--atelier-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.studio-approved-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.studio-approved-card-meta small {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: #edf7f2;
    padding: 0 10px;
}

.studio-approved-card button {
    justify-self: start;
    min-height: 39px;
    border: 0;
    border-radius: 999px;
    background: var(--atelier-ink);
    color: #fffdf6;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 850;
    padding: 0 15px;
}

.studio-status-link {
    border: 0;
    background: transparent;
    color: var(--atelier-green);
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.campaign-permissions {
    display: grid;
    gap: 10px;
}

.campaign-atelier .campaign-permissions label {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 0;
    border: 1px solid #e0e7e3;
    border-radius: 9px;
    background: #fafcfb;
    color: var(--atelier-ink);
    padding: 12px;
}

.campaign-permissions input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--atelier-green);
}

.campaign-permissions label span {
    display: grid;
    gap: 3px;
}

.campaign-permissions strong {
    font-size: 0.68rem;
}

.campaign-permissions small {
    color: #7d8983;
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1.45;
}

.campaign-permissions > button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    min-height: 45px;
    margin-top: 3px;
    border: 0;
    border-radius: 8px;
    background: #e5f2ec;
    color: var(--atelier-ink);
    cursor: pointer;
    font-size: 0.67rem;
    font-weight: 850;
    padding: 0 16px;
}

.campaign-permissions > button:hover {
    background: var(--atelier-green);
    color: #ffffff;
}

.campaign-atelier .form-status {
    margin: 10px 0 0;
    color: var(--atelier-green);
    font-size: 0.68rem;
}

.campaign-atelier .form-status.error {
    color: #b7402d;
}

@media (max-width: 1050px) {
    .campaign-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: 0;
    }

    .campaign-intelligence-card {
        width: min(100%, 560px);
    }

    .campaign-workspace,
    .campaign-governance {
        grid-template-columns: 1fr;
    }

    .campaign-output-panel {
        min-height: 420px;
    }

    .campaign-output-panel:has(.campaign-draft-list--collapsed) {
        min-height: 0;
    }

    .campaign-atelier .campaign-draft-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 800px) {
    .studio-editor-workspace,
    .campaign-atelier .studio-editor-workspace {
        grid-template-columns: 1fr;
    }

    .campaign-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .campaign-intelligence-card {
        display: block;
    }

    .campaign-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .campaign-process span:nth-child(2) {
        border-right: 0;
    }

    .campaign-process span:nth-child(-n + 2) {
        border-bottom: 1px solid var(--portal-line);
    }

    .campaign-form-grid {
        grid-template-columns: 1fr;
    }

    .campaign-atelier .campaign-draft-list {
        grid-template-columns: 1fr;
    }

    .campaign-empty-state--transferred {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .campaign-editor-jump {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .campaign-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .campaign-hero {
        border-radius: 16px;
        padding: 34px 23px;
    }

    .campaign-hero h1 {
        font-size: 3.75rem;
    }

    .campaign-hero-actions {
        display: grid;
    }

    .campaign-hero-actions button {
        width: 100%;
    }

    .campaign-hero-proof {
        display: grid;
    }

    .campaign-intelligence-card {
        padding: 18px;
    }

    .campaign-intelligence-head {
        display: grid;
    }

    .campaign-score {
        width: 172px;
        height: 172px;
    }

    .campaign-signal-list span {
        grid-template-columns: auto minmax(0, 1fr);
        padding-block: 9px;
    }

    .campaign-signal-list em {
        grid-column: 2;
    }

    .campaign-process span {
        min-height: 51px;
        font-size: 0.62rem;
        padding: 0 12px;
    }

    .campaign-section-head {
        display: grid;
    }

    .campaign-private-badge {
        justify-self: start;
    }

    .campaign-launch-row {
        display: grid;
    }

    .campaign-launch-button {
        width: 100%;
    }

    .campaign-output-head {
        padding: 23px 20px 18px;
    }

    .campaign-governance {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

/* Premium Design-Service */
.design-studio {
    display: grid;
    gap: 26px;
    width: 100%;
}

.design-hero,
.design-section,
.design-human-section,
.design-configurator-section {
    border-radius: 18px;
}

.design-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
    gap: clamp(34px, 5vw, 74px);
    align-items: center;
    min-height: 510px;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 12%, rgba(158, 216, 191, 0.2), transparent 31%),
        linear-gradient(135deg, var(--portal-deep), #0d4939 72%, #0b3d30);
    color: #ffffff;
    padding: clamp(42px, 5vw, 72px);
    box-shadow: 0 28px 70px rgba(7, 43, 34, 0.16);
}

.design-hero::after {
    position: absolute;
    right: -140px;
    bottom: -220px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.design-hero-copy,
.design-hero-visual {
    position: relative;
    z-index: 2;
}

.design-kicker {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 18px;
    color: var(--portal-lime);
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.design-kicker > span {
    width: 24px;
    height: 2px;
    border-radius: 3px;
    background: currentColor;
}

.design-kicker.dark {
    color: var(--portal-green);
}

.design-kicker.light {
    color: #9ed8bf;
}

.design-hero h2,
.design-section-heading h2,
.design-human-copy h2,
.design-configurator-intro h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.design-hero h2 {
    max-width: 650px;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.96;
}

.design-hero h2 em {
    color: var(--portal-lime);
    font-style: italic;
}

.design-hero-copy > p:not(.design-kicker) {
    max-width: 610px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.72;
}

.design-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 31px;
}

.design-primary-action,
.design-secondary-action {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0 19px;
}

.design-primary-action {
    border: 0;
    background: var(--portal-lime);
    color: var(--portal-deep);
}

.design-primary-action:hover {
    background: #cae99a;
}

.design-secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.design-secondary-action:hover {
    background: rgba(255, 255, 255, 0.13);
}

.design-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.65rem;
    font-weight: 750;
}

.design-trust-row b {
    margin-right: 4px;
    color: var(--portal-lime);
}

.design-hero-visual {
    min-height: 380px;
}

.design-board {
    position: absolute;
    top: 12px;
    right: 12px;
    width: min(100%, 430px);
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 13px;
    background: #f8f8f4;
    color: var(--portal-dark);
    padding: 20px;
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.26);
    transform: rotate(2.5deg);
}

.design-board-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(20, 37, 31, 0.12);
    color: #7b8882;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.design-board > img {
    display: block;
    width: 76%;
    height: 137px;
    margin: 18px auto 8px;
    object-fit: contain;
}

.design-board-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: end;
    border-top: 1px solid rgba(20, 37, 31, 0.1);
    padding-top: 16px;
}

.design-swatches {
    display: flex;
    gap: 6px;
}

.design-swatches i {
    width: 27px;
    height: 44px;
    border-radius: 4px;
    background: #1f3925;
}

.design-swatches i:nth-child(2) { background: #6aa76f; }
.design-swatches i:nth-child(3) { background: #9ed8bf; }
.design-swatches i:nth-child(4) { background: #e8ece6; }

.design-type-sample {
    display: flex;
    gap: 10px;
    align-items: center;
}

.design-type-sample strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 500;
}

.design-type-sample span {
    color: #77847e;
    font-size: 0.58rem;
    line-height: 1.45;
}

.design-mock-card {
    position: absolute;
    z-index: 3;
    display: grid;
    align-content: space-between;
    border-radius: 9px;
    color: #ffffff;
    font-size: 0.56rem;
    padding: 15px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.design-mock-card span {
    color: rgba(255, 255, 255, 0.58);
    text-transform: uppercase;
}

.design-mock-card b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.design-mock-card-one {
    right: 250px;
    bottom: 4px;
    width: 170px;
    height: 96px;
    background: #1f3925;
    transform: rotate(-4deg);
}

.design-mock-card-two {
    right: 43px;
    bottom: -13px;
    width: 150px;
    height: 150px;
    background: linear-gradient(145deg, #6aa76f, #1f3925);
    transform: rotate(5deg);
}

.design-human-seal {
    position: absolute;
    top: -12px;
    left: 3px;
    z-index: 4;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: var(--portal-lime);
    color: var(--portal-deep);
    transform: rotate(-8deg);
}

.design-human-seal b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.design-human-seal span {
    font-size: 0.5rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
}

.design-section {
    border: 1px solid var(--portal-line);
    background: var(--portal-panel);
    padding: clamp(34px, 4vw, 56px);
}

.design-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 34px;
}

.design-section-heading.compact {
    grid-template-columns: minmax(0, 760px);
}

.design-section-heading h2,
.design-human-copy h2,
.design-configurator-intro h2 {
    color: var(--portal-ink);
    font-size: clamp(2.45rem, 4vw, 4.15rem);
    line-height: 0.98;
}

.design-section-heading > p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.design-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.design-package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: 14px;
    background: #fbfcfa;
    color: var(--portal-ink);
    padding: 27px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.design-package-card:hover {
    box-shadow: 0 20px 44px rgba(20, 37, 31, 0.1);
    transform: translateY(-4px);
}

.design-package-card.featured {
    border-color: transparent;
    background: linear-gradient(var(--portal-dark), var(--portal-dark)) padding-box,
        linear-gradient(105deg, #6aa76f, #d9f7c6, #1e755a, #9ed8bf) border-box;
    background-size: 100% 100%, 240% 100%;
    color: #ffffff;
    animation: design-card-light-sweep 7s ease-in-out infinite alternate;
}

@keyframes design-card-light-sweep {
    from { background-position: 0 0, 0% 0; }
    to { background-position: 0 0, 100% 0; }
}

.design-package-recommendation {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 26px;
    background: linear-gradient(100deg, #6aa76f, #9ed8bf, #d9f7c6, #6aa76f);
    background-size: 220% 100%;
    color: var(--portal-deep);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    padding: 7px 12px 0;
    text-align: center;
    text-transform: uppercase;
    animation: design-card-light-sweep 7s ease-in-out infinite alternate;
}

.design-package-card.featured .design-package-topline {
    margin-top: 23px;
}

.design-package-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--portal-green);
}

.design-package-topline span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
}

.design-package-topline small {
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.design-package-card.featured .design-package-topline {
    color: var(--portal-lime);
}

.design-package-card h3 {
    margin: 28px 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.design-package-price {
    display: flex;
    gap: 7px;
    align-items: baseline;
    margin: 0;
}

.design-package-price small {
    color: var(--portal-muted);
    font-size: 0.65rem;
}

.design-package-price strong {
    font-size: 1.6rem;
}

.design-package-card.featured .design-package-price small,
.design-package-card.featured .design-package-copy,
.design-package-card.featured li {
    color: rgba(255, 255, 255, 0.65);
}

.design-package-copy {
    min-height: 66px;
    margin: 15px 0 21px;
    color: var(--portal-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.design-package-card ul {
    display: grid;
    gap: 11px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.design-package-card li {
    position: relative;
    color: #4f5e57;
    font-size: 0.72rem;
    line-height: 1.35;
    padding-left: 21px;
}

.design-package-card li::before {
    position: absolute;
    top: -1px;
    left: 0;
    color: var(--portal-green);
    content: "✓";
    font-weight: 950;
}

.design-package-card.featured li::before {
    color: var(--portal-lime);
}

.design-package-meta {
    display: grid;
    gap: 6px;
    margin-top: auto;
    border-top: 1px solid var(--portal-line);
    color: var(--portal-muted);
    font-size: 0.58rem;
    padding-top: 17px;
}

.design-package-card.featured .design-package-meta {
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.5);
}

.design-package-card > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-top: 18px;
    border: 1px solid var(--portal-dark);
    border-radius: 7px;
    background: transparent;
    color: var(--portal-dark);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 0 14px;
}

.design-package-card > button:hover {
    background: var(--portal-dark);
    color: #ffffff;
}

.design-package-card.featured > button {
    border-color: var(--portal-lime);
    background: var(--portal-lime);
    color: var(--portal-deep);
}

.design-package-card.featured > button:hover {
    background: #cae99a;
}

.design-price-note {
    margin: 22px 0 0;
    color: var(--portal-muted);
    font-size: 0.62rem;
    line-height: 1.55;
    text-align: center;
}

.design-services {
    background: #f0f5f1;
}

.design-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.design-service-grid button {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 13px;
    align-items: center;
    min-height: 92px;
    border: 1px solid var(--portal-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--portal-ink);
    cursor: pointer;
    padding: 15px;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.design-service-grid button:hover {
    border-color: rgba(30, 117, 90, 0.45);
    transform: translateY(-2px);
}

.design-service-icon {
    grid-row: 1 / 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 10px;
    background: var(--portal-mint);
    color: var(--portal-green);
    font-size: 1.15rem;
}

.design-service-grid strong {
    align-self: end;
    font-size: 0.75rem;
}

.design-service-grid small {
    align-self: start;
    color: var(--portal-muted);
    font-size: 0.61rem;
}

.design-service-grid i {
    grid-column: 3;
    grid-row: 1 / 3;
    color: var(--portal-green);
    font-style: normal;
}

.design-human-section {
    display: grid;
    grid-template-columns: minmax(350px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
    overflow: hidden;
    background: #1f3925;
    color: #ffffff;
    padding: clamp(42px, 6vw, 76px);
}

.design-human-visual {
    position: relative;
    min-height: 355px;
}

.design-sketch-card {
    position: absolute;
    top: 22px;
    left: 0;
    display: grid;
    align-content: start;
    width: 245px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9px;
    background: #f3f1e9;
    color: var(--portal-dark);
    padding: 19px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
    transform: rotate(-6deg);
}

.design-sketch-card > span {
    color: #839087;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.design-sketch-card i {
    width: 80%;
    height: 8px;
    margin-top: 27px;
    border-radius: 50%;
    background: rgba(31, 57, 37, 0.2);
    transform: rotate(-10deg);
}

.design-sketch-card i:nth-of-type(2) { width: 60%; margin-left: 32px; transform: rotate(8deg); }
.design-sketch-card i:nth-of-type(3) { width: 72%; margin-left: 8px; transform: rotate(-4deg); }

.design-sketch-card > b {
    position: absolute;
    right: 15px;
    bottom: 14px;
    color: #9aa49e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
}

.design-sketch-card.final {
    top: 65px;
    left: 155px;
    z-index: 2;
    background: #9ed8bf;
    transform: rotate(5deg);
}

.design-sketch-card.final > div {
    display: grid;
    width: 145px;
    height: 145px;
    margin: 34px auto 0;
    place-items: center;
    border: 9px solid #1f3925;
    border-radius: 50%;
    color: #1f3925;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.5rem;
    font-style: italic;
}

.design-human-copy h2 {
    color: #ffffff;
}

.design-human-copy > p:not(.design-kicker) {
    max-width: 650px;
    margin: 21px 0 27px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    line-height: 1.7;
}

.design-human-points {
    display: grid;
}

.design-human-points article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding: 17px 0;
}

.design-human-points article:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.design-human-points article > span {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(158, 216, 191, 0.45);
    border-radius: 50%;
    color: #9ed8bf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.66rem;
    font-style: italic;
}

.design-human-points div {
    display: grid;
    gap: 5px;
}

.design-human-points strong {
    font-size: 0.78rem;
}

.design-human-points small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.66rem;
    line-height: 1.45;
}

.design-process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--portal-line);
    border-bottom: 1px solid var(--portal-line);
}

.design-process-grid article {
    position: relative;
    min-height: 190px;
    border-right: 1px solid var(--portal-line);
    padding: 25px 18px;
}

.design-process-grid article:last-child {
    border-right: 0;
}

.design-process-grid article > span {
    display: block;
    margin-bottom: 42px;
    color: var(--portal-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
    font-style: italic;
}

.design-process-grid strong {
    display: block;
    font-size: 0.76rem;
}

.design-process-grid p {
    margin: 8px 0 0;
    color: var(--portal-muted);
    font-size: 0.63rem;
    line-height: 1.48;
}

.design-configurator-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(158, 216, 191, 0.17), transparent 25%),
        var(--portal-deep);
    color: #ffffff;
    padding: clamp(40px, 5vw, 66px);
}

.design-configurator-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 31px;
}

.design-configurator-intro .design-kicker {
    grid-column: 1 / -1;
    margin-bottom: -21px;
}

.design-configurator-intro h2 {
    color: #ffffff;
}

.design-configurator-intro > p:not(.design-kicker) {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.65;
}

.design-configurator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 14px;
    align-items: start;
}

.design-configurator,
.design-request-summary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--portal-ink);
}

.design-configurator {
    padding: clamp(24px, 3vw, 36px);
}

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

.portal-main .design-configurator label {
    margin-bottom: 15px;
    font-size: 0.68rem;
}

.design-configurator input,
.design-configurator select,
.design-configurator textarea {
    border-radius: 7px;
    background: #f8faf8;
}

.design-consent {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px !important;
    align-items: start;
    color: var(--portal-muted) !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

.design-consent input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 1px 0 0;
}

.design-submit-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(100deg, var(--portal-dark), var(--portal-green), #51a783, var(--portal-green), var(--portal-dark));
    background-size: 240% 100%;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0 17px;
    animation: design-card-light-sweep 7s ease-in-out infinite alternate;
}

.design-status {
    margin-bottom: 0;
    font-size: 0.68rem;
    line-height: 1.5;
}

.design-request-summary {
    position: sticky;
    top: 105px;
    padding: 30px;
}

.design-request-summary > p:first-child {
    margin: 0 0 22px;
    color: var(--portal-green);
    font-size: 0.59rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.design-summary-icon {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 10px;
    background: var(--portal-mint);
    color: var(--portal-green);
    font-size: 1.2rem;
}

.design-request-summary h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.1;
}

.design-request-summary > strong {
    display: block;
    margin-top: 11px;
    color: var(--portal-green);
    font-size: 0.8rem;
}

.design-request-summary > ul {
    display: grid;
    gap: 10px;
    margin: 25px 0;
    border-block: 1px solid var(--portal-line);
    padding: 21px 0;
    list-style: none;
}

.design-request-summary > ul li {
    position: relative;
    color: var(--portal-muted);
    font-size: 0.67rem;
    line-height: 1.4;
    padding-left: 19px;
}

.design-request-summary > ul li::before {
    position: absolute;
    left: 0;
    color: var(--portal-green);
    content: "✓";
    font-weight: 950;
}

.design-summary-note {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
}

.design-summary-note > span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #eef3ef;
    color: var(--portal-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.68rem;
    font-style: italic;
}

.design-summary-note p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 0.6rem;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .design-package-card.featured,
    .design-package-recommendation,
    .design-submit-button {
        animation: none;
    }
}

@media (max-width: 1050px) {
    .design-hero {
        grid-template-columns: 1fr;
    }

    .design-hero-copy {
        max-width: 760px;
    }

    .design-hero-visual {
        width: min(100%, 650px);
        margin: 0 auto;
    }

    .design-package-grid {
        grid-template-columns: 1fr;
    }

    .design-package-copy {
        min-height: 0;
    }

    .design-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-human-section {
        grid-template-columns: 1fr;
    }

    .design-human-visual {
        width: min(100%, 480px);
        margin: 0 auto;
    }

    .design-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 0;
    }

    .design-process-grid article {
        border-bottom: 1px solid var(--portal-line);
    }

    .design-configurator-layout {
        grid-template-columns: 1fr;
    }

    .design-request-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .design-hero,
    .design-section,
    .design-human-section,
    .design-configurator-section {
        border-radius: 13px;
        padding: 28px 21px;
    }

    .design-hero h2 {
        font-size: clamp(2.7rem, 12vw, 4.2rem);
    }

    .design-section-heading,
    .design-configurator-intro {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

    .design-configurator-intro .design-kicker {
        grid-column: auto;
        margin-bottom: 4px;
    }

    .design-service-grid,
    .design-form-row {
        grid-template-columns: 1fr;
    }

    .design-process-grid {
        grid-template-columns: 1fr;
    }

    .design-process-grid article {
        min-height: 0;
        border-right: 0;
    }

    .design-process-grid article > span {
        margin-bottom: 22px;
    }
}

@media (max-width: 520px) {
    .design-hero-actions {
        display: grid;
    }

    .design-primary-action,
    .design-secondary-action {
        width: 100%;
    }

    .design-trust-row {
        display: grid;
    }

    .design-hero-visual {
        min-height: 315px;
    }

    .design-board {
        right: 0;
        width: 100%;
        min-height: 270px;
        padding: 15px;
    }

    .design-board > img {
        height: 105px;
    }

    .design-mock-card-one {
        right: auto;
        left: -5px;
        width: 135px;
    }

    .design-mock-card-two {
        right: -4px;
        width: 120px;
        height: 120px;
    }

    .design-human-seal {
        top: -25px;
        left: -10px;
        width: 85px;
        height: 85px;
    }

    .design-package-card {
        padding: 22px;
    }

    .design-service-grid button {
        min-height: 82px;
    }

    .design-human-visual {
        min-height: 285px;
        transform: scale(0.82);
        transform-origin: left center;
    }

    .design-configurator,
    .design-request-summary {
        padding: 21px;
    }
}
/* Premium account overview */
.premium-account-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0; }
.premium-account-grid article,.premium-selection { border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); padding:19px; }
.premium-account-grid span,.premium-selection > p:first-child { display:block; color:var(--muted); font-size:.73rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.premium-account-grid strong { display:block; margin:9px 0 6px; color:var(--green-dark); font-family:Georgia,serif; font-size:1.2rem; }
.premium-account-grid small,.premium-selection small { color:var(--muted); line-height:1.5; }
.premium-selection { margin:26px 0; background:var(--mint); border-color:rgba(13,62,49,.18); }
.account-package-scope { margin:28px 0 4px; padding-top:24px; border-top:1px solid var(--line); }
.account-package-scope-heading h3 { margin:5px 0 0; color:var(--green-dark); font:500 1.45rem Georgia,serif; }
.account-package-scope-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin-top:19px; }
.account-package-scope-grid > div + div { border-left:1px solid var(--line); padding-left:28px; }
.account-package-scope-grid strong { color:var(--green-dark); font-size:.88rem; }
.account-package-scope-grid ul { display:grid; gap:8px; margin:11px 0 0; padding:0; list-style:none; }
.account-package-scope-grid li { color:var(--muted); font-size:.9rem; line-height:1.45; }
.account-package-scope-grid li::before { content:"✓"; color:var(--green); font-weight:800; margin-right:8px; }
.account-package-scope-grid > div + div li::before { content:"–"; color:#8b6d43; }
.premium-selection h3 { margin:8px 0 3px; font:500 1.65rem Georgia,serif; color:var(--green-dark); }.premium-selection > span { color:var(--green); font-weight:800; }.premium-selection button { margin:12px 0; }
.account-studio-hero{display:flex;justify-content:space-between;align-items:end;gap:28px;padding-bottom:25px;border-bottom:1px solid var(--line)}.account-studio-hero h2{margin:5px 0 8px;color:var(--green-dark);font:500 2.55rem/1.05 Georgia,serif}.account-studio-hero>div:first-child>p:last-child{max-width:650px;margin:0;color:var(--muted);line-height:1.6}.account-personal{margin:0;color:#9a624f;font-size:.83rem;font-weight:750}.account-studio-hero-actions{display:grid;justify-items:end;gap:12px}.account-access-badge{padding:5px 10px;border:1px solid rgba(13,92,77,.22);border-radius:999px;background:#edf7f1;color:var(--green-dark);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.account-primary-action{min-height:46px;padding:0 17px;border:1px solid var(--green-dark);border-radius:6px;background:var(--green-dark);color:#fff;font-weight:800}.account-primary-action:hover{background:#0b493d}.account-journey{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.account-journey h3{margin:5px 0;color:var(--green-dark);font:500 1.45rem Georgia,serif}.account-journey ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:20px 0 0;padding:0;list-style:none}.account-journey li{min-height:92px;padding:0 18px;opacity:1}.account-journey li:first-child{padding-left:0}.account-journey li+li{border-left:1px solid var(--line)}.account-journey li.active{opacity:1}.account-journey span{display:block;margin-bottom:8px;color:#9a624f;font-size:.72rem;font-weight:800}.account-journey strong{display:block;color:var(--green-dark);font-size:.91rem}.account-journey small{display:block;margin-top:6px;color:var(--muted);font-size:.82rem;line-height:1.45}
@media (max-width:820px){.premium-account-grid{grid-template-columns:1fr;}}
@media (max-width:640px){.account-package-scope-grid{grid-template-columns:1fr;gap:20px}.account-package-scope-grid > div + div{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}}
@media(max-width:820px){.account-studio-hero{align-items:start;flex-direction:column}.account-studio-hero-actions{justify-items:start}.account-journey ol{grid-template-columns:repeat(2,minmax(0,1fr))}.account-journey li{padding:14px 0;min-height:0}.account-journey li:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}}@media(max-width:640px){.account-studio-hero h2{font-size:2.15rem}.account-journey ol{grid-template-columns:1fr}.account-journey li,.account-journey li:nth-child(even){padding:16px 0;border-left:0}.account-journey li+li{border-top:1px solid var(--line)}}

.access-form select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(13,62,49,.22); border-radius: 10px; background: #fff; color: #13231e; font: inherit; }
.intro-credit-note { font-size: .8rem; line-height: 1.6; color: #52635b; margin: 8px 0; }

/* Honeypot stays outside layout, tab order and accessibility tree. */
.registration-honeypot { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Atelier access: personal welcome and a clear first draft. */
.access-modal .access-modal-layout { align-content:center; }
.access-modal .access-modal-layout { grid-template-columns:minmax(0,.9fr) minmax(440px,1fr); gap:clamp(32px,5vw,72px); width:min(1100px,calc(100% - 48px)); padding:32px 0; }
.access-modal .access-modal-card { max-width:560px; padding:30px; }
.access-modal .access-brand-logo { padding:6px 10px; border-radius:9px; }
.access-modal .access-brand-logo .site-brand-logo { height:46px; }
.access-modal .access-brand-copy { margin:32px 0 26px; }
.access-modal .access-brand-copy h1 { font-size:clamp(2.75rem,4.4vw,4.25rem); line-height:1.04; }
.access-modal .access-brand-copy > p:last-child { margin-top:20px; color:rgba(255,255,255,.8); font-size:.95rem; line-height:1.65; }
.access-modal .access-benefits { grid-template-columns:1fr; gap:9px; margin:0 0 24px; }
.access-modal .access-benefits article { padding:12px 14px; }
.access-modal .access-benefits small { color:rgba(255,255,255,.76); }
.access-modal:not([data-access-view="register"]) .access-benefits { display:none; }
.access-patrick { display:flex; align-items:center; gap:16px; max-width:460px; padding-top:22px; border-top:1px solid rgba(255,255,255,.2); }
.access-patrick img { width:76px; height:92px; flex-shrink:0; object-fit:cover; object-position:50% top; border-radius:12px; }
.access-patrick strong { font-size:1rem; }
.access-patrick p { margin:6px 0; color:rgba(255,255,255,.8); font-size:.85rem; line-height:1.55; }
.access-patrick a { color:var(--portal-lime); font-size:.8rem; text-underline-offset:3px; }
.access-modal .access-panel-intro { margin-bottom:18px; gap:9px; }
.access-modal .access-panel-intro h2 { font-size:clamp(2rem,3vw,2.5rem); line-height:1.05; }
.access-modal .access-panel-intro span { max-width:none; font-size:.86rem; }
.access-modal .access-mode-tabs { margin-bottom:18px; }
.access-modal .access-mode-tab { font-size:.76rem; }
.access-first-draft { padding:14px 16px; border:1px solid #cfdfd5; border-radius:10px; background:#edf5ef; color:var(--portal-dark); }
.access-first-draft strong { font-size:.95rem; }
.access-first-draft p { margin:7px 0; font-size:.83rem; line-height:1.5; }
.access-first-draft small { display:block; font-size:.72rem; line-height:1.6; color:#50645b; }
.access-modal #accessForm:not([hidden]) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px; }
.access-modal #accessForm > * { grid-column:1 / -1; }
.access-modal #accessForm > label[for="register-name"], .access-modal #accessForm > label[for="register-organization"], .access-modal #accessForm > label[for="register-email"], .access-modal #accessForm > label[for="register-password"] { grid-column:auto; }
.access-modal #accessForm > label { align-content:start; }
.access-modal .access-form input, .access-modal .access-form select { min-width:0; width:100%; min-height:46px; }
.access-modal #accessForm .intro-credit-note { margin:0; font-size:.73rem; line-height:1.55; }
.access-modal #accessForm .form-status:empty, .access-modal #loginForm .form-status:empty { display:none; }
.access-modal #accessForm .access-assurances { margin:0; }
.access-modal[data-access-view="login"] .access-modal-card { max-width:470px; }
.access-modal[data-access-view="login"] .access-brand-copy h1 { font-size:clamp(2.75rem,4vw,3.75rem); }
@media (max-width:900px) {
    .access-modal .access-modal-layout { grid-template-columns:1fr; align-items:start; width:min(560px,calc(100% - 32px)); gap:22px; padding:24px 0; }
    .access-modal .access-brand-panel { padding:0; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:18px; }
    .access-modal .access-brand-copy, .access-modal .access-benefits { display:none; }
    .access-modal .access-patrick { padding-top:0; border:0; gap:12px; }
    .access-modal .access-patrick img { width:52px; height:64px; }
    .access-modal .access-patrick p { font-size:.78rem; }
    .access-modal .access-brand-logo .site-brand-logo { height:36px; }
    .access-modal .access-modal-card, .access-modal[data-access-view="login"] .access-modal-card { max-width:none; margin:0; }
}
@media (max-width:560px) {
    .access-modal .access-modal-layout { gap:18px; }
    .access-modal .access-brand-panel { grid-template-columns:1fr; gap:14px; }
    .access-modal .access-brand-logo { justify-self:start; }
    .access-modal .access-patrick { max-width:none; }
    .access-modal .access-modal-card { padding:24px 20px; }
    .access-modal #accessForm { grid-template-columns:1fr; }
    .access-modal .access-mode-tab { font-size:.73rem; }
}
@media (max-height:600px) {
    .access-modal .access-brand-panel { display:none; }
    .access-modal .access-modal-layout { grid-template-columns:1fr; width:min(560px,calc(100% - 24px)); gap:0; padding:16px 0; }
}

.access-modal .access-form select { appearance:none; -webkit-appearance:none; border:1px solid rgba(188,204,196,.88); border-radius:10px; background-color:#fbfcfa; color:var(--portal-dark); padding:12px 38px 12px 14px; font:inherit; background-image:linear-gradient(45deg,transparent 50%,#355c4a 50%),linear-gradient(135deg,#355c4a 50%,transparent 50%); background-position:calc(100% - 21px) 50%,calc(100% - 16px) 50%; background-size:5px 5px; background-repeat:no-repeat; }
.access-modal .access-form select:focus-visible { outline:2px solid var(--portal-green); outline-offset:2px; }

/* Personal project overview: compact guidance, live entitlement, direct support. */
#profileOnboardingPreview { gap: 20px; }
#profileOnboardingPreview .onboarding-hero-card {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .7fr);
    gap: 32px;
    padding: clamp(26px, 3.5vw, 42px);
    box-shadow: 0 18px 48px rgba(8, 29, 23, .07);
}
#profileOnboardingPreview .onboarding-eyebrow { margin-bottom: 18px; }
#profileOnboardingPreview h1 { font-size: clamp(2rem, 3.8vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; }
#profileOnboardingLead { margin-top: 18px; max-width: 58ch; font-size: .92rem; line-height: 1.65; hyphens: none; }
#profileOnboardingPreview .onboarding-guidance-card { min-height: 0; justify-content: center; padding: 26px; }
#profileOnboardingPreview .onboarding-guidance-card strong { font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.16; }
#profileOnboardingProgressLabel { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; margin-top: 0; line-height: 1.6; }
.profile-access-summary { border-left: 2px solid #c6ab61; padding-left: 16px; margin-top: 24px; }
.profile-access-summary small { display: block; color: #287456; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.profile-access-summary strong { display: block; margin-top: 7px; color: #173b2e; font-size: .9rem; line-height: 1.45; }
.profile-access-summary p { color: #596b62; margin: 7px 0 0; font-size: .73rem; line-height: 1.6; max-width: 64ch; }
#profileOnboardingPreview .onboarding-hero-actions { margin-top: 24px; gap: 12px; }
#profileOnboardingPreview .onboarding-action-note { display: block; flex-basis: 100%; max-width: none; font-weight: 500; }
#profileOnboardingPreview .onboarding-path { display: block; }
#profileOnboardingPreview .onboarding-path-intro { background: transparent; padding: 24px 26px 12px; }
#profileOnboardingPreview .onboarding-path-intro p { margin-bottom: 8px; }
#profileOnboardingPreview .onboarding-path-intro h2 { font-size: 1.55rem; }
#profileOnboardingPreview .onboarding-path-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 10px 14px; }
#profileOnboardingPreview .onboarding-path-steps article { min-height: 0; border-bottom: 0; padding: 14px 18px; }
#profileOnboardingPreview .onboarding-path-steps article:first-child { border-left: 0; }
#profileOnboardingPreview .onboarding-path-steps span { width: 32px; height: 32px; font-size: .72rem; }
#profileOnboardingPreview .onboarding-path-steps h3 { font-size: 1.02rem; margin-top: 12px; line-height: 1.3; }
#profileOnboardingPreview .onboarding-path-steps p { font-size: .73rem; line-height: 1.6; }
.profile-patrick-note { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 24px 28px; border: 1px solid #dfe8e3; border-radius: 20px; background: #f7faf7; }
.profile-patrick-note img { width: 76px; height: 94px; object-fit: cover; object-position: center top; border-radius: 14px; }
.profile-patrick-note small { color: #287456; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.profile-patrick-note h2 { margin: 6px 0 8px; font: 500 1.5rem/1.2 Georgia, serif; color: #173b2e; }
.profile-patrick-note p { margin: 0; max-width: 65ch; font-size: .78rem; line-height: 1.6; color: #596b62; }
.profile-patrick-note a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #173b2e; padding: 12px 18px; border: 1px solid #bed0c4; border-radius: 999px; text-decoration: none; font-size: .75rem; font-weight: 800; }
.profile-patrick-note a:hover { background: #e9f2ec; }
.profile-patrick-note a:focus-visible, #profileOnboardingPreview button:focus-visible { outline: 3px solid #287456; outline-offset: 4px; }
@media (max-width: 900px) {
    #profileOnboardingPreview .onboarding-hero-card { grid-template-columns: 1fr; gap: 22px; }
    #profileOnboardingPreview .onboarding-path-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #profileOnboardingPreview .onboarding-path-steps article:nth-child(odd) { border-left: 0; }
    .profile-patrick-note { grid-template-columns: 76px minmax(0,1fr); }
    .profile-patrick-note a { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
    #profileOnboardingPreview .onboarding-hero-card { padding: 24px 20px; }
    #profileOnboardingPreview .onboarding-guidance-card { padding: 22px; }
    #profileOnboardingPreview .onboarding-path-steps { grid-template-columns: 1fr; }
    #profileOnboardingPreview .onboarding-path-steps article { border-left: 0; border-bottom: 1px solid #e4ece8; }
    #profileOnboardingPreview .onboarding-path-steps article:last-child { border-bottom: 0; }
    .profile-patrick-note { padding: 20px; gap: 14px; grid-template-columns: 60px minmax(0,1fr); }
    .profile-patrick-note img { width: 60px; height: 78px; }
    .profile-patrick-note p, .profile-patrick-note a { font-size: .76rem; }
}

#profileOnboardingPreview p, #profileOnboardingPreview strong, #profileOnboardingPreview h3 { hyphens: none; }

/* Studio navigation shares the homepage's quiet text-link styling. */
.portal-sidebar .dashboard-tabs { gap: 22px; overflow: visible; }
.portal-sidebar .dashboard-tabs .tab-button,
.portal-sidebar .dashboard-tabs .portal-offer-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: 0 0 3px;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #294538;
    font-size: .75rem;
    font-weight: 750;
    line-height: 1.3;
    box-shadow: none;
    cursor: pointer;
}
.portal-sidebar .dashboard-tabs .tab-button:hover,
.portal-sidebar .dashboard-tabs .portal-offer-link:hover,
.portal-sidebar .dashboard-tabs .active,
.portal-sidebar .dashboard-tabs .werbestudio-trigger[aria-expanded="true"] {
    border-bottom-color: #297354;
    background: transparent;
    color: #123c2e;
    box-shadow: none;
}
.portal-sidebar .dashboard-tabs strong,
.portal-sidebar .dashboard-tabs .tab-button > span { font: inherit; color: inherit; }
.portal-sidebar .dashboard-tabs .werbestudio-trigger::after { font-size: .85rem; margin-left: 2px; }
.portal-sidebar .dashboard-tabs button:focus-visible,
.portal-sidebar .portal-user-card:focus-visible { outline: 2px solid #287456; outline-offset: 5px; }
.portal-sidebar::after { animation: none; }
.portal-sidebar .portal-user-card { padding-left: 22px; gap: 10px; }
.portal-sidebar .portal-user-card strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#werbestudioMenu.studio-menu-compact {
    width: min(350px, calc(100% - 36px));
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    border: 1px solid #dce5df;
    border-radius: 14px;
    background: #fffefa;
    box-shadow: 0 18px 45px rgba(8,29,23,.13);
    padding: 8px;
}
#werbestudioMenu.studio-menu-compact .studio-journey-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-height: 68px;
    width: 100%;
    padding: 13px 14px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #173b2e;
    box-shadow: none;
    transform: none;
}
#werbestudioMenu.studio-menu-compact .studio-journey-step + .studio-journey-step { margin-top: 2px; }
#werbestudioMenu.studio-menu-compact .studio-journey-step:hover { background: #edf4ef; box-shadow: none; transform: none; }
#werbestudioMenu.studio-menu-compact .studio-journey-step.current { background: #edf4ef; box-shadow: inset 2px 0 0 #287456; }
#werbestudioMenu.studio-menu-compact .studio-step-topline { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
#werbestudioMenu.studio-menu-compact strong { font-family: inherit; font-size: .82rem; font-weight: 750; line-height: 1.4; }
#werbestudioMenu.studio-menu-compact small { color: #607466; font-size: .6rem; font-weight: 500; line-height: 1.5; }
#werbestudioMenu.studio-menu-compact .studio-step-description { margin: 0; font-size: .7rem; color: #607466; line-height: 1.5; hyphens: none; }
#werbestudioMenu.studio-menu-compact .studio-journey-step:focus-visible { outline: 2px solid #287456; outline-offset: -2px; }
.portal-mobile-menu button.current { background: #edf4ef; color: #123c2e; }
@media (min-width: 801px) {
    .portal-sidebar { grid-template-columns: auto minmax(0,1fr) auto; min-height: 82px; gap: 22px; padding: 12px 22px; }
    .portal-sidebar .dashboard-tabs { grid-column: 2; grid-row: 1; justify-content: center; }
    .portal-sidebar .portal-user-actions { grid-column: 3; grid-row: 1; }
}
@media (min-width: 801px) and (max-width: 1050px) {
    .portal-sidebar .dashboard-tabs { gap: 16px; }
    .portal-sidebar .portal-user-card strong { max-width: 115px; }
    .portal-sidebar .portal-user-card { padding-left: 14px; }
    .portal-sidebar .portal-brand .site-brand-logo { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { #werbestudioMenu.studio-menu-compact { animation: none; } }

/* Keep the account available beside the mobile area menu. */
@media (max-width: 800px) {
    .portal-sidebar { grid-template-columns: minmax(72px, 1fr) minmax(0, 160px) 44px; gap: 10px; }
    .portal-sidebar .portal-mobile-menu-button { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; justify-content: space-between; }
    .portal-sidebar .portal-user-actions { display: flex; grid-column: 3; grid-row: 1; min-width: 0; justify-content: center; }
    .portal-sidebar .portal-user-actions .portal-user-card { display: flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 44px; padding: 0; margin: 0; gap: 0; border: 0; background: transparent; }
    .portal-sidebar .portal-user-card > div { display: none; }
    .portal-sidebar .portal-user-avatar { width: 38px; height: 38px; }
}

/* Materials: a calm optional step with a single route into the motif brief. */
.portal-main [data-panel="materialien"] .materials-compact .materials-premium-hero {
    grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 25px 28px;
}
.materials-compact .materials-premium-hero h3 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); }
.materials-compact .materials-premium-hero p { max-width: 650px; }
.materials-compact .materials-premium-hero > button { white-space: nowrap; align-self: center; padding: 15px 20px; }
.materials-project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 28px; border-bottom: 1px solid #e8eee9; }
.materials-project-facts > div { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; align-items: center; }
.materials-project-facts small { grid-column: 1 / -1; color: #69786f; }
.materials-project-facts strong { font-size: .9rem; font-weight: 600; }
.materials-project-facts button { background: transparent; color: #275c44; padding: 5px 0; box-shadow: none; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.material-context-review { margin: 16px 28px 0; padding: 13px 16px; border-left: 3px solid #97ab9d; background: #f4f7f4; border-radius: 0 10px 10px 0; font-size: .8rem; color: #4e6055; line-height: 1.55; }
.material-context-review p { margin: 5px 0 0; }
.materials-description-details { margin: 16px 28px 0; font-size: .82rem; }
.materials-description-details > summary { cursor: pointer; color: #375b47; }
.materials-compact .materials-profile-summary { margin: 10px 0 0; padding: 14px 42px 14px 16px; }
.portal-main [data-panel="materialien"] .materials-compact .material-section { border: 0; background: transparent; box-shadow: none; margin: 0; padding: 20px 28px 24px; gap: 16px; }
.materials-compact .material-checklist { gap: 7px; }
.materials-compact .material-checklist span { font-size: .71rem; }
.materials-compact .material-checklist .optional { background: #f2f4f2; color: #65736a; border: 1px solid #e4e9e5; }
.materials-compact .material-action-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.materials-compact .material-action-card { border-radius: 16px; padding: 18px; box-shadow: none; min-width: 0; }
.materials-secondary-options { display: grid; gap: 12px; }
.materials-secondary-options details.material-action-card { display: block; }
.materials-secondary-options summary { cursor: pointer; color: #284c38; font-weight: 600; font-size: .87rem; line-height: 1.5; }
.materials-secondary-options summary > span { font-weight: 400; font-size: .71rem; color: #778379; margin-left: 6px; }
.materials-secondary-options details[open] > summary { margin-bottom: 14px; }
.materials-compact .material-upload-drop { position: relative; text-align: center; padding: 23px 14px; cursor: pointer; background: #f7faf7; }
.materials-compact .material-upload-drop:hover { border-color: #446f54; background: #eef5ef; }
.materials-compact .material-upload-drop:focus-within { outline: 2px solid #446f54; outline-offset: 3px; }
.materials-compact .material-upload-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.material-upload-limits { text-align: center; font-size: .7rem; color: #718078; }
.material-upload-selection { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.material-upload-selection[hidden] { display: none; }
.material-upload-selection li { padding: 8px 10px; border-radius: 8px; background: #f1f5f1; font-size: .76rem; overflow-wrap: anywhere; }
.material-upload-feedback { font-size: .78rem; margin: 0; line-height: 1.5; }
.material-upload-feedback:empty, .materials-compact .material-status:empty { display: none; }
.material-upload-feedback.error { color: #a12e2e; }
.materials-compact .material-form button:disabled { opacity: .5; cursor: default; }
.materials-compact .material-vault.is-empty { padding: 13px 16px; border-radius: 12px; background: #f7f8f6; box-shadow: none; }
.materials-compact .material-vault.is-empty small { display: none; }
.materials-compact .material-vault.is-empty strong { font-size: .85rem; }
.materials-compact .material-vault.is-empty p { font-size: .75rem; margin: 4px 0 0; }
.materials-compact .website-text-preview { max-height: none; overflow: visible; overflow-wrap: anywhere; }
.materials-compact .company-website { display: block; margin: 10px 0; overflow-wrap: anywhere; font-size: .8rem; }
@media (max-width: 800px) {
    .portal-main [data-panel="materialien"] .materials-compact .materials-premium-hero { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; }
    .materials-compact .materials-premium-hero > button { width: 100%; white-space: normal; }
    .materials-project-facts { padding: 16px 18px; grid-template-columns: 1fr; gap: 14px; }
    .material-context-review { margin: 14px 18px 0; }
    .materials-description-details { margin: 14px 18px 0; }
    .portal-main [data-panel="materialien"] .materials-compact .material-section { padding: 18px; }
    .materials-compact .material-action-grid { grid-template-columns: 1fr; }
}
.materials-compact .materials-premium-hero > button { border: 1px solid #e0e9df; border-radius: 999px; background: #f1f5e9; color: #204734; font: inherit; font-size: .83rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px #082f241a; }
.materials-compact .materials-premium-hero > button:hover { background: #fff; }
.materials-project-facts button { border: 0; border-radius: 4px; cursor: pointer; font-family: inherit; }
.materials-project-facts button:focus-visible { outline: 2px solid #446f54; outline-offset: 4px; }
.materials-compact .material-upload-drop { width: 100%; box-sizing: border-box; }
#profileOnboardingPreview .onboarding-path-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#profileOnboardingPreview .onboarding-path-steps article:nth-child(4) { border-left: 0; }
@media (max-width: 800px) {
    #profileOnboardingPreview .onboarding-path-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #profileOnboardingPreview .onboarding-path-steps article:nth-child(4) { border-left: 1px solid #e4ece8; }
    #profileOnboardingPreview .onboarding-path-steps article:nth-child(odd) { border-left: 0; }
}
@media (max-width: 520px) {
    #profileOnboardingPreview .onboarding-path-steps { grid-template-columns: 1fr; }
    #profileOnboardingPreview .onboarding-path-steps article:nth-child(4) { border-left: 0; }
}
#companyProfileBack[hidden] { display: none !important; }
#companyForm > footer:has(#companyProfileBack[hidden]) { justify-content: flex-end; }
#deleteDraftsButton[hidden] { display: none !important; }
.campaign-empty-state > button { justify-self: start; border: 0; border-radius: 999px; padding: 13px 20px; background: #255b43; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.draft-image-idea { font-size: .8rem; margin: 12px 0; }
.draft-image-idea summary { cursor: pointer; color: #38614b; }
/* A single introduction and three readable sections for the motif brief. */
#studioScreenHeader[hidden], #creativeFoundationToggle[hidden], #motivOptionalTips[hidden] { display: none !important; }
#studioBrief .campaign-section-head { margin-bottom: 24px; }
#studioBrief .campaign-section-head h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
#studioBrief .campaign-section-head > div > span { max-width: 720px; }
#studioBrief .motiv-form-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e5ece6; display: grid; gap: 18px; min-width: 0; }
#studioBrief .motiv-form-section > header h3 { margin: 0; font-size: 1.1rem; color: #244937; }
#studioBrief .motiv-form-section > header p { margin: 6px 0 0; font-size: .8rem; color: #6b7b71; line-height: 1.6; }
#studioBrief .motiv-form-section .campaign-form-grid { margin-top: 0; }
#studioBrief .motiv-form-section .campaign-premium-field { display: grid; min-width: 0; }
#studioBrief .motiv-form-section .campaign-premium-field small { font-size: .76rem; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.55; color: #6b7b71; }
#studioBrief .motiv-form-section .campaign-channel-fieldset { margin: 0; }
#studioBrief .motiv-format-grid { grid-template-columns: minmax(0, 1fr); }
#studioBrief .campaign-form-grid-bottom { grid-template-columns: minmax(0, 1fr); }
#studioBrief .creative-focus-summary { margin: 0; padding: 12px 16px; }
#studioBrief .creative-foundation-details { grid-column: 1 / -1; }
#studioBrief .creative-foundation-details[hidden] { display: none !important; }
#studioBrief .creative-foundation-details li { font-size: .8rem; line-height: 1.5; }
#studioBrief .motiv-optional-tips { margin: 14px 0 0; padding: 13px 16px; border: 1px solid #e5ece6; border-radius: 12px; background: #f7f9f6; color: #586c5d; font-size: .79rem; }
#studioBrief .motiv-optional-tips summary { cursor: pointer; font-weight: 600; }
#studioBrief .motiv-optional-tips summary span { margin-left: 8px; font-weight: 400; color: #7a887e; font-size: .72rem; }
#studioBrief .motiv-optional-tips ul { padding-left: 18px; line-height: 1.6; }
#studioBrief .motiv-optional-tips li + li { margin-top: 7px; }
#studioBrief .campaign-launch-row { margin-top: 28px; }
@media (max-width: 800px) {
    #studioBrief .campaign-form-grid { grid-template-columns: 1fr; }
    #studioBrief .motiv-form-section { margin-top: 22px; padding-top: 20px; }
}
#studioBrief .motiv-form-section .campaign-premium-field { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; margin: 0; }
#studioBrief .motiv-form-section .campaign-premium-field > span::before { display: none; }
#studioBrief .motiv-form-section .campaign-premium-field > span,
#studioBrief .motiv-form-section .campaign-form-grid label,
#studioBrief .motiv-form-section .campaign-no-go-field { font-size: .81rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
#studioBrief .motiv-form-section .campaign-premium-field textarea { min-height: 105px; padding: 13px 15px; font-size: .86rem; }
#studioBrief .motiv-form-section .campaign-message-field textarea { min-height: 90px; }
#studioBrief .motiv-form-section input, #studioBrief .motiv-form-section select { font-size: .86rem; }
#studioBrief .motiv-form-section .campaign-channel-fieldset legend { font-size: .81rem; letter-spacing: 0; text-transform: none; }
#studioBrief .motiv-form-section .campaign-no-go-field small { font-size: .76rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; }
@media (max-width: 820px) {
    #portalMobileMenuCurrent { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; }
}

/* Session exit is visible in the portal and accessible on small screens. */
.portal-logout-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 15px; border: 1px solid #dce5df; border-radius: 999px;
    background: transparent; color: #365345; font: inherit; font-size: .78rem;
    cursor: pointer; white-space: nowrap; box-shadow: none;
}
.portal-logout-button:hover { background: #f0f5f1; border-color: #a7bcae; }
.portal-logout-button:focus-visible { outline: 2px solid #287456; outline-offset: 3px; }
.portal-logout-button:disabled { opacity: .6; cursor: wait; }
.account-session-actions .portal-logout-status { flex-basis: 100%; margin: 0; color: #963e32; font-size: .8rem; }
.account-session-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e1e8e3; }
.account-session-actions > span { color: #69786e; font-size: .85rem; }

#campaignAudienceAdopt.motiv-audience-adopt {
    justify-self: start; padding: 6px 0; min-height: 36px; border: 0;
    border-radius: 0; background: transparent; color: #365b46;
    font: inherit; font-size: .78rem; text-align: left;
    text-decoration: underline; text-underline-offset: 3px; box-shadow: none; cursor: pointer;
}
#campaignAudienceAdopt.motiv-audience-adopt:focus-visible { outline: 2px solid #287456; outline-offset: 3px; }

/* Vorschläge: echte Vorbereitung statt einer großen leeren Ergebnisfläche. */
#studioRoutes .campaign-output-head[hidden] { display: none; }
#studioRoutes:has(.campaign-empty-state--prepared) { background: #fff; }
#studioRoutes .campaign-draft-list:has(.campaign-empty-state--prepared) { padding: 0; display: block; }
#studioRoutes .campaign-empty-state--prepared {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 30px 46px; min-height: 0; padding: 40px; text-align: left;
    justify-items: stretch; place-content: normal;
}
.proposal-preparation-copy .proposal-state-label { color: #48695a; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.proposal-preparation-copy h3 { margin: 14px 0; color: #173c2d; font: 500 clamp(1.6rem, 2.4vw, 2rem)/1.15 Georgia, serif; letter-spacing: -.025em; }
#studioRoutes .proposal-preparation-copy p { max-width: 480px; margin: 0; color: #58685f; font-size: .9rem; line-height: 1.7; }
.proposal-preparation-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; margin-top: 24px; padding: 12px 20px; border: 0; border-radius: 8px; background: #153d2d; color: #fff; font: inherit; font-weight: 650; font-size: .85rem; cursor: pointer; }
.proposal-preparation-button:hover { background: #24573f; }
.proposal-preparation-button:focus-visible { outline: 2px solid #287456; outline-offset: 4px; }
.proposal-preparation-copy > small { display: block; margin-top: 10px; color: #69776e; font-size: .72rem; line-height: 1.5; }
.proposal-preparation-summary { align-self: start; padding: 26px; border: 1px solid #e0e7e1; border-radius: 12px; background: #f7f9f6; }
#studioRoutes .proposal-preparation-summary > p { margin: 0 0 18px; color: #48695a; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.proposal-preparation-summary dl { margin: 0; display: grid; gap: 16px; }
.proposal-preparation-summary dl > div + div { border-top: 1px solid #e0e7e1; padding-top: 16px; }
.proposal-preparation-summary dt { margin-bottom: 5px; color: #6b786e; font-size: .75rem; }
.proposal-preparation-summary dd { margin: 0; color: #233d2e; font-size: .9rem; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
#studioRoutes .proposal-choice-note { grid-column: 1 / -1; max-width: none; margin: 0; border-top: 1px solid #e4e9e3; padding-top: 22px; color: #58685f; font-size: .8rem; line-height: 1.6; }
@media (max-width: 720px) {
    #studioRoutes .campaign-empty-state--prepared { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 22px; }
    .proposal-preparation-summary { padding: 22px; }
    .proposal-preparation-button { width: 100%; }
}

/* Bildbereich vor der Auswahl: klarer nächster Schritt ohne leeren Editor. */
#studioEditor .studio-editor-heading[hidden] { display: none; }
#studioEditor:has(.studio-editor-empty--guided:not([hidden])) { background: #fff; padding: 0; overflow: hidden; }
#studioEditor .studio-editor-empty--guided {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 30px 46px; min-height: 0; padding: 40px; text-align: left;
    justify-items: stretch; place-content: normal;
}
#studioEditor .proposal-preparation-copy > p { max-width: 480px; margin: 0; color: #58685f; font-size: .9rem; line-height: 1.7; }
#studioEditor .proposal-preparation-summary > p { margin: 0 0 20px; color: #48695a; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.image-next-steps { display: grid; gap: 20px; margin: 0; padding-left: 22px; color: #48695a; }
.image-next-steps li { padding-left: 5px; font-size: .85rem; }
.image-next-steps b { display: block; color: #233d2e; font-size: .9rem; line-height: 1.5; }
.image-next-steps span { display: block; margin-top: 4px; color: #69776e; font-size: .78rem; line-height: 1.5; }
#studioEditor .image-scope-note { grid-column: 1 / -1; max-width: none; margin: 0; border-top: 1px solid #e4e9e3; padding-top: 22px; color: #58685f; font-size: .8rem; line-height: 1.6; }
@media (max-width: 720px) {
    #studioEditor .studio-editor-empty--guided { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 22px; }
}

#studioEditor .studio-editor-empty[hidden] { display: none; }

/* Leistungen & Preise: gemeinsame helle Gestaltung mit der öffentlichen Seite. */
.portal-services-page { gap: 36px; }
.portal-services-page .investment-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .75fr); padding: 24px 4px 8px; border-radius: 0; background: transparent; color: #173c2d; box-shadow: none; overflow: visible; }
.portal-services-page .investment-hero::after { display: none; }
.portal-services-page .investment-kicker { color: #3b6953; font-size: .65rem; margin-bottom: 18px; }
.portal-services-page .investment-hero h2 { color: #173c2d; font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.08; }
.portal-services-page .investment-hero h2 em { color: #3b7359; }
.portal-services-page .investment-hero-copy > p:not(.investment-kicker) { color: #58675d; font-size: .95rem; line-height: 1.7; margin-top: 22px; }
.portal-services-page .investment-hero-copy > .services-request-note { font-size: .78rem !important; }
.services-access-card { align-self: center; padding: 28px; background: #f8faf7; border: 1px solid #dce5dd; border-radius: 14px; }
.services-access-card > p:first-child { margin: 0 0 14px; color: #48695a; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.services-access-card h3 { margin: 0; color: #173c2d; font: 500 1.5rem/1.2 Georgia, serif; }
.services-access-card > p:not(:first-child) { color: #596a5e; font-size: .83rem; line-height: 1.65; }
.services-access-card button { padding: 8px 0; border: 0; background: transparent; color: #315d47; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.services-price-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #e0e5dd; border-radius: 12px; background: #fff; overflow: hidden; }
.services-price-overview a { display: grid; gap: 7px; padding: 22px; text-decoration: none; color: #254734; }
.services-price-overview a + a { border-left: 1px solid #e0e5dd; }
.services-price-overview a:hover { background: #f2f6ef; }
.services-price-overview span,.services-price-overview small { color: #667369; font-size: .78rem; }
.services-price-overview strong { font: 500 1.8rem/1.2 Georgia,serif; }
.services-free-offer { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.75fr); gap: 40px; padding: 30px; background: #f1f6ee; border: 1px solid #dbe5d8; border-radius: 14px; scroll-margin-top: 110px; }
.services-free-offer h3 { margin: 0 0 14px; color: #173c2d; font: 500 1.9rem/1.2 Georgia,serif; }
.services-free-offer p { color: #596a5e; font-size: .85rem; line-height: 1.65; }
.services-free-offer .services-free-scope { font-size: .75rem; }
.services-free-action { align-self: center; padding-left: 28px; border-left: 1px solid #dbe5d8; }
.services-free-action strong { color: #254734; font-size: .95rem; }
.services-free-action button { border: 0; border-radius: 8px; min-height: 46px; padding: 12px 18px; background: #173c2d; color: #fff; font: inherit; font-size: .82rem; cursor: pointer; }
.portal-services-page .investment-card { box-shadow: none; scroll-margin-top: 110px; }
.portal-services-page .investment-card.featured { transform: none; background: #f4f7f0; color: #173c2d; border-color: #c9d7c3; box-shadow: none; }
.portal-services-page .investment-card.featured h3,.portal-services-page .investment-card.featured .investment-price strong { color: #173c2d; }
.portal-services-page .investment-card.featured .investment-card-topline p,.portal-services-page .investment-card.featured .investment-card-description,.portal-services-page .investment-card.featured .investment-price span,.portal-services-page .investment-card.featured li,.portal-services-page .investment-card.featured .investment-card-note { color: #58675d; }
.portal-services-page .investment-card.featured ul { border-color: #dce5d5; }
.portal-services-page .investment-card.featured li::before { color: #3b7359; }
.portal-services-page .investment-card.featured > button { background: #173c2d; color: #fff; }
.portal-services-page .investment-card.is-current-plan { border-color: #3b7359; }
.services-current-badge { color: #3b7359; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.portal-services-page button:focus-visible,.services-price-overview a:focus-visible { outline: 2px solid #287456; outline-offset: 4px; }
#ongoingOffersTitle { scroll-margin-top: 110px; }
@media (max-width: 760px) {
    .portal-services-page .investment-hero,.services-free-offer { grid-template-columns: minmax(0,1fr); gap: 26px; }
    .services-price-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .services-price-overview a:nth-child(3) { border-left: 0; }
    .services-price-overview a:nth-child(n+3) { border-top: 1px solid #e0e5dd; }
    .services-free-offer { padding: 24px; }
    .services-free-action { padding: 22px 0 0; border-left: 0; border-top: 1px solid #dbe5d8; }
}
@media (max-width: 420px) { .services-price-overview a { padding: 16px; } .services-price-overview strong { font-size: 1.5rem; } }

/* Primäre Angebote und aufklappbare, persönlich abgestimmte Erweiterungen. */
.services-price-overview { grid-template-columns: repeat(3,minmax(0,1fr)); }
.services-additional-offer { border: 1px solid #dce5dd; border-radius: 12px; background: #fff; padding: 0 24px; scroll-margin-top: 110px; }
.services-additional-offer > summary { padding: 22px 0; color: #315d47; font-size: .9rem; font-weight: 650; cursor: pointer; }
.services-additional-offer > .investment-card { max-width: 680px; margin-bottom: 24px; }
.services-additional-offer > .investment-plans { padding-bottom: 24px; }
.services-additional-offer > .investment-heading { margin-top: 14px; }
@media (max-width: 640px) {
    .services-price-overview { grid-template-columns: minmax(0,1fr); }
    .services-price-overview a + a { border-left: 0; border-top: 1px solid #e0e5dd; }
    .services-additional-offer { padding: 0 18px; }
}

/* Persönliches Grafikdesign: gemeinsame Studio-Gestaltung und eigene Leistung. */
.design-studio-current { gap: 32px; }
.design-studio-current .design-hero { grid-template-columns: minmax(0,1.2fr) minmax(330px,.85fr); min-height: 0; padding: 30px 4px; gap: 36px; overflow: visible; background: transparent; color: #173c2d; border-radius: 0; box-shadow: none; }
.design-studio-current .design-hero::after { display: none; }
.design-studio-current .design-kicker { color: #48695a; }
.design-studio-current .design-hero h2 { max-width: 640px; font-size: clamp(2.6rem,4.5vw,4rem); line-height: 1.08; color: #173c2d; }
.design-studio-current .design-hero-copy > p:not(.design-kicker) { color: #58675d; font-size: .95rem; line-height: 1.75; }
.design-studio-current .design-primary-action { background: #173c2d; color: #fff; border-color: #173c2d; border-radius: 8px; }
.design-studio-current .design-primary-action:hover { background: #28593f; }
.design-studio-current .design-secondary-action { background: transparent; color: #315d47; border-color: #c9d7cd; border-radius: 8px; }
.design-studio-current .design-trust-row,.design-studio-current .design-trust-row b { color: #48695a; }
.design-studio-current .design-board { border: 1px solid #dce5dd; transform: none; box-shadow: 0 12px 28px rgba(20,37,31,.06); }
.design-studio-current .design-hero-visual { min-height: 420px; }
.design-example-caption { position: absolute; bottom: 0; right: 0; left: 0; margin: 0; text-align: center; color: #69776e; font-size: .7rem; line-height: 1.5; }
.design-studio-current .design-package-card { background: #fff; box-shadow: none; }
.design-studio-current .design-package-card:hover { transform: none; box-shadow: none; border-color: #b7caba; }
.design-studio-current .design-package-card.featured { background: #f3f7ef; color: #173c2d; border-color: #c9d7c3; animation: none; }
.design-studio-current .design-package-card.featured .design-package-topline { margin-top: 0; }
.design-studio-current .design-package-card.featured h3,.design-studio-current .design-package-card.featured .design-package-price strong { color: #173c2d; }
.design-studio-current .design-package-card.featured .design-package-topline,.design-studio-current .design-package-card.featured .design-package-topline small,.design-studio-current .design-package-card.featured .design-package-price small,.design-studio-current .design-package-card.featured .design-package-copy,.design-studio-current .design-package-card.featured li,.design-studio-current .design-package-card.featured .design-package-meta { color: #58675d; }
.design-studio-current .design-package-card.featured li::before { color: #3b7359; }
.design-studio-current .design-package-card.featured > button { background: #173c2d; color: #fff; border-color: #173c2d; }
.design-studio-current .design-section-heading h2,.design-studio-current .design-configurator-intro h2 { font-size: clamp(2rem,3.3vw,3rem); line-height: 1.1; }
.design-studio-current .design-human-section { background: #edf3e9; color: #173c2d; padding: 38px; gap: 38px; }
.design-studio-current .design-human-copy h2 { color: #173c2d; font-size: clamp(2rem,3.3vw,3rem); line-height: 1.12; }
.design-studio-current .design-human-copy > p:not(.design-kicker),.design-studio-current .design-human-points strong,.design-studio-current .design-human-points small { color: #58675d; }
.design-studio-current .design-human-points article > span { background: #dce8d8; color: #315d47; }
.design-studio-current .design-sketch-card { box-shadow: 0 10px 25px rgba(20,37,31,.1); }
.design-optional-fields { margin: 12px 0 20px; border-top: 1px solid #dce5dd; border-bottom: 1px solid #dce5dd; padding: 16px 0; }
.design-optional-fields summary { color: #315d47; font-size: .85rem; font-weight: 650; cursor: pointer; }
.design-optional-fields[open] > .design-form-row { margin-top: 20px; }
.design-optional-fields summary:focus-visible { outline: 2px solid #287456; outline-offset: 4px; }
.design-studio-current #designPakete,.design-studio-current #designKonfigurator { scroll-margin-top: 110px; }
@media (max-width: 900px) {
    .design-studio-current .design-hero { grid-template-columns: minmax(0,1fr); padding: 20px 0; }
    .design-studio-current .design-hero-visual { width: min(100%,480px); justify-self: center; }
    .design-studio-current .design-human-section { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
    .design-studio-current .design-hero-visual { min-height: 390px; }
    .design-studio-current .design-hero h2 { font-size: 2.6rem; }
    .design-studio-current .design-human-section { padding: 26px 22px; }
}

.design-studio-current .design-mock-card-one { bottom: 45px; right: auto; left: 10px; }
.design-studio-current .design-mock-card-two { bottom: 32px; }

.design-studio-current .design-configurator-section { background: #edf3e9; color: #173c2d; }
.design-studio-current .design-configurator-intro h2 { color: #173c2d; }
.design-studio-current .design-configurator-intro > p:not(.design-kicker) { color: #58675d; }
.design-studio-current .design-configurator,.design-studio-current .design-request-summary { border-color: #dce5dd; background: #fff; }
.design-studio-current .design-human-points article { border-color: #d1dfce; }
.design-studio-current .design-submit-button { background: #173c2d; }

.design-studio-current .design-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.design-studio-current .design-package-price strong { overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .design-studio-current .design-package-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile Zugangsfelder: mindestens 16 px verhindern den Fokus-Zoom in iOS. */
@media (max-width: 900px) {
    .access-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .access-modal select,
    .access-modal textarea {
        font-size: max(16px, 1rem);
    }
}

/* Grafikdesign ist ein eigenständiges Angebot neben den Studio-Bereichen. */
@media (min-width: 761px) {
    .portal-sidebar .dashboard-tabs .portal-independent-offer {
        margin-left: 16px;
    }
    .portal-sidebar .dashboard-tabs .portal-independent-offer::before {
        content: "";
        position: absolute;
        left: -19px;
        top: 50%;
        height: 22px;
        width: 1px;
        background: #d5dfd8;
        transform: translateY(-50%);
    }
}

/* Veröffentlichung bleibt bis zur Plattformanbindung klar als Vorbereitung gekennzeichnet. */
#socialApprovalForm[hidden], #studioPublicationPreview[hidden] { display: none !important; }
.studio-publication-preview { padding: 28px; border: 1px solid #d5dfd8; border-radius: 14px; background: #f3f7ef; color: #173c2d; }
.studio-publication-eyebrow { margin: 0 0 12px; font-size: .7rem; font-weight: 750; letter-spacing: .06em; }
.studio-publication-preview h3 { font: normal 1.8rem/1.15 Georgia, serif; margin: 0 0 16px; }
.studio-publication-preview p:not(.studio-publication-eyebrow), .studio-publication-preview li { font-size: .88rem; line-height: 1.7; color: #58675d; }
.studio-publication-preview ul { padding-left: 20px; margin: 18px 0; }
.studio-publication-note { border-top: 1px solid #d5dfd8; padding-top: 16px; margin-top: 20px; }

/* Ein Vorschlag pro Entwicklung; vorhandene frühere Vorschläge bleiben zugänglich. */
#studioRoutes .campaign-draft-list:has(> .draft-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
}

.motiv-personal-wishes > summary { cursor: pointer; color: #254e3c; font-weight: 600; }
.motiv-personal-wishes > summary span { font-size: .8rem; font-weight: 400; opacity: .75; margin-left: .5rem; }
.motiv-personal-wishes[open] > summary { margin-bottom: 1.2rem; }
.motiv-idea-intro textarea { min-height: 130px; }
#studioBrief .motiv-fact-question { border-left: 3px solid #254e3c; padding-left: 22px; padding-bottom: 6px; }

/* Geführter Bildschritt: Vorschau und Entscheidung, Verlauf bei Bedarf. */
#studioEditor .studio-editor-workspace { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; padding: 32px; }
#studioEditor .studio-editor-fields { padding: 0; background: transparent; box-shadow: none; border: 0; display: grid; gap: 20px; }
#studioEditor .studio-editor-preview { padding: 0; background: transparent; }
.studio-image-placeholder { min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px; border: 1px solid #dce6df; border-radius: 20px; background: radial-gradient(ellipse at top right, #e3eddf, transparent 65%), #f5f7f2; color: #173b2c; }
.studio-image-placeholder > span { font-size: 2.4rem; margin-bottom: 24px; opacity: .6; }
.studio-image-placeholder > strong { max-width: 330px; font-family: Georgia, serif; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25; font-weight: 400; }
.studio-image-placeholder p { font-size: .9rem; line-height: 1.7; color: #53655a; margin: 20px 0; }
.studio-image-placeholder small { font-size: .75rem; color: #66796d; }
.studio-image-result { border: 1px solid #dce6df; border-radius: 20px; overflow: hidden; background: #f5f7f2; }
.studio-image-result img { display: block; width: 100%; height: auto; }
.studio-motif-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #466957; margin-bottom: 14px; }
.studio-motif-copy h3 { font-family: Georgia, serif; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; font-weight: 400; color: #142e23; margin: 0 0 18px; }
.studio-motif-copy > p { font-size: .95rem; line-height: 1.7; white-space: pre-line; color: #526157; }
.studio-motif-copy dl { margin: 20px 0; }
.studio-motif-copy dt { font-size: .75rem; color: #69776e; margin-bottom: 6px; }
.studio-motif-copy dd { margin: 0; font-size: .9rem; color: #254b38; }
.studio-image-idea { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e1e8e2; }
.studio-image-idea summary, .studio-edit-section summary, #studioVersionPanel summary { cursor: pointer; font-size: .9rem; color: #254b38; font-weight: 600; }
.studio-image-idea p { font-size: .85rem; line-height: 1.7; color: #58685e; }
.studio-edit-section { padding: 20px; border: 1px solid #dce6df; border-radius: 16px; }
.studio-edit-section > p { font-size: .8rem; line-height: 1.6; color: #5d6c62; }
#studioEditor .studio-edit-section label { display: block; margin-top: 16px; padding: 0; border: 0; background: transparent; }
#studioEditor .studio-edit-section input, #studioEditor .studio-edit-section textarea { width: 100%; box-sizing: border-box; font-size: 16px; font-weight: 400; margin-top: 8px; padding: 12px; }
#studioEditor .studio-editor-actions { flex-direction: column; }
#studioEditor .studio-editor-actions button { min-height: 52px; font-size: .95rem; border-radius: 14px; }
#studioEditor .studio-generate-image, #studioEditor .studio-approve-edit { background: #254e3c; color: #fff; }
#studioEditor .studio-save-edit { background: #edf2ed; color: #254e3c; border: 1px solid #cbdace; }
#studioEditor .studio-editor-actions button:disabled { opacity: .45; cursor: not-allowed; }
#studioEditor .studio-cost-note { font-size: .8rem; line-height: 1.6; padding: 0; background: transparent; border: 0; }
#studioEditor #studioVersionPanel { display: block; padding: 18px; max-height: none; overflow: visible; box-shadow: none; }
#studioVersionPanel > summary { margin: 0; }
#studioVersionPanel[open] > summary { margin-bottom: 16px; }
@media (max-width: 800px) {
    #studioEditor .studio-editor-workspace { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 24px; }
    .studio-image-placeholder { min-height: 260px; padding: 28px; }
}
#studioEditor [hidden], #studioBrief [hidden] { display: none !important; }

/* A small, accessible explanation beside a consumed proposal entitlement. */
.campaign-launch-row > .campaign-launch-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.campaign-launch-action.is-consumed .campaign-launch-button { pointer-events: none; }
.proposal-limit-anchor { position: relative; display: flex; align-items: center; }
.proposal-limit-anchor:has(> .proposal-limit-info[hidden]) { display: none; }
#studioBrief .campaign-launch-row > div:first-child { flex: 1; min-width: 0; gap: 8px; }
#studioBrief #campaignLaunchDetail { font-size: .78rem; line-height: 1.6; }
#studioBrief .campaign-launch-row { gap: 28px; }
.proposal-limit-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #cedbd4;
    border-radius: 50%;
    background: #f5f8f6;
    color: var(--atelier-green);
    font: italic 600 16px Georgia, serif;
    cursor: pointer;
}
.proposal-limit-info:hover { background: #e8f0eb; }
.proposal-limit-info:focus-visible { outline: 2px solid var(--atelier-green); outline-offset: 3px; }
.proposal-limit-hint {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: calc(100% + 10px);
    width: 340px;
    max-width: calc(100vw - 48px);
    padding: 20px;
    border: 1px solid #dce5df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(26, 49, 37, .12);
    text-align: left;
    hyphens: none;
    overflow-wrap: break-word;
}
.campaign-launch-row .proposal-limit-hint strong { font-size: 16px; line-height: 1.4; }
.proposal-limit-hint::before {
    content: ""; position: absolute; bottom: -10px; right: 0; width: 44px; height: 10px;
}
.proposal-limit-hint::after {
    content: ""; position: absolute; bottom: -5px; right: 13px; width: 8px; height: 8px;
    background: #fff; border-right: 1px solid #dce5df; border-bottom: 1px solid #dce5df; transform: rotate(45deg);
}
.proposal-limit-hint p { margin: 12px 0; color: #58665e; font-size: 13px; line-height: 1.65; }
#studioBrief .proposal-limit-hint .publication-text-button { display: block; width: 100%; min-height: 44px; padding: 10px 0 0; font-size: 13px; line-height: 1.6; white-space: normal; text-align: left; text-underline-offset: 5px; }
#portalPremiumOffer:focus { outline: none; }
#portalPremiumOffer:focus-visible { outline: 2px solid var(--atelier-green); outline-offset: 4px; }
@media (max-width: 800px) {
    #studioBrief .campaign-launch-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
    #studioBrief .motiv-fact-question { padding-left: 16px; }
    .campaign-launch-row > .campaign-launch-action { width: 100%; }
    .campaign-launch-action .campaign-launch-button { flex: 1; min-width: 0; white-space: normal; }
    .proposal-limit-info { flex-basis: 44px; width: 44px; height: 44px; }
}

/* The selected proposal remains readable after adoption. */
#studioRoutes.has-proposal { background: #fff; border: 1px solid #dfe7e1; border-radius: 20px; box-shadow: none; overflow: visible; }
#studioRoutes.has-proposal .campaign-draft-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0; }
.proposal-review-card { min-width: 0; padding: 32px 36px; color: #203e2f; }
.proposal-review-card + .proposal-review-card { border-top: 1px solid #dfe7e1; }
.proposal-review-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.proposal-review-meta > p { margin: 0; color: #637569; font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
.proposal-review-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: #f2f5f1; color: #446351; font-size: .8rem; line-height: 1.4; }
.proposal-review-status.is-adopted { background: #edf5ee; color: #24583d; }
.proposal-review-status i { font-style: normal; }
.proposal-review-copy { max-width: 760px; }
.proposal-review-copy h3 { margin: 0 0 20px; font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.25 Georgia, serif; color: #173c2d; overflow-wrap: anywhere; }
.proposal-review-text { margin: 0; font-size: 1rem; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.proposal-review-cta { margin-top: 24px; padding-left: 18px; border-left: 2px solid #c6d8ca; }
.proposal-review-cta small { font-size: .8rem; color: #66796c; }
.proposal-review-cta p { margin: 6px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.proposal-review-idea { margin: 28px 0 0; border-top: 1px solid #e2e9e3; border-bottom: 1px solid #e2e9e3; }
.proposal-review-idea summary { min-height: 48px; padding: 15px 0; color: #365d45; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.proposal-review-idea summary:focus-visible { outline: 2px solid #287456; outline-offset: 3px; }
.proposal-review-idea p { margin: 0 0 20px; max-width: 760px; font-size: .9rem; line-height: 1.75; color: #586b5e; overflow-wrap: anywhere; }
.proposal-review-next { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; }
.proposal-review-next p { margin: 0; max-width: 440px; color: #647468; font-size: .85rem; line-height: 1.65; }
.proposal-review-primary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; flex-shrink: 0; min-height: 50px; padding: 14px 22px; border: 0; border-radius: 9px; background: #173e2d; color: #fff; font: inherit; font-size: .9rem; font-weight: 650; line-height: 1.4; cursor: pointer; }
.proposal-review-primary:hover { background: #28543e; }
.proposal-review-primary:focus-visible { outline: 2px solid #287456; outline-offset: 4px; }
.proposal-review-primary:disabled { opacity: .5; cursor: wait; }
@media (max-width: 800px) {
    .proposal-review-card { padding: 26px 24px; }
    .proposal-review-meta { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .proposal-review-next { align-items: stretch; flex-direction: column; gap: 18px; }
    .proposal-review-next p { max-width: none; }
    .proposal-review-primary { width: 100%; white-space: normal; }
}
@media (max-width: 360px) {
    .proposal-review-card { padding: 24px 20px; }
}

/* Keep the image area visible while explaining its prerequisite. */
#werbestudioMenu button.studio-access-locked,
#portalMobileMenu button.studio-access-locked { color: #758078; background: transparent; cursor: help; }
#werbestudioMenu button.studio-access-locked:hover,
#portalMobileMenu button.studio-access-locked:hover { background: #f5f7f4; transform: none; }
#werbestudioMenu .studio-access-locked strong { color: #758078; }
#portalMobileMenu .studio-access-note { display: block; margin-top: 5px; color: #78857a; font-size: .75rem; line-height: 1.5; font-weight: 400; }
#portalMobileMenu button.studio-access-locked { display: block; text-align: left; }

.proposal-review-next { flex-wrap: wrap; }
.proposal-review-next .proposal-review-error { flex-basis: 100%; max-width: none; color: #963e32; }

/* Bild und Freigabe: kompakte Vorbereitung, sichtbares Ergebnis. */
#studioEditor:not(.has-image) .studio-editor-workspace { grid-template-columns: minmax(0, 1fr); max-width: 850px; margin: auto; }
#studioEditor:not(.has-image) .studio-image-placeholder { min-height: 0; padding: 22px 28px; align-items: flex-start; text-align: left; }
#studioEditor:not(.has-image) .studio-image-placeholder > span { display: none; }
#studioEditor:not(.has-image) .studio-image-placeholder strong { max-width: none; font-size: 1.4rem; }
#studioEditor:not(.has-image) .studio-image-placeholder p { margin: 8px 0; }
#studioEditor .studio-cost-note { font-size: .875rem; }
#studioEditor .studio-motif-copy dt { font-size: .875rem; }
#studioEditor .studio-image-placeholder, #studioEditor .studio-motif-copy { hyphens: none; overflow-wrap: anywhere; }
.studio-result-actions, .studio-approved-card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.studio-result-actions button, .studio-result-actions a, .studio-approved-card-actions a, .studio-approved-empty button, .studio-image-complete button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; border: 1px solid #cad9ce; border-radius: 10px; background: #f1f6f2; color: #254e3c; font: inherit; font-size: .9rem; text-decoration: none; cursor: pointer; }
.studio-image-checklist, .studio-image-complete { padding: 20px; border-radius: 14px; background: #f0f5ee; color: #254e3c; }
.studio-image-checklist p, .studio-image-complete p { margin: 10px 0 0; line-height: 1.65; font-size: .95rem; }
.studio-image-complete button { margin-top: 14px; background: #fff; }
#studioApproval .campaign-governance-copy { width: 100%; max-width: none; }
#studioApproval .studio-approved-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 24px; }
#studioApproval .studio-approved-card .draft-image { width: 100%; height: auto; max-height: 420px; object-fit: contain; border-radius: 12px; margin-bottom: 20px; background: #f1f5ef; }
#studioApproval .studio-approved-empty { max-width: 650px; }
#studioApproval .studio-approved-empty p { font-size: .95rem; line-height: 1.7; }
.studio-image-dialog { width: min(1100px,calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 20px; border: 0; border-radius: 18px; background: #fff; }
.studio-image-dialog::backdrop { background: rgba(12,30,21,.75); }
.studio-image-dialog > button { display: block; margin: 0 0 16px auto; min-height: 44px; padding: 10px 16px; border: 1px solid #cad9ce; border-radius: 8px; background: #f1f6f2; color: #254e3c; font: inherit; cursor: pointer; }
.studio-image-dialog img { display: block; max-width: 100%; height: auto; margin: auto; }
@media(max-width:800px) {
    #studioEditor:not(.has-image) .studio-editor-workspace { padding: 20px; gap: 24px; }
    #studioEditor:not(.has-image) .studio-image-placeholder { padding: 20px; }
    .studio-result-actions { flex-direction: column; }
    .studio-result-actions > * { width: 100%; box-sizing: border-box; }
}

#studioApproval:has(#studioPublicationPreview[hidden]) { grid-template-columns: minmax(0,1fr); }
#studioEditor .studio-image-placeholder p, #studioEditor .studio-motif-copy p { hyphens: none; }
#studioEditor .studio-image-idea p { font-size: .95rem; }
#studioEditor .studio-editor-preview { border: 0; }

#studioEditor .studio-editor-fields { margin: 0; }
#studioEditor:not(.has-image) .studio-image-placeholder { padding: 18px 24px; }
#studioEditor:not(.has-image) .studio-image-placeholder small { display: none; }
#studioEditor:not(.has-image) .studio-editor-workspace { gap: 24px; }

#studioApproval .studio-approved-empty button, #studioApproval .studio-approved-card-actions button, #studioApproval .studio-approved-card-actions a { width: auto; max-width: 100%; min-height: 48px; white-space: normal; padding: 12px 18px; flex: 0 1 auto; }
#studioApproval .studio-approved-card-actions button { border: 1px solid #cad9ce; border-radius: 10px; background: #f1f6f2; color: #254e3c; font: inherit; font-size: .9rem; cursor: pointer; }

/* Der Bildbereich zeigt die Erstellung und das Ergebnis, nicht erneut die Vorschlagskarte. */
.studio-proposal-return { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 8px 0; background: transparent; border: 0; color: #365d45; font: inherit; font-size: .9rem; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.studio-proposal-return:focus-visible { outline: 2px solid #287456; outline-offset: 4px; }
#studioEditor:not(.has-image) .studio-motif-copy { max-width: 660px; }
#studioEditor .studio-image-idea p { white-space: pre-line; }

.proposal-review-next .proposal-review-error.is-progress { color: #365d45; }

.services-price-overview { grid-template-columns:repeat(4,minmax(0,1fr)); }
.investment-plans--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:1100px) { .investment-plans--three { grid-template-columns:minmax(0,1fr); } }
@media(max-width:800px) { .services-price-overview { grid-template-columns:repeat(2,minmax(0,1fr)); } .services-price-overview a:nth-child(3) { border-left:0; } .services-price-overview a:nth-child(n+3) { border-top:1px solid #e0e5dd; } }
@media(max-width:420px) { .services-price-overview { grid-template-columns:minmax(0,1fr); } .services-price-overview a + a { border-left:0; border-top:1px solid #e0e5dd; } }

.services-free-included { margin: 20px 0; padding-left: 20px; font-size: .85rem; line-height: 1.7; color: #365345; }
.services-free-included li + li { margin-top: 7px; }
.proposal-free-scope { margin: 20px 0 0; padding: 16px 18px; border-left: 2px solid #c6ab61; background: #f8f7f1; color: #4e6055; font-size: .82rem; line-height: 1.65; }

/* Kundenkonto: Anmeldung, Paket und bestätigte Buchungen. */
.premium-account-card .account-studio-hero { align-items: center; }
.account-details-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.account-details-section:first-of-type { border-top: 0; padding-top: 0; }
.account-section-heading h3 { margin: 5px 0 10px; color: var(--green-dark); font: 500 1.5rem/1.25 Georgia,serif; }
.account-section-heading > p:last-child:not(.eyebrow) { margin: 0; max-width: 690px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.account-details-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); gap: 40px; margin-top: 24px; }
.account-details-form { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.account-details-form label,.account-field-label { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.account-details-form input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid #ccd8d0; border-radius: 8px; background: #fff; color: var(--green-dark); font: inherit; font-size: 16px; }
.account-details-form input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.account-outline-button { min-height: 44px; padding: 10px 16px; border: 1px solid #ccd8d0; border-radius: 8px; background: #fff; color: var(--green-dark); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.account-outline-button:hover { background: #f1f6f2; border-color: var(--green); }
.account-outline-button:disabled { opacity: .55; cursor: wait; }
.account-login-details { padding-left: 32px; border-left: 1px solid var(--line); min-width: 0; }
#accountEmailAddress { display: block; margin-top: 10px; color: var(--green-dark); font-size: 1rem; overflow-wrap: anywhere; }
.account-email-state { display: block; margin-top: 6px; color: var(--green-dark); font-size: .8rem; }
.account-email-note,.account-password-row p,.account-receipt-note { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.premium-account-card a { color: var(--green-dark); text-underline-offset: 3px; }
.account-password-row { display: flex; align-items: flex-start; gap: 16px; padding-top: 18px; margin-top: 20px; border-top: 1px solid var(--line); }
.account-password-row strong { color: var(--green-dark); font-size: .9rem; }
.account-password-row p { margin: 7px 0 0; }
.account-password-row button { flex-shrink: 0; }
.account-text-button { min-height: 44px; padding: 10px 0; border: 0; background: transparent; color: var(--green-dark); font: inherit; font-size: .85rem; font-weight: 700; text-align: left; cursor: pointer; }
.account-form-status { margin: 4px 0 0; color: var(--green-dark); font-size: .85rem; line-height: 1.6; }
.account-form-status.is-error,.account-bookings-empty.is-error { color: #983b30; }
.account-remaining { padding: 22px 24px; background: #f4f8f5; border: 1px solid #dce7df; border-radius: 12px; }
.account-remaining h4 { margin: 0; color: var(--green-dark); font-size: 1rem; }
.account-remaining > p { margin: 9px 0 18px; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.account-remaining ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.account-remaining li { display: grid; gap: 7px; font-size: .85rem; }
.account-remaining li + li { padding-left: 20px; border-left: 1px solid #dce7df; }
.account-remaining li span { color: var(--muted); }
.account-remaining li strong { color: var(--green-dark); line-height: 1.4; }
.account-package-scope summary { min-height: 44px; color: var(--green-dark); font-weight: 700; font-size: .9rem; cursor: pointer; }
.account-bookings-list { list-style: none; margin: 18px 0; padding: 0; }
.account-bookings-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.account-bookings-list li > div { display: grid; gap: 7px; }
.account-bookings-list strong { color: var(--green-dark); font-size: .95rem; }
.account-bookings-list span { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.account-bookings-empty { padding: 20px; background: #fafbf9; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
@media(max-width:820px) {
    .account-details-grid { grid-template-columns: 1fr; gap: 24px; }
    .account-login-details { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .account-remaining ul { grid-template-columns: 1fr; gap: 14px; }
    .account-remaining li { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: baseline; gap: 14px; }
    .account-remaining li + li { padding: 14px 0 0; border-left: 0; border-top: 1px solid #dce7df; }
    .account-remaining li strong { text-align: right; }
}
@media(max-width:480px) {
    .account-password-row { flex-direction: column; }
    .account-remaining { padding: 20px 16px; }
    .premium-account-card .account-access-badge { white-space: normal; line-height: 1.5; }
}

.studio-image-confirmation { position: fixed; box-sizing: border-box; width: min(600px,calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 38px; border: 1px solid #dce5df; border-radius: 20px; background: #fff; color: var(--green-dark); box-shadow: 0 28px 90px rgba(16,39,29,.2); overflow-y: auto; }
.studio-image-confirmation::backdrop { background: rgba(15,32,24,.44); backdrop-filter: blur(4px); }
.studio-image-confirmation h2 { margin: 12px 28px 18px 0; font: 500 2.1rem/1.15 Georgia,serif; color: var(--green-dark); }
#studioImageConfirmationCopy { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--muted); }
.studio-image-confirmation-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f6f3; color: var(--green-dark); font: 400 1.6rem/1 Arial,sans-serif; cursor: pointer; }
.studio-image-confirmation-scope { margin-top: 24px; padding: 20px; border: 1px solid #dce7df; border-radius: 12px; background: #f4f8f5; }
.studio-image-confirmation-scope strong { font-size: .87rem; }
.studio-image-confirmation-scope p { margin: 9px 0 0; color: var(--muted); font-size: .87rem; line-height: 1.65; }
.studio-image-confirmation-note { margin: 18px 0 26px; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.studio-image-confirmation-actions { display: flex; justify-content: space-between; gap: 14px; }
.studio-image-confirmation-actions button { min-height: 48px; line-height: 1.4; }
.studio-image-confirmation button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
body.studio-image-confirmation-open { overflow: hidden; }
@media(max-width:540px) {
    .studio-image-confirmation { padding: 28px 22px; border-radius: 16px; max-height: calc(100dvh - 24px); }
    .studio-image-confirmation h2 { font-size: 1.8rem; }
    .studio-image-confirmation-actions { flex-direction: column-reverse; }
    .studio-image-confirmation-actions button { width: 100%; }
}
.studio-image-confirmation-logo { margin: 14px 0 0; color: var(--green-dark); font-size: .85rem; font-weight: 700; line-height: 1.5; }
/* Begleitete Logo-Ergänzung im Vorschlag. */
.proposal-logo-help { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:16px 42px; flex-basis:100%; width:100%; box-sizing:border-box; padding:32px; margin-top:18px; border:1px solid #dce5dd; border-radius:16px; background:#f7f9f5; align-items:start; }
.proposal-logo-help h4 { grid-column:1; margin:0; max-width:350px; color:var(--green-dark); font:500 1.6rem/1.25 Georgia,serif; }
.proposal-logo-help h4::before { content:"DEIN ORIGINAL-LOGO"; display:block; margin-bottom:12px; color:#798377; font:750 .67rem/1.4 Arial,sans-serif; letter-spacing:.12em; }
.proposal-review-next .proposal-logo-help > p { grid-column:1; margin:0; max-width:350px; font-size:.9rem; color:#637266; line-height:1.7; }
.proposal-logo-help form { grid-column:2; grid-row:1 / 5; display:grid; justify-items:stretch; gap:16px; min-width:0; margin:0; padding-left:32px; border-left:1px solid #dce5dd; }
.proposal-logo-help form > label:first-child { display:grid; gap:10px; color:var(--green-dark); font-size:.85rem; font-weight:750; }
.proposal-logo-help input[type=file] { display:block; box-sizing:border-box; width:100%; max-width:100%; min-width:0; height:auto; min-height:54px; margin:0; padding:7px; border:1px solid #ccd9ce; border-radius:9px; background:#fff; color:#425647; font:500 .85rem/1.5 Arial,sans-serif; cursor:pointer; }
.proposal-logo-help input[type=file]::file-selector-button { margin:0 12px 0 0; padding:11px 13px; border:0; border-radius:5px; background:#ecf3ed; color:var(--green-dark); font:700 .82rem/1.4 Arial,sans-serif; cursor:pointer; }
.proposal-logo-help input[type=file]:hover::file-selector-button { background:#dfece2; }
.proposal-logo-help input[type=file]:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.proposal-logo-help form > small { display:block; color:#69786d; font-size:.8rem; line-height:1.6; }
.proposal-logo-help form .proposal-logo-rights { display:flex; align-items:flex-start; gap:10px; min-width:0; width:100%; margin:0; padding:0; color:#526657; font-size:.82rem; font-weight:400; line-height:1.6; text-transform:none; letter-spacing:normal; }
.proposal-logo-help .proposal-logo-rights input[type=checkbox] { appearance:auto; display:block; flex:0 0 18px; box-sizing:border-box; width:18px; min-width:18px; max-width:18px; height:18px; min-height:18px; max-height:18px; margin:2px 0 0; padding:0; border:0; border-radius:3px; accent-color:var(--green-dark); }
.proposal-logo-help form > button { justify-self:start; min-height:46px; padding:12px 19px; border:1px solid var(--green-dark); border-radius:7px; background:var(--green-dark); color:#fff; font-size:.85rem; font-weight:750; cursor:pointer; }
.proposal-logo-help form > button:hover { background:#174936; }
.proposal-logo-help form > button:disabled { opacity:.6; cursor:default; }
.proposal-review-next .proposal-logo-help form > p { max-width:none; margin:0; font-size:.85rem; line-height:1.6; }
.proposal-logo-help > a { grid-column:1; display:inline-block; justify-self:start; align-self:end; padding:10px 0; color:var(--green-dark); font-size:.82rem; line-height:1.5; text-decoration-thickness:1px; text-underline-offset:4px; }
@media(max-width:760px) {
    .proposal-logo-help { grid-template-columns:minmax(0,1fr); gap:18px; padding:24px; }
    .proposal-logo-help form { grid-column:1; grid-row:auto; padding:22px 0 0; border-left:0; border-top:1px solid #dce5dd; }
    .proposal-logo-help > a { grid-column:1; }
    .proposal-logo-help h4,.proposal-review-next .proposal-logo-help > p { max-width:none; }
}
@media(max-width:420px) {
    .proposal-logo-help { padding:20px 18px; }
    .proposal-logo-help h4 { font-size:1.4rem; }
    .proposal-logo-help input[type=file] { font-size:.8rem; }
    .proposal-logo-help input[type=file]::file-selector-button { padding:10px; margin-right:7px; }
    .proposal-logo-help form > button { width:100%; }
}

/* Echte Warteanzeige während der laufenden Bildanfrage. */
.proposal-review-primary.is-generating:disabled { opacity:1; gap:14px; background:#e5eee6; color:#345440; cursor:wait; }
.studio-image-loading-dots { display:inline-flex; align-items:center; justify-content:center; gap:4px; width:28px; height:18px; flex-shrink:0; }
.studio-image-loading-dots i { display:block; width:5px; height:5px; border-radius:50%; background:currentColor; opacity:.4; animation:studioImageDot 1.35s ease-in-out infinite; }
.studio-image-loading-dots i:nth-child(2) { animation-delay:.16s; }
.studio-image-loading-dots i:nth-child(3) { animation-delay:.32s; }
@keyframes studioImageDot { 0%,65%,100% { opacity:.35; transform:translateY(0); } 30% { opacity:1; transform:translateY(-3px); } }
.proposal-review-next .proposal-review-error.is-progress { box-sizing:border-box; padding:16px 20px; border:1px solid #dce7df; border-radius:10px; background:#f4f8f5; color:#365d45; font-size:.87rem; line-height:1.6; }
@media(prefers-reduced-motion:reduce) { .studio-image-loading-dots i { animation:none; opacity:.75; } }
