:root {
    --appitude-bg: #0f1216;
    --appitude-paper: rgba(255, 255, 255, 0.94);
    --appitude-panel: #2d3138;
    --appitude-panel-accent: #ff6524;
    --appitude-panel-muted: rgba(221, 228, 236, 0.72);
    --appitude-text: #23272e;
    --appitude-muted: #727985;
    --appitude-line: rgba(45, 49, 56, 0.12);
    --appitude-highlight: #29b7f0;
    --appitude-accent-blue: #29b7f0;
    --appitude-accent-teal: #26c9c3;
    --appitude-accent-orange: #ff6524;
    --appitude-shadow: 0 28px 70px rgba(6, 10, 14, 0.18);
    --appitude-radius: 28px;
    --appitude-serif: "Poppins", "Segoe UI", "Helvetica Neue", sans-serif;
    --appitude-sans: "Poppins", "Segoe UI", "Helvetica Neue", sans-serif;
}

html,
body {
    min-height: 100%;
}

body.appitude-theme {
    margin: 0;
    color: var(--appitude-text);
    font-family: var(--appitude-sans);
    background:
        radial-gradient(circle at top left, rgba(41, 183, 240, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(38, 201, 195, 0.14), transparent 26%),
        radial-gradient(circle at bottom left, rgba(255, 101, 36, 0.16), transparent 24%),
        linear-gradient(135deg, #0c1014 0%, #12171d 48%, #171c24 100%);
}

.appitude-shell {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    min-height: 100vh;
}

.appitude-shell__aside {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(41, 183, 240, 0.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 101, 36, 0.18), transparent 28%),
        radial-gradient(circle at center right, rgba(38, 201, 195, 0.14), transparent 35%),
        linear-gradient(160deg, #050607 0%, #0c0f13 48%, #141920 100%);
    color: #f5f8fb;
}

.appitude-shell__aside::after {
    position: absolute;
    inset: auto -90px -110px auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(41, 183, 240, 0.14);
    content: "";
    filter: blur(10px);
}

.appitude-shell__aside::before {
    position: absolute;
    inset: 54% auto auto -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 101, 36, 0.12);
    content: "";
    filter: blur(14px);
}

.appitude-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    padding: 48px 36px;
}

.appitude-brand__eyebrow,
.appitude-workspace__kicker {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.appitude-brand__eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.appitude-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.appitude-brand__logo img {
    display: block;
    width: min(100%, 460px);
    height: auto;
}

.appitude-brand__title,
.appitude-workspace h2,
.appitude-survey__header h1,
.appitude-survey__section legend {
    margin: 0;
    font-family: var(--appitude-serif);
    line-height: 1;
}

.appitude-brand__title {
    font-size: clamp(3rem, 7vw, 4.8rem);
    letter-spacing: 0.04em;
}

.appitude-brand__subtitle {
    margin: -4px 0 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(245, 248, 251, 0.9);
}

.appitude-brand__lead,
.appitude-brand__card p,
.appitude-brand__scale li {
    margin: 0;
    color: var(--appitude-panel-muted);
    line-height: 1.7;
}

.appitude-brand__card,
.appitude-brand__scale {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    padding: 22px 24px;
}

.appitude-brand__card-label,
.appitude-brand__scale-title {
    margin: 0 0 10px;
    color: #f5f8fb;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.appitude-brand__card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    font-family: var(--appitude-serif);
    font-weight: 700;
}

.appitude-brand__scale ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.appitude-brand__scale li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.appitude-brand__scale span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--appitude-accent-blue) 0%, var(--appitude-accent-teal) 100%);
    color: #fff;
    font-weight: 700;
}

.appitude-shell__content {
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 248, 250, 0.96) 100%);
}

.appitude-flash {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(22, 50, 47, 0.12);
    background: rgba(255, 252, 247, 0.92);
    color: var(--appitude-text);
    box-shadow: var(--appitude-shadow);
}

.appitude-flash--danger,
.appitude-flash--error {
    border-color: rgba(214, 111, 61, 0.26);
    background: rgba(214, 111, 61, 0.12);
    color: #8c3d1d;
}

.appitude-toast-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    display: grid;
    gap: 12px;
    width: min(360px, calc(100vw - 28px));
    pointer-events: none;
}

.appitude-toast {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 18px 40px rgba(14, 20, 28, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    color: var(--appitude-panel);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
    pointer-events: auto;
}

.appitude-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.appitude-toast.is-hiding {
    opacity: 0;
    transform: translateY(8px);
}

.appitude-toast--success {
    border-color: rgba(38, 201, 195, 0.24);
}

.appitude-toast--warning,
.appitude-toast--danger {
    border-color: rgba(255, 101, 36, 0.26);
}

.appitude-toast__body {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.45;
}

.appitude-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: rgba(45, 49, 56, 0.06);
    color: var(--appitude-panel);
}

.appitude-workspace {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.appitude-progress {
    padding: 22px 26px;
    border-radius: 24px;
    background: var(--appitude-paper);
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: var(--appitude-shadow);
}

.appitude-progress__meta,
.appitude-progress__text {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 0;
    font-size: 0.92rem;
}

.appitude-progress__meta {
    margin-bottom: 14px;
    color: var(--appitude-muted);
    flex-wrap: wrap;
}

.appitude-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--appitude-panel);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.appitude-link-button i,
.appitude-result__title i,
.appitude-result__summary h3 i,
.appitude-feedback-card h3 i,
.appitude-match__intro h3 i,
.appitude-match-list__intro h3 i,
.appitude-debug-card__eyebrow i,
.appitude-report-block summary i {
    margin-right: 0.45rem;
}

.appitude-link-button:hover,
.appitude-link-button:focus {
    color: var(--appitude-accent-blue);
}

.appitude-progress__track {
    overflow: hidden;
    height: 14px;
    border-radius: 999px;
    background: rgba(41, 183, 240, 0.12);
}

.appitude-progress__fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--appitude-accent-blue) 0%, var(--appitude-accent-teal) 100%);
    transition: width 220ms ease;
}

.appitude-progress__text {
    margin-top: 12px;
    color: var(--appitude-text);
}

.appitude-progress--completed {
    padding-bottom: 18px;
}

.appitude-access {
    padding: 32px;
    border-radius: var(--appitude-radius);
    background: var(--appitude-paper);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--appitude-shadow);
}

.appitude-access__intro {
    max-width: 56ch;
    margin-bottom: 26px;
}

.appitude-access__eyebrow {
    margin: 0 0 10px;
    color: var(--appitude-highlight);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.appitude-access__title {
    margin: 0 0 12px;
    font-family: var(--appitude-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.appitude-access__text,
.appitude-access__hint {
    color: var(--appitude-muted);
    line-height: 1.7;
}

.appitude-access__hint {
    margin: 0 0 18px;
    font-size: 0.94rem;
}

.appitude-access__support {
    margin: 18px 0 0;
    color: var(--appitude-muted);
}

.appitude-access__support a {
    color: var(--appitude-panel);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.appitude-access__card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--appitude-line);
    background: rgba(255, 255, 255, 0.56);
}

.appitude-access__card h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.appitude-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.appitude-field label {
    font-size: 0.92rem;
    font-weight: 700;
}

.appitude-field input,
.appitude-field select {
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--appitude-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--appitude-text);
}

.appitude-field input:focus,
.appitude-field select:focus {
    outline: 2px solid rgba(41, 183, 240, 0.18);
    border-color: rgba(41, 183, 240, 0.42);
}

.appitude-field--inline {
    margin-bottom: 0;
}

.appitude-reset__content form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.appitude-reset__content label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
    font-weight: 700;
}

.appitude-reset__content input[type="email"],
.appitude-reset__content input[type="password"],
.appitude-reset__content input[type="text"] {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--appitude-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--appitude-text);
}

.appitude-reset__content button,
.appitude-reset__content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--appitude-accent-blue) 0%, var(--appitude-accent-teal) 100%);
    color: #f8fbff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 28px rgba(41, 183, 240, 0.18);
}

.appitude-reset__content p,
.appitude-reset__content .help-block,
.appitude-reset__content .text-muted {
    color: var(--appitude-muted);
}

.appitude-survey {
    padding: 32px;
    border-radius: var(--appitude-radius);
    background: var(--appitude-paper);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--appitude-shadow);
}

.appitude-survey__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.appitude-survey__page,
.appitude-result {
    padding: 28px;
    border: 1px solid var(--appitude-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.56);
}

.appitude-survey__page[hidden] {
    display: none !important;
}

.appitude-survey__question {
    padding: 22px 0;
    border-top: 1px solid var(--appitude-line);
    transition: background 160ms ease, box-shadow 160ms ease, padding 160ms ease;
}

.appitude-survey__question:first-of-type {
    border-top: 0;
}

.appitude-survey__question.is-invalid {
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 18px;
    background: rgba(214, 111, 61, 0.08);
    box-shadow: inset 0 0 0 1px rgba(214, 111, 61, 0.24);
}

.appitude-survey__question p {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.appitude-survey__question--meta p {
    font-weight: 700;
}

.appitude-survey__options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.appitude-survey__options--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appitude-survey__options label {
    cursor: pointer;
}

.appitude-survey__options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.appitude-survey__option {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 16px 14px;
    border: 1px solid var(--appitude-line);
    border-radius: 20px;
    background: #fff;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.appitude-survey__option--centered {
    align-items: center;
    justify-content: center;
    min-height: 82px;
}

.appitude-survey__option-value {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(22, 50, 47, 0.08);
    font-weight: 700;
}

.appitude-survey__option-label {
    color: var(--appitude-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.appitude-survey__options label:hover .appitude-survey__option,
.appitude-survey__options input:focus + .appitude-survey__option {
    transform: translateY(-2px);
    border-color: rgba(214, 111, 61, 0.35);
    box-shadow: 0 18px 30px rgba(214, 111, 61, 0.09);
}

.appitude-survey__options input:checked + .appitude-survey__option {
    border-color: rgba(214, 111, 61, 0.6);
    background: rgba(242, 179, 104, 0.12);
    box-shadow: 0 18px 32px rgba(214, 111, 61, 0.12);
}

.appitude-survey__question small {
    display: inline-block;
    margin-top: 12px;
    color: var(--appitude-highlight);
    font-weight: 600;
}

.appitude-survey__validation {
    margin: 18px 0 0;
    color: #ad4f25;
    font-size: 0.92rem;
    font-weight: 600;
}

.appitude-survey__actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--appitude-line);
}

.appitude-survey__actions--end {
    justify-content: flex-end;
}

.appitude-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--appitude-accent-blue) 0%, var(--appitude-accent-teal) 100%);
    color: #f8fbff;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    box-shadow: 0 18px 28px rgba(41, 183, 240, 0.18);
}

.appitude-button i {
    font-size: 0.95em;
}

.appitude-button i + span,
.appitude-button span + i {
    margin-left: 0.55rem;
}

.appitude-button i:first-child + span {
    margin-left: 0.55rem;
}

.appitude-button span:first-child + i {
    margin-left: 0.55rem;
}

.appitude-button:hover,
.appitude-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(41, 183, 240, 0.24);
}

.appitude-button--ghost {
    border: 1px solid var(--appitude-line);
    background: transparent;
    color: var(--appitude-panel);
    box-shadow: none;
}

.appitude-button--ghost:hover,
.appitude-button--ghost:focus {
    box-shadow: none;
}

.appitude-button--small {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.86rem;
    box-shadow: none;
}

.appitude-button--danger {
    border-color: rgba(255, 101, 36, 0.24);
    background: rgba(255, 101, 36, 0.08);
    color: #b4481c;
}

.appitude-button--danger:hover,
.appitude-button--danger:focus {
    border-color: rgba(255, 101, 36, 0.34);
    background: rgba(255, 101, 36, 0.14);
    color: #933815;
}

.appitude-result {
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(38, 201, 195, 0.08), transparent 24%),
        rgba(255, 255, 255, 0.92);
}

.appitude-result__eyebrow {
    margin: 0 0 10px;
    color: var(--appitude-highlight);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.appitude-result__title {
    margin: 0 0 14px;
    font-family: var(--appitude-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.appitude-result__text,
.appitude-result__copy p {
    color: var(--appitude-muted);
    line-height: 1.8;
}

.appitude-result__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 20px;
    padding: 18px 24px;
    border-radius: 20px;
    background: rgba(22, 50, 47, 0.08);
    color: var(--appitude-panel);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
}

.appitude-result__copy {
    margin-top: 6px;
}

.appitude-result__meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 0;
}

.appitude-result__meta-card,
.appitude-match__form,
.appitude-match-card {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid var(--appitude-line);
    background: rgba(255, 255, 255, 0.72);
}

.appitude-result__meta-card span,
.appitude-match-card__areas span,
.appitude-match-card__eyebrow,
.appitude-match-card__date {
    display: block;
    color: var(--appitude-muted);
    font-size: 0.85rem;
}

.appitude-result__meta-card span i,
.appitude-match-card__score small i,
.appitude-profile-highlight__label i {
    margin-right: 0.4rem;
}

.appitude-result__meta-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
    color: var(--appitude-panel);
}

.appitude-result__alerts,
.appitude-match-card__warnings {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(214, 111, 61, 0.08);
    color: #8c3d1d;
}

.appitude-result__alerts p,
.appitude-match-card__warnings p {
    margin: 0;
}

.appitude-result__alerts p + p,
.appitude-match-card__warnings p + p {
    margin-top: 8px;
}

.appitude-match {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
    margin-top: 28px;
}

.appitude-match__intro h3,
.appitude-match-list__intro h3 {
    margin: 0 0 10px;
    font-family: var(--appitude-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.appitude-match__intro p,
.appitude-match-card__description,
.appitude-match-card__type {
    margin: 0;
    color: var(--appitude-muted);
    line-height: 1.7;
}

.appitude-match__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.appitude-match-list {
    margin-top: 28px;
}

.appitude-match-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.appitude-match-list__grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.appitude-match-list__empty {
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px dashed rgba(45, 49, 56, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--appitude-muted);
    font-weight: 600;
    text-align: center;
}

.appitude-match-card__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.appitude-match-card__aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    flex-shrink: 0;
}

.appitude-match-card__head h4 {
    margin: 4px 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
}

.appitude-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.appitude-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.appitude-badge--positive {
    background: rgba(43, 117, 90, 0.14);
    color: #1d5d46;
}

.appitude-badge--balanced {
    background: rgba(22, 50, 47, 0.12);
    color: #16322f;
}

.appitude-badge--neutral {
    background: rgba(88, 108, 102, 0.14);
    color: #445651;
}

.appitude-badge--warning {
    background: rgba(214, 111, 61, 0.14);
    color: #8c3d1d;
}

.appitude-match-card__score {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 88px;
    border-radius: 24px;
    background: rgba(22, 50, 47, 0.08);
    color: var(--appitude-panel);
    text-align: center;
    padding: 12px;
}

.appitude-match-card__score small {
    display: block;
    margin-bottom: 4px;
    color: var(--appitude-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.appitude-match-card__score strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.appitude-match-card__areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.appitude-match-card__areas div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(22, 50, 47, 0.05);
}

.appitude-match-card__areas strong {
    display: block;
    margin-top: 6px;
    font-size: 1.2rem;
    color: var(--appitude-panel);
}

.appitude-match-card__description {
    margin-top: 18px;
}

.appitude-match-card__quality-note {
    margin: 18px 0 0;
    color: var(--appitude-muted);
    line-height: 1.7;
}

.appitude-match-card__summary {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 247, 237, 0.72);
    border: 1px solid rgba(214, 111, 61, 0.12);
}

.appitude-match-card__summary-title {
    margin: 0;
    color: var(--appitude-panel);
    font-size: 1.18rem;
    font-weight: 700;
}

.appitude-match-card__summary-text,
.appitude-match-card__summary-quote {
    margin: 10px 0 0;
    color: var(--appitude-muted);
    line-height: 1.7;
}

.appitude-match-card__summary-quote {
    color: var(--appitude-panel);
    font-weight: 600;
}

.appitude-match-card__insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.appitude-match-card__insight {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(22, 50, 47, 0.05);
}

.appitude-match-card__insight span,
.appitude-match-card__insight small {
    display: block;
    color: var(--appitude-muted);
}

.appitude-match-card__insight strong {
    display: block;
    margin-top: 6px;
    color: var(--appitude-panel);
    font-size: 1.05rem;
}

.appitude-match-card__insight small {
    margin-top: 6px;
    font-size: 0.82rem;
}

.appitude-match-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.appitude-match-card__actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--appitude-line);
}

.appitude-match-card__actions .appitude-button {
    flex: 1 1 0;
}

.appitude-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(242, 179, 104, 0.16);
    color: var(--appitude-panel);
    font-size: 0.86rem;
    font-weight: 700;
}

.appitude-match-card__date {
    margin: 18px 0 0;
}

.appitude-match-report {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--appitude-line);
}

.appitude-match-detail {
    display: grid;
    gap: 18px;
}

.appitude-match-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.appitude-match-detail__hero-copy,
.appitude-match-detail__hero-score {
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid var(--appitude-line);
    background: rgba(255, 255, 255, 0.78);
}

.appitude-match-detail__hero-copy {
    background:
        radial-gradient(circle at top right, rgba(242, 179, 104, 0.16), transparent 36%),
        rgba(255, 255, 255, 0.78);
}

.appitude-match-detail__title {
    margin: 0;
    font-family: var(--appitude-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.04;
    color: var(--appitude-panel);
}

.appitude-match-detail__subtitle,
.appitude-match-detail__quote {
    margin: 12px 0 0;
    color: var(--appitude-muted);
    line-height: 1.8;
}

.appitude-match-detail__quote {
    color: var(--appitude-panel);
    font-weight: 600;
}

.appitude-match-detail__hero-score {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(22, 50, 47, 0.08);
}

.appitude-match-detail__hero-score span,
.appitude-match-detail__hero-score small {
    display: block;
    color: var(--appitude-muted);
}

.appitude-match-detail__hero-score strong {
    display: block;
    margin: 12px 0;
    color: var(--appitude-panel);
    font-size: clamp(2.8rem, 7vw, 4rem);
    line-height: 1;
}

.appitude-match-detail__meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.appitude-match-detail__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.appitude-match-detail__editorial-head {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding: 18px 20px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 14px 34px rgba(14, 20, 28, 0.04);
}

.appitude-match-detail__editorial-head h3,
.appitude-match-detail__editorial-head p {
    margin: 0;
}

.appitude-match-detail__editorial-head h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.appitude-debug-card--area {
    position: relative;
    overflow: hidden;
    border-width: 1px;
}

.appitude-debug-card--area::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
}

.appitude-debug-card--area-love {
    background:
        linear-gradient(180deg, rgba(255, 101, 36, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-debug-card--area-love::before {
    background: var(--appitude-accent-orange);
}

.appitude-debug-card--area-friendship {
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-debug-card--area-friendship::before {
    background: var(--appitude-accent-blue);
}

.appitude-debug-card--area-collaboration {
    background:
        linear-gradient(180deg, rgba(38, 201, 195, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-debug-card--area-collaboration::before {
    background: var(--appitude-accent-teal);
}

.appitude-debug-card--area-love .appitude-debug-card__eyebrow,
.appitude-score-line--love strong,
.appitude-score-line--love {
    color: #c6501f;
}

.appitude-debug-card--area-friendship .appitude-debug-card__eyebrow,
.appitude-score-line--friendship strong,
.appitude-score-line--friendship {
    color: #1779a1;
}

.appitude-debug-card--area-collaboration .appitude-debug-card__eyebrow,
.appitude-score-line--collaboration strong,
.appitude-score-line--collaboration {
    color: #16827c;
}

.appitude-area-score {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 14px;
}

.appitude-area-score strong {
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--appitude-panel);
}

.appitude-area-score span {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--appitude-muted);
}

.appitude-score-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(45, 49, 56, 0.08);
    font-weight: 600;
}

.appitude-score-line:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.appitude-score-line strong {
    font-weight: 700;
}

.appitude-score-line--global {
    color: var(--appitude-panel);
}

.appitude-match-detail__actions .appitude-button {
    flex: 1 1 220px;
}

.appitude-match-detail__charts {
    margin-top: 2px;
}

.appitude-match-detail__status {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid var(--appitude-line);
    background: rgba(255, 255, 255, 0.74);
}

.appitude-match-detail__status--positive {
    background: rgba(43, 117, 90, 0.08);
}

.appitude-match-detail__status--balanced {
    background: rgba(22, 50, 47, 0.08);
}

.appitude-match-detail__status--neutral {
    background: rgba(88, 108, 102, 0.10);
}

.appitude-match-detail__status--warning {
    background: rgba(214, 111, 61, 0.10);
}

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

.appitude-chart-grid--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appitude-chart-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--appitude-line);
    background: rgba(255, 255, 255, 0.74);
}

.appitude-chart-wrap {
    position: relative;
    min-height: 320px;
}

.appitude-chart-wrap--bars {
    min-height: 260px;
}

.appitude-chart-wrap--delta {
    min-height: 300px;
}

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

.appitude-debug-grid--areas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appitude-debug-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--appitude-line);
    background: rgba(255, 255, 255, 0.74);
}

.appitude-debug-card--feature {
    background:
        radial-gradient(circle at top right, rgba(242, 179, 104, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.78);
}

.appitude-debug-card p {
    margin: 0;
    color: var(--appitude-muted);
    line-height: 1.65;
}

.appitude-debug-card p + p {
    margin-top: 8px;
}

.appitude-debug-card strong {
    color: var(--appitude-panel);
}

.appitude-debug-card__eyebrow {
    margin-bottom: 10px !important;
    color: var(--appitude-highlight) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.appitude-report-block {
    margin-top: 16px;
    border: 1px solid var(--appitude-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    overflow: hidden;
}

.appitude-report-block--narrative {
    background: rgba(255, 255, 255, 0.78);
}

.appitude-report-block summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 700;
    color: var(--appitude-panel);
    list-style: none;
}

.appitude-report-block summary::-webkit-details-marker {
    display: none;
}

.appitude-report-table {
    margin-top: 16px;
    overflow-x: auto;
}

.appitude-report-table h5 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--appitude-panel);
}

.appitude-report-table table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.appitude-report-table th,
.appitude-report-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--appitude-line);
    text-align: left;
    vertical-align: top;
}

.appitude-report-table th {
    color: var(--appitude-panel);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(22, 50, 47, 0.05);
}

@media (max-width: 1180px) {
    .appitude-shell {
        grid-template-columns: 1fr;
    }

    .appitude-brand {
        min-height: auto;
    }

    .appitude-brand__art {
        margin-top: 8px;
    }
}

@media (max-width: 980px) {
    .appitude-match {
        grid-template-columns: 1fr;
    }

    .appitude-result__meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appitude-match-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appitude-match-detail__hero,
    .appitude-match-detail__meta-grid,
    .appitude-chart-grid--detail {
        grid-template-columns: 1fr;
    }

    .appitude-chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .appitude-shell__content,
    .appitude-brand {
        padding: 22px;
    }

    .appitude-access,
    .appitude-survey,
    .appitude-progress {
        padding: 22px;
    }

    .appitude-access__grid {
        grid-template-columns: 1fr;
    }

    .appitude-result__meta-grid,
    .appitude-match,
    .appitude-match-card__areas,
    .appitude-debug-grid,
    .appitude-match-detail__meta-grid,
    .appitude-match-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .appitude-debug-grid--areas {
        grid-template-columns: 1fr;
    }

    .appitude-survey__page,
    .appitude-result,
    .appitude-survey__section {
        padding: 20px;
    }

    .appitude-survey__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .appitude-button {
        width: 100%;
    }

    .appitude-button--small {
        width: auto;
    }

    .appitude-survey__options {
        grid-template-columns: 1fr 1fr;
    }

    .appitude-match-card__actions,
    .appitude-match-detail__actions {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .appitude-match-card {
        padding: 16px;
    }

    .appitude-match-card__head {
        flex-direction: column;
    }

    .appitude-match-card__aside {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .appitude-match-card__score {
        min-width: 72px;
        min-height: 72px;
    }

    .appitude-match-card__score strong {
        font-size: 1.6rem;
    }

    .appitude-match-card__areas,
    .appitude-debug-grid,
    .appitude-match-card__insights {
        grid-template-columns: 1fr;
    }

    .appitude-chart-wrap {
        min-height: 280px;
    }

    .appitude-chart-wrap--bars {
        min-height: 220px;
    }

    .appitude-chart-wrap--delta {
        min-height: 260px;
    }

    .appitude-match-detail__hero-copy,
    .appitude-match-detail__hero-score {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .appitude-brand__title {
        font-size: 2.7rem;
    }

    .appitude-survey__options {
        grid-template-columns: 1fr;
    }

    .appitude-result__meta-grid,
    .appitude-match,
    .appitude-match-card__areas,
    .appitude-survey__options--compact,
    .appitude-debug-grid,
    .appitude-match-detail__meta-grid,
    .appitude-match-toolbar {
        grid-template-columns: 1fr;
    }

    .appitude-survey__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .appitude-shell__content,
    .appitude-brand,
    .appitude-access,
    .appitude-survey,
    .appitude-progress {
        padding: 16px;
    }

    .appitude-result,
    .appitude-survey__page,
    .appitude-survey__section,
    .appitude-access__card,
    .appitude-result__meta-card,
    .appitude-match__form,
    .appitude-match-card,
    .appitude-debug-card,
    .appitude-chart-card {
        padding: 16px;
    }

    .appitude-result__title {
        font-size: 1.85rem;
    }

    .appitude-result__code {
        display: flex;
        width: 100%;
        padding: 16px 14px;
        font-size: 1.05rem;
        letter-spacing: 0.03em;
    }

    .appitude-match-card__aside {
        flex-direction: column;
        align-items: stretch;
    }

    .appitude-match-card__score {
        align-self: flex-start;
    }

    .appitude-match-card__actions .appitude-button,
    .appitude-match-detail__actions .appitude-button {
        width: 100%;
        flex-basis: auto;
    }

    .appitude-report-block summary {
        line-height: 1.5;
    }

    .appitude-chart-wrap {
        min-height: 240px;
    }

    .appitude-chart-wrap--bars {
        min-height: 200px;
    }

    .appitude-chart-wrap--delta {
        min-height: 220px;
    }
}

.appitude-result__summary,
.appitude-feedback-card,
.appitude-inline-alert,
.appitude-match__notice,
.appitude-match-detail__disclaimer {
    margin-top: 20px;
    padding: 20px 22px;
    border: 1px solid rgba(22, 50, 47, 0.12);
    border-radius: 22px;
    background: rgba(255, 248, 239, 0.9);
}

.appitude-inline-alert--warning,
.appitude-match__notice {
    background: rgba(214, 111, 61, 0.08);
    border-color: rgba(214, 111, 61, 0.16);
    color: #8b4d2f;
}

.appitude-result__summary h3,
.appitude-feedback-card h3 {
    margin-bottom: 12px;
}

.appitude-profile-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 22px;
}

.appitude-profile-highlight {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 18px 18px 18px 22px;
    border-radius: 22px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    background: rgba(255, 255, 255, 0.86);
}

.appitude-profile-highlight::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
}

.appitude-profile-highlight--love {
    background:
        linear-gradient(180deg, rgba(255, 101, 36, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-profile-highlight--love::before {
    background: var(--appitude-accent-orange);
}

.appitude-profile-highlight--friendship {
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-profile-highlight--friendship::before {
    background: var(--appitude-accent-blue);
}

.appitude-profile-highlight--collaboration {
    background:
        linear-gradient(180deg, rgba(38, 201, 195, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-profile-highlight--collaboration::before {
    background: var(--appitude-accent-teal);
}

.appitude-profile-highlight__label {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.appitude-profile-highlight__label i {
    font-size: 0.92em;
}

.appitude-profile-highlight--love .appitude-profile-highlight__label {
    color: #c6501f;
}

.appitude-profile-highlight--friendship .appitude-profile-highlight__label {
    color: #1779a1;
}

.appitude-profile-highlight--collaboration .appitude-profile-highlight__label {
    color: #16827c;
}

.appitude-profile-highlight__text {
    margin: 0;
    color: var(--appitude-panel);
    line-height: 1.75;
}

.appitude-feedback-form,
.appitude-feedback-form__group {
    display: grid;
    gap: 12px;
}

.appitude-feedback-form {
    margin-top: 14px;
}

.appitude-profile-edit {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.appitude-profile-edit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.appitude-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.appitude-rating__option {
    position: relative;
}

.appitude-rating__option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.appitude-rating__option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(22, 50, 47, 0.16);
    background: #fff;
    color: #16322f;
    font-weight: 700;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.appitude-rating__option input:checked + span,
.appitude-rating__option input:focus-visible + span {
    border-color: #d66f3d;
    background: rgba(214, 111, 61, 0.12);
    color: #8b4d2f;
    transform: translateY(-1px);
}

.appitude-match-card__head h4 {
    margin-bottom: 6px;
}

.appitude-match-card__eyebrow--love {
    color: #c6501f;
}

.appitude-match-card__eyebrow--friendship {
    color: #1779a1;
}

.appitude-match-card__eyebrow--collaboration {
    color: #16827c;
}

.appitude-match-card__type {
    margin-bottom: 0;
}

.appitude-match-card__description {
    margin-bottom: 0;
}

.appitude-match-card__areas--brand {
    margin-top: 18px;
}

.appitude-match-area {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 49, 56, 0.08);
}

.appitude-match-area::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
}

.appitude-match-area--love {
    background:
        linear-gradient(180deg, rgba(255, 101, 36, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-match-area--love::before {
    background: var(--appitude-accent-orange);
}

.appitude-match-area--friendship {
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-match-area--friendship::before {
    background: var(--appitude-accent-blue);
}

.appitude-match-area--collaboration {
    background:
        linear-gradient(180deg, rgba(38, 201, 195, 0.08), rgba(255, 255, 255, 0.96) 42%);
}

.appitude-match-area--collaboration::before {
    background: var(--appitude-accent-teal);
}

.appitude-match-area--love span,
.appitude-match-area--love strong {
    color: #c6501f;
}

.appitude-match-area--friendship span,
.appitude-match-area--friendship strong {
    color: #1779a1;
}

.appitude-match-area--collaboration span,
.appitude-match-area--collaboration strong {
    color: #16827c;
}

.appitude-match-detail__disclaimer {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.appitude-feedback-card textarea,
.appitude-result__summary p:last-child,
.appitude-match__notice p:last-child {
    margin-bottom: 0;
}

.appitude-survey__attention-note {
    display: block;
    margin-top: 10px;
    color: #b35a30;
    font-weight: 600;
}

.appitude-survey__attention-alert {
    margin-top: 10px;
}

.appitude-survey__question.has-attention-warning {
    background: rgba(255, 101, 36, 0.10);
    box-shadow: inset 0 0 0 1px rgba(255, 101, 36, 0.24);
}

.appitude-match-detail__hero-score small {
    display: block;
    margin-top: 8px;
}

.appitude-match-toolbar {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
}

@media (max-width: 991px) {
    .appitude-match-toolbar {
        grid-template-columns: 1fr;
    }

    .appitude-rating__option span {
        min-width: 42px;
        min-height: 42px;
    }

    .appitude-profile-edit__grid {
        grid-template-columns: 1fr;
    }

    .appitude-profile-highlights {
        grid-template-columns: 1fr;
    }
}

.appitude-flash {
    border-color: rgba(41, 183, 240, 0.14);
    background: rgba(255, 255, 255, 0.96);
}

.appitude-flash--danger,
.appitude-flash--error {
    border-color: rgba(255, 101, 36, 0.26);
    background: rgba(255, 101, 36, 0.10);
    color: #a2441c;
}

.appitude-survey__question.is-invalid {
    background: rgba(255, 101, 36, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 101, 36, 0.24);
}

.appitude-survey__option-value {
    background: rgba(41, 183, 240, 0.10);
    color: var(--appitude-panel);
}

.appitude-survey__options label:hover .appitude-survey__option,
.appitude-survey__options input:focus + .appitude-survey__option {
    border-color: rgba(41, 183, 240, 0.36);
    box-shadow: 0 18px 30px rgba(41, 183, 240, 0.12);
}

.appitude-survey__options input:checked + .appitude-survey__option {
    border-color: rgba(38, 201, 195, 0.58);
    background: rgba(38, 201, 195, 0.10);
    box-shadow: 0 18px 32px rgba(38, 201, 195, 0.12);
}

.appitude-result__code,
.appitude-match-card__score,
.appitude-match-detail__hero-score {
    background: linear-gradient(160deg, rgba(41, 183, 240, 0.10) 0%, rgba(38, 201, 195, 0.10) 100%);
}

.appitude-result__alerts,
.appitude-match-card__warnings,
.appitude-inline-alert--warning,
.appitude-match__notice {
    background: rgba(255, 101, 36, 0.08);
    border-color: rgba(255, 101, 36, 0.16);
    color: #9b4320;
}

.appitude-inline-alert--info,
.appitude-inline-alert--draft {
    background: rgba(41, 183, 240, 0.08);
    border-color: rgba(41, 183, 240, 0.16);
    color: #176f94;
}

.appitude-badge--positive {
    background: rgba(38, 201, 195, 0.14);
    color: #16827c;
}

.appitude-badge--balanced {
    background: rgba(41, 183, 240, 0.14);
    color: #1779a1;
}

.appitude-badge--neutral {
    background: rgba(45, 49, 56, 0.10);
    color: #454b55;
}

.appitude-badge--warning {
    background: rgba(255, 101, 36, 0.14);
    color: #a2441c;
}

.appitude-match-card__summary {
    background: rgba(41, 183, 240, 0.06);
    border-color: rgba(41, 183, 240, 0.12);
}

.appitude-tag {
    background: rgba(38, 201, 195, 0.14);
}

.appitude-chart-card,
.appitude-debug-card,
.appitude-report-block,
.appitude-progress,
.appitude-access,
.appitude-survey {
    border-color: rgba(45, 49, 56, 0.10);
}

.appitude-match-detail__hero {
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.12), transparent 36%),
        radial-gradient(circle at bottom left, rgba(38, 201, 195, 0.10), transparent 34%),
        rgba(255, 255, 255, 0.94);
}

.appitude-match-detail__hero-score {
    color: var(--appitude-panel);
}

.appitude-feedback-card,
.appitude-inline-alert,
.appitude-match__notice,
.appitude-match-detail__disclaimer {
    border-color: rgba(45, 49, 56, 0.10);
    background: rgba(255, 255, 255, 0.92);
}

.appitude-inline-alert--warning,
.appitude-match__notice {
    background: rgba(255, 101, 36, 0.08);
    border-color: rgba(255, 101, 36, 0.16);
    color: #9b4320;
}

.appitude-rating__option span {
    border-color: rgba(45, 49, 56, 0.16);
    color: var(--appitude-panel);
}

.appitude-rating__option input:checked + span,
.appitude-rating__option input:focus-visible + span {
    border-color: var(--appitude-accent-blue);
    background: rgba(41, 183, 240, 0.12);
    color: #1779a1;
}

.appitude-survey__attention-note {
    color: #b94c22;
}

@media print {
    body.appitude-theme {
        background: #fff;
    }

    .appitude-shell {
        display: block;
    }

    .appitude-shell__aside,
    .appitude-progress,
    .appitude-match-detail__actions,
    .appitude-flash {
        display: none !important;
    }

    .appitude-shell__content {
        padding: 0;
    }

    .appitude-match-detail,
    .appitude-debug-card,
    .appitude-chart-card,
    .appitude-result__meta-card,
    .appitude-report-block {
        break-inside: avoid;
        box-shadow: none !important;
    }

    .appitude-report-block {
        border-color: #d9d9d9;
        background: #fff;
    }

    .appitude-chart-wrap,
    .appitude-chart-wrap--bars,
    .appitude-chart-wrap--delta {
        min-height: 240px;
    }
}

/* Modern refresh */
.appitude-shell {
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.appitude-shell__aside {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.appitude-brand {
    justify-content: flex-start;
    gap: 20px;
    padding: 40px 34px;
}

.appitude-brand__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
}

.appitude-brand__logo {
    padding: 14px 18px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(4, 6, 8, 0.88);
}

.appitude-brand__subtitle {
    max-width: 18rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

.appitude-brand__card,
.appitude-brand__scale {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.appitude-brand__card::after,
.appitude-brand__scale::after {
    position: absolute;
    inset: auto auto -38px -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 183, 240, 0.18) 0%, transparent 70%);
    content: "";
    pointer-events: none;
}

.appitude-shell__content {
    padding: 28px;
}

.appitude-progress,
.appitude-access,
.appitude-survey,
.appitude-result,
.appitude-chart-card,
.appitude-debug-card,
.appitude-report-block {
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.94));
    box-shadow:
        0 18px 54px rgba(12, 18, 24, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.75) inset;
}

.appitude-result,
.appitude-survey__page {
    border-radius: 32px;
}

.appitude-progress__meta,
.appitude-progress__text,
.appitude-result__eyebrow,
.appitude-match-card__eyebrow,
.appitude-match-card__date,
.appitude-debug-card__eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.appitude-result__title,
.appitude-match-detail__title,
.appitude-access__title,
.appitude-workspace h2,
.appitude-match__intro h3,
.appitude-match-list__intro h3 {
    font-family: var(--appitude-sans);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.appitude-result__title,
.appitude-match-detail__title {
    font-size: clamp(2rem, 3vw, 3rem);
}

.appitude-field input,
.appitude-field select,
.appitude-field textarea,
.appitude-reset__content input[type="email"],
.appitude-reset__content input[type="password"],
.appitude-reset__content input[type="text"] {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.appitude-field textarea {
    min-height: 140px;
    padding: 16px;
    resize: vertical;
}

.appitude-field input:focus,
.appitude-field select:focus,
.appitude-field textarea:focus,
.appitude-reset__content input[type="email"]:focus,
.appitude-reset__content input[type="password"]:focus,
.appitude-reset__content input[type="text"]:focus {
    box-shadow:
        0 0 0 4px rgba(41, 183, 240, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transform: translateY(-1px);
}

.appitude-button,
.appitude-reset__content button,
.appitude-reset__content .btn {
    min-height: 54px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
}

.appitude-button--ghost {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(10px);
}

.appitude-button--ghost:hover,
.appitude-button--ghost:focus {
    transform: translateY(-1px);
    border-color: rgba(41, 183, 240, 0.28);
    background: rgba(255, 255, 255, 0.98);
}

.appitude-button--subtle {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.92rem;
}

.appitude-result__code {
    border: 1px solid rgba(41, 183, 240, 0.16);
    box-shadow:
        0 14px 32px rgba(41, 183, 240, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.appitude-result__meta-card,
.appitude-match__form,
.appitude-match-card,
.appitude-access__card {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(15, 20, 28, 0.05);
}

.appitude-result__meta-card strong {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.appitude-match-card {
    position: relative;
    overflow: hidden;
}

.appitude-match-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--appitude-accent-blue) 0%, var(--appitude-accent-teal) 56%, var(--appitude-accent-orange) 100%);
    content: "";
}

.appitude-match-card__head h4 {
    letter-spacing: -0.03em;
}

.appitude-match-card__type,
.appitude-match-card__description,
.appitude-result__text,
.appitude-match__intro p,
.appitude-match-detail__subtitle,
.appitude-match-detail__disclaimer,
.appitude-result__summary p,
.appitude-debug-card p {
    line-height: 1.75;
}

.appitude-match-card__score {
    min-width: 96px;
    min-height: 96px;
    border: 1px solid rgba(41, 183, 240, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.appitude-match-detail__hero {
    border-radius: 32px;
    overflow: hidden;
}

.appitude-match-detail__hero-copy,
.appitude-match-detail__hero-score {
    padding: 28px;
}

.appitude-match-detail__hero-score {
    border-left: 1px solid rgba(45, 49, 56, 0.08);
}

.appitude-feedback-card,
.appitude-inline-alert,
.appitude-match__notice,
.appitude-match-detail__disclaimer {
    border-radius: 24px;
}

.appitude-report-block summary {
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (max-width: 1100px) {
    .appitude-shell {
        grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    }

    .appitude-brand {
        padding: 34px 28px;
    }
}

@media (max-width: 860px) {
    .appitude-shell__content {
        padding: 20px;
    }

    .appitude-progress,
    .appitude-access,
    .appitude-survey,
    .appitude-result,
    .appitude-chart-card,
    .appitude-debug-card,
    .appitude-report-block {
        border-radius: 24px;
    }
}

.appitude-progress--detail-nav {
    padding: 20px 24px;
}

.appitude-progress--dashboard-nav {
    padding: 18px 22px;
}

.appitude-progress__meta--detail-nav {
    justify-content: center;
    gap: 16px;
    margin-bottom: 0;
}

.appitude-progress__meta--dashboard-nav {
    justify-content: flex-start;
    margin-bottom: 0;
}

.appitude-link-button--detail-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 16px 32px rgba(12, 18, 24, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    color: var(--appitude-panel);
    text-decoration: none;
}

.appitude-link-button--detail-nav:hover,
.appitude-link-button--detail-nav:focus {
    color: var(--appitude-panel);
    border-color: rgba(41, 183, 240, 0.22);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

.appitude-workspace--detail .appitude-match-detail__hero {
    gap: 0;
    border: 1px solid rgba(45, 49, 56, 0.10);
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(38, 201, 195, 0.10), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.94));
    box-shadow:
        0 18px 54px rgba(12, 18, 24, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.75) inset;
}

.appitude-workspace--detail .appitude-match-detail__hero-copy,
.appitude-workspace--detail .appitude-match-detail__hero-score {
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.appitude-workspace--detail .appitude-match-detail__hero-copy {
    padding-right: 32px;
}

.appitude-workspace--detail .appitude-match-detail__hero-score {
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.07), rgba(38, 201, 195, 0.05));
    border-left: 1px solid rgba(45, 49, 56, 0.08);
}

.appitude-workspace--detail .appitude-match-detail__charts {
    margin-top: 4px;
}

.appitude-workspace--detail .appitude-chart-grid--detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.94));
    box-shadow:
        0 18px 54px rgba(12, 18, 24, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.75) inset;
}

.appitude-workspace--detail .appitude-chart-grid--detail > .appitude-chart-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.appitude-workspace--detail .appitude-chart-grid--detail > .appitude-chart-card:first-child {
    border-right: 1px solid rgba(45, 49, 56, 0.08);
}

.appitude-match-detail__footer-brand {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
}

.appitude-match-detail__footer-brand img {
    display: block;
    width: min(220px, 56vw);
    height: auto;
    opacity: 0.96;
}

@media (max-width: 860px) {
    .appitude-progress--detail-nav {
        padding: 18px;
    }

    .appitude-progress--dashboard-nav {
        padding: 16px;
    }

    .appitude-progress__meta--detail-nav {
        flex-direction: column;
    }

    .appitude-progress__meta--dashboard-nav {
        flex-direction: column;
        justify-content: center;
    }

    .appitude-link-button--detail-nav {
        width: 100%;
    }

    .appitude-workspace--detail .appitude-match-detail__hero {
        gap: 0;
    }

    .appitude-workspace--detail .appitude-match-detail__hero-copy {
        padding-right: 28px;
    }

    .appitude-workspace--detail .appitude-match-detail__hero-score {
        border-left: 0;
        border-top: 1px solid rgba(45, 49, 56, 0.08);
    }

    .appitude-workspace--detail .appitude-chart-grid--detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .appitude-workspace--detail .appitude-chart-grid--detail > .appitude-chart-card:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(45, 49, 56, 0.08);
    }
}

.appitude-workspace--detail,
.appitude-workspace--detail .appitude-match-detail,
.appitude-workspace--detail .appitude-match-detail > *,
.appitude-workspace--detail .appitude-debug-grid > *,
.appitude-workspace--detail .appitude-chart-grid--detail > * {
    min-width: 0;
}

.appitude-area-band {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(45, 49, 56, 0.06);
    color: var(--appitude-panel);
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .appitude-shell {
        grid-template-columns: 1fr;
    }

    .appitude-shell__aside {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .appitude-brand {
        height: auto;
        padding: 28px 24px;
    }

    .appitude-brand__logo {
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .appitude-workspace--detail .appitude-match-detail {
        gap: 16px;
    }

    .appitude-workspace--detail .appitude-match-detail__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .appitude-workspace--detail .appitude-match-detail__actions .appitude-button {
        width: 100%;
    }

    .appitude-workspace--detail .appitude-debug-grid {
        grid-template-columns: 1fr;
    }

    .appitude-workspace--detail .appitude-feedback-card,
    .appitude-workspace--detail .appitude-report-block {
        padding: 22px;
    }
}

@media (max-width: 720px) {
    .appitude-shell__content {
        padding: 16px;
    }

    .appitude-brand {
        padding: 24px 18px;
    }

    .appitude-brand__card,
    .appitude-brand__scale {
        border-radius: 22px;
    }

    .appitude-progress--detail-nav {
        padding: 14px;
    }

    .appitude-workspace--detail .appitude-match-detail__hero-copy,
    .appitude-workspace--detail .appitude-match-detail__hero-score,
    .appitude-workspace--detail .appitude-feedback-card,
    .appitude-workspace--detail .appitude-report-block,
    .appitude-workspace--detail .appitude-debug-card {
        padding: 18px;
    }

    .appitude-workspace--detail .appitude-match-detail__title {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .appitude-workspace--detail .appitude-match-detail__actions {
        grid-template-columns: 1fr;
    }

    .appitude-workspace--detail .appitude-chart-wrap {
        min-height: 240px;
    }

    .appitude-workspace--detail .appitude-chart-wrap--bars {
        min-height: 220px;
    }
}

@media (max-width: 560px) {
    .appitude-shell__content {
        padding: 12px;
    }

    .appitude-brand {
        gap: 16px;
        padding: 18px 14px;
    }

    .appitude-brand__subtitle {
        font-size: 1rem;
    }

    .appitude-link-button--detail-nav {
        min-height: 48px;
        padding: 0 18px;
        font-size: 0.88rem;
    }

    .appitude-workspace--detail .appitude-match-detail__hero-copy,
    .appitude-workspace--detail .appitude-match-detail__hero-score {
        padding: 16px;
    }

    .appitude-workspace--detail .appitude-match-detail__disclaimer {
        padding: 16px;
    }

    .appitude-match-detail__footer-brand img {
        width: min(180px, 58vw);
    }
}

.appitude-result--dashboard {
    gap: 22px;
}

.appitude-page-header {
    padding: 24px 26px;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92));
    box-shadow: 0 16px 42px rgba(14, 20, 28, 0.05);
}

.appitude-page-header .appitude-result__text {
    max-width: 52rem;
}

.appitude-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 20px;
    align-items: stretch;
}

.appitude-dashboard--compact {
    margin-bottom: 20px;
}

.appitude-dashboard__intro,
.appitude-dashboard__share {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px 26px;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(14, 20, 28, 0.05);
}

.appitude-dashboard__intro {
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.84);
}

.appitude-dashboard__support {
    margin: 0;
    color: var(--appitude-muted);
    line-height: 1.75;
}

.appitude-dashboard__quickstats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.appitude-dashboard__stat {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
}

.appitude-dashboard__stat span {
    color: var(--appitude-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.appitude-dashboard__stat strong {
    color: var(--appitude-panel);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.appitude-dashboard__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.appitude-dashboard__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(45, 49, 56, 0.06);
    color: var(--appitude-panel);
    font-size: 0.88rem;
    font-weight: 700;
}

.appitude-dashboard__primary-actions,
.appitude-dashboard__share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.appitude-dashboard__secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.appitude-share-networks {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-top: 2px;
}

.appitude-share-networks__label {
    margin: 0;
    color: var(--appitude-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.appitude-share-networks__hint {
    margin: 0;
    color: var(--appitude-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.appitude-share-networks__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.appitude-share-network {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--appitude-panel);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.appitude-share-network:hover,
.appitude-share-network:focus-visible {
    transform: translateY(-1px);
    outline: none;
    border-color: rgba(41, 183, 240, 0.22);
    box-shadow: 0 10px 24px rgba(14, 20, 28, 0.08);
}

.appitude-share-network--whatsapp i {
    color: #25d366;
}

.appitude-share-network--telegram i {
    color: #28a8ea;
}

.appitude-share-network--facebook i {
    color: #1877f2;
}

.appitude-share-network--x i {
    color: #14171a;
}

.appitude-share-network--linkedin i {
    color: #0a66c2;
}

.appitude-share-network--mail i {
    color: var(--appitude-accent-orange);
}

.appitude-dashboard__share-actions .appitude-button.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.appitude-dashboard__share {
    justify-items: center;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.12), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 101, 36, 0.10), transparent 26%),
        rgba(255, 255, 255, 0.84);
}

.appitude-dashboard__share .appitude-result__code {
    width: 100%;
    margin: 0;
}

.appitude-dashboard__qr-card {
    display: block;
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.appitude-dashboard__qr {
    display: grid;
    place-items: center;
    min-width: 176px;
    min-height: 176px;
}

.appitude-social-card {
    width: 100%;
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 101, 36, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 252, 0.96));
    box-shadow:
        0 18px 36px rgba(14, 20, 28, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    color: var(--appitude-panel);
}

.appitude-social-card__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    justify-self: start;
}

.appitude-social-card__brand img {
    display: block;
    height: 22px;
    width: auto;
}

.appitude-social-card__brand span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b6470;
}

.appitude-social-card__body {
    display: grid;
    gap: 16px;
}

.appitude-social-card__intro {
    display: grid;
    gap: 8px;
    text-align: left;
}

.appitude-social-card__intro h3,
.appitude-social-card__intro p {
    margin: 0;
}

.appitude-social-card__eyebrow {
    margin: 0;
    color: var(--appitude-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.appitude-social-card__intro h3 {
    font-size: 1.55rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.appitude-social-card__intro p,
.appitude-social-card__meta p {
    color: var(--appitude-muted);
    line-height: 1.65;
}

.appitude-social-card__code-box {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(236, 247, 252, 0.82);
    border: 1px solid rgba(41, 183, 240, 0.16);
}

.appitude-social-card__code-box span {
    color: #5b6470;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.appitude-social-card__code-box strong {
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    line-height: 1;
    letter-spacing: 0.04em;
}

.appitude-social-card__footer {
    display: grid;
    grid-template-columns: minmax(112px, 148px) 1fr;
    gap: 16px;
    align-items: center;
}

.appitude-social-card__qr {
    display: grid;
    place-items: center;
    min-width: 132px;
    min-height: 132px;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(45, 49, 56, 0.08);
}

.appitude-social-card__qr img,
.appitude-social-card__qr canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.appitude-social-card__meta {
    display: grid;
    gap: 10px;
    text-align: left;
}

.appitude-social-card__meta p,
.appitude-social-card__meta span {
    margin: 0;
}

.appitude-social-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    width: fit-content;
    border-radius: 999px;
    background: rgba(45, 49, 56, 0.06);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.appitude-dashboard__qr img,
.appitude-dashboard__qr canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.appitude-dashboard__qr-text {
    margin: 2px auto 0;
    max-width: 40ch;
    color: var(--appitude-muted);
    line-height: 1.7;
}

.appitude-feedback-card--profile-edit,
.appitude-feedback-card--review,
.appitude-feedback-card--empty-state {
    margin-top: 0;
}

.appitude-feedback-card--review {
    display: grid;
    gap: 14px;
}

.appitude-feedback-card--empty-state {
    display: grid;
    gap: 12px;
    align-content: start;
    text-align: left;
}

.appitude-feedback-card--empty-state p,
.appitude-feedback-card--empty-state h3 {
    margin: 0;
}

.appitude-match__form .appitude-inline-alert {
    margin-bottom: 2px;
}

.appitude-match-card__summary-text {
    margin: 12px 0 0;
}

.appitude-dashboard__intro .appitude-result__eyebrow,
.appitude-dashboard__intro .appitude-result__title,
.appitude-dashboard__intro .appitude-result__text,
.appitude-dashboard__share .appitude-result__eyebrow,
.appitude-match-list__intro .appitude-result__eyebrow,
.appitude-match-list__intro h3,
.appitude-result__summary h3,
.appitude-feedback-card h3 {
    margin-top: 0;
}

.appitude-dashboard__intro .appitude-result__eyebrow,
.appitude-dashboard__share .appitude-result__eyebrow,
.appitude-match-list__intro .appitude-result__eyebrow {
    margin-bottom: 0;
}

.appitude-dashboard__intro .appitude-result__title,
.appitude-dashboard__intro .appitude-result__text,
.appitude-dashboard__support,
.appitude-dashboard__qr-text,
.appitude-match-card__summary-text,
.appitude-profile-highlight__text {
    margin-bottom: 0;
}

.appitude-match-list__intro {
    display: grid;
    gap: 8px;
}

.appitude-project-brief {
    display: grid;
    gap: 18px;
}

.appitude-project-brief__intro,
.appitude-project-brief__foot {
    display: grid;
    gap: 10px;
}

.appitude-project-brief__intro h3,
.appitude-project-brief__intro p,
.appitude-project-brief__foot p {
    margin: 0;
}

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

.appitude-project-brief__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 251, 0.92));
}

.appitude-project-brief__step strong,
.appitude-project-brief__step p {
    margin: 0;
}

.appitude-project-brief__step p {
    color: var(--appitude-muted);
    line-height: 1.65;
}

.appitude-project-brief__index {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(41, 183, 240, 0.18), rgba(38, 201, 195, 0.22));
    color: var(--appitude-panel);
    font-size: 0.9rem;
    font-weight: 800;
}

.appitude-project-brief__foot {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.appitude-project__hero {
    display: grid;
    gap: 14px;
}

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

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

.appitude-project-card,
.appitude-project-note {
    display: grid;
    gap: 12px;
}

.appitude-project-card h3,
.appitude-project-card p,
.appitude-project-note h3,
.appitude-project-note p {
    margin: 0;
}

.appitude-project-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: var(--appitude-muted);
    line-height: 1.7;
}

.appitude-project-card--love {
    background:
        linear-gradient(180deg, rgba(255, 101, 36, 0.08), rgba(255, 255, 255, 0.96) 48%);
}

.appitude-project-card--friendship {
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.08), rgba(255, 255, 255, 0.96) 48%);
}

.appitude-project-card--collaboration {
    background:
        linear-gradient(180deg, rgba(38, 201, 195, 0.08), rgba(255, 255, 255, 0.96) 48%);
}

.appitude-survey-review {
    display: grid;
    gap: 16px;
}

.appitude-survey-review__status {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid rgba(41, 183, 240, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.08), rgba(255, 255, 255, 0.96));
}

.appitude-survey-review__status span {
    color: var(--appitude-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.appitude-survey-review__status strong {
    color: var(--appitude-panel);
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.appitude-survey-review__status small {
    color: var(--appitude-muted);
    font-size: 0.92rem;
}

.appitude-survey-review__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.appitude-survey-review__card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
}

.appitude-survey-review__card span {
    color: var(--appitude-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.appitude-survey-review__card strong {
    color: var(--appitude-panel);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

body.appitude-view--result .appitude-brand__subtitle,
body.appitude-view--match-detail .appitude-brand__subtitle {
    opacity: 0.92;
}

@media (max-width: 1180px) {
    .appitude-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    body.appitude-view--result .appitude-brand__card,
    body.appitude-view--result .appitude-brand__scale,
    body.appitude-view--match-detail .appitude-brand__card,
    body.appitude-view--match-detail .appitude-brand__scale {
        display: none;
    }

    body.appitude-view--result .appitude-brand,
    body.appitude-view--match-detail .appitude-brand {
        gap: 14px;
        padding-bottom: 24px;
    }
}

@media (max-width: 980px) {
    .appitude-dashboard__primary-actions,
    .appitude-dashboard__share-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .appitude-share-networks__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appitude-dashboard__primary-actions .appitude-button,
    .appitude-dashboard__share-actions .appitude-button {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .appitude-page-header {
        padding: 20px;
        border-radius: 24px;
    }

    .appitude-dashboard__intro,
    .appitude-dashboard__share {
        padding: 20px;
        border-radius: 24px;
    }

    .appitude-result--dashboard .appitude-result__title {
        font-size: clamp(1.95rem, 8vw, 2.6rem);
    }

    .appitude-match-card__head {
        flex-direction: column;
    }

    .appitude-match-card__aside {
        width: 100%;
        align-items: flex-start;
    }

    .appitude-project-grid,
    .appitude-project-grid--three,
    .appitude-project-brief__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .appitude-dashboard__chips {
        gap: 8px;
    }

    .appitude-dashboard__chip {
        width: 100%;
        justify-content: center;
    }

    .appitude-dashboard__primary-actions,
    .appitude-dashboard__share-actions {
        grid-template-columns: 1fr;
    }

    .appitude-share-networks__grid {
        grid-template-columns: 1fr;
    }

    .appitude-dashboard__qr {
        min-width: 148px;
        min-height: 148px;
    }

    .appitude-match-list__grid {
        gap: 14px;
    }

    .appitude-dashboard__quickstats,
    .appitude-survey-review__grid {
        grid-template-columns: 1fr;
    }

    .appitude-project-brief__foot {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .appitude-page-header {
        padding: 16px;
    }

    .appitude-dashboard__intro,
    .appitude-dashboard__share {
        padding: 16px;
    }

    .appitude-dashboard__qr-card {
        padding: 0;
        border-radius: 0;
    }

    .appitude-dashboard__qr {
        min-width: 132px;
        min-height: 132px;
    }

    .appitude-social-card {
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
    }

    .appitude-social-card__intro h3 {
        font-size: 1.3rem;
    }

    .appitude-social-card__footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .appitude-social-card__meta {
        justify-items: center;
        text-align: center;
    }

    .appitude-social-card__qr {
        min-width: 124px;
        min-height: 124px;
    }

    .appitude-match-card {
        padding: 16px;
    }

    .appitude-match-card__score {
        min-width: 76px;
        min-height: 76px;
    }

    .appitude-match-card__score strong {
        font-size: 1.65rem;
    }
}

.appitude-match-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.appitude-match-card__summary-text {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(45, 49, 56, 0.06);
    background: rgba(255, 255, 255, 0.56);
}

.appitude-match-card--love {
    background:
        radial-gradient(circle at top right, rgba(255, 101, 36, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 247, 0.98), rgba(255, 255, 255, 0.90));
}

.appitude-match-card--love::before {
    background: linear-gradient(180deg, rgba(255, 101, 36, 1) 0%, rgba(255, 145, 95, 0.92) 100%);
}

.appitude-match-card--love .appitude-match-card__eyebrow,
.appitude-match-card--love .appitude-match-card__score small,
.appitude-match-card--love .appitude-match-card__date {
    color: #c6501f;
}

.appitude-match-card--love .appitude-match-card__score {
    background: linear-gradient(160deg, rgba(255, 101, 36, 0.14) 0%, rgba(255, 255, 255, 0.92) 100%);
    border-color: rgba(255, 101, 36, 0.18);
}

.appitude-match-card--love .appitude-match-card__type {
    background: rgba(255, 101, 36, 0.12);
    color: #c6501f;
}

.appitude-match-card--love .appitude-match-card__summary-text {
    border-color: rgba(255, 101, 36, 0.10);
    background: rgba(255, 101, 36, 0.06);
}

.appitude-match-card--friendship {
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 0.90));
}

.appitude-match-card--friendship::before {
    background: linear-gradient(180deg, rgba(41, 183, 240, 1) 0%, rgba(92, 201, 247, 0.92) 100%);
}

.appitude-match-card--friendship .appitude-match-card__eyebrow,
.appitude-match-card--friendship .appitude-match-card__score small,
.appitude-match-card--friendship .appitude-match-card__date {
    color: #1779a1;
}

.appitude-match-card--friendship .appitude-match-card__score {
    background: linear-gradient(160deg, rgba(41, 183, 240, 0.14) 0%, rgba(255, 255, 255, 0.92) 100%);
    border-color: rgba(41, 183, 240, 0.18);
}

.appitude-match-card--friendship .appitude-match-card__type {
    background: rgba(41, 183, 240, 0.12);
    color: #1779a1;
}

.appitude-match-card--friendship .appitude-match-card__summary-text {
    border-color: rgba(41, 183, 240, 0.10);
    background: rgba(41, 183, 240, 0.06);
}

.appitude-match-card--collaboration {
    background:
        radial-gradient(circle at top right, rgba(38, 201, 195, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(246, 255, 254, 0.98), rgba(255, 255, 255, 0.90));
}

.appitude-match-card--collaboration::before {
    background: linear-gradient(180deg, rgba(38, 201, 195, 1) 0%, rgba(85, 220, 214, 0.92) 100%);
}

.appitude-match-card--collaboration .appitude-match-card__eyebrow,
.appitude-match-card--collaboration .appitude-match-card__score small,
.appitude-match-card--collaboration .appitude-match-card__date {
    color: #16827c;
}

.appitude-match-card--collaboration .appitude-match-card__score {
    background: linear-gradient(160deg, rgba(38, 201, 195, 0.14) 0%, rgba(255, 255, 255, 0.92) 100%);
    border-color: rgba(38, 201, 195, 0.18);
}

.appitude-match-card--collaboration .appitude-match-card__type {
    background: rgba(38, 201, 195, 0.12);
    color: #16827c;
}

.appitude-match-card--collaboration .appitude-match-card__summary-text {
    border-color: rgba(38, 201, 195, 0.10);
    background: rgba(38, 201, 195, 0.06);
}

.appitude-match-detail--love .appitude-match-detail__hero {
    background:
        radial-gradient(circle at top right, rgba(255, 101, 36, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 167, 122, 0.10), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.94));
}

.appitude-match-detail--friendship .appitude-match-detail__hero {
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(107, 208, 250, 0.10), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.94));
}

.appitude-match-detail--collaboration .appitude-match-detail__hero {
    background:
        radial-gradient(circle at top right, rgba(38, 201, 195, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(96, 221, 216, 0.10), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.94));
}

.appitude-match-detail--love .appitude-badge-row--detail .appitude-badge--balanced,
.appitude-match-detail--love .appitude-debug-card--feature .appitude-debug-card__eyebrow {
    background: rgba(255, 101, 36, 0.12);
    color: #c6501f;
}

.appitude-match-detail--friendship .appitude-badge-row--detail .appitude-badge--balanced,
.appitude-match-detail--friendship .appitude-debug-card--feature .appitude-debug-card__eyebrow {
    background: rgba(41, 183, 240, 0.12);
    color: #1779a1;
}

.appitude-match-detail--collaboration .appitude-badge-row--detail .appitude-badge--balanced,
.appitude-match-detail--collaboration .appitude-debug-card--feature .appitude-debug-card__eyebrow {
    background: rgba(38, 201, 195, 0.12);
    color: #16827c;
}

body.appitude-view--result .appitude-brand__card,
body.appitude-view--result .appitude-brand__scale,
body.appitude-view--match-detail .appitude-brand__card,
body.appitude-view--match-detail .appitude-brand__scale {
    display: none;
}

body.appitude-view--result .appitude-brand,
body.appitude-view--match-detail .appitude-brand {
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 42px 28px;
    text-align: center;
}

body.appitude-view--result .appitude-brand__logo,
body.appitude-view--match-detail .appitude-brand__logo {
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 18px 22px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        rgba(4, 6, 8, 0.92);
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.appitude-view--result .appitude-brand__subtitle,
body.appitude-view--match-detail .appitude-brand__subtitle {
    max-width: 16rem;
    margin: 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 248, 251, 0.92);
    font-size: 0.98rem;
    line-height: 1.4;
}

.appitude-shell__aside {
    background:
        radial-gradient(circle at 18% 18%, rgba(41, 183, 240, 0.22), transparent 30%),
        radial-gradient(circle at 82% 26%, rgba(38, 201, 195, 0.18), transparent 28%),
        radial-gradient(circle at 22% 84%, rgba(255, 101, 36, 0.18), transparent 30%),
        linear-gradient(160deg, #040506 0%, #0a0d11 48%, #131922 100%);
}

.appitude-shell__aside::after {
    background: rgba(41, 183, 240, 0.18);
    filter: blur(18px);
}

.appitude-shell__aside::before {
    background: rgba(255, 101, 36, 0.16);
    filter: blur(18px);
}

.appitude-brand__card,
.appitude-brand__scale {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 20px 44px rgba(0, 0, 0, 0.18);
}

.appitude-brand__card {
    background:
        linear-gradient(180deg, rgba(41, 183, 240, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
}

.appitude-brand__scale {
    background:
        linear-gradient(180deg, rgba(38, 201, 195, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
}

.appitude-brand__card strong {
    font-size: 2.05rem;
    letter-spacing: -0.04em;
}

.appitude-brand__scale span {
    box-shadow: 0 10px 20px rgba(41, 183, 240, 0.18);
}

@media (max-width: 1100px) {
    body.appitude-view--result .appitude-brand,
    body.appitude-view--match-detail .appitude-brand {
        padding: 28px 22px;
    }
}

@media (max-width: 560px) {
    body.appitude-view--result .appitude-brand,
    body.appitude-view--match-detail .appitude-brand {
        padding: 18px 14px;
    }

    body.appitude-view--result .appitude-brand__logo,
    body.appitude-view--match-detail .appitude-brand__logo {
        max-width: 260px;
        padding: 14px 16px;
    }

    body.appitude-view--result .appitude-brand__subtitle,
    body.appitude-view--match-detail .appitude-brand__subtitle {
        font-size: 0.9rem;
    }
}

.appitude-app-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(41, 183, 240, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow:
        0 18px 42px rgba(14, 20, 28, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
}

.appitude-app-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.appitude-app-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(45, 49, 56, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--appitude-panel);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.appitude-app-nav__link:hover,
.appitude-app-nav__link:focus {
    color: var(--appitude-panel);
    border-color: rgba(41, 183, 240, 0.24);
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-1px);
}

.appitude-app-nav__link.is-active {
    border-color: rgba(41, 183, 240, 0.18);
    background: linear-gradient(135deg, rgba(41, 183, 240, 0.16), rgba(38, 201, 195, 0.10));
    box-shadow: 0 14px 28px rgba(41, 183, 240, 0.12);
    color: #176f94;
}

.appitude-app-nav__user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
}

.appitude-app-nav__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(17, 20, 24, 0.04);
    border: 1px solid rgba(45, 49, 56, 0.06);
    text-align: right;
}

.appitude-app-nav__identity strong {
    color: var(--appitude-panel);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.appitude-app-nav__identity span {
    color: var(--appitude-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.appitude-app-nav__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(45, 49, 56, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--appitude-panel);
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.appitude-app-nav__logout:hover,
.appitude-app-nav__logout:focus {
    border-color: rgba(255, 101, 36, 0.22);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

#appitude-dashboard-top,
#appitude-profile-section,
#appitude-match-composer,
#appitude-match-list-section {
    scroll-margin-top: 128px;
}

@media (max-width: 1180px) {
    .appitude-app-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .appitude-app-nav__user {
        justify-content: space-between;
        margin-left: 0;
    }
}

@media (max-width: 860px) {
    .appitude-app-nav {
        padding: 14px;
        border-radius: 24px;
    }

    .appitude-app-nav__links {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .appitude-app-nav__links::-webkit-scrollbar {
        display: none;
    }

    .appitude-app-nav__link {
        flex: 0 0 auto;
    }
}

@media (max-width: 640px) {
    .appitude-app-nav__user {
        flex-direction: column;
        align-items: stretch;
    }

    .appitude-app-nav__identity {
        align-items: flex-start;
        text-align: left;
    }

    .appitude-app-nav__logout {
        width: 100%;
    }
}

.appitude-shell__panel {
    min-width: 0;
    min-height: 100vh;
}

.appitude-side-menu__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100vh;
    padding: 36px 28px;
}

.appitude-side-menu .appitude-brand {
    height: auto;
    padding: 0;
    gap: 16px;
}

.appitude-side-menu__nav {
    display: grid;
    gap: 10px;
}

.appitude-side-menu__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(245, 248, 251, 0.92);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.appitude-side-menu__link:hover,
.appitude-side-menu__link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(41, 183, 240, 0.22);
    transform: translateX(2px);
}

.appitude-side-menu__link.is-active {
    background: linear-gradient(135deg, rgba(41, 183, 240, 0.18), rgba(38, 201, 195, 0.12));
    border-color: rgba(41, 183, 240, 0.24);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(5, 11, 16, 0.22);
}

.appitude-side-menu__user {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.appitude-side-menu__identity {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.appitude-side-menu__identity strong {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
}

.appitude-side-menu__identity span {
    color: rgba(245, 248, 251, 0.62);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.appitude-side-menu__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.appitude-side-menu__logout:hover,
.appitude-side-menu__logout:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 101, 36, 0.22);
    transform: translateY(-1px);
}

.appitude-side-menu__extras {
    display: grid;
    gap: 16px;
}

.appitude-mobile-topbar {
    display: none;
}

.appitude-menu-backdrop {
    display: none;
}

.appitude-result__title,
.appitude-match-detail__title,
.appitude-match-card__head h4,
.appitude-page-header h2 {
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.appitude-result__text,
.appitude-dashboard__support,
.appitude-dashboard__qr-text,
.appitude-page-header .appitude-result__text,
.appitude-match-card__summary-text,
.appitude-match-detail__subtitle,
.appitude-match-detail__disclaimer,
.appitude-debug-card p,
.appitude-feedback-form__group label {
    text-wrap: pretty;
    overflow-wrap: break-word;
}

body.appitude-view--result .appitude-side-menu__extras,
body.appitude-view--match-detail .appitude-side-menu__extras {
    display: none;
}

body.appitude-view--result .appitude-side-menu__inner,
body.appitude-view--match-detail .appitude-side-menu__inner {
    justify-content: flex-start;
}

body.appitude-view--result .appitude-brand,
body.appitude-view--match-detail .appitude-brand {
    height: auto;
    padding: 0;
}

body.appitude-view--result .appitude-brand__logo,
body.appitude-view--match-detail .appitude-brand__logo {
    justify-content: center;
}

.appitude-survey--completed {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.appitude-survey--completed .appitude-result {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.appitude-survey--completed .appitude-page-header,
.appitude-survey--completed .appitude-dashboard__intro,
.appitude-survey--completed .appitude-dashboard__share,
.appitude-survey--completed .appitude-result__summary,
.appitude-survey--completed .appitude-feedback-card,
.appitude-survey--completed .appitude-match__form,
.appitude-survey--completed .appitude-match__notice,
.appitude-survey--completed .appitude-match-card,
.appitude-survey--completed .appitude-feedback-card--empty-state {
    border-radius: 28px;
    box-shadow: 0 14px 34px rgba(14, 20, 28, 0.05);
}

@media (max-width: 1100px) {
    .appitude-shell {
        display: block;
        min-height: 100vh;
    }

    .appitude-shell__aside.slideout-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(320px, 84vw);
        min-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 20;
        display: none;
    }

    .slideout-open .appitude-shell__aside.slideout-menu {
        display: block;
    }

    .slideout-panel {
        min-height: 100vh;
        background:
            radial-gradient(circle at top right, rgba(41, 183, 240, 0.08), transparent 24%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 248, 250, 0.96) 100%);
        will-change: transform;
    }

    .slideout-open,
    .slideout-open body,
    .slideout-open .slideout-panel {
        overflow: hidden;
    }

    .appitude-shell__content {
        padding-top: 18px;
    }

    .appitude-mobile-topbar {
        position: sticky;
        top: 0;
        z-index: 18;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 18px;
        padding: 14px 16px;
        border: 1px solid rgba(45, 49, 56, 0.10);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow:
            0 18px 42px rgba(14, 20, 28, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(14px);
    }

    .appitude-mobile-topbar__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 48px;
        border: 1px solid rgba(45, 49, 56, 0.08);
        border-radius: 18px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 250, 0.94));
        color: var(--appitude-panel);
        box-shadow:
            0 12px 28px rgba(14, 20, 28, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.84);
        font-size: 1.05rem;
        flex: 0 0 auto;
        transition:
            transform 180ms ease,
            box-shadow 180ms ease,
            border-color 180ms ease;
    }

    .appitude-mobile-topbar__toggle:hover,
    .appitude-mobile-topbar__toggle:focus-visible {
        transform: translateY(-1px);
        border-color: rgba(41, 183, 240, 0.22);
        box-shadow:
            0 16px 34px rgba(14, 20, 28, 0.10),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .appitude-mobile-topbar__logo {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        flex: 0 0 auto;
        min-width: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .appitude-mobile-topbar__logo img {
        display: block;
        width: auto;
        height: 38px;
        max-width: min(164px, 56vw);
    }

    .appitude-result__title,
    .appitude-match-detail__title {
        font-size: clamp(2rem, 5.8vw, 3rem);
        line-height: 1.04;
    }

    .appitude-match-card__head h4 {
        font-size: 1.18rem;
        line-height: 1.18;
    }

    .appitude-result__text,
    .appitude-dashboard__support,
    .appitude-dashboard__qr-text,
    .appitude-page-header .appitude-result__text,
    .appitude-match-card__summary-text,
    .appitude-match-detail__subtitle,
    .appitude-match-detail__disclaimer,
    .appitude-debug-card p,
    .appitude-feedback-form__group label {
        font-size: 0.96rem;
        line-height: 1.68;
    }

    .appitude-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 12;
        border: 0;
        background: rgba(10, 14, 20, 0.42);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
    }

    body.appitude-menu-open .appitude-menu-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .appitude-side-menu__inner {
        padding: 26px 20px 24px;
    }

    .appitude-brand {
        gap: 16px;
    }

    .appitude-brand__logo {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .appitude-toast-stack {
        right: 12px;
        bottom: 14px;
        width: calc(100vw - 24px);
    }

    .appitude-toast {
        padding: 13px 14px;
        border-radius: 16px;
    }

    body.appitude-view--result .appitude-progress--dashboard-nav {
        display: none;
    }

    .appitude-mobile-topbar {
        gap: 10px;
        padding: 12px 14px;
        border-radius: 20px;
    }

    .appitude-mobile-topbar__toggle {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .appitude-mobile-topbar__logo {
        padding: 0;
    }

    .appitude-mobile-topbar__logo img {
        height: 32px;
        max-width: min(148px, 58vw);
    }

    .appitude-side-menu__inner {
        gap: 16px;
        padding: 22px 16px 20px;
    }

    .appitude-side-menu__link,
    .appitude-side-menu__logout {
        min-height: 48px;
        border-radius: 16px;
    }

    .appitude-side-menu__identity {
        border-radius: 18px;
    }

    .appitude-result__title,
    .appitude-match-detail__title {
        font-size: clamp(1.7rem, 8.8vw, 2.2rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .appitude-page-header .appitude-result__text,
    .appitude-result__text,
    .appitude-dashboard__support,
    .appitude-dashboard__qr-text,
    .appitude-match-card__summary-text,
    .appitude-match-detail__subtitle,
    .appitude-match-detail__disclaimer,
    .appitude-debug-card p,
    .appitude-feedback-form__group label {
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .appitude-match-card__head h4 {
        font-size: 1.08rem;
        line-height: 1.24;
    }

    .appitude-field label,
    .appitude-feedback-form__group label {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .appitude-survey__question p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .appitude-survey__option-label {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .appitude-survey--completed .appitude-page-header,
    .appitude-survey--completed .appitude-dashboard__intro,
    .appitude-survey--completed .appitude-dashboard__share,
    .appitude-survey--completed .appitude-result__summary,
    .appitude-survey--completed .appitude-feedback-card,
    .appitude-survey--completed .appitude-match__form,
    .appitude-survey--completed .appitude-match__notice,
    .appitude-survey--completed .appitude-match-card,
    .appitude-survey--completed .appitude-feedback-card--empty-state {
        border-radius: 22px;
        box-shadow: 0 12px 28px rgba(14, 20, 28, 0.05);
    }

    .appitude-dashboard__intro,
    .appitude-dashboard__share,
    .appitude-result__summary,
    .appitude-feedback-card,
    .appitude-match-card {
        padding: 18px;
    }

    .appitude-result__eyebrow {
        margin-bottom: 8px;
        font-size: 0.76rem;
        letter-spacing: 0.14em;
    }

    .appitude-dashboard__intro,
    .appitude-dashboard__share {
        gap: 12px;
    }

    .appitude-project-brief__step {
        padding: 14px 16px;
        border-radius: 18px;
    }

    .appitude-dashboard__chips {
        gap: 8px;
    }

    .appitude-dashboard__chip {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .appitude-dashboard__primary-actions,
    .appitude-dashboard__share-actions,
    .appitude-dashboard__secondary-actions {
        gap: 10px;
        margin-top: 2px;
    }

    .appitude-match-list {
        margin-top: 22px;
    }

    .appitude-result__summary h3,
    .appitude-feedback-card h3,
    .appitude-match-list__intro h3 {
        margin-bottom: 0;
        line-height: 1.12;
    }

    .appitude-profile-highlight {
        padding: 16px 16px 16px 20px;
        border-radius: 20px;
    }

    .appitude-profile-highlight__text {
        line-height: 1.68;
    }
}
