.sffc-crm-matching-engine {
    min-height: 100vh;
    background: #eef2f3;
    color: #0f1720;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    z-index: 1;
}

.sffc-crm-matching-shell {
    min-height: 100vh;
    display: block;
}

.sffc-crm-matching-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sffc-crm-matching-hub,
.sffc-crm-matching-route {
    padding: 20px 40px 28px;
}

.sffc-crm-matching-hub {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sffc-crm-matching-hub-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.sffc-crm-matching-eyebrow,
.sffc-crm-matching-kicker,
.sffc-crm-matching-meta-label,
.sffc-crm-matching-signal-title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #56646d;
}

.sffc-crm-matching-hub h1,
.sffc-crm-matching-panel-intro h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.sffc-crm-matching-subtitle {
    margin: 10px auto 0;
    max-width: 600px;
    font-size: 14px;
    line-height: 1.5;
    color: #51606a;
}

.sffc-crm-matching-hub-grid,
.sffc-crm-matching-option-grid {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.sffc-crm-matching-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.sffc-crm-matching-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.sffc-crm-matching-hub-card,
.sffc-crm-matching-option-card {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 100%;
    padding: 16px;
    border: 1px solid rgba(13, 53, 62, 0.1);
    border-radius: 28px;
    background: #ffffff;
    color: #12212b;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(13, 53, 62, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sffc-crm-matching-hub-card:hover,
.sffc-crm-matching-hub-card:focus-visible,
.sffc-crm-matching-option-card:hover,
.sffc-crm-matching-option-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 26px 54px rgba(13, 53, 62, 0.12);
    border-color: rgba(13, 53, 62, 0.22);
}

.sffc-crm-matching-hub-card:focus-visible,
.sffc-crm-matching-option-card:focus-visible {
    outline: 2px solid rgba(13, 53, 62, 0.28);
    outline-offset: 3px;
}

.sffc-crm-matching-hub-card.is-primary {
    position: relative;
    background: #ffffff;
    border: 2px solid #0d353e;
    box-shadow:
        0 26px 60px rgba(13, 53, 62, 0.14),
        0 0 0 3px rgba(13, 53, 62, 0.07);
}

.sffc-crm-matching-hub-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    box-shadow: inset 0 0 0 0 rgba(13, 53, 62, 0.18);
    transition: box-shadow 180ms ease;
    pointer-events: none;
}

.sffc-crm-matching-hub-card:hover::after,
.sffc-crm-matching-hub-card:focus-visible::after {
    box-shadow: inset 0 0 0 1px rgba(13, 53, 62, 0.18);
}

.sffc-crm-matching-hub-card.is-primary::after {
    box-shadow: inset 0 0 0 1px rgba(13, 53, 62, 0.16);
}

.sffc-crm-matching-hub-card.is-primary .sffc-crm-matching-hub-label {
    background: #0d353e;
    border-color: #0d353e;
    color: #ffffff;
}

.sffc-crm-matching-hub-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    background: #f7f9fa;
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4e6168;
}

.sffc-crm-matching-hub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.sffc-crm-matching-hub-card-copy {
    display: grid;
    gap: 10px;
}

.sffc-crm-matching-hub-check {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(13, 53, 62, 0.18);
    background: #ffffff;
}

.sffc-crm-matching-hub-check {
    position: relative;
    background: #0d353e;
    border-color: #0d353e;
}

.sffc-crm-matching-hub-check.is-idle {
    background: #ffffff;
    border-color: rgba(13, 53, 62, 0.18);
}

.sffc-crm-matching-hub-check::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sffc-crm-matching-hub-check.is-idle::after {
    border-color: rgba(13, 53, 62, 0.28);
}

.sffc-crm-matching-hub-card strong {
    font-size: clamp(21px, 1.5vw, 26px);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.sffc-crm-matching-option-card strong {
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.sffc-crm-matching-hub-card p,
.sffc-crm-matching-option-card p {
    margin: 0;
    color: #52616a;
    font-size: 13px;
    line-height: 1.45;
}

.sffc-crm-matching-hub-proof {
    width: 100%;
    min-height: 136px;
    padding: 12px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-radius: 22px;
    background: #f7f9fa;
    overflow: hidden;
}

.sffc-crm-matching-hub-proof.is-cv {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fa;
}

.sffc-crm-matching-hub-doc-stack {
    position: relative;
    width: min(100%, 265px);
    min-height: 112px;
}

.sffc-crm-matching-hub-doc-card,
.sffc-crm-matching-hub-script-card {
    display: grid;
    gap: 6px;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 30px rgba(13, 53, 62, 0.08);
}

.sffc-crm-matching-hub-doc-card {
    position: absolute;
    width: 100%;
}

.sffc-crm-matching-hub-doc-card.is-plan {
    top: 0;
    left: 0;
    transform: rotate(-3deg);
}

.sffc-crm-matching-hub-doc-card.is-cv-sheet {
    right: 0;
    bottom: 0;
    width: 92%;
    transform: rotate(2deg);
}

.sffc-crm-matching-hub-doc-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f1f5f6;
    color: #45616a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sffc-crm-matching-hub-doc-card strong,
.sffc-crm-matching-hub-script-card strong {
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.sffc-crm-matching-hub-proof-line {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(13, 53, 62, 0.16), rgba(13, 53, 62, 0.04));
}

.sffc-crm-matching-hub-proof-line.is-name {
    width: 42%;
    height: 14px;
    margin-top: 0;
}

.sffc-crm-matching-hub-proof-line.is-role {
    width: 58%;
}

.sffc-crm-matching-hub-proof-line.is-wide {
    width: 86%;
}

.sffc-crm-matching-hub-proof.is-apply {
    background: #f7f9fa;
}

.sffc-crm-matching-hub-folder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sffc-crm-matching-hub-folder {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 52px;
    padding: 14px 10px 10px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(13, 53, 62, 0.08);
    box-shadow: 0 10px 24px rgba(13, 53, 62, 0.06);
}

.sffc-crm-matching-hub-folder.is-accent {
    border-color: rgba(13, 53, 62, 0.2);
}

.sffc-crm-matching-hub-folder-tab {
    position: absolute;
    top: -1px;
    left: 14px;
    width: 30px;
    height: 10px;
    border-radius: 10px 10px 0 0;
    background: #dce8eb;
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-bottom: 0;
}

.sffc-crm-matching-hub-folder strong {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0;
}

.sffc-crm-matching-hub-folder p {
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.4;
}

.sffc-crm-matching-hub-proof.is-interview {
    background: #f7f9fa;
    display: flex;
    align-items: center;
}

.sffc-crm-matching-hub-script-card {
    width: 100%;
}

.sffc-crm-matching-hub-script-block {
    display: grid;
    gap: 4px;
}

.sffc-crm-matching-hub-script-tag {
    color: #4d646c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sffc-crm-matching-hub-value-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.sffc-crm-matching-hub-value-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 12px;
    background: #f1f5f6;
    color: #28414a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.sffc-crm-matching-hub-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: min(100%, 240px);
    padding: 0 20px;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    background: #0d353e;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.sffc-crm-matching-route-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.sffc-crm-matching-route-head > div {
    min-width: 0;
}

.sffc-crm-matching-route-head h2 {
    margin: 8px 0 0;
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.sffc-crm-matching-back {
    appearance: none;
    border: 1px solid rgba(15, 23, 32, 0.1);
    background: #faf8f3;
    color: #33434c;
    padding: 10px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sffc-crm-service-form {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #faf8f3;
}

.sffc-crm-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sffc-crm-service-field {
    display: block;
    margin-top: 14px;
}

.sffc-crm-service-field span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #24323b;
}

.sffc-crm-service-field input,
.sffc-crm-service-field textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 32, 0.12);
    background: #fffdf8;
    padding: 14px 16px;
    font: inherit;
    font-size: 15px;
    color: #12212b;
    box-shadow: none;
}

.sffc-crm-service-field input:focus,
.sffc-crm-service-field textarea:focus {
    outline: none;
    border-color: #0d353e;
}

.sffc-crm-service-actions {
    margin-top: 18px;
}

.sffc-crm-service-feedback {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 32, 0.12);
    background: #fffdf8;
    color: #38464f;
    font-size: 14px;
    line-height: 1.6;
}

.sffc-crm-service-feedback.is-error {
    border-color: rgba(146, 48, 28, 0.2);
    color: #7a3f2e;
}

.sffc-crm-service-feedback.is-success {
    border-color: rgba(13, 53, 62, 0.18);
    color: #1f4f59;
}

.sffc-crm-matching-header-meta {
    min-width: 220px;
    padding: 16px 18px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #faf8f3;
}

.sffc-crm-matching-header-meta strong {
    display: block;
    margin-top: 12px;
    font-size: 22px;
    line-height: 1.1;
}

.sffc-crm-matching-layout {
    display: block;
    min-height: 0;
    flex: 1 1 auto;
}

.sffc-crm-matching-intake,
.sffc-crm-matching-preview {
    padding: 20px 48px 40px;
}

.sffc-crm-matching-intake {
    max-width: 980px;
}

.sffc-crm-matching-preview {
    border-top: 1px solid rgba(15, 23, 32, 0.08);
}

.sffc-crm-matching-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.sffc-crm-matching-panel-head.is-intro {
    gap: 22px;
    margin-bottom: 18px;
}

.sffc-crm-matching-panel-intro {
    min-width: 0;
    flex: 1 1 auto;
}

.sffc-crm-matching-panel-aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(220px, 100%);
    flex: 0 0 220px;
}

.sffc-crm-matching-panel-step {
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #f0eee7;
}

.sffc-crm-matching-panel-head h2 {
    margin: 6px 0 0;
    font-size: 23px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.sffc-crm-matching-input-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.sffc-crm-matching-input-tabs button {
    appearance: none;
    border: 1px solid rgba(15, 23, 32, 0.1);
    background: #faf8f3;
    color: #415059;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.sffc-crm-matching-input-tabs button.is-active {
    background: #0d353e;
    border-color: #0d353e;
    color: #ffffff;
}

.sffc-crm-matching-field {
    display: block;
}

.sffc-crm-matching-field span {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #24323b;
}

.sffc-crm-matching-field textarea {
    width: 100%;
    min-height: 300px;
    resize: vertical;
    border: 1px solid rgba(15, 23, 32, 0.12);
    background: #fffdf8;
    border-radius: 0;
    padding: 20px 22px;
    font: inherit;
    font-size: 15px;
    line-height: 1.7;
    color: #12212b;
    box-shadow: none;
}

.sffc-crm-matching-field textarea:focus {
    outline: none;
    border-color: #0d353e;
}

.sffc-crm-matching-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

.sffc-crm-matching-primary,
.sffc-crm-matching-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
}

.sffc-crm-matching-primary {
    background: #0d353e;
    color: #ffffff;
}

.sffc-crm-matching-secondary {
    border: 1px solid rgba(15, 23, 32, 0.12);
    color: #1d2c35;
    background: #faf8f3;
}

.sffc-crm-matching-note,
.sffc-crm-matching-preview-card,
.sffc-crm-matching-signal-block,
.sffc-crm-matching-firms {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #faf8f3;
}

.sffc-crm-matching-feedback {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 32, 0.12);
    background: #fffdf8;
    color: #38464f;
    font-size: 14px;
    line-height: 1.6;
}

.sffc-crm-matching-note strong,
.sffc-crm-matching-preview-score strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.sffc-crm-matching-note p,
.sffc-crm-matching-preview-score span,
.sffc-crm-matching-reasons li {
    color: #55636d;
}

.sffc-crm-matching-note p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.7;
}

.sffc-crm-matching-reasons {
    margin: 18px 0 0;
    padding-left: 18px;
}

.sffc-crm-matching-reasons li + li {
    margin-top: 10px;
}

.sffc-crm-matching-signal-grid,
.sffc-crm-matching-firm-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.sffc-crm-matching-signal-grid span,
.sffc-crm-matching-firm-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    background: #fffdf8;
    border: 1px solid rgba(15, 23, 32, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: #304049;
}

.sffc-crm-matching-results {
    margin-top: 8px;
}

.sffc-crm-matching-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.sffc-crm-matching-results-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.sffc-crm-matching-results-subtitle {
    margin: 12px 0 0;
    max-width: 720px;
    color: #56646d;
    font-size: 15px;
    line-height: 1.7;
}

.sffc-crm-matching-bulk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #f0eee7;
}

.sffc-crm-matching-bulk-copy strong {
    display: block;
    margin-top: 8px;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.sffc-crm-matching-bulk-copy p {
    margin: 10px 0 0;
    max-width: 700px;
    color: #586770;
    font-size: 14px;
    line-height: 1.7;
}

.sffc-crm-matching-bulk-primary {
    appearance: none;
    border: 0;
    min-height: 48px;
    padding: 0 18px;
    background: #0d353e;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.sffc-crm-matching-workspace {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #f4f1ea;
}

.sffc-crm-matching-workspace-head {
    margin-bottom: 18px;
}

.sffc-crm-matching-workspace-list {
    display: grid;
    gap: 16px;
}

.sffc-crm-matching-workspace-card {
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #faf8f3;
    padding: 18px 20px;
}

.sffc-crm-matching-workspace-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sffc-crm-matching-workspace-top h3 {
    margin: 6px 0 0;
    font-size: 21px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.sffc-crm-matching-workspace-top p {
    margin: 8px 0 0;
    color: #5a6871;
    font-size: 14px;
    line-height: 1.6;
}

.sffc-crm-matching-workspace-step {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64727b;
}

.sffc-crm-matching-workspace-readiness {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    color: #23323b;
    white-space: nowrap;
}

.sffc-crm-matching-workspace-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.sffc-crm-matching-workspace-grid strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #24323b;
}

.sffc-crm-matching-workspace-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sffc-crm-matching-workspace-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #fffdf8;
    font-size: 12px;
    font-weight: 700;
    color: #304049;
}

.sffc-crm-matching-workspace-tags.is-missing span {
    color: #7a3f2e;
}

.sffc-crm-matching-workspace-focus {
    margin: 18px 0 0;
    color: #4f5e67;
    font-size: 14px;
    line-height: 1.7;
}

.sffc-crm-matching-workspace-actions {
    margin-top: 16px;
}

.sffc-crm-matching-reset {
    appearance: none;
    border: 1px solid rgba(15, 23, 32, 0.1);
    background: #faf8f3;
    color: #33434c;
    padding: 10px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sffc-crm-matching-results-list {
    display: grid;
    gap: 16px;
}

.sffc-crm-matching-result-card,
.sffc-crm-matching-empty {
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #faf8f3;
    padding: 20px 22px;
}

.sffc-crm-matching-result-top {
    display: grid;
    grid-template-columns: auto 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.sffc-crm-matching-result-card.is-selected {
    border-color: rgba(13, 53, 62, 0.24);
    box-shadow: inset 0 0 0 1px rgba(13, 53, 62, 0.12);
}

.sffc-crm-matching-result-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 10px;
    cursor: pointer;
}

.sffc-crm-matching-result-select input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sffc-crm-matching-result-select span {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(15, 23, 32, 0.16);
    background: #fffdf8;
    display: inline-block;
    position: relative;
}

.sffc-crm-matching-result-select input:checked + span {
    background: #0d353e;
    border-color: #0d353e;
}

.sffc-crm-matching-result-select input:checked + span::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sffc-crm-matching-result-brand {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #fffdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sffc-crm-matching-result-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sffc-crm-matching-result-initial {
    font-size: 18px;
    font-weight: 700;
    color: #203039;
}

.sffc-crm-matching-result-copy h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sffc-crm-matching-result-copy p {
    margin: 8px 0 0;
    color: #596770;
    font-size: 14px;
    line-height: 1.6;
}

.sffc-crm-matching-result-score {
    min-width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #0d353e;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.sffc-crm-matching-result-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.sffc-crm-matching-result-skills span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(15, 23, 32, 0.08);
    background: #fffdf8;
    font-size: 12px;
    font-weight: 700;
    color: #33434c;
}

.sffc-crm-matching-result-reasons {
    margin: 16px 0 0;
    padding-left: 18px;
    color: #5c6a73;
}

.sffc-crm-matching-result-reasons li + li {
    margin-top: 8px;
}

.sffc-crm-matching-result-actions {
    margin-top: 18px;
}

.sffc-crm-matching-result-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    background: #0d353e;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 820px) {
    .sffc-crm-matching-hub,
    .sffc-crm-matching-route,
    .sffc-crm-matching-intake,
    .sffc-crm-matching-preview {
        padding-left: 24px;
        padding-right: 24px;
    }

    .sffc-crm-matching-hub {
        min-height: auto;
        justify-content: flex-start;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .sffc-crm-matching-hub-copy {
        max-width: 100%;
    }

    .sffc-crm-matching-hub-grid,
    .sffc-crm-matching-option-grid,
    .sffc-crm-service-grid {
        grid-template-columns: 1fr;
    }

    .sffc-crm-matching-hub-card {
        padding: 18px 16px;
        border-radius: 24px;
    }

    .sffc-crm-matching-hub-card::after {
        border-radius: 24px;
    }

    .sffc-crm-matching-hub-proof {
        min-height: 132px;
    }

    .sffc-crm-matching-hub-card-top {
        gap: 10px;
    }

    .sffc-crm-matching-hub-card strong {
        font-size: 22px;
    }

    .sffc-crm-matching-hub-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .sffc-crm-matching-hub-doc-stack {
        width: min(100%, 220px);
        min-height: 108px;
        margin: 0 auto;
    }

    .sffc-crm-matching-hub-folder-grid {
        grid-template-columns: 1fr;
    }

    .sffc-crm-matching-hub-folder {
        min-height: 56px;
    }

    .sffc-crm-matching-hub-script-card {
        padding: 14px 12px;
    }

    .sffc-crm-matching-hub-value-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .sffc-crm-matching-hub-cta {
        width: 100%;
    }

    .sffc-crm-matching-hub h1,
    .sffc-crm-matching-panel-intro h1 {
        font-size: clamp(28px, 10vw, 42px);
    }

    .sffc-crm-matching-route-head {
        flex-direction: column;
    }

    .sffc-crm-matching-panel-head,
    .sffc-crm-matching-panel-head.is-intro {
        flex-direction: column;
    }

    .sffc-crm-matching-panel-aside {
        width: 100%;
        flex: 1 1 auto;
    }

    .sffc-crm-matching-results-head,
    .sffc-crm-matching-result-top {
        grid-template-columns: 1fr;
        display: grid;
    }

    .sffc-crm-matching-results-meta {
        align-items: flex-start;
    }

    .sffc-crm-matching-bulk-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .sffc-crm-matching-workspace-top,
    .sffc-crm-matching-workspace-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .sffc-crm-matching-field textarea {
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .sffc-crm-matching-hub,
    .sffc-crm-matching-route,
    .sffc-crm-matching-intake,
    .sffc-crm-matching-preview {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sffc-crm-matching-hub {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .sffc-crm-matching-hub-grid {
        margin-top: 16px;
        gap: 12px;
    }

    .sffc-crm-matching-hub h1 {
        font-size: clamp(26px, 9vw, 34px);
        line-height: 1.06;
    }

    .sffc-crm-matching-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .sffc-crm-matching-hub-card {
        padding: 16px 14px;
        gap: 8px;
        border-radius: 20px;
    }

    .sffc-crm-matching-hub-card::after {
        border-radius: 20px;
    }

    .sffc-crm-matching-hub-label {
        min-height: 24px;
        padding: 0 10px;
        font-size: 10px;
    }

    .sffc-crm-matching-hub-check {
        width: 24px;
        height: 24px;
    }

    .sffc-crm-matching-hub-check::after {
        left: 8px;
        top: 5px;
        width: 4px;
        height: 8px;
    }

    .sffc-crm-matching-hub-card strong {
        font-size: 20px;
    }

    .sffc-crm-matching-hub-proof {
        min-height: 124px;
        padding: 10px;
        border-radius: 18px;
    }

    .sffc-crm-matching-hub-doc-stack {
        width: min(100%, 210px);
        min-height: 102px;
    }

    .sffc-crm-matching-hub-doc-card,
    .sffc-crm-matching-hub-script-card {
        padding: 10px 10px;
        border-radius: 14px;
    }

    .sffc-crm-matching-hub-doc-card strong,
    .sffc-crm-matching-hub-script-card strong {
        font-size: 13px;
    }

    .sffc-crm-matching-hub-folder {
        padding: 14px 10px 10px;
        border-radius: 14px;
    }

    .sffc-crm-matching-hub-folder strong {
        font-size: 12px;
    }

    .sffc-crm-matching-hub-folder p,
    .sffc-crm-matching-hub-script-tag,
    .sffc-crm-matching-hub-value-list span {
        font-size: 11px;
    }

    .sffc-crm-matching-hub-cta {
        min-height: 42px;
        font-size: 12px;
    }
}
