.sbh-wrap.sbe-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 12px 34px;
    font: inherit;
    color: #22324a;
    box-sizing: border-box;
}

.sbh-wrap.sbe-wrap * {
    box-sizing: border-box;
}

.sbh-wrap.sbe-wrap a,
.sbh-wrap.sbe-wrap button,
.sbh-wrap.sbe-wrap textarea,
.sbh-wrap.sbe-wrap input {
    font: inherit;
}

.sbh-hero.sbe-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1d6fd6 0%, #4e9af4 52%, #ff5fa2 100%);
    border-radius: 28px;
    padding: 30px 24px;
    box-shadow: 0 16px 42px rgba(29, 111, 214, 0.22);
    color: #ffffff;
}

.sbh-hero.sbe-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -60px;
    top: -80px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.sbh-hero.sbe-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 1.02;
    font-weight: 900;
    color: #ffffff;
}

.sbh-hero.sbe-hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 14px 0 0;
    font-size: clamp(1rem, 3.4vw, 1.28rem);
    line-height: 1.45;
    color: #ffffff;
}

.sbh-intro-card.sbe-intro-card {
    margin: 18px 0;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #cfe7ff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20, 51, 90, 0.08);
    font-weight: 650;
    color: #22324a;
}

.sbe-call-card {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 260px);
    gap: 16px;
    align-items: center;
    margin: 18px 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #cfe7ff;
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(20, 51, 90, 0.08);
}

.sbe-call-card h2 {
    margin: 0 0 6px;
    color: #14335a;
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 900;
}

.sbe-call-card p {
    margin: 0;
    color: #52647d;
    line-height: 1.5;
}

.sbh-open-button.sbe-call-button,
.sbh-open-button.sbe-save-button {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d6fd6, #ff5fa2);
    box-shadow: 0 12px 26px rgba(29, 111, 214, 0.2);
    color: #ffffff;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.sbh-open-button.sbe-call-button {
    min-height: 64px;
    font-size: 1.25rem;
}

.sbh-open-button.sbe-call-button:hover,
.sbh-open-button.sbe-call-button:focus,
.sbh-open-button.sbe-save-button:hover,
.sbh-open-button.sbe-save-button:focus {
    color: #ffffff;
    filter: brightness(1.04);
    text-decoration: none;
}

.sbe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.sbh-tool-card.sbe-tool-card {
    display: flex;
    min-height: 238px;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid #cfe7ff;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(20, 51, 90, 0.08);
    color: #22324a;
}

.sbh-tool-card.sbe-tool-card h2 {
    margin: 0;
    color: #14335a;
    font-size: 1.25rem;
    line-height: 1.18;
    font-weight: 900;
}

.sbh-tool-card.sbe-tool-card p {
    margin: 0;
    color: #52647d;
    line-height: 1.5;
}

.sbe-icon-tile {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfe7ff;
    border-radius: 18px;
    background: #eef7ff;
    font-size: 1.55rem;
}

.sbe-wide-card {
    margin: 18px 0;
    min-height: auto !important;
}

.sbe-simple-list {
    margin: 0;
    padding-left: 22px;
    color: #52647d;
    line-height: 1.55;
}

.sbe-simple-list li + li {
    margin-top: 6px;
}

.sbe-phrase-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.sbe-phrase-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #cfe7ff;
    border-radius: 18px;
    background: #eef7ff;
}

.sbe-phrase-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.sbe-phrase-text strong {
    color: #14335a;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 900;
}

.sbe-phrase-text span {
    color: #52647d;
    line-height: 1.35;
}

.sbe-copy-button {
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #ffd0e4;
    border-radius: 14px;
    background: #fff1f7;
    color: #b61c63;
    font-weight: 900;
    cursor: pointer;
}

.sbe-copy-button:hover,
.sbe-copy-button:focus,
.sbe-copy-button.sbe-copied {
    border-color: #ff5fa2;
    background: #ffffff;
    color: #b61c63;
}

.sbe-notes-grid {
    align-items: stretch;
}

.sbe-placeholder-box {
    margin-top: auto;
    padding: 14px;
    border: 1px dashed #cfe7ff;
    border-radius: 18px;
    background: #eef7ff;
    color: #52647d;
    font-weight: 650;
}

.sbe-notes-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.sbe-notes-form textarea {
    width: 100%;
    min-height: 160px;
    resize: vertical;
    padding: 12px;
    border: 1px solid #cfe7ff;
    border-radius: 16px;
    color: #22324a;
    line-height: 1.45;
}

.sbe-alert {
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 650;
    line-height: 1.4;
}

.sbe-alert-success {
    border: 1px solid #cfe7ff;
    background: #eef7ff;
    color: #14335a;
}

.sbe-alert-error {
    border: 1px solid #ffd0e4;
    background: #fff1f7;
    color: #b61c63;
}

.sbe-screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.sbe-admin-wrap {
    max-width: 1120px;
    margin: 20px 20px 20px 0;
    color: #22324a;
}

.sbe-admin-hero {
    margin: 0 0 18px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1d6fd6 0%, #4e9af4 52%, #ff5fa2 100%);
    box-shadow: 0 14px 34px rgba(29, 111, 214, 0.16);
    color: #ffffff;
}

.sbe-admin-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
}

.sbe-admin-hero p {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 1rem;
}

.sbe-admin-card {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid #cfe7ff;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(20, 51, 90, 0.08);
}

.sbe-admin-card h2 {
    margin: 0 0 10px;
    color: #14335a;
    font-weight: 900;
}

.sbe-admin-card p {
    margin-top: 0;
}

@media (max-width: 720px) {
    .sbh-wrap.sbe-wrap {
        padding-right: 10px;
        padding-left: 10px;
    }

    .sbh-hero.sbe-hero {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .sbe-call-card,
    .sbe-grid {
        grid-template-columns: 1fr;
    }

    .sbh-tool-card.sbe-tool-card {
        min-height: auto;
    }

    .sbe-phrase-row {
        grid-template-columns: 1fr;
    }

    .sbe-copy-button {
        width: 100%;
    }
}
