html,
body {
    margin: 0;
    padding: 0;
}

body {
    color: #fff4d8;
    background: radial-gradient(circle at 24% 18%, rgba(255, 134, 19, 0.16), transparent 26rem), radial-gradient(circle at 88% 28%, rgba(255, 159, 38, 0.12), transparent 24rem), linear-gradient(180deg, #211510 0%, #1b0f0b 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: #ff9f26;
}

    a:hover {
        color: #ffb44d;
    }

.is-hidden {
    display: none !important;
}

.sb-tool-page {
    min-height: calc(100vh - 76px);
    padding: 1.35rem 0 3rem;
}

.sb-tool-shell {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sb-tool-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.sb-tool-left {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.sb-tool-eyebrow {
    margin-bottom: 0.75rem;
    color: #ff9f26;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sb-tool-title {
    margin: 0;
    color: #fff4d8;
    font-size: clamp(1.9rem, 2.7vw, 2.85rem);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-shadow: 3px 3px 0 #000;
}

.sb-tool-lead {
    margin: 0.85rem 0 1rem;
    color: #fff0d2;
    font-size: 0.98rem;
    line-height: 1.48;
}

.sb-mini-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

    .sb-mini-steps span {
        color: #fff3dc;
        font-size: 0.9rem;
    }
.sb-usage-guidelines {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    color: #fff3dc;
    font-size: 0.9rem;
    font-weight: 800;
}
.sb-status-log {
    margin-top: 1rem;
    padding: 0.9rem;
    color: #1f130d;
    background: #fff8ec;
    border: 1px solid rgba(255, 134, 19, 0.28);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
}

.sb-status-log-top {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 900;
}

.sb-status-dot {
    width: 0.7rem;
    height: 0.7rem;
    background: #6c757d;
    border-radius: 999px;
}

    .sb-status-dot.is-active {
        background: #ff8613;
        box-shadow: 0 0 0 0.22rem rgba(255, 134, 19, 0.2);
    }

.sb-status-log-message {
    margin-top: 0.55rem;
    color: #735f4b;
    font-size: 0.92rem;
    line-height: 1.35;
}

.sb-progress-bar {
    width: 100%;
    height: 9px;
    margin-top: 0.7rem;
    overflow: hidden;
    background: #eadfce;
    border-radius: 999px;
}

    .sb-progress-bar span {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, #ff8613 0%, #ffb44d 100%);
        transition: width 1.1s ease;
    }

        .sb-progress-bar span.is-animated {
            background: linear-gradient(90deg, #ff8613 0%, #ffb44d 45%, #ffe0a3 55%, #ff8613 100%);
            background-size: 220% 100%;
            animation: sb-progress-shimmer 1.8s linear infinite;
        }

.sb-working-indicator {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.55rem;
}

    .sb-working-indicator span {
        width: 0.42rem;
        height: 0.42rem;
        background: #ff8613;
        border-radius: 999px;
        animation: sb-working-dot 1s ease-in-out infinite;
    }

        .sb-working-indicator span:nth-child(2) {
            animation-delay: 0.15s;
        }

        .sb-working-indicator span:nth-child(3) {
            animation-delay: 0.3s;
        }

.sb-live-note {
    margin-top: 0.45rem;
    color: #735f4b;
    font-size: 0.82rem;
    font-style: italic;
}

.sb-tool-main {
    min-width: 0;
}

.sb-tool-form-card,
.sb-results-card,
.sb-recent-card {
    color: #1f130d;
    background: #fff8ec;
    border: 1px solid rgba(255, 134, 19, 0.28);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.22);
    padding: 1.25rem;
}

.sb-recent-card {
    margin-top: 1rem;
    padding: 0.95rem;
}

.sb-card-header,
.sb-section-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: start;
    justify-content: space-between;
}

.sb-card-header-compact {
    margin-bottom: 0.25rem;
}

.sb-card-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 900;
    color: #1f130d;
}

.sb-recent-card .sb-card-title {
    font-size: 1.1rem;
}

.sb-card-subtitle {
    margin: 0.2rem 0 0;
    color: #735f4b;
    font-size: 0.95rem;
}

.sb-recent-card .sb-card-subtitle {
    font-size: 0.86rem;
}

.sb-pill,
.sb-model-pill,
.sb-status-badge {
    display: inline-block;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.sb-pill,
.sb-model-pill {
    color: #fff4d8;
    background: #120a08;
}

.sb-status-badge.bg-secondary {
    color: #fff;
    background: #6c757d;
}

.sb-status-badge.bg-info {
    color: #120a08;
    background: #9eeaf9;
}

.sb-status-badge.bg-success {
    color: #fff;
    background: #198754;
}

.sb-status-badge.bg-danger {
    color: #fff;
    background: #dc3545;
}

.sb-status-badge.bg-warning {
    color: #120a08;
    background: #ffc107;
}

.sb-alert {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
}

.sb-alert-success {
    color: #0f5132;
    background: #d1e7dd;
}

.sb-alert-danger {
    color: #842029;
    background: #f8d7da;
}

.sb-validation {
    color: #b42318;
    font-size: 0.9rem;
}

.sb-tool-form {
    margin-top: 0.9rem;
}

.sb-field {
    min-width: 0;
    margin-top: 0.9rem;
}

.sb-field-upload {
    margin-top: 0.75rem;
}

.sb-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.sb-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #1f130d;
    font-weight: 800;
}

.sb-upload-box {
    padding: 0.65rem;
    background: #fffdf7;
    border: 2px dashed rgba(255, 134, 19, 0.55);
    border-radius: 1.1rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .sb-upload-box.is-dragover {
        background: #fff3dc;
        border-color: #ff8613;
    }

.sb-upload-top {
    display: flex;
    gap: 0.75rem;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.sb-upload-title {
    font-size: 0.98rem;
    font-weight: 900;
    color: #1f130d;
    line-height: 1.2;
}

.sb-upload-subtitle {
    margin-top: 0.12rem;
    color: #735f4b;
    font-size: 0.84rem;
}

.sb-paste-jump {
    flex: 0 0 auto;
    padding: 0.35rem 0.55rem;
    color: #120a08;
    background: #fff0d2;
    border: 1px solid rgba(31, 19, 13, 0.14);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.sb-upload-choice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 0.75rem;
    align-items: start;
}

.sb-file-panel,
.sb-paste-panel {
    min-width: 0;
}

.sb-file-panel {
    padding: 0.65rem;
    background: #fff8ec;
    border: 1px solid rgba(31, 19, 13, 0.12);
    border-radius: 1rem;
}

.sb-choice-title {
    display: block;
    margin-bottom: 0.35rem;
    color: #1f130d;
    font-size: 0.9rem;
    font-weight: 900;
}

.sb-file-input,
.sb-input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.68rem 0.85rem;
    color: #1f130d;
    background: #fff;
    border: 1px solid rgba(31, 19, 13, 0.22);
    border-radius: 0.85rem;
    font-size: 1rem;
}

.sb-file-input {
    cursor: pointer;
}

    .sb-input:focus,
    .sb-file-input:focus,
    .sb-paste-target:focus {
        border-color: #ff8613;
        outline: 0;
        box-shadow: 0 0 0 0.22rem rgba(255, 134, 19, 0.22);
    }

.sb-paste-target {
    display: block;
    width: 100%;
    min-height: 118px;
    padding: 0.65rem;
    color: #1f130d;
    background: linear-gradient(180deg, #fff8ec 0%, #f4eadb 100%);
    border: 2px dashed rgba(31, 19, 13, 0.24);
    border-radius: 0.55rem;
    resize: none;
    font: inherit;
    font-size: 0.86rem;
    line-height: 1.25;
}

    .sb-paste-target::placeholder {
        color: #735f4b;
        opacity: 1;
    }

.sb-upload-status {
    min-height: 1.1rem;
    margin-top: 0.5rem;
    color: #198754;
    font-size: 0.86rem;
    font-weight: 800;
}

.sb-textarea {
    min-height: 95px;
    resize: vertical;
}

.sb-form-actions,
.sb-concept-action {
    margin-top: 1rem;
}

.sb-concept-action {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(31, 19, 13, 0.12);
}

.sb-submit-button,
.sb-secondary-button,
.sb-table-link,
.sb-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.sb-submit-button {
    width: 100%;
    min-height: 54px;
    padding: 0.85rem 1.2rem;
    color: #120a08;
    background: #ff8613;
    border: 0;
    border-radius: 1rem;
    font-size: 1.05rem;
    font-weight: 900;
}

    .sb-submit-button:hover {
        background: #ff9f26;
    }

    .sb-submit-button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.sb-submit-note {
    min-height: 1.1rem;
    margin-top: 0.6rem;
    color: #735f4b;
    font-size: 0.9rem;
    text-align: center;
}

.sb-results-actions,
.sb-concept-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.sb-concept-toolbar {
    justify-content: flex-start;
    margin-bottom: 0.8rem;
}

.sb-secondary-button,
.sb-table-link {
    padding: 0.45rem 0.75rem;
    color: #120a08;
    background: transparent;
    border: 1px solid #120a08;
    border-radius: 0.75rem;
    font-size: 0.88rem;
    font-weight: 800;
}

.sb-icon-button {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    color: #120a08;
    background: transparent;
    border: 1px solid #120a08;
    border-radius: 0.9rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

    .sb-secondary-button:hover,
    .sb-table-link:hover,
    .sb-icon-button:hover {
        color: #120a08;
        background: #f2e8d8;
    }

.sb-icon-button-danger {
    color: #842029;
    border-color: #842029;
}

    .sb-icon-button-danger:hover {
        color: #842029;
        background: #f8d7da;
    }

.sb-toolbar-icon {
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sb-inline-form {
    display: inline-flex;
    margin: 0;
}

.sb-go-crazy-wrap {
    margin-top: 0.85rem;
    padding: 0.85rem;
    background: #fffdf7;
    border: 1px solid rgba(31, 19, 13, 0.12);
    border-radius: 0.9rem;
}

.sb-check-option {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    color: #1f130d;
    font-weight: 900;
    cursor: pointer;
}

    .sb-check-option input {
        width: 1.1rem;
        height: 1.1rem;
        accent-color: #ff8613;
    }

.sb-help-text {
    margin-top: 0.35rem;
    color: #735f4b;
    font-size: 0.88rem;
    line-height: 1.35;
}

.sb-results-empty {
    padding: 1rem 0 0.2rem;
    color: #735f4b;
}

.sb-results-content {
    margin-top: 1.1rem;
}

.sb-results-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}

.sb-result-side,
.sb-result-main {
    min-width: 0;
}

.sb-image-card,
.sb-meta-card,
.sb-review-card,
.sb-concept-card {
    padding: 1rem;
    background: #fffdf7;
    border: 1px solid rgba(31, 19, 13, 0.12);
    border-radius: 1rem;
}

.sb-meta-card,
.sb-review-card {
    margin-top: 1rem;
}

.sb-section-title {
    margin-bottom: 0.75rem;
    color: #1f130d;
    font-size: 1.05rem;
    font-weight: 900;
}

.sb-image-frame {
    display: flex;
    width: 100%;
    height: 420px;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: #120a08;
    border-radius: 1rem;
    overflow: hidden;
}

.sb-image-button {
    border: 0;
    cursor: zoom-in;
}

.sb-image-frame-wide {
    height: 560px;
}

.sb-result-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.65rem;
}

.sb-watermark-wrap {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
}

.sb-cover-watermark {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.25rem 0.5rem;
    color: rgba(255, 244, 216, 0.82);
    background: rgba(18, 10, 8, 0.58);
    border: 1px solid rgba(255, 244, 216, 0.24);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
}

.sb-meta-list {
    display: grid;
    grid-template-columns: minmax(82px, 34%) 1fr;
    gap: 0.5rem 0.8rem;
    margin: 0;
}

    .sb-meta-list dt {
        font-weight: 900;
    }

    .sb-meta-list dd {
        margin: 0;
        overflow-wrap: anywhere;
    }

.sb-review-box {
    margin-top: 1rem;
    padding: 1rem;
    color: #1f130d;
    background: #fff;
    border: 1px solid rgba(31, 19, 13, 0.12);
    border-radius: 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    min-height: 180px;
}

    .sb-review-box h1,
    .sb-review-box h2,
    .sb-review-box h3 {
        margin: 1rem 0 0.45rem;
        color: #1f130d;
        line-height: 1.25;
    }

        .sb-review-box h1:first-child,
        .sb-review-box h2:first-child,
        .sb-review-box h3:first-child {
            margin-top: 0;
        }

    .sb-review-box h1 {
        font-size: 1.35rem;
    }

    .sb-review-box h2 {
        font-size: 1.22rem;
    }

    .sb-review-box h3 {
        font-size: 1.08rem;
    }

    .sb-review-box p {
        margin: 0.7rem 0;
    }

    .sb-review-box ul,
    .sb-review-box ol {
        margin: 0.7rem 0 0.7rem 1.35rem;
        padding: 0;
    }

    .sb-review-box li {
        margin: 0.35rem 0;
    }

    .sb-review-box strong {
        font-weight: 900;
    }

.sb-review-highlight {
    display: inline;
    padding: 0.08rem 0.2rem;
    color: #1f130d;
    background: #fff0b8;
    border-radius: 0.25rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.sb-concept-placeholder,
.sb-concept-working {
    padding: 1rem;
    color: #735f4b;
    background: #fff;
    border: 1px dashed rgba(31, 19, 13, 0.18);
    border-radius: 1rem;
}

.sb-concept-working {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1rem;
}

    .sb-concept-working strong {
        display: block;
        color: #1f130d;
    }

    .sb-concept-working span {
        display: block;
        margin-top: 0.15rem;
    }

.sb-working-ring {
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid #f4d3aa;
    border-top-color: #ff8613;
    border-radius: 999px;
    animation: sb-spin 0.8s linear infinite;
    flex: 0 0 auto;
}

.sb-recent-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.sb-recent-item {
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
    background: #fffdf7;
    border: 1px solid rgba(31, 19, 13, 0.12);
    border-radius: 1rem;
}

.sb-recent-main {
    min-width: 0;
}

.sb-recent-title {
    color: #1f130d;
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.sb-recent-time {
    margin-top: 0.2rem;
    color: #735f4b;
    font-size: 0.84rem;
}

.sb-recent-type {
    margin-top: 0.2rem;
    color: #735f4b;
    font-size: 0.84rem;
}

.sb-recent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    justify-content: space-between;
}

.sb-lightbox,
.sb-pro-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.sb-lightbox-backdrop,
.sb-pro-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 10, 8, 0.82);
}

.sb-lightbox-panel,
.sb-pro-panel {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 860px);
    max-height: 92vh;
    padding: 1rem;
    color: #1f130d;
    background: #fff8ec;
    border-radius: 1.25rem;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
}

.sb-lightbox-panel {
    display: grid;
    gap: 0.75rem;
}

.sb-lightbox-close {
    position: absolute;
    top: 0.45rem;
    right: 0.6rem;
    width: 2rem;
    height: 2rem;
    color: #120a08;
    background: #ff8613;
    border: 0;
    border-radius: 999px;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}

.sb-lightbox-title {
    padding-right: 2.4rem;
    color: #1f130d;
    font-size: 1rem;
    font-weight: 900;
}

.sb-lightbox-image {
    display: block;
    max-width: 84vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.8rem;
    background: #120a08;
}

.sb-pro-panel {
    width: min(92vw, 420px);
    padding: 1.25rem;
}

    .sb-pro-panel h2 {
        margin: 0 2.4rem 0.5rem 0;
        color: #1f130d;
        font-size: 1.35rem;
    }

    .sb-pro-panel p {
        margin: 0 0 1rem;
        color: #735f4b;
    }

@keyframes sb-working-dot {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-0.2rem);
    }
}

@keyframes sb-progress-shimmer {
    from {
        background-position: 0% 0;
    }

    to {
        background-position: -220% 0;
    }
}

@keyframes sb-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .sb-tool-layout,
    .sb-results-grid {
        grid-template-columns: 1fr;
    }

    .sb-tool-left {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .sb-tool-page {
        padding-top: 1rem;
    }

    .sb-tool-shell {
        padding: 0 1rem;
    }

    .sb-tool-form-card,
    .sb-results-card,
    .sb-recent-card {
        padding: 1rem;
    }

    .sb-field-grid,
    .sb-upload-choice-layout {
        grid-template-columns: 1fr;
    }

    .sb-upload-top {
        align-items: stretch;
        flex-direction: column;
    }

    .sb-paste-target {
        min-height: 108px;
    }

    .sb-image-frame {
        height: 360px;
    }

    .sb-image-frame-wide {
        height: 460px;
    }
}
.sb-concept-time-note {
    margin-top: 0.45rem;
    margin-bottom: 0.9rem;
}

.sb-inline-help-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
}

    .sb-inline-help-label input {
        width: 1rem;
        height: 1rem;
        accent-color: #ff8613;
    }

.sb-help-popover {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sb-help-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff8ec;
    background: #735f4b;
    border: 0;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    cursor: help;
}

.sb-help-bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    z-index: 10;
    width: min(260px, 70vw);
    padding: 0.65rem 0.75rem;
    color: #fff8ec;
    background: #1f130d;
    border-radius: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
    box-shadow: 0 0.75rem 1.6rem rgba(0, 0, 0, 0.22);
}

.sb-help-popover:hover .sb-help-bubble,
.sb-help-popover:focus-within .sb-help-bubble {
    opacity: 1;
}

.sb-gallery-consent-field {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(31, 19, 13, 0.1);
}

.sb-gallery-consent-label {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    color: #735f4b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

    .sb-gallery-consent-label input[type="checkbox"] {
        width: 0.9rem;
        height: 0.9rem;
        margin-top: 0.1rem;
        accent-color: #ff8613;
        flex: 0 0 auto;
    }

.sb-gallery-consent-field.is-disabled {
    opacity: 0.45;
}

    .sb-gallery-consent-field.is-disabled .sb-gallery-consent-label {
        cursor: not-allowed;
    }

    .sb-gallery-consent-field.is-disabled input {
        cursor: not-allowed;
    }

.sb-tool-page--pro {
    padding-top: 2rem;
}

.sb-pro-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.sb-pro-card {
    background: rgba(255, 247, 232, 0.94);
    color: #2a1a12;
    border: 1px solid rgba(55, 30, 16, 0.14);
    border-radius: 1.5rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    padding: 2rem;
}

.sb-pro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.sb-pro-header-copy {
    max-width: 680px;
}

.sb-pro-header-actions {
    flex-shrink: 0;
}

.sb-pro-title {
    margin: 0;
    color: #1f140f;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-shadow: none;
}

.sb-pro-lead {
    margin: 0.7rem 0 0;
    color: #7a5536;
    font-size: 1.02rem;
    line-height: 1.55;
}

.sb-pro-form {
    margin-top: 0.5rem;
}

.sb-pro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    align-items: start;
}

.sb-pro-input {
    min-height: 3.4rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
}

.sb-pro-form-actions {
    margin-top: 1.25rem;
}

.sb-pro-submit-note {
    color: #7a5536;
    font-size: 0.95rem;
    text-align: center;
}

.sb-tool-page--pro .sb-label {
    color: #24160f;
}

.sb-tool-page--pro .sb-validation {
    color: #a61f1f;
}

.sb-tool-page--pro .sb-alert-success {
    background: #eaf8ef;
    color: #175c2b;
    border: 1px solid #b6e0c3;
}

.sb-tool-page--pro .sb-alert-danger {
    background: #fff0f0;
    color: #8d1c1c;
    border: 1px solid #efb8b8;
}

@media (max-width: 900px) {
    .sb-pro-header {
        flex-direction: column;
        align-items: stretch;
    }

    .sb-pro-header-actions {
        align-self: flex-start;
    }
}

@media (max-width: 700px) {
    .sb-pro-card {
        padding: 1.35rem;
        border-radius: 1.1rem;
    }

    .sb-pro-grid {
        grid-template-columns: 1fr;
    }

    .sb-pro-input {
        min-height: 3.15rem;
    }
}