/* =========================================================
   MANAGER REVIEW UI
   ========================================================= */

/* tokens moved to ui-kit.css */


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;

    background: var(--surface-warm);

    color: var(--text-primary);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.hidden {
    display: none !important;
}


/* =========================================================
   PAGE
   ========================================================= */

/* =========================================================
   PAGE
   ========================================================= */

.page-shell {
    width: min(1260px, calc(100% - 44px));
    margin: 0 auto;

    background: #FBF9EA;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 82px;

    border-bottom: 1px solid #E8E4C4;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: var(--radius-md);

    background: #F0EDFF;
    color: #6D5FD5;

    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: .08em;

    box-shadow: 0 4px 12px rgba(43,27,61,.15);
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: var(--text-body);
}

.brand-copy small {
    margin-top: 2px;

    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.topbar-status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--text-secondary);
    font-size: var(--text-base);
}

.status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow: 0 4px 12px rgba(43,27,61,.15);
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    /* clears the 82px sticky topbar so nothing hides underneath it */
    padding: 104px 0 30px;
}

.intro-section {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 42px;
}

.intro-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 12px;

    color: var(--accent-strong);

    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: .18em;
}

.intro-copy h1 {
    margin: 0;

    color: var(--text-primary);

    font-size: clamp(48px, 7vw, 82px);
    line-height: .94;
    letter-spacing: -.065em;
}

.intro-copy h1 span {
    display: block;
    color: var(--accent-mid);
}

.intro-text {
    max-width: 620px;

    margin: 24px 0 0;

    color: var(--text-secondary);

    font-size: var(--text-subtitle);
    line-height: 1.7;
}


/* =========================================================
   SUMMARY CARD
   ========================================================= */

.summary-card {
    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 320px;
    flex: 0 0 320px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-xl);

    background: var(--surface-translucent);

    box-shadow: var(--shadow-lg);
}

.summary-item {
    padding: 22px;
}

.summary-item + .summary-item {
    border-left: 1px solid var(--border);
}

.summary-item span {
    display: block;

    margin-bottom: 7px;

    color: var(--text-tertiary);

    font-size: 9px;
    font-weight: 850;
    letter-spacing: .12em;
}

.summary-item strong {
    display: block;

    color: var(--text-primary);

    font-size: var(--text-display);
}


/* =========================================================
   GENERAL CARD
   ========================================================= */

.assessment-card {
    padding: 34px;

    margin-bottom: 24px;

    border: 1px solid #E8E4C4;
    border-radius: 20px;

    background: #FFFEF9;

    box-shadow: 0 8px 24px rgba(43,27,61,.06);

    animation: card-in 650ms ease both;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    margin-bottom: 28px;
}

.section-number {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    border-radius: var(--radius-md);

    background: #FBF9EA;
    color: #2B1B3D;

    font-size: var(--text-sm);
    font-weight: 800;
}

.section-heading .eyebrow {
    margin-bottom: 6px;
}

.section-heading h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -.04em;
}


/* =========================================================
   MANAGER SELECTION
   ========================================================= */

.manager-selection {
    max-width: 700px;
}

.manager-selection label {
    display: block;

    margin-bottom: 9px;

    color: var(--text-primary);

    font-size: var(--text-base);
    font-weight: 750;
}

select {
    width: 100%;
    height: 54px;

    padding: 0 42px 0 16px;

    border: 1px solid #E8E4C4;
    border-radius: var(--radius-md);

    background: #FFFEF9;
    color: #2B1B3D;
    appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--select-arrow) 50%
        ),
        linear-gradient(
            135deg,
            var(--select-arrow) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 20px) 23px,
        calc(100% - 14px) 23px;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat: no-repeat;

    transition:
        border-color var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease;
}

select:focus {
    border-color: #6D5FD5;

    box-shadow: 0 0 0 3px rgba(109,95,213,0.35);
}


/* =========================================================
   MANAGER PROFILE
   ========================================================= */

.manager-profile {
    display: flex;
    align-items: center;

    gap: 14px;

    max-width: 700px;

    margin-top: 16px;
    padding: 14px;

    border: 1px solid #E8E4C4;
    border-radius: var(--radius-lg);

    background: #FBF9EA;

    animation: slide-in 350ms ease both;
}

.profile-avatar,
.summary-avatar {
    display: grid;
    place-items: center;

    border-radius: var(--radius-md);

    background: var(--accent);
    color: var(--text-on-accent);

    font-weight: 800;
}

.profile-avatar {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;

    font-size: var(--text-base);
}

.profile-main {
    min-width: 0;
}

.profile-main strong,
.profile-main span,
.profile-main small {
    display: block;
}

.profile-main strong {
    font-size: var(--text-body);
}

.profile-main span {
    margin-top: 3px;

    color: var(--text-secondary);

    font-size: var(--text-sm);
}

.profile-main small {
    margin-top: 3px;

    color: var(--text-tertiary);

    font-size: var(--text-xs);
}


/* =========================================================
   EMPLOYEE TOOLBAR
   ========================================================= */

.employee-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.team-count {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--text-tertiary);

    font-size: var(--text-sm);
}

.team-count strong {
    display: grid;
    place-items: center;

    min-width: 28px;
    height: 28px;

    padding: 0 8px;

    border-radius: var(--radius-pill);

    background: var(--accent-soft);
    color: var(--accent-deep);

    font-size: var(--text-sm);
}


/* =========================================================
   SEARCH
   ========================================================= */

.employee-search {
    display: flex;
    align-items: center;

    width: 300px;
    height: 45px;

    padding: 0 13px;

    border: 1px solid #E8E4C4;
    border-radius: var(--radius-md);

    background: #FFFEF9;
}

.employee-search span {
    margin-right: 8px;

    color: var(--text-tertiary);
}

.employee-search input {
    width: 100%;

    border: 0;

    background: transparent;
    color: var(--text-primary);

    font-size: var(--text-base);
}


/* =========================================================
   EMPLOYEE LIST
   ========================================================= */

.employee-list {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(270px, 1fr)
        );

    gap: 13px;
}

.employee-card {
    border: 1px solid #E8E4C4;
    border-radius: var(--radius-lg);

    background: #FFFEF9;
    color: var(--text-primary);

    text-align: left;

    cursor: pointer;

    transition:
        transform var(--dur-fast) ease,
        border-color var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease,
        background var(--dur-fast) ease;

    animation: employee-in 280ms ease both;
}

.employee-card:hover {
    background: #FBF9EA;

    box-shadow: var(--shadow-md);
}

.employee-avatar {
    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;
    flex: 0 0 45px;

    border-radius: var(--radius-md);

    background: var(--violet-soft);
    color: var(--text-primary);

    font-size: var(--text-sm);
    font-weight: 850;
}

.employee-card-main {
    min-width: 0;
    flex: 1;
}

.employee-card-main strong,
.employee-card-main span,
.employee-card-main small {
    display: block;
}

.employee-card-main strong {
    overflow: hidden;

    color: var(--text-primary);

    font-size: var(--text-body);

    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-card-main span {
    margin-top: 4px;

    color: var(--text-secondary);

    font-size: var(--text-xs);
}

.employee-card-main small {
    margin-top: 5px;

    color: var(--text-tertiary);

    font-size: var(--text-2xs);
}

.employee-card-arrow {
    color: var(--text-tertiary);

    font-size: var(--text-subtitle);

    transition:
        transform var(--dur-fast) ease,
        color var(--dur-fast) ease;
}

.employee-card:hover .employee-card-arrow {
    transform: translateX(3px);

    color: var(--accent-deep);
}


/* =========================================================
   REVIEW HEADER
   ========================================================= */

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
    padding-bottom: 14px;

    border-bottom: 1px solid #E8E4C4;
}

.review-header h2 {
    color: #2B1B3D;

    font-size: 28px;
    letter-spacing: -.03em;
}

.review-header p:not(.eyebrow) {
    margin: 4px 0 0;

    color: var(--text-secondary);

    font-size: var(--text-base);
}


/* =========================================================
   BUTTON
   ========================================================= */

.secondary-button {
    border: 1px solid #E8E4C4;
    border-radius: var(--radius-md);

    padding: 12px 16px;

    background: #FFFEF9;
    color: #2B1B3D;

    font-weight: 750;

    transition:
        transform var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease;
}

.secondary-button:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   EMPLOYEE SUMMARY
   ========================================================= */

.employee-summary {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 15px 17px;

    border-radius: var(--radius-lg);

    background: #FBF9EA;

    border: 1px solid var(--violet-line);
}

/* EMPLOYEE SUMMARY */

.summary-avatar {
    width: 48px;
    height: 48px;
}

/* initials sit on a mid-tone violet, so use the paired on-surface ink */
.summary-avatar,
.employee-avatar {
    background: var(--violet);
    color: var(--on-violet);
}

.summary-avatar span,
.employee-avatar span {
    color: var(--on-violet);
    font-weight: 850;
}

/* direct children only - the avatar initials live inside .employee-summary
   but must keep their own on-violet ink */
.employee-summary > strong,
.employee-summary > span {
    display: block;
}

.employee-summary > strong {
    font-size: var(--text-base);
}

.employee-summary > span {
    margin-top: 4px;

    color: var(--text-tertiary);

    font-size: var(--text-xs);
}


/* =========================================================
   COMPARISON
   ========================================================= */

.comparison-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-top: 30px;
    margin-bottom: 20px;
}

.comparison-heading .eyebrow {
    margin-bottom: 5px;

    color: #6D5FD5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.comparison-heading h3 {
    margin: 0;

    color: #2B1B3D;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.comparison-heading > span {
    display: block;
    margin-top: 6px;

    color: #8C839C;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   SKILL REVIEW
   ========================================================= */

.skills-review-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.skill-review-row {
    display: grid;

    grid-template-columns:
        minmax(220px, 1fr)
        150px
        300px;

    gap: 18px;

    align-items: stretch;

    padding: 16px 20px;

    min-height: 105px;

    background: #FFFEF9;
    border: 1px solid #E8E4C4;
    border-radius: 14px;

    box-shadow: 0 2px 8px rgba(43,27,61,.03);

    transition:
        transform var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease,
        border-color var(--dur-fast) ease;
}

.skill-review-row:hover {
    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(43,27,61,.06);
    border-color: #6D5FD5;
}

.skill-info strong {
    display: block;

    color: #2B1B3D;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.skill-info small {
    display: block;
    margin-top: 4px;

    color: #5E5470;
    font-size: 12px;
    font-weight: 400;
}


/* =========================================================
   SELF RATING
   ========================================================= */

.self-rating {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 10px 12px;

    min-height: 64px;
    background: #FBF9EA;
    border: 1px solid #E8E4C4;
    border-radius: 10px;

    text-align: center;
    box-shadow: none;
}

.self-rating > span {
    display: block;

    margin-bottom: 2px;

    color: #8C839C;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.self-rating > strong {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;

    color: #2B1B3D;
    font-size: 18px;
    font-weight: 700;
}

/* Read-only: no hover interaction */
.self-rating.read-only {
    cursor: not-allowed;
}

.self-rating.read-only:hover {
    background: var(--surface-sunken);
}


/* =========================================================
   STAR RATING (manager)
   ========================================================= */

.manager-rating {
    display: flex;
    flex-direction: column;

    gap: 6px;

    min-width: 0;
    padding: 12px 14px;

    background: #FBF9EA;
    border: 1px solid #E8E4C4;
    border-radius: 10px;
}

.manager-rating-label {
    display: block;

    color: #2B1B3D;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.manager-rating .star-rating {
    display: flex;
    align-items: center;
    gap: 4px;

    width: fit-content;
    max-width: 100%;
    padding: 0;
    min-width: 0;

    font-size: 12px;
}

.manager-rating .star-rating .star-button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 0;
    margin: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;
    flex: 0 0 28px;

    color: #E6E2C2;

    transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.manager-rating .star-rating .star-button .icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.manager-rating .star-rating .star-button:hover {
    color: #D99A20;
    transform: scale(1.12);
}

.manager-rating .star-rating .star-button.active {
    color: #D99A20;
    filter: drop-shadow(0 0 5px rgba(217,154,32,.4));
}

.manager-rating .star-rating .star-button:focus-visible {
    outline: 2px solid #6D5FD5;
    outline-offset: 2px;
}

.star-button-preview {
    color: #E6E2C2;
}

/* =========================================================
   MANAGER JUSTIFICATION
   ========================================================= */

.manager-justification-label {
    color: #2B1B3D;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.manager-justification-textarea {
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;

    background: #FFFEF9;
    color: #2B1B3D;
    border: 1px solid #E8E4C4;
    border-radius: 8px;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    color-scheme: light;
}

.manager-justification-textarea::placeholder {
    color: #8C839C;
}

.manager-justification-textarea:focus {
    border-color: #6D5FD5;
    box-shadow: 0 0 0 3px rgba(109,95,213,.10);
}


/* =========================================================
   REMOVE BUTTON
   ========================================================= */

.skill-remove {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border: 0;
    border-radius: var(--radius-xs);

    background: transparent;

    color: var(--text-tertiary);

    font-size: var(--text-subtitle);
}

.skill-remove:hover {
    background: #FBE3E6;
    color: #E0606F;
}


/* =========================================================
   APPROVAL NOTE
   Shown before the manager submits the review.
   ========================================================= */

.approval-note {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin: 22px 0 0;
    padding: 14px 18px;

    background: #FBF9EA;
    border: 1px solid #E8E4C4;
    border-radius: 12px;

    color: #8C6A1E;

    font-size: var(--text-sm);
    line-height: 1.55;
}

.approval-note::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D99A20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.approval-note-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.approval-note-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8C6A1E;
}

.approval-note-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   MANAGER APPROVAL GATE
   Shown instead of the dashboard until the SuperFlow
   "Wait for Approval" run records its decision.
========================================================= */

.manager-approval {
    max-width: 700px;

    margin-top: 16px;

    animation: slide-in 350ms ease both;
}

.approval-gate {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    border: 2px solid #E8E4C4;
    border-radius: var(--radius-lg);

    background: #FBF3D0;

    color: #8C6A1E;
}

.approval-gate-copy {
    flex: 1;
}

.approval-gate-copy strong {
    display: block;

    font-size: var(--text-body);
    line-height: 1.5;
}

.approval-gate-copy p {
    margin: 6px 0 0;

    font-size: var(--text-sm);
    line-height: 1.6;
}

.approval-gate-copy small {
    display: block;

    margin-top: 8px;

    color: var(--amber-text-2);

    font-size: var(--text-xs);
    font-weight: 700;
}

.approval-spinner {
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    margin-top: 2px;

    border: 3px solid color-mix(in srgb, var(--amber-ink) 20%, transparent);
    border-top-color: var(--amber-spinner);

    border-radius: 50%;

    animation: spin 800ms linear infinite;
}

.approval-badge {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    margin-top: 1px;

    border-radius: 50%;

    background: color-mix(in srgb, var(--amber-ink) 14%, transparent);

    font-size: var(--text-base);
    font-weight: 800;
}

.approval-gate-blocked {
    border-color: #E8D2D6;

    background: #FBE3E6;

    color: #79534E;
}

.approval-gate-blocked .approval-badge {
    background: color-mix(in srgb, var(--danger) 18%, transparent);

    color: var(--danger);
}

.approval-gate-failed {
    border-color: var(--danger-border-3);

    background: var(--surface-sunken);

    color: var(--text-secondary);
}

.approval-gate .secondary-button {
    flex: 0 0 auto;

    align-self: center;

    padding: 8px 14px;

    font-size: var(--text-xs);
}


/* =========================================================
   REVIEW FOOTER
   ========================================================= */

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid #E8E4C4;
}

.review-progress-label {
    display: block;

    margin-bottom: 6px;

    color: #8C839C;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.review-progress {
    width: 230px;
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #E8E4C4;
}

.review-progress span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background: #6D5FD5;

    transition: width var(--dur-slow) ease;
}

.review-footer small {
    display: block;

    margin-top: 4px;

    color: #8C839C;

    font-size: 11px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.submit-button {
    border: 0;
    border-radius: 10px;

    padding: 12px 20px;

    background: #6D5FD5;
    color: #FFFFFF;

    font-weight: 800;

    box-shadow: 0 6px 16px rgba(109,95,213,.20);

    transition:
        transform var(--dur-fast) ease,
        box-shadow var(--dur-fast) ease;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);

    box-shadow: 0 16px 30px rgba(43,27,61,0.2);
}

.submit-button span {
    margin-left: 8px;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.review-success {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 17px;
    padding: 13px 15px;

    border: 1px solid var(--accent-line-2);
    border-radius: var(--radius-md);

    background: var(--accent-soft);
    color: var(--accent-deep);

    animation: slide-in 300ms ease both;
}

.success-check {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: var(--accent-line-3);

    font-weight: 900;
}

.review-success strong,
.review-success span {
    display: block;
}

.review-success strong {
    font-size: var(--text-sm);
}

.review-success span {
    margin-top: 2px;

    font-size: var(--text-xs);
}


/* =========================================================
   EMPTY / LOADING / ERROR
   ========================================================= */

.empty-state {
    padding: 45px 20px;

    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);

    background: var(--surface-sunken);

    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;

    width: 50px;
    height: 50px;

    margin: 0 auto 13px;

    border-radius: 50%;

    background: var(--accent-soft);
    color: var(--accent-deep);

    font-size: var(--text-section);
    font-weight: 900;
}

.empty-state h3 {
    margin: 0;

    color: var(--text-primary);

    font-size: var(--text-title);
}

.empty-state p {
    max-width: 430px;

    margin: 7px auto 0;

    color: var(--text-tertiary);

    font-size: var(--text-sm);
    line-height: 1.6;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 45px 20px;

    color: var(--text-tertiary);

    font-size: var(--text-sm);
}

.loading-spinner {
    width: 30px;
    height: 30px;

    margin-bottom: 12px;

    border: 3px solid var(--spinner-track);
    border-top-color: var(--accent);

    border-radius: 50%;

    animation: spin 800ms linear infinite;
}

.inline-error {
    margin-top: 15px;
    padding: 12px 14px;

    border: 1px solid #E8D2D6;
    border-radius: var(--radius-sm);

    background: #FBE3E6;
    color: #79534E;

    font-size: var(--text-sm);
    line-height: 1.5;
    white-space: pre-line;
}


/* =========================================================
   SUCCESS STATE
   ========================================================= */

.success-state {
    padding: 70px 30px;

    border: 1px solid #E8E4C4;
    border-radius: var(--radius-2xl);

    background: #FFFEF9;

    box-shadow: var(--shadow-lg);

    text-align: center;

    animation: card-in 550ms ease both;
}

.success-mark {
    background: #F0EDFF;
    color: #6D5FD5;

    font-size: var(--text-display);
    font-weight: 900;
}

.success-state h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: var(--text-hero-lg);
    letter-spacing: -.04em;
}

.success-state p:not(.eyebrow) {
    max-width: 520px;

    margin: 12px auto 24px;

    color: var(--text-secondary);

    line-height: 1.6;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    display: flex;
    justify-content: space-between;

    padding: 25px 0 34px;

    color: var(--text-tertiary);

    font-size: var(--text-xs);
}


/* =========================================================
   PREVIOUSLY RATED
   ONE EMPLOYEE = ONE BLOCK
   ========================================================= */

.previous-reviews-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   EMPLOYEE HISTORY CARD
   ========================================================= */

.previous-review-card {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--surface-raised);
}


/* =========================================================
   EMPLOYEE HISTORY HEADER
   ========================================================= */

.previous-review-header {
    display: flex;
    align-items: center;

    width: 100%;
    min-width: 0;

    gap: 14px;

    padding: 14px 18px;

    background: #FBF9EA;
    border-bottom: 1px solid #E8E4C4;
}

.previous-review-header .employee-avatar {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;
}

.previous-employee-main {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
    flex: 1;
}

.previous-employee-main strong {
    flex: 0 0 auto;

    color: var(--text-primary);

    font-size: var(--text-body);
    font-weight: 800;

    white-space: nowrap;
}

.previous-employee-main span {
    min-width: 0;

    color: var(--text-secondary);

    font-size: var(--text-xs);

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.previous-employee-main small {
    flex: 0 0 auto;

    color: var(--text-tertiary);

    font-size: var(--text-2xs);

    white-space: nowrap;
}


/* =========================================================
   HISTORY SKILLS
   ========================================================= */

.previous-skill-list {
    width: 100%;
}

.previous-skill-row {
    display: grid;

    /*
       Skill
       Self
       Manager
       Status
    */

    grid-template-columns:
        minmax(260px, 1fr)
        minmax(180px, 260px)
        120px
        90px;

    align-items: center;

    gap: 14px;

    width: 100%;
    min-width: 0;

    padding: 10px 18px;

    border-bottom: 1px solid var(--border-soft-2);
}

.previous-skill-row:last-child {
    border-bottom: none;
}


/* =========================================================
   HISTORY SKILL NAME
   ========================================================= */

.previous-skill-name {
    min-width: 0;

    overflow: hidden;
}

.previous-skill-name strong {
    display: block;

    min-width: 0;

    color: var(--text-primary);

    font-size: var(--text-sm);
    font-weight: 750;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.previous-skill-name small {
    display: block;

    margin-top: 2px;

    color: var(--text-tertiary);

    font-size: 9px;

    white-space: nowrap;
}


/* =========================================================
   HISTORY RATING
   ========================================================= */

.previous-rating {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;

    height: 34px;

    padding: 0 10px;

    border-radius: var(--radius-xs);

    background: var(--surface-sunken);

    overflow: hidden;
}

.previous-rating span {
    flex: 0 0 auto;

    margin-right: 7px;

    color: var(--text-tertiary);

    font-size: 8px;
    font-weight: 850;

    letter-spacing: .08em;
}

.previous-rating strong {
    min-width: 0;

    color: var(--text-primary);

    font-size: var(--text-xs);
    font-weight: 750;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   HISTORY STATUS
   ========================================================= */

.previous-review-status {
    min-width: 0;

    color: var(--accent-deep);

    font-size: var(--text-2xs);
    font-weight: 750;

    text-align: center;

    white-space: nowrap;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .intro-section {
        align-items: stretch;
        flex-direction: column;
    }

    .summary-card {
        width: 100%;
        flex-basis: auto;
    }

    .skill-review-row {
        grid-template-columns:
            minmax(150px, 1fr)
            130px
            190px
            35px;
    }

    .previous-skill-row {
        grid-template-columns:
            minmax(220px, 1fr)
            minmax(160px, 220px)
            105px
            80px;

        gap: 10px;

        padding: 10px 14px;
    }

    .previous-review-header {
        padding: 13px 14px;
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {

    .assessment-card {
        padding: 24px 20px;

        border-radius: 16px;
    }

    .review-header {
        padding: 18px 20px;
    }

    .review-header h2 {
        font-size: 26px;
    }

    .skill-review-row {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .skill-info {
        font-size: 12px;
    }

    .skill-remove {
        right: 6px;
        top: 6px;
    }

    .manager-rating {
        flex-direction: row;
        justify-content: flex-start;
        gap: 4px;
    }

    .manager-rating .star-rating {
        gap: 2px;
    }

    .manager-rating .star-rating .star-button {
        width: 24px;
        height: 24px;
    }

    .manager-rating .star-rating .star-button .icon {
        width: 18px;
        height: 18px;
    }

    .review-progress {
        width: 100%;
    }

    .review-footer {
        flex-direction: column;

        gap: 10px;
    }


    .review-progress-label,
    .review-footer small {
        text-align: left;
    }

    .submit-button {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .page-shell {
        padding: 0 12px;
    }

    main {
        padding-top: 40px;
    }

    .review-header h2 {
        font-size: 24px;
    }

    .review-progress {
        height: 4px;
    }

    .skill-review-row {
        padding: 12px 14px;
        min-height: auto;
    }

    .manager-rating {
        gap: 4px;
    }

    .manager-rating .star-rating .star-button {
        width: 22px;
        height: 22px;
    }

    .manager-rating .star-rating .star-button .icon {
        width: 18px;
        height: 18px;
    }

    .review-footer {
        gap: 6px;
    }

    .review-footer small {
        font-size: 10px;
    }

    .submit-button {
        padding: 10px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .page-shell {
        width: min(
            100% - 24px,
            1260px
        );
    }

    main {
        /* clears the 70px sticky topbar on small screens */
        padding-top: 46px;
    }

    .topbar {
        min-height: 70px;
    }

    .topbar-status {
        display: none;
    }

    .intro-copy h1 {
        font-size: var(--text-hero-xl);
    }

    .assessment-card {
        padding: 22px;

        border-radius: var(--radius-xl);
    }

    .employee-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .employee-search {
        width: 100%;
    }

    .review-header {
        align-items: stretch;
        flex-direction: column;
    }

    .review-header h2 {
        font-size: var(--text-hero);
    }

    .skill-review-row {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .manager-rating {
        align-items: flex-start;
    }

    .skill-remove {
        position: absolute;

        right: 10px;
        top: 10px;
    }

    .skill-review-row {
        padding-right: 48px;
    }

    .review-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .review-progress {
        width: 100%;
    }

    .submit-button {
        width: 100%;
    }

    footer {
        gap: 12px;

        flex-direction: column;
    }


    /* ---------------------------------------------
       Previous reviews mobile
       --------------------------------------------- */

    .previous-review-header {
        align-items: flex-start;
    }

    .previous-employee-main {
        display: block;
    }

    .previous-employee-main strong,
    .previous-employee-main span,
    .previous-employee-main small {
        display: block;
    }

    .previous-employee-main span {
        margin-top: 3px;
    }

    .previous-employee-main small {
        margin-top: 3px;
    }

    .previous-skill-row {
        grid-template-columns: 1fr 1fr;

        gap: 9px;

        padding: 12px 14px;
    }

    .previous-skill-name {
        grid-column: 1 / -1;
    }

    .previous-review-status {
        grid-column: 1 / -1;

        text-align: left;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .previous-skill-row {
        grid-template-columns: 1fr;
    }

    .previous-skill-name,
    .previous-review-status {
        grid-column: auto;
    }

    .previous-rating {
        justify-content: flex-start;
    }
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

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

@keyframes employee-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

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

@keyframes skill-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

@keyframes star-pop {
    0% {
        transform: scale(.8);
    }

    55% {
        transform: scale(1.22);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   UI ENHANCEMENT LAYER
   Loaded after the base rules, so these win.
   ========================================================= */

/* ---------- select: crisp SVG chevron (theme aware) ---------- */

select {
    padding-right: 46px;

    background-color: var(--surface-raised);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f6879' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 18px center;
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

@media (prefers-color-scheme: dark) {

    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b6aecb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    }
}

@media (hover: hover) {

    select:hover {
        border-color: var(--border-strong);
        box-shadow: var(--shadow-sm);
    }
}

/* ---------- cards use themed tokens, not hard-coded cream ---------- */

.assessment-card {
    border-color: var(--border);

    background: #FFFEF9;

    box-shadow: var(--shadow-sm);
}

.summary-card {
    box-shadow: var(--shadow-sm);

    background: #FFFEF9;
}

.section-number {
    background: #FBF9EA;
}

/* ---------- cards ---------- */

.employee-card,
.previous-review-card,
.skill-review-row {

    transition:
        transform var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard),
        border-color var(--dur-fast) var(--ease-standard),
        background-color var(--dur-fast) var(--ease-standard);
}

@media (hover: hover) {

    .employee-card:hover {
    background: #FBF9EA;
        box-shadow: var(--shadow-md);
    }

    .employee-card:hover .employee-card-arrow {
        transform: translateX(4px);
    }

    .skill-review-row:hover {
        background: var(--violet-wash);
        box-shadow: var(--shadow-sm);
    }

    .previous-review-card:hover {
        transform: translateY(-2px);
        border-color: var(--border-strong);
        box-shadow: var(--shadow-md);
    }
}

.employee-card-arrow {

    transition: transform var(--dur-fast) var(--ease-standard);
}

.previous-review-card {

    box-shadow: var(--shadow-sm);
}

/* ---------- stars (SVG inside the buttons) ---------- */

.star-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;

    padding: 0;
    margin: 0;

    border-radius: var(--radius-xs);
    flex: 0 0 32px;

    box-sizing: border-box;

    color: var(--star-idle-2);
}

.star-button .icon {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    flex: 0 0 24px;

    fill: currentColor;
    stroke: none;

    transition: transform var(--dur-fast) var(--ease-spring);
}

.star-button:hover .icon {
    transform: scale(1.14);
}

.star-button.active {
    color: var(--star-active-2);
}

.star-button.active .icon {
    filter: drop-shadow(0 2px 6px
        color-mix(in srgb, var(--star-active) 45%, transparent));
}

.star-button:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

/* ---------- buttons ---------- */

.submit-button {
    box-shadow: var(--shadow-plum-sm);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.secondary-button {

    transition:
        background-color var(--dur-fast) var(--ease-standard),
        border-color var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard),
        transform var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard);
}

@media (hover: hover) {

    .secondary-button:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }
}

/* ---------- approval gate ---------- */

.manager-approval {

    box-shadow: var(--shadow-sm);
}

.approval-spinner {
    position: relative;
}

.approval-spinner::after {
    content: "";
    position: absolute;
    inset: -6px;

    border-radius: var(--radius-pill);

    background: var(--amber-soft);
    opacity: 0.6;

    animation: gate-pulse 2.4s var(--ease-standard) infinite;
}

@keyframes gate-pulse {

    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.22;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

/* ---------- progress + counters ---------- */

.review-progress > span {
    background: #6D5FD5;

    box-shadow: 0 0 12px
        color-mix(in srgb, #6D5FD5 45%, transparent);

    transition: width var(--dur-base) var(--ease-standard);
}

/* ---------- topbar ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;

    background: var(--surface);

    border-bottom: 1px solid var(--border);
}

.brand-mark {
    box-shadow: var(--shadow-sm);
}

/* ---------- empty + success states ---------- */

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border-radius: var(--radius-pill);

    background: var(--violet-soft);
    color: var(--violet-deep);
}

.empty-icon .icon {
    width: 26px;
    height: 26px;
}

.success-check,
.success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--accent-soft);
    color: var(--accent-ink);
}

.success-check .icon,
.success-mark .icon {
    width: 0.62em;
    height: 0.62em;
}

.approval-badge {
    background: color-mix(in srgb, var(--danger) 16%, transparent);
}

/* ---------- inline error ---------- */

.inline-error {
    display: flex;
    align-items: center;
    gap: 10px;

    box-shadow: var(--shadow-sm);
}

/* ---------- long text safety ---------- */

.manager-profile span,
.summary-avatar + div span,
.previous-skill-name {

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- rating summary (inline SVG stars + value) ---------- */

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;

    vertical-align: -0.22em;
}

.rating-stars .icon {
    width: 0.98em;
    height: 0.98em;

    fill: var(--star-idle);
    stroke: none;
}

.rating-stars .icon-fill {
    fill: var(--star-idle);
}

.rating-value {
    margin-left: 7px;

    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Self-rating: read-only, muted beige/gold, no hover */
.rating-stars.read-only .icon {
    fill: #B8B08F !important;
    stroke: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.rating-stars.read-only .icon-fill {
    fill: #D99A20 !important;
    stroke: none !important;
    opacity: 1 !important;
}

.rating-stars.read-only .icon-fill:hover {
    fill: #D99A20 !important;
    stroke: none !important;
    opacity: 1 !important;
}

/* Keep manager rating stars interactive */
.rating-stars:not(.read-only) .icon {
    cursor: pointer;
    transition: fill var(--dur-fast) ease;
}

.rating-stars:not(.read-only) .icon:hover {
    fill: #F5B93A;
}

/* ---------- approval note ---------- */

.approval-note {
    box-shadow: var(--shadow-amber-sm);
}

/* ---------- focus rings must always win ---------- */

select:focus-visible,
.employee-search input:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

/* Employee-first review cards and compact profile details */
.employee-card,
.previous-employee-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid #E8E4C4;
    border-radius: 14px;
    background: #FFFEF9;
    color: #2B1B3D;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.employee-card:hover,
.previous-employee-card:hover {
    border-color: #B7A9D2;
    background: #FBF9EA;
    transform: translateY(-1px);
}
.employee-card-title,
.previous-card-top,
.employee-card-bottom,
.previous-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}
.employee-card-title strong,
.previous-card-top strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #2B1B3D;
    font-size: 16px;
    font-weight: 750;
}
.employee-card-id { color: #594B68; font-size: 12px; font-weight: 700; }
.employee-card-email { color: #5E5470; font-size: 12px; overflow-wrap: anywhere; }
.employee-card-meta { color: #655C70; font-size: 12px; line-height: 1.45; }
.employee-card-bottom,
.previous-card-bottom {
    margin-top: 7px;
    padding-top: 10px;
    border-top: 1px solid #EEEAD4;
    color: #6D6376;
    font-size: 11px;
}
.employee-card-bottom span,
.previous-card-bottom span { color: #6D5FD5; font-weight: 700; white-space: nowrap; }
.review-status-pill {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid #E9D69B;
    border-radius: 999px;
    background: #FBF4DD;
    color: #72540E;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
}
.review-status-pill.reviewed { border-color: #CBDCCB; background: #EEF5EA; color: #416347; }
.previous-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.previous-employee-card { height: 100%; }
.previous-card-bottom { justify-content: space-between; }
.profile-details-block { margin: 20px 0 24px; padding: 18px 0 2px; border-top: 1px solid #E8E4C4; }
.assessment-summary-block { display: grid; gap: 2px; margin: 0 0 18px; }
.assessment-date-line { margin: 0; color: #6A5888; font-size: 13px; font-weight: 500; line-height: 1.4; }
.profile-details-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.profile-experience { display: flex; align-items: flex-start; margin-left: auto; color: #3D2A6E; font-size: 14px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.profile-experience-career { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.profile-experience-title { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.profile-experience strong { color: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; line-height: inherit; }
.profile-experience-dot { margin: 0 8px; }
.profile-experience small { display: block; margin: 0; color: #6A5888; font-size: 12px; font-weight: 500; line-height: 1.3; text-align: left; white-space: nowrap; }
.profile-details-heading .eyebrow { margin: 0; }
.profile-details-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 22px; }
.profile-detail { min-width: 0; padding: 8px 0; border-bottom: 1px solid #F0EDD9; }
.profile-detail span { display: block; margin-bottom: 4px; color: #81778B; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-detail strong { display: block; color: #342744; font-size: 12px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.skill-review-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; padding: 15px 17px; min-height: 0; }
.skill-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.skill-info strong { font-size: 16px; }
.skill-card-state { flex: 0 0 auto; color: #81778B; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.skill-section-label { display: block; margin-bottom: 7px; color: #5F526F; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.skill-employee-details { padding: 10px 12px; border: 1px solid #E9E4CA; border-radius: 10px; background: #FCFAF0; }
.employee-assessment-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: #5E5470; font-size: 11px; }
.employee-assessment-line > span { color: #7B7185; }
.employee-assessment-line > strong { margin-right: 10px; color: #382A4B; font-size: 12px; }
.self-rating-value .rating-stars { gap: 2px; color: #D99A20; }
.self-rating-value .rating-stars .icon { width: 14px; height: 14px; }
.self-rating-value .rating-value { margin-left: 4px; color: #382A4B; font-size: 12px; }
.skill-reason { margin: 8px 0 0; color: #51465E; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.skill-manager-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.manager-input-area { display: grid; grid-template-columns: minmax(180px, 230px) minmax(240px, 1fr); gap: 6px 18px; align-items: center; }
.manager-input-area .skill-section-label { grid-column: 1 / -1; }
.manager-stars .star-button { color: #CFC6A7 !important; }
.manager-stars .star-button.active { color: #D99A20 !important; }
.manager-justification-label { grid-column: 2; grid-row: 2; margin: 0; }
.manager-justification-textarea { grid-column: 2; grid-row: 3; min-height: 42px; }
.manager-stars { grid-column: 1; grid-row: 2 / span 2; }
.skill-review-row.is-missing {
    border-color: #E7A3A3;
    background: #FFF8F6;
}

.missing-notice {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(43, 27, 61, .28);
}

.missing-notice-card {
    width: min(440px, 100%);
    padding: 22px 22px 18px;
    border: 1px solid #E8E4C4;
    border-radius: 16px;
    background: #FFFEF9;
    box-shadow: 0 16px 40px rgba(43, 27, 61, .16);
}

.confirm-notice-card {
    width: min(520px, 100%);
    max-height: min(88vh, 760px);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.confirm-notice-head {
    flex: 0 0 auto;
    padding: 22px 22px 10px;
}

.confirm-notice-head .confirm-note {
    margin: 0;
}

.confirm-notice-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 22px 12px;
    -webkit-overflow-scrolling: touch;
}

.confirm-notice-actions {
    flex: 0 0 auto;
    margin: 0;
    padding: 14px 22px 18px;
    border-top: 1px solid #E8E4C4;
    background: #FFFEF9;
}

.confirm-summary-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.confirm-summary-item {
    padding: 10px 12px;
    border: 1px solid #E8E4C4;
    border-radius: 10px;
    background: #FBF9EA;
}

.confirm-summary-skill {
    color: #2B1B3D;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.confirm-summary-meta {
    margin-top: 4px;
    color: #5E5470;
    font-size: 13px;
    line-height: 1.4;
}

.confirm-summary-remark {
    margin-top: 6px;
    color: #6A5888;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.missing-notice-card h2 {
    margin: 4px 0 12px;
    color: #2B1B3D;
    font-size: 22px;
    line-height: 1.3;
}

.missing-notice-card ul {
    margin: 0 0 16px;
    padding-left: 18px;
    color: #5E5470;
    font-size: 14px;
    line-height: 1.5;
}

.missing-notice-card li + li {
    margin-top: 6px;
}

.missing-notice-card .submit-button {
    min-width: 0;
}
.skill-validation-message { min-height: 0; margin: 0; color: #8B6420; font-size: 10px; }
.skill-validation-message:empty { display: none; }
.manager-readonly-rating { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #5F526F; font-size: 12px; }
.manager-readonly-rating strong { color: #342744; }
.manager-readonly-justification { padding-top: 7px; border-top: 1px solid #EEEAD4; }
.manager-readonly-justification span { color: #5F526F; font-size: 11px; font-weight: 700; }
.manager-readonly-justification p { margin: 5px 0 0; color: #493E55; font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-preview-summary { max-width: 480px; }
.review-preview-label { margin-top: 7px; color: #776B83 !important; font-size: 9px !important; font-weight: 800; letter-spacing: .1em; }
.review-status-pill { text-transform: uppercase; }
.review-card { scroll-margin-top: 96px; }
.employee-summary > div:not(.summary-avatar) { display: grid; gap: 4px; min-width: 0; }
.employee-summary > div:not(.summary-avatar) strong,
.employee-summary > div:not(.summary-avatar) span { overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .profile-details-heading { flex-wrap: wrap; }
    .profile-experience, .profile-experience small { white-space: normal; }
    .profile-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .manager-input-area { grid-template-columns: minmax(150px, 190px) minmax(180px, 1fr); }
}
@media (max-width: 600px) {
    .profile-details-grid { grid-template-columns: minmax(0, 1fr); }
    .manager-input-area { grid-template-columns: minmax(0, 1fr); }
    .manager-stars, .manager-justification-label, .manager-justification-textarea { grid-column: 1; grid-row: auto; }
    .employee-card-title, .previous-card-top { align-items: flex-start; }
    .employee-card-title strong, .previous-card-top strong { overflow-wrap: anywhere; }
    .employee-card-bottom, .previous-card-bottom { align-items: flex-start; }
    .employee-assessment-line { align-items: baseline; }
}

/* Final overrides keep the responsive skill layout compact after legacy rules. */
.summary-button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; border: 0; background: transparent; color: inherit; text-align: left; }
.summary-button:hover:not(:disabled) { background: #FBF8E8; }
.summary-button.is-active { box-shadow: inset 0 -3px 0 #BFA653; }
.summary-button:focus-visible { outline: 3px solid #76649A; outline-offset: -4px; }
.employees-card.section-active { border-color: #B7A9D2; box-shadow: 0 0 0 3px rgba(109,95,213,.09), var(--shadow-sm); }
.skill-review-row { grid-template-columns: minmax(220px, 1fr) 180px minmax(300px, 1.25fr); align-items: center; gap: 13px; min-height: 112px; padding: 11px 14px; }
.skill-review-row > section { min-width: 0; }
.skill-info strong { font-size: 14px; line-height: 1.25; }
.skill-info small { margin-top: 3px; font-size: 11px; }
.skill-section-label { margin-bottom: 5px; font-size: 9px; }
.skill-employee-details { padding: 0; border: 0; background: transparent; }
.employee-assessment-line { gap: 3px 6px; font-size: 10px; }
.employee-assessment-line > strong { margin-right: 5px; font-size: 11px; }
.self-rating-value .rating-stars .icon { width: 13px; height: 13px; }
.rating-stars.read-only .icon { fill: #CFC8B6 !important; opacity: 1 !important; }
.rating-stars.read-only .icon.icon-fill { fill: #D99A20 !important; opacity: 1 !important; }
.skill-reason { margin-top: 5px; font-size: 11px; line-height: 1.35; }
.skill-manager-details { gap: 4px; }
.manager-input-area { grid-template-columns: 104px minmax(0, 1fr); gap: 4px 10px; align-items: center; }
.manager-input-area .manager-stars { grid-column: 1; grid-row: 1 / span 2; }
.manager-justification-label { grid-column: 2; grid-row: 1; font-size: 10px; }
.manager-justification-textarea { grid-column: 2; grid-row: 2; min-height: 38px; height: 42px; padding: 7px 9px; font-size: 11px; }
.manager-readonly-rating { padding: 2px 0 5px; }
.manager-readonly-justification { padding-top: 4px; }
.manager-readonly-justification p { margin-top: 3px; font-size: 11px; line-height: 1.35; }
.skill-validation-message { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .employee-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
    .skill-review-row { grid-template-columns: minmax(0, 1fr); gap: 9px; min-height: auto; }
    .manager-input-area { grid-template-columns: minmax(90px, 120px) minmax(0, 1fr); }
    .skill-validation-message { grid-column: 1; }
}
@media (max-width: 600px) {
    .employee-list { grid-template-columns: minmax(0, 1fr); }
    .summary-card { width: 100%; flex-basis: 100%; }
    .summary-item { padding: 16px 14px; }
    .skill-review-row { padding: 12px; }
    .manager-input-area { grid-template-columns: minmax(0, 1fr); }
    .manager-input-area .manager-stars, .manager-justification-label, .manager-justification-textarea { grid-column: 1; grid-row: auto; }
    .manager-input-area .manager-stars { justify-content: flex-start; }
}

/* Compact skill rating card: keep both five-star ratings on one line. */
.skill-review-row {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 180px) minmax(260px, 1.25fr);
    gap: 12px;
    min-height: 0;
    padding: 12px 14px;
}

.skill-review-row > section,
.manager-input-area { min-width: 0; }

.employee-assessment-line {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 4px 6px;
}

.employee-assessment-line > span:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.employee-assessment-line > strong:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    white-space: nowrap;
}
.employee-assessment-line > span:first-child { grid-column: 1; grid-row: 1; }
.employee-assessment-line > strong:first-of-type {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
}

.self-rating-value,
.self-rating-value .rating-stars {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

.self-rating-value .rating-stars { gap: 2px; }
.self-rating-value .rating-stars .icon {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.rating-stars.read-only .icon {
    fill: #E6E2C2 !important;
    opacity: 1 !important;
}

.rating-stars.read-only .icon.icon-fill {
    fill: #D99A20 !important;
    opacity: 1 !important;
}

.manager-input-area {
    grid-template-columns: 158px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
}

.skill-review-row.read-only .manager-input-area {
    grid-template-columns: minmax(0, 1fr);
}

.manager-input-area .manager-stars {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.manager-stars .star-button {
    display: inline-flex;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    width: 29px;
    min-width: 29px;
    max-width: 29px;
    height: 30px;
    padding: 0;
    color: #E6E2C2 !important;
}

.manager-stars .star-button .icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: currentColor !important;
    opacity: 1 !important;
}

.manager-stars .star-button.active,
.manager-stars .star-button.active .icon {
    color: #D99A20 !important;
    fill: #D99A20 !important;
}

.manager-stars .star-button:focus-visible {
    outline: 2px solid #6D5FD5;
    outline-offset: 1px;
}

.manager-justification-label { grid-column: 2; grid-row: 1; }
.manager-justification-textarea {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 40px;
    height: 42px;
}
.manager-input-area .manager-stars { grid-column: 1; grid-row: 1 / span 2; }

@media (max-width: 900px) {
    .skill-review-row { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .manager-input-area { grid-template-columns: 158px minmax(0, 1fr); }
    .employee-assessment-line { max-width: 240px; }
}

@media (max-width: 600px) {
    .skill-review-row { padding: 12px; }
    .manager-input-area { grid-template-columns: minmax(0, 1fr); }
    .manager-input-area .manager-stars,
    .manager-justification-label,
    .manager-justification-textarea { grid-column: 1; grid-row: auto; }
}

html:has(#loginScreen:not(.hidden)),
body:has(#loginScreen:not(.hidden)) {
    height: 100%;
    overflow: hidden;
}

body:has(#loginScreen:not(.hidden)) .page-shell {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body:has(#loginScreen:not(.hidden)) .topbar {
    flex: 0 0 auto;
}

body:has(#loginScreen:not(.hidden)) main {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
}

body:has(#loginScreen:not(.hidden)) footer {
    display: none;
}

.login-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 0;
}

.login-stage.hidden {
    display: none;
}

.login-card {
    width: min(820px, 100%);
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-card:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.portal-rail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    min-height: 100%;
    padding: 28px 22px;
    color: #FFFFFF;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .34), transparent 42%),
        linear-gradient(165deg, #E2B45C 0%, #C4922A 48%, #8C6A1E 100%);
}

.portal-kicker {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.portal-role {
    display: block;
    margin-top: 8px;
    font-size: 36px;
    line-height: .95;
    letter-spacing: -0.03em;
}

.portal-purpose {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .94);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.portal-steps {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.portal-steps span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    font-size: 11px;
    font-weight: 700;
}

.login-main {
    min-width: 0;
    padding: 32px 28px 28px;
}

.field-hint {
    margin: 0;
    color: #8C6A1E;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.topbar-status {
    padding: 7px 12px;
    border-radius: 999px;
    background: #FBF3D0;
    color: #8C6A1E;
    font-weight: 700;
}

@media (max-width: 900px) {
    .topbar-status {
        display: flex;
    }
}

.status-dot {
    background: #C4922A;
    box-shadow: 0 0 0 2px rgba(196, 146, 42, .35);
}

.login-stage.is-loading .login-panel {
    display: none;
}

.login-stage:not(.is-loading) .login-loader {
    display: none;
}

.login-loader {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 240px;
    align-content: center;
    text-align: center;
}

.login-loader strong {
    color: #2B1B3D;
    font-size: 20px;
    font-weight: 700;
}

.login-orbit {
    position: relative;
    width: 108px;
    height: 108px;
    margin-bottom: 10px;
    border: 1px solid #E8E4C4;
    border-radius: 50%;
}

.login-orbit::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid transparent;
    border-top-color: #6D5FD5;
    border-radius: 50%;
    animation: spin 1.1s linear infinite;
}

.login-orbit i {
    position: absolute;
    inset: 0;
    transform: rotate(calc(var(--i) * 72deg));
}

.login-orbit i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: #E6E2C2;
    clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 92%, 50% 72%, 21% 92%, 31% 56%, 2% 35%, 38% 34%);
    animation: login-star 1.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.16s);
}

@keyframes login-star {
    0%, 70%, 100% {
        background: #E6E2C2;
        transform: scale(1);
    }
    35% {
        background: #D99A20;
        transform: scale(1.28);
    }
}

.login-panel .section-heading {
    margin-bottom: 8px;
}

.login-lead {
    margin: 6px 0 0;
    color: #5E5470;
    font-size: 14px;
    line-height: 1.5;
}

.login-form {
    display: grid;
    gap: 8px;
    max-width: none;
}

.login-form label {
    margin-top: 8px;
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: 700;
}

.login-form input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    color: var(--text-primary);
    font: inherit;
    font-size: var(--text-base);
}

.login-form input:focus {
    outline: none;
    border-color: #6D5FD5;
    box-shadow: 0 0 0 3px rgba(109, 95, 213, .15);
}

.login-form .submit-button {
    width: 100%;
    min-width: 0;
    margin-top: 16px;
    justify-content: center;
}

.login-status {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    border: 2px solid #E8CF7A;
    border-radius: var(--radius-lg);
    background: #FBF3D0;
    color: #8C6A1E;
}

.login-status-copy {
    min-width: 0;
}

.login-status-orbit {
    position: relative;
    width: 72px;
    height: 72px;
    border: 1px solid #E4C56A;
    border-radius: 50%;
    background: #FFF8DE;
}

.login-status-orbit::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid transparent;
    border-top-color: #A87305;
    border-radius: 50%;
    animation: spin 1.1s linear infinite;
}

.login-status-orbit i {
    position: absolute;
    inset: 0;
    transform: rotate(calc(var(--i) * 72deg));
}

.login-status-orbit i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 11px;
    height: 11px;
    margin-left: -5.5px;
    background: #E8D48A;
    clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 92%, 50% 72%, 21% 92%, 31% 56%, 2% 35%, 38% 34%);
    animation: login-status-star 1.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.16s);
}

@keyframes login-status-star {
    0%, 70%, 100% {
        background: #E8D48A;
        transform: scale(1);
    }
    35% {
        background: #A87305;
        transform: scale(1.25);
    }
}

.login-status-copy .eyebrow {
    margin: 0;
    color: #8C6A1E;
}

.login-status strong {
    display: block;
    margin-top: 4px;
    color: #8C6A1E;
    font-size: var(--text-body);
    line-height: 1.5;
}

.login-status p {
    margin: 6px 0 0;
    color: #8C6A1E;
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.6;
}

.login-status small {
    display: block;
    margin-top: 8px;
    color: var(--amber-text-2);
    font-size: var(--text-xs);
    font-weight: 700;
}

.login-status .secondary-button {
    grid-column: 2;
    justify-self: start;
    padding: 8px 14px;
    font-size: var(--text-xs);
}

.login-status-rejected {
    grid-template-columns: minmax(0, 1fr);
    border-color: #E8D2D6;
    background: #FBE3E6;
    color: #79534E;
}

.login-status-rejected .eyebrow,
.login-status-rejected strong,
.login-status-rejected p {
    color: #79534E;
}

.login-status-rejected .secondary-button {
    align-self: center;
}

.login-form.is-waiting label,
.login-form.is-waiting input,
.login-form.is-waiting .field-hint,
.login-form.is-waiting .submit-button,
.login-form.is-rejected label,
.login-form.is-rejected input,
.login-form.is-rejected .field-hint,
.login-form.is-rejected .submit-button {
    display: none;
}

.login-panel:has(.login-form.is-waiting) .login-lead,
.login-panel:has(.login-form.is-rejected) .login-lead {
    display: none;
}

@media (max-width: 720px) {
    .login-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-rail {
        gap: 16px;
        padding: 20px 18px;
    }

    .portal-role {
        font-size: 30px;
    }
}

.skill-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 28px;
    min-height: 28px;
}

.skill-status .skill-tick,
.skill-status .skill-gap {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}

.skill-status .skill-tick { color: #1F8A4C; }
.skill-status .skill-gap { color: #C44747; }

.manager-input-area .skill-rating-area {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
}

.manager-input-area .skill-feedback {
    width: auto;
    min-height: 1.2em;
    color: #5E5470;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.manager-stars.star-rating { gap: 4px; }

.manager-stars .star-button {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #E6E2C2 !important;
}

.manager-stars .star-button .icon {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    max-width: 27px;
    max-height: 27px;
    fill: currentColor !important;
    transform: none;
}

.manager-stars .star-button.active,
.manager-stars .star-button.active .icon {
    color: #A87305 !important;
    fill: currentColor !important;
    filter: drop-shadow(0 0 5px rgba(168, 115, 5, .28));
}

@media (hover: hover) {
    .manager-stars .star-button:hover,
    .manager-stars .star-button:hover .icon {
        color: #D99A20 !important;
        filter: drop-shadow(0 0 9px rgba(217, 154, 32, .55));
    }
}

.manager-input-area {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.confirm-note {
    margin: 0 0 12px;
    color: #5E5470;
    font-size: 14px;
    line-height: 1.45;
}

.missing-notice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 900px) {
    .manager-input-area .skill-rating-area,
    .manager-justification-label,
    .manager-justification-textarea {
        grid-column: 1;
        grid-row: auto;
    }
}

.topbar {
    min-height: 96px;
}

.brand {
    align-items: center;
    gap: 18px;
    margin-left: 0;
}

.brand-copy {
    display: flex;
    align-items: center;
    margin: 0;
    padding-left: 18px;
    border-left: 1.5px solid #E4D7A4;
    color: #2B1B3D;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    transform: translateY(-6px);
}

.brand-logo {
    display: flex;
    align-items: center;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-logo img {
    display: block;
    height: 74px;
    width: auto;
    max-width: min(360px, 58vw);
    object-fit: contain;
}

.section-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}

.section-mark img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.login-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(820px, calc(100% - 32px));
    max-height: 100%;
}

.login-frame .login-card {
    width: 100%;
}

@media (max-width: 640px) {
    .brand-logo img {
        height: 52px;
    }

    .brand-copy {
        display: none;
    }
}
