/* ========================================================================== */
/* FONTS — single source of truth                                              */
/* Edit this section to change typography app-wide. Everything else follows.   */
/* ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200&family=Outfit:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
    /* Family values — only edit these two lines to swap fonts app-wide */
    --hcs-font-main: "Outfit", sans-serif;
    --hcs-font-light: "Nunito", sans-serif;
    --hcs-font-light-weight: 200;                     /* Nunito Extra Light */

    /* Role aliases — point at main/light as needed */
    --hcs-font-body: var(--hcs-font-main);
    --hcs-font-heading: var(--hcs-font-main);
}

/* Utility classes — prefer these in templates over inline font-family */
.hcs-font-main {
    font-family: var(--hcs-font-main);
}

.hcs-font-light {
    font-family: var(--hcs-font-light);
    font-weight: var(--hcs-font-light-weight);
}

.hcs-page-title {
    margin: 0;
    font-family: var(--hcs-font-heading);
    font-size: 2.25rem;
    font-weight: 200;
    line-height: 1.15;
}

.hcs-page-title-lg {
    font-size: 2.5rem;
}

.hcs-section-heading {
    margin: 0;
    font-family: var(--hcs-font-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

/* ========================================================================== */
/* Theme tokens                                                                */
/* ========================================================================== */

:root {
    --hcs-background: #ffffff;
    --hcs-foreground: #141414;
    --hcs-card: #ffffff;
    --hcs-muted-foreground: #666666;
    --hcs-muted: #666666;
    --hcs-border: #d9d9d9;
    --hcs-secondary: #ece8e2;

    /* Theme accent — change these to restyle the product */
    --hcs-hearst-accent-color-1: #141414;
    --hcs-hearst-accent-color-1-rgb: 20, 20, 20;
    --hcs-hearst-accent-color-1-hover: #2b2b2b;
    --hcs-hearst-accent-color-1-active: #000000;
    --hcs-accent-soft-bg: color-mix(in srgb, var(--hcs-hearst-accent-color-1) 8%, #ffffff);
    --hcs-accent-soft-border: color-mix(in srgb, var(--hcs-hearst-accent-color-1) 35%, #ffffff);

    /* Status / alert palette */
    --hcs-success: #047857;
    --hcs-alert: #c47f1a;
    --hcs-alert-text: #8a5a0f;
    --hcs-alert-border: #e6c48a;
    --hcs-alert-bg: #fff8ee;
    --hcs-alert-row-bg: #fffaf2;

    --hcs-hearst-gold: #b0925e;
    --hcs-hearst-ivory: #faf7f1;
}

/* -------------------------------------------------------------------------- */
/* Shared text + banner utilities                                              */
/* -------------------------------------------------------------------------- */

.hcs-text-sm {
    font-size: 0.875rem;
}

.hcs-text-xs {
    font-size: 0.75rem;
}

.hcs-text-banner {
    font-size: 0.8rem;
}

.hcs-text-muted {
    color: var(--hcs-muted-foreground);
}

.hcs-label {
    font-family: var(--hcs-font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hcs-banner {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hcs-border);
    font-size: 0.8rem;
}

.hcs-banner-success {
    border-color: var(--hcs-success) !important;
    color: var(--hcs-success);
}

.hcs-banner-danger {
    border-color: var(--hcs-hearst-accent-color-1) !important;
    color: var(--hcs-hearst-accent-color-1);
}

.hcs-banner-alert {
    border-color: var(--hcs-alert-border) !important;
    color: var(--hcs-alert-text);
    background: var(--hcs-alert-bg);
}

.hcs-status-pill {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--hcs-border);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hcs-status-pill-success {
    border-color: var(--hcs-success);
    color: var(--hcs-success);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--hcs-background);
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-body);
}

.content-section {
    background: var(--hcs-card);
    padding: 20px;
    border: 1px solid var(--hcs-border);
    border-radius: 2px;
    margin-bottom: 20px;
}

.hcs-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 7px 8px 7px 10px;
    border: 1px solid var(--hcs-border);
    background: #ffffff;
    color: var(--hcs-foreground);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hcs-active-filter-label {
    line-height: 1.2;
}

.hcs-active-filter-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: var(--hcs-muted-foreground);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}

.hcs-active-filter-remove:hover {
    color: var(--hcs-foreground);
}

.hcs-active-filters {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* -------------------------------------------------------------------------- */
/* App shell                                                                   */
/* -------------------------------------------------------------------------- */

.hcs-app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* -------------------------------------------------------------------------- */
/* Assign modal                                                                */
/* -------------------------------------------------------------------------- */

.hcs-assign-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: none;
    background: rgba(0, 0, 0, 0.62);
}

.hcs-assign-backdrop.is-open {
    display: block;
}

.hcs-assign-body {
    padding: 0 28px 26px;
}

.hcs-assign-cancel,
.hcs-assign-submit {
    height: 40px;
    padding: 0 18px;
    border-radius: 0;
    font-family: var(--hcs-font-main);
    font-size: 0.75rem;
}

.hcs-assign-cancel {
    border: 1px solid var(--hcs-foreground);
    background: #ffffff;
    color: var(--hcs-foreground);
}

.hcs-assign-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
}

.hcs-assign-existing,
.hcs-assign-new {
    margin-top: 14px;
    padding-left: 26px;
}

.hcs-assign-footer {
    padding: 18px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--hcs-border);
}

.hcs-assign-header {
    padding: 26px 28px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.hcs-assign-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1610;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    display: none;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hcs-assign-modal.is-open {
    display: block;
}

.hcs-assign-mode {
    padding: 17px 0;
    border-top: 1px solid var(--hcs-border);
}

.hcs-assign-mode:last-of-type {
    border-bottom: 1px solid var(--hcs-border);
}

.hcs-assign-mode-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 500;
}

.hcs-assign-mode-label input {
    accent-color: var(--hcs-hearst-accent-color-1);
}

.hcs-assign-select {
    width: 100%;
    height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--hcs-border);
    border-radius: 0;
    outline: none;
    background: #ffffff;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.8rem;
}

.hcs-assign-select:focus {
    border-color: var(--hcs-foreground);
}

.hcs-assign-selected-copy {
    margin: -4px 28px 20px;
    color: var(--hcs-muted-foreground);
    font-size: 0.75rem;
    line-height: 1.55;
}

.hcs-assign-submit {
    border: 1px solid var(--hcs-foreground);
    background: var(--hcs-foreground);
    color: #ffffff;
}

.hcs-assign-title {
    margin: 0;
    font-family: var(--hcs-font-main);
    font-size: 1.75rem;
    font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Brand / category cards                                                      */
/* -------------------------------------------------------------------------- */

.hcs-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    text-decoration: none;
}

.hcs-category-card {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--hcs-secondary);
    color: #ffffff;
    text-decoration: none;
}

.hcs-category-card:hover {
    color: #ffffff;
}

.hcs-category-card:hover .hcs-category-card-image {
    transform: scale(1.04);
}

.hcs-category-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0) 100% );
}

.hcs-category-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hcs-category-card-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    margin: 0;
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: 1.18rem;
    font-weight: 200;
    line-height: 1.15;
    transition: color 0.15s ease;
}

.hcs-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
}

.hcs-category-group {
    position: relative;
    padding-left: 14px;
    border-left: 2px solid var(--hcs-hearst-accent-color-1);
}

.hcs-category-group + .hcs-category-group {
    margin-top: 32px;
}

.hcs-category-group-label {
    margin-bottom: 10px;
    color: var(--hcs-hearst-accent-color-1);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* -------------------------------------------------------------------------- */
/* CreatorIQ errors                                                            */
/* -------------------------------------------------------------------------- */

.hcs-ciq-error {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--hcs-border);
    background: var(--hcs-card);
}

.hcs-ciq-error-message {
    margin-top: 6px;
    color: var(--hcs-muted-foreground);
    font-size: 0.75rem;
    line-height: 1.5;
    word-break: break-word;
}

.hcs-ciq-error-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hcs-hearst-accent-color-1);
}

/* -------------------------------------------------------------------------- */
/* Proposals                                                                   */
/* -------------------------------------------------------------------------- */

.hcs-proposal-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.2rem;
    border: 1px solid var(--hcs-hearst-accent-color-1);
    background: var(--hcs-accent-soft-bg);
    color: var(--hcs-hearst-accent-color-1);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    cursor: help;
}

.hcs-proposal-warnings {
    display: grid;
    gap: 0.5rem;
    width: 100%;
}

.hcs-proposal-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--hcs-accent-soft-border);
    background: var(--hcs-accent-soft-bg);
    color: var(--hcs-hearst-accent-color-1);
    font-size: 0.8rem;
    line-height: 1.45;
}

.hcs-proposal-warning .hcs-proposal-alert {
    margin-top: 0.1rem;
    cursor: default;
}

#hcs-proposal-talent-filter-ts-control,
.ts-wrapper.form-control,
.ts-wrapper.single .ts-control,
.ts-wrapper.multi .ts-control {
    min-height: 50px;
    border-radius: 0 !important;
    border-color: #ced4da;
    box-shadow: none !important;
}

.ts-wrapper.multi .ts-control {
    padding: 0.35rem 0.5rem;
}

.ts-wrapper.focus .ts-control {
    border-color: #171717 !important;
}

.ts-dropdown {
    border-radius: 0;
    border-color: #ced4da;
}

.ts-dropdown .option {
    font-size: 0.85rem;
}

.ts-wrapper.multi .ts-control > .item {
    border-radius: 0;
    background: #f5f5f5;
    border: 1px solid #d8d8d8;
    color: #171717;
    font-size: 0.75rem;
}

.hcs-proposal-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 9.5rem 8.75rem 5.5rem 7rem;
    gap: 1.5rem;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.hcs-proposal-list-name {
    min-width: 0;
}

.hcs-proposal-list-updated {
    text-align: right;
}

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

.hcs-creator-card {
    --hcs-card-overlay-inset: 4.2cqi;
    --hcs-card-control-size: 12.42cqi;
    --hcs-card-control-gap: 2.5cqi;
    position: relative;
    min-width: 0;
    background: var(--hcs-card);
    container-type: inline-size;
    container-name: hcs-creator-card;
}

.hcs-creator-card:hover .hcs-creator-card-image {
    transform: scale(1.03);
}

.hcs-creator-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    color: #ffffff;
}

.hcs-creator-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 48%, rgba(0, 0, 0, 0) 100% );
}

.hcs-creator-card-handle {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
}

.hcs-creator-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hcs-creator-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hcs-creator-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--hcs-secondary);
}

.hcs-creator-exclusive-badge {
    position: absolute;
    top: var(--hcs-card-overlay-inset);
    left: var(--hcs-card-overlay-inset);
    z-index: 21;
    box-sizing: border-box;
    max-width: calc(
        100%
        - (var(--hcs-card-overlay-inset) * 2)
        - var(--hcs-card-control-size)
        - var(--hcs-card-control-gap)
    );
    min-height: var(--hcs-card-control-size);
    padding: 0 1.92cqi;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: var(--hcs-hearst-accent-color-1);
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: clamp(0.5rem, 2.23cqi, 0.66rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hcs-creator-card-name {
    margin: 0;
    font-family: var(--hcs-font-main);
    font-size: 1.05rem;
    font-weight: 200;
    line-height: 1.15;
}

.hcs-creator-card-platforms {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.hcs-creator-card-stats {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 500;
}

.hcs-creator-platform {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.6rem;
}

.hcs-creator-results-grid {
    width: 100%;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hcs-creator-select-button {
    position: absolute;
    top: var(--hcs-card-overlay-inset);
    right: var(--hcs-card-overlay-inset);
    z-index: 22;
    width: var(--hcs-card-control-size);
    height: var(--hcs-card-control-size);
    min-width: 24px;
    min-height: 24px;
    max-width: 39px;
    max-height: 39px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.94);
    color: #111111;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hcs-creator-select-button:hover {
    border-color: #111111;
}

.hcs-creator-select-button.is-selected {
    background: var(--hcs-hearst-accent-color-1);
    border-color: var(--hcs-hearst-accent-color-1);
    color: #ffffff;
}

.hcs-creator-select-button.is-selected
.hcs-creator-select-check {
    display: block;
}

.hcs-creator-select-check {
    display: none;
    font-size: clamp(0.75rem, 4.5cqi, 1.08rem);
    font-weight: 700;
    line-height: 1;
}

/* -------------------------------------------------------------------------- */
/* Discovery                                                                   */
/* -------------------------------------------------------------------------- */

.hcs-discovery-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 32px;
}

.hcs-discovery-content {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hcs-discovery-eyebrow {
    margin-bottom: 12px;
}

.hcs-discovery-filter-button,
.hcs-discovery-find-button {
    height: 56px;
    padding: 0 24px;
    border-radius: 0;
    font-family: var(--hcs-font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.hcs-discovery-filter-button {
    border: 1px solid var(--hcs-foreground);
    background: #ffffff;
    color: var(--hcs-foreground);
}

.hcs-discovery-filter-button:hover {
    background: var(--hcs-secondary);
}

.hcs-discovery-filter-reset {
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid var(--hcs-foreground);
    background: #ffffff;
    color: var(--hcs-foreground);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hcs-discovery-filter-reset:hover {
    background: var(--hcs-secondary);
    color: var(--hcs-foreground);
}

.hcs-discovery-find-button {
    padding-left: 32px;
    padding-right: 32px;
    border: 1px solid var(--hcs-foreground);
    background: var(--hcs-foreground);
    color: var(--hcs-background);
}

.hcs-discovery-find-button:hover {
    background: #2b2b2b;
}

.hcs-discovery-hero {
    border-bottom: 1px solid var(--hcs-border);
}

.hcs-discovery-results-shell {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    background: #ffffff;
}

.hcs-discovery-results-shell.filters-hidden {
    grid-template-columns: 0 minmax(0, 1fr);
}

.hcs-discovery-results-shell.filters-hidden .hcs-results-filter-sidebar {
    width: 0;
    padding: 0;
    border-right: 0;
    overflow: hidden;
    visibility: hidden;
}

.hcs-discovery-results-shell.filters-hidden .hcs-results-filter-reopen {
    display: inline-flex;
}

.hcs-discovery-results-shell:not(.filters-hidden) .hcs-results-toolbar-original {
    grid-template-columns: minmax(320px, 740px) auto;
}

.hcs-discovery-results-shell:not(.filters-hidden) .hcs-results-filter-reopen {
    display: none;
}

.hcs-discovery-results-shell:not(.filters-hidden) .hcs-results-search-original {
    grid-column: 1;
}

.hcs-discovery-results-shell:not(.filters-hidden) .hcs-results-count {
    grid-column: 2;
}

.hcs-discovery-search {
    height: 56px;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid var(--hcs-foreground);
}

.hcs-discovery-search-input {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.875rem;
}

.hcs-discovery-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}

.hcs-discovery-search-input::placeholder {
    color: var(--hcs-muted-foreground);
}

.hcs-discovery-search-row {
    width: 100%;
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.hcs-eyebrow {
    font-family: var(--hcs-font-main);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--hcs-muted-foreground);
}

/* -------------------------------------------------------------------------- */
/* Filters                                                                     */
/* -------------------------------------------------------------------------- */

.hcs-filter-accordion {
    border-bottom: 0;
}

.hcs-filter-accordion.is-unavailable > summary {
    color: var(--hcs-muted-foreground);
    opacity: 0.55;
}

.hcs-filter-accordion.is-unavailable .hcs-filter-accordion-body {
    opacity: 0.55;
}

.hcs-filter-check.is-unavailable {
    color: var(--hcs-muted-foreground);
    opacity: 0.55;
    cursor: not-allowed;
}

.hcs-filter-check.is-unavailable input {
    cursor: not-allowed;
}

.hcs-filter-control option:disabled {
    color: var(--hcs-muted-foreground);
}

.hcs-filter-accordion summary {
    min-height: 56px;
    padding: 0 8px;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hcs-foreground);
    font-size: 0.93rem;
}

.hcs-filter-accordion summary::-webkit-details-marker {
    display: none;
}

.hcs-filter-accordion summary::before {
    content: "›";
    font-size: 1.25rem;
    line-height: 1;
    transform-origin: center;
    transition: transform 0.15s ease;
}

.hcs-filter-accordion[open] summary::before {
    transform: rotate(90deg);
}

.hcs-filter-accordion-body {
    padding: 0 8px 14px 32px;
}

.hcs-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.hcs-filter-backdrop.is-visible {
    opacity: 1;
}

.hcs-filter-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hcs-foreground);
    font-size: 1.45rem;
    line-height: 1;
}

.hcs-filter-control {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--hcs-border);
    border-radius: 0;
    outline: 0;
    background: #ffffff;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.78rem;
}

.hcs-filter-location-group + .hcs-filter-location-group {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hcs-filter-location-label {
    margin-bottom: 10px;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hcs-filter-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hcs-filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--hcs-foreground);
    font-size: 0.82rem;
    line-height: 1.3;
}

.hcs-filter-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
    accent-color: var(--hcs-hearst-accent-color-1);
}

.hcs-filter-control:focus {
    border-color: var(--hcs-foreground);
}

.hcs-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1200;
    width: min(395px, calc(100vw - 28px));
    padding: 18px 26px 20px;
    overflow-y: auto;
    background: #ffffff;
    border-right: 1px solid var(--hcs-border);
    box-shadow: 12px 0 28px rgba(0, 0, 0, 0.08);
    transform: translateX(-102%);
    transition: transform 0.2s ease;
}

.hcs-filter-drawer.is-open {
    transform: translateX(0);
}

body.hcs-filter-drawer-open {
    overflow: hidden;
}

.hcs-filter-footer-row {
    min-height: 52px;
    border-top: 1px solid var(--hcs-border);
    border-bottom: 1px solid var(--hcs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--hcs-muted-foreground);
    font-size: 0.68rem;
}

.hcs-filter-footer-row a {
    color: color-mix(in srgb, var(--hcs-hearst-accent-color-1) 55%, transparent);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hcs-filter-panel-count {
    padding: 18px 4px 9px;
    color: var(--hcs-muted-foreground);
}

.hcs-filter-panel-footer {
    margin-top: auto;
    padding-top: 26px;
    margin-top: 20px !important;
}

.hcs-filter-panel-form {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.hcs-filter-panel-header {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--hcs-border);
}

.hcs-filter-panel-section {
    margin-top: 5px;
    border-top: 1px solid var(--hcs-border);
}

.hcs-filter-panel-title,
.hcs-filter-panel-count {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hcs-filter-panel-title {
    color: var(--hcs-muted-foreground);
}

.hcs-filter-see-results {
    width: 100%;
    height: 50px;
    margin-top: 14px;
    border: 1px solid var(--hcs-foreground);
    border-radius: 0;
    background: var(--hcs-foreground);
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hcs-filter-see-results:hover {
    background: #2a2a2a;
}

.hcs-filter-clear-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin-top: 14px;
    border: 1px solid var(--hcs-foreground);
    background: #ffffff;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-decoration: none;
    text-transform: uppercase;
}

.hcs-filter-clear-all:hover {
    background: var(--hcs-foreground);
    color: #ffffff;
}

.hcs-filter-clear-all.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.hcs-filter-static-row {
    min-height: 56px;
    padding: 0 8px;
    border-bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hcs-foreground);
    font-size: 0.93rem;
}

.hcs-filter-static-row::before {
    content: "›";
    font-size: 1.25rem;
    line-height: 1;
}

.hcs-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--hcs-border);
    color: var(--hcs-muted-foreground);
    font-size: 0.75rem;
    text-align: center;
}

.hcs-home-section-inner {
    width: 100%;
    margin: 0 auto;
    padding-top: 64px;
}

.hcs-home-section-title {
    margin: 0 0 28px;
    font-family: var(--hcs-font-main);
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.15;
}

.hcs-login-body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #ffffff;
}

.hcs-login-description {
    max-width: 500px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--hcs-font-main);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.hcs-login-error {
    width: 100%;
    margin: 0 0 22px;
    padding: 12px 14px;
    border: 1px solid var(--hcs-hearst-accent-color-1);
    background: #ffffff;
    color: var(--hcs-hearst-accent-color-1);
    font-family: var(--hcs-font-main);
    font-size: 13px;
    line-height: 1.45;
}

.hcs-login-field {
    width: 100%;
    margin-bottom: 18px;
}

.hcs-login-form {
    width: 100%;
}

.hcs-login-form-title {
    margin: 0;
    color: #141414;
    font-family: var(--hcs-font-main);
    font-size: 32px;
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.hcs-login-form-wrap {
    width: 100%;
    max-width: 430px;
}

.hcs-login-form-wrap .hcs-login-rule {
    margin-bottom: 18px;
}

.hcs-login-input {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #dedede;
    border-radius: 0;
    outline: 0;
    appearance: none;
    background: #ffffff;
    color: #141414;
    font-family: var(--hcs-font-main);
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hcs-login-input:hover {
    border-color: #bdbdbd;
}

.hcs-login-input:focus {
    border-color: #141414;
    box-shadow: 0 0 0 1px #141414;
}

.hcs-login-input::placeholder {
    color: #777777;
    opacity: 1;
}

.hcs-login-intro {
    width: 100%;
    max-width: 560px;
    margin-top: auto;
}

.hcs-login-label {
    display: block;
    margin: 0 0 6px;
    color: #141414;
    font-family: var(--hcs-font-main);
    font-size: 16px;
    font-weight: 200;
    line-height: 1.3;
}

.hcs-login-logo {
    display: block;
    width: 260px;
    max-width: 72%;
    height: auto;
    object-fit: contain;
}

.hcs-login-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
}

.hcs-login-page {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hcs-login-panel {
    position: relative;
    min-width: 0;
    min-height: 100vh;
}

.hcs-login-panel-brand {
    padding: 64px 44px 48px;
    background: #141414;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.hcs-login-panel-form {
    padding: 48px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hcs-login-rule {
    width: 54px;
    height: 1px;
    margin: 0 0 22px;
    background: var(--hcs-hearst-accent-color-1);
}

.hcs-login-submit {
    display: block;
    width: 100%;
    height: 46px;
    margin: 28px 0 0;
    padding: 0 20px;
    border: 1px solid #141414;
    border-radius: 0;
    outline: 0;
    background: #141414;
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.hcs-login-submit:hover,
.hcs-login-submit:focus {
    border-color: #292929;
    background: #292929;
    color: #ffffff;
}

.hcs-login-title {
    margin: 0;
    width: 100%;
    max-width: 560px;
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: 42px;
    font-weight: 200;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.hcs-magazine-card {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--hcs-secondary);
    color: #ffffff;
    text-decoration: none;
}

.hcs-magazine-card:hover .hcs-magazine-card-image {
    transform: scale(1.05);
}

.hcs-magazine-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 100% );
}

.hcs-magazine-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hcs-magazine-card-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    margin: 0;
    font-family: var(--hcs-font-main);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 1.1;
    color: #ffffff;
    transition: color 0.15s ease;
}

.hcs-magazine-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
}

.hcs-main {
    flex: 1;
    padding-top: 56px;
    padding-bottom: 56px;
    padding-right: 32px;
    padding-left: 32px;
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                  */
/* -------------------------------------------------------------------------- */

.hcs-nav-link {
    padding-bottom: 5px;
    color: var(--hcs-foreground);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.hcs-nav-link:hover {
    color: var(--hcs-foreground);
}

.hcs-nav-link.active {
    color: var(--hcs-foreground);
    border-bottom-color: #000000;
}

.hcs-nav-logo {
    display: block;
    width: auto;
    height: 42px;
    max-width: 340px;
    object-fit: contain;
}

.hcs-page {
    width: 100%;
    box-sizing: border-box;
}

.hcs-primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    font-size: 0.875rem;
}

/* -------------------------------------------------------------------------- */
/* Creator profile                                                             */
/* -------------------------------------------------------------------------- */

.hcs-profile {
    width: 100%;
}

.hcs-profile-back {
    margin: 0 0 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hcs-muted-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hcs-profile-back:hover {
    color: var(--hcs-foreground);
}

.hcs-profile-discovery-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--hcs-hearst-accent-color-1);
    font-size: 0.875rem;
    text-decoration: none;
}

.hcs-profile-discovery-link:hover {
    text-decoration: underline;
}

.hcs-profile-engagement {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--hcs-border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hcs-profile-engagement-heading {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 20rem;
}

.hcs-profile-engagement-label {
    color: var(--hcs-muted-foreground);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hcs-profile-engagement-value {
    flex: 0 0 auto;
    font-family: var(--hcs-font-main);
    font-size: 2rem;
}

/* -------------------------------------------------------------------------- */
/* Info tip (engagement definitions)                                           */
/* -------------------------------------------------------------------------- */

.hcs-info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    vertical-align: middle;
}

.hcs-info-tip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    padding: 0;
    border: 1px solid var(--hcs-muted-foreground);
    border-radius: 50%;
    background: transparent;
    color: var(--hcs-muted-foreground);
    cursor: pointer;
    line-height: 1;
}

.hcs-info-tip-trigger:hover,
.hcs-info-tip-trigger:focus-visible,
.hcs-info-tip.is-open .hcs-info-tip-trigger {
    border-color: var(--hcs-foreground);
    color: var(--hcs-foreground);
    outline: none;
}

.hcs-info-tip-icon {
    font-family: var(--hcs-font-main);
    font-size: 0.65rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
}

.hcs-info-tip-panel {
    position: absolute;
    z-index: 1300;
    top: calc(100% + 0.45rem);
    left: 0;
    width: min(18.5rem, calc(100vw - 2rem));
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--hcs-border);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: var(--hcs-foreground);
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
}

.hcs-info-tip[data-placement="left"] .hcs-info-tip-panel {
    top: 0;
    right: calc(100% + 0.45rem);
    left: auto;
}

.hcs-info-tip[data-placement="right"] .hcs-info-tip-panel {
    top: 0;
    left: calc(100% + 0.45rem);
}

.hcs-info-tip[data-placement="bottom-end"] .hcs-info-tip-panel {
    left: auto;
    right: 0;
}

.hcs-engagement-def {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hcs-engagement-def-item p {
    margin: 0.2rem 0 0;
    color: var(--hcs-muted-foreground);
    font-size: 0.75rem;
    line-height: 1.4;
}

.hcs-engagement-def-platform {
    font-family: var(--hcs-font-main);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hcs-foreground);
}

.hcs-th-with-tip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.hcs-filter-accordion-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hcs-profile-handle {
    margin-top: 8px;
    color: var(--hcs-muted-foreground);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hcs-profile-handle-link {
    color: inherit;
    text-decoration: none;
}

.hcs-profile-handle-link:hover,
.hcs-profile-handle-link:focus-visible {
    color: var(--hcs-foreground);
    text-decoration: underline;
}

.hcs-profile-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.hcs-profile-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px;
}

.hcs-profile-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--hcs-muted-foreground);
    font-size: 0.875rem;
}

.hcs-profile-meta-separator {
    opacity: 0.5;
}

.hcs-profile-name {
    margin: 0;
    font-family: var(--hcs-font-main);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 200;
    line-height: 1.05;
}

.hcs-profile-exclusive-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: var(--hcs-hearst-accent-color-1);
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.hcs-profile-photo .hcs-profile-exclusive-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hcs-profile-not-found {
    padding: 80px 0;
    text-align: center;
}

.hcs-profile-not-found-text {
    margin-top: 12px;
    color: var(--hcs-muted-foreground);
    font-size: 0.875rem;
}

.hcs-profile-not-found-title {
    margin: 0;
    font-family: var(--hcs-font-main);
    font-size: 2rem;
}

.hcs-profile-photo-block {
    width: 300px;
    margin: auto;
}

.hcs-profile-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--hcs-secondary);
}

.hcs-profile-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcs-profile-photo-credit {
    margin-top: 0.45rem;
    color: var(--hcs-muted-foreground);
    font-size: 0.6875rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.hcs-profile-platform {
    padding: 6px 10px;
    border: 1px solid var(--hcs-border);
    background: #ffffff;
    color: var(--hcs-foreground);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hcs-profile-platforms {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hcs-profile-summary {
    min-width: 0;
}

/* -------------------------------------------------------------------------- */
/* Results / search                                                            */
/* -------------------------------------------------------------------------- */

.hcs-results-content {
    min-width: 0;
    padding: 0;
}

.hcs-results-count {
    color: var(--hcs-muted-foreground);
    font-size: 0.75rem;
    white-space: nowrap;
}

.hcs-results-empty {
    margin-top: 32px;
    padding: 48px 24px;
    border: 1px solid var(--hcs-border);
    color: var(--hcs-muted-foreground);
    text-align: center;
    font-size: 0.875rem;
}

.hcs-results-filter-reopen {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid var(--hcs-border);
    border-radius: 0;
    background: #ffffff;
    color: var(--hcs-foreground);
    display: none;
    align-items: center;
    justify-content: center;
}

.hcs-results-filter-reopen:hover {
    background: var(--hcs-secondary);
}

.hcs-results-filter-sidebar {
    position: relative;
    min-width: 0;
    padding-right: 10px;
    background: #ffffff;
}

.hcs-results-filter-sidebar.is-loading {
    pointer-events: none;
}

.hcs-filter-panel-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.72);
}

.hcs-filter-panel-loading[hidden] {
    display: none;
}

.hcs-filter-panel-spinner {
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid var(--hcs-border);
    border-top-color: var(--hcs-foreground);
    border-radius: 50%;
    animation: hcs-filter-spin 0.7s linear infinite;
}

.hcs-filter-panel-loading-label {
    color: var(--hcs-muted-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.hcs-results-search-form {
    width: 100%;
    max-width: 740px;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.hcs-results-search {
    width: 100%;
    max-width: 448px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--hcs-border);
    background: #ffffff;
}

.hcs-results-search-form .hcs-results-search {
    flex: 1;
    max-width: none;
    height: auto;
    min-height: 56px;
}

.hcs-results-search-input {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.875rem;
}

.hcs-results-search-input::placeholder {
    color: var(--hcs-muted-foreground);
}

.hcs-results-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}

.hcs-results-search-button {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 28px;
    border: 1px solid var(--hcs-foreground);
    border-radius: 0;
    background: var(--hcs-foreground);
    color: var(--hcs-background);
    font-family: var(--hcs-font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.hcs-results-search-button:hover {
    background: #2b2b2b;
}

.hcs-results-search-original {
    max-width: 740px;
}

.hcs-results-sidebar-count {
    color: var(--hcs-foreground);
    font-size: 0.78rem;
    font-weight: 500;
}

.hcs-results-sidebar-header {
    min-height: 58px;
}

.hcs-results-sidebar-hide {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hcs-results-sidebar-hide span {
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: -1px;
}

.hcs-results-sidebar-hide-row {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.hcs-results-toolbar-original {
    display: grid;
    grid-template-columns: auto minmax(320px, 740px) auto;
    align-items: center;
    gap: 18px;
}

.hcs-search-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hcs-foreground);
    opacity: 0.6;
}

.hcs-section-rule {
    width: 48px;
    height: 1px;
    margin-top: 12px;
    margin-bottom: 14px;
    background: var(--hcs-hearst-accent-color-1);
}

.hcs-section-rule-centered {
    margin-left: auto;
    margin-right: auto;
}

.hcs-selectable-card {
    position: relative;
}

.hcs-selectable-card.is-selected {
    outline: 2px solid var(--hcs-hearst-accent-color-1);
    outline-offset: -2px;
    z-index: 2;
}

/* -------------------------------------------------------------------------- */
/* Selection bar                                                               */
/* -------------------------------------------------------------------------- */

.hcs-selection-add {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 20px;
    border: 1px solid #ffffff;
    border-radius: 0;
    background: #ffffff;
    color: #141414;
    font-family: var(--hcs-font-main);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hcs-selection-add:hover {
    background: var(--hcs-hearst-ivory);
    border-color: var(--hcs-hearst-ivory);
    color: #000000;
}

.hcs-selection-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 1500;
    transform: translateY(calc(100% + 28px));
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(20, 20, 20, 0.72);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.hcs-selection-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.hcs-selection-clear {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
}

.hcs-selection-clear:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

.hcs-selection-count {
    flex: 1;
    min-width: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.hcs-tier-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--hcs-foreground);
    color: #ffffff;
    text-decoration: none;
}

.hcs-tier-card:hover {
    color: #ffffff;
}

.hcs-tier-card:hover .hcs-tier-card-image {
    transform: scale(1.05);
}

.hcs-tier-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    color: #ffffff;
}

.hcs-tier-card-description {
    max-width: 620px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.5;
}

.hcs-tier-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0) 100% );
}

.hcs-tier-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hcs-tier-card-title {
    margin: 0;
    font-family: var(--hcs-font-main);
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 1.15;
    transition: color 0.15s ease;
}

.hcs-tier-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
}

.hcs-top-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--hcs-border);
    backdrop-filter: blur(10px);
}

.hcs-top-nav-inner {
    height: 96px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-right: 32px;
    padding-left: 32px;
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}

.hcs-user-area {
    display: flex;
    justify-content: flex-end;
}

.hcs-user-button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--hcs-border);
    border-radius: 50%;
    background: var(--hcs-background);
    color: var(--hcs-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.hcs-user-button:hover {
    background: var(--hcs-secondary);
}

.hcs-user-email {
    margin-top: 3px;
    font-size: 0.75rem;
    color: var(--hcs-muted-foreground);
}

.hcs-user-icon {
    display: block;
    font-size: 0.9rem;
    line-height: 1;
}

.hcs-user-menu {
    width: 224px;
    padding: 0;
    border: 1px solid var(--hcs-border);
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hcs-user-menu-header {
    padding: 14px 16px;
    list-style: none;
}

.hcs-user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hcs-foreground);
}

.textbox {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--hcs-border);
    border-radius: 2px;
    background: var(--hcs-background);
    color: var(--hcs-foreground);
    font: inherit;
}

.textbox:focus {
    outline: none;
    border-color: var(--hcs-foreground);
    box-shadow: 0 0 0 1px var(--hcs-foreground);
}

/* -------------------------------------------------------------------------- */
/* Talent management                                                           */
/* -------------------------------------------------------------------------- */

.hcs-talent-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.hcs-talent-search {
    margin-bottom: 0;
}

.hcs-talent-status-filter {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hcs-talent-status-label {
    margin: 0;
    color: var(--hcs-muted-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hcs-talent-status-select {
    min-height: 40px;
    padding: 0 2rem 0 0.75rem;
    border: 1px solid var(--hcs-border);
    border-radius: 0;
    background: #ffffff;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.84rem;
}

.hcs-talent-count {
    color: var(--hcs-muted-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.84rem;
    white-space: nowrap;
}

.hcs-talent-alert-filter {
    margin: 0;
}

.hcs-talent-alert-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0 0.9rem;
    border: 1px solid var(--hcs-border);
    background: #fff;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.hcs-talent-alert-toggle:hover:not(:disabled),
.hcs-talent-alert-toggle:focus-visible {
    border-color: var(--hcs-alert);
    color: var(--hcs-alert-text);
    background: var(--hcs-alert-bg);
    outline: none;
}

.hcs-talent-alert-toggle.is-active {
    border-color: var(--hcs-alert);
    color: var(--hcs-alert-text);
    background: var(--hcs-alert-bg);
}

.hcs-talent-alert-toggle:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hcs-talent-alert-toggle-icon {
    display: inline-flex;
    color: var(--hcs-alert);
}

.hcs-talent-alert-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--hcs-alert);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
}

.hcs-talent-table-wrap {
    border: 1px solid var(--hcs-border);
    background: #fff;
}

.hcs-talent-table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.hcs-talent-table thead th {
    white-space: nowrap;
    vertical-align: top;
}

.hcs-talent-table tbody td {
    vertical-align: middle;
}

.hcs-talent-row-inactive > * {
    color: #9a9a9a;
}

.hcs-talent-row-inactive .hcs-talent-avatar {
    opacity: 0.55;
}

.hcs-talent-row-inactive .hcs-talent-handle,
.hcs-talent-row-inactive .hcs-talent-alert-text,
.hcs-talent-row-inactive .text-secondary {
    color: #9a9a9a;
}

.hcs-talent-inactive-tag {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.08rem 0.4rem;
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
    font-family: var(--hcs-font-main);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    vertical-align: middle;
}

.hcs-talent-edit-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
}

.hcs-talent-edit-name .hcs-talent-inactive-tag {
    margin-left: 0;
    font-size: 0.68rem;
    padding: 0.18rem 0.5rem;
}

.hcs-talent-row-alert > * {
    background-color: var(--hcs-alert-row-bg) !important;
}

.hcs-talent-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: 0.35rem;
    color: var(--hcs-alert);
    border: 0;
    background: transparent;
    pointer-events: none;
}

.hcs-talent-alert-text {
    margin-top: 0.2rem;
    color: var(--hcs-alert-text);
    font-size: 0.6875rem;
    line-height: 1.3;
}

.hcs-talent-profile-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--hcs-alert-border);
    background: var(--hcs-alert-bg);
    color: var(--hcs-alert-text);
}

.hcs-talent-profile-alert-icon {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: var(--hcs-alert);
}

.hcs-talent-profile-alert-title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
}

.hcs-talent-profile-alert-message {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.hcs-talent-contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.hcs-talent-contact-reveal {
    min-height: 40px;
    padding: 0 1rem;
    border: 1px solid var(--hcs-foreground);
    background: #ffffff;
    color: var(--hcs-foreground);
    font-family: var(--hcs-font-main);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.hcs-talent-contact-reveal:hover {
    background: var(--hcs-foreground);
    color: #ffffff;
}

.hcs-talent-contact-reveal:disabled {
    opacity: 0.55;
    cursor: wait;
}

.hcs-talent-contact-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--hcs-muted-foreground);
    font-size: 0.78rem;
}

.hcs-talent-contact-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--hcs-border);
    border-top-color: var(--hcs-foreground);
    border-radius: 50%;
    animation: hcs-filter-spin 0.7s linear infinite;
}

.hcs-talent-contact-error {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--hcs-hearst-accent-color-1);
    color: var(--hcs-hearst-accent-color-1);
    font-size: 0.8125rem;
}

.hcs-talent-contact-value {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.85rem;
    border: 1px solid var(--hcs-border);
    background: #ffffff;
    color: var(--hcs-foreground);
    font-size: 0.875rem;
    word-break: break-word;
}

.hcs-talent-featured-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.hcs-talent-featured-toggle--header {
    flex: 0 0 auto;
    margin-top: 0.35rem;
}

.hcs-talent-featured-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hcs-talent-featured-switch {
    position: relative;
    flex: 0 0 auto;
    width: 40px;
    height: 22px;
    border: 1px solid var(--hcs-foreground);
    background: #ffffff;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.hcs-talent-featured-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--hcs-foreground);
    transition: transform 0.15s ease;
}

.hcs-talent-featured-toggle input:checked + .hcs-talent-featured-switch {
    background: var(--hcs-foreground);
}

.hcs-talent-featured-toggle input:checked + .hcs-talent-featured-switch::after {
    background: #ffffff;
    transform: translateX(18px);
}

.hcs-talent-featured-toggle input:focus-visible + .hcs-talent-featured-switch {
    outline: 1px solid var(--hcs-foreground);
    outline-offset: 2px;
}

.hcs-talent-featured-toggle.is-saving {
    opacity: 0.55;
    pointer-events: none;
}

.hcs-talent-featured-title {
    font-family: var(--hcs-font-main);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hcs-foreground);
}

.hcs-talent-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 11rem;
}

.hcs-talent-avatar {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    overflow: hidden;
    background: #e8e4df;
}

a.hcs-talent-identity-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.hcs-talent-identity-link:hover,
a.hcs-talent-identity-link:focus-visible {
    outline: 1px solid var(--hcs-foreground);
    outline-offset: 2px;
}

.hcs-talent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hcs-talent-identity-text {
    min-width: 0;
}

.hcs-talent-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0;
    font-weight: 500;
    line-height: 1.25;
}

.hcs-talent-name-link {
    color: inherit;
    text-decoration: none;
}

.hcs-talent-name-link:hover,
.hcs-talent-name-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.hcs-talent-row-inactive .hcs-talent-name-link {
    color: inherit;
}

.hcs-talent-handle {
    color: var(--hcs-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

.hcs-talent-tier {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border: 1px solid #000000;
    color: #000000;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hcs-talent-tier-flagship {
    border-color: #000000;
    color: #000000;
}

.hcs-talent-contract-dates {
    display: grid;
    gap: 2px;
    font-size: 0.78rem;
    line-height: 1.35;
}

.hcs-talent-contract-dates .text-secondary {
    display: inline-block;
    min-width: 1.7rem;
    margin-right: 0.35rem;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hcs-talent-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    color: var(--hcs-muted);
    font-size: 0.7rem;
}

.hcs-talent-truncate {
    max-width: 14rem;
    font-size: 0.75rem;
}

.hcs-talent-truncate > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hcs-talent-rate-group {
    border-left: 1px solid var(--hcs-border);
    border-right: 1px solid var(--hcs-border);
}

.hcs-talent-rate-sub,
.hcs-talent-rate-cell {
    width: 7.5rem;
    min-width: 7.5rem;
    max-width: 7.5rem;
    box-sizing: border-box;
    border-left: 1px solid var(--hcs-border);
}

.hcs-talent-rate-sub:last-child,
.hcs-talent-rate-cell:last-child {
    border-right: 1px solid var(--hcs-border);
}

.hcs-talent-rate-sub {
    font-weight: 400 !important;
}

.hcs-sync-creator-row.hcs-sync-row-active > td {
    background: var(--hcs-accent-soft-bg);
}

.hcs-sync-creator-row.hcs-sync-row-updated > td {
    transition: background-color 0.9s ease;
    background: #f4faf4;
}

.hcs-proposal-creator-row-inactive > *:not(:last-child) {
    color: #9a9a9a;
}

.hcs-proposal-creator-row-inactive .hcs-proposal-creator-avatar {
    opacity: 0.55;
}

.hcs-proposal-creator-row-inactive .hcs-proposal-creator-name,
.hcs-proposal-creator-row-inactive .hcs-proposal-creator-name.text-dark,
.hcs-proposal-creator-row-inactive .text-secondary,
.hcs-proposal-creator-row-inactive .fw-medium {
    color: #9a9a9a !important;
}

.hcs-proposal-creator-name {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.45rem;
}

.hcs-proposal-creator-row-inactive .hcs-talent-inactive-tag {
    color: #ffffff !important;
}

/* -------------------------------------------------------------------------- */
/* Sync                                                                        */
/* -------------------------------------------------------------------------- */

.hcs-sync-summary {
    border: 1px solid var(--hcs-border);
    background: #fff;
    padding: 1.1rem 1.25rem;
}

.hcs-sync-summary-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hcs-sync-summary-stat {
    border: 1px solid var(--hcs-border);
    background: #faf9f7;
    padding: 0.7rem 0.85rem;
}

.hcs-sync-summary-stat-label {
    color: var(--hcs-muted);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hcs-sync-summary-stat-value {
    margin-top: 0.2rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

/* -------------------------------------------------------------------------- */
/* Media queries                                                               */
/* -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .hcs-proposal-list-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcs-proposal-list-name {
        grid-column: 1 / -1;
    }

    .hcs-proposal-list-updated {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hcs-top-nav-inner {
        height: auto;
        min-height: 96px;
        padding: 18px 24px;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand user"
            "nav nav";
        row-gap: 18px;
    }

    .hcs-nav-logo {
        height: 32px;
        max-width: 240px;
    }

    .hcs-primary-nav {
        grid-area: nav;
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .hcs-creator-results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hcs-magazine-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hcs-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hcs-tier-grid {
        grid-template-columns: 1fr;
    }

    .hcs-profile-hero {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .hcs-login-page {
        display: block;
        min-height: 100vh;
    }

    .hcs-login-panel-brand {
        display: flow;
        min-height: 100px;
    }

    .hcs-login-panel-form {
        width: 100%;
        min-height: 100px;
        padding: 36px 24px;
    }

    .hcs-login-form-wrap {
        width: 100%;
        max-width: 430px;
    }

    .hcs-login-form-title {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .hcs-selection-bar {
        padding: 14px 16px;
        gap: 10px;
    }

    .hcs-selection-count {
        font-size: 0.78rem;
    }

    .hcs-selection-add {
        height: 40px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 0.72rem;
    }

    .hcs-selection-clear {
        width: 40px;
        height: 40px;
    }

    .hcs-assign-header,
    .hcs-assign-body,
    .hcs-assign-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hcs-assign-selected-copy {
        margin-left: 18px;
        margin-right: 18px;
    }

    .hcs-sync-summary-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hcs-creator-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcs-magazine-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hcs-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 320px) {
    .hcs-creator-results-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 16px;
    }

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

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

@media (max-width: 240px) {
    .hcs-magazine-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .hcs-category-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
