/*
 *  actorpartner.com: the site's own styles.
 *
 *  Replaces the POFO theme stylesheets on every page that uses inc/layout.php.
 *  Bootstrap 4 is still loaded underneath for the grid, forms and the modal.
 *  Brand colors are taken from the logo lockup: coral #E5796E, teal #52BCC1,
 *  ink #201E1D.
 */

:root {
    --ap-coral: #e5796e;
    --ap-coral-dark: #c95f54;
    --ap-coral-soft: #fcefed;
    --ap-teal: #52bcc1;
    --ap-teal-dark: #2f8f94;
    --ap-teal-soft: #e8f6f7;
    --ap-ink: #201e1d;
    --ap-ink-2: #4a443d;
    --ap-muted: #6b645b;
    --ap-line: #ece8e4;
    --ap-bg: #ffffff;
    --ap-bg-soft: #faf8f6;
    --ap-radius: 16px;
    --ap-radius-sm: 10px;
    --ap-shadow: 0 1px 2px rgba(32, 30, 29, .06), 0 8px 24px rgba(32, 30, 29, .06);
    --ap-shadow-lg: 0 2px 4px rgba(32, 30, 29, .06), 0 18px 40px rgba(32, 30, 29, .12);
    --ap-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--ap-font);
    color: var(--ap-ink-2);
    background: var(--ap-bg);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ap-font); color: var(--ap-ink); font-weight: 700; letter-spacing: -.02em; }
a { color: var(--ap-teal-dark); }
a:hover { color: var(--ap-coral-dark); }
img { max-width: 100%; height: auto; }

.ap-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ap-section { padding: 96px 0; }
.ap-section-soft { background: var(--ap-bg-soft); }
.ap-eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ap-coral-dark); margin-bottom: 12px;
}
.ap-section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.ap-section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 16px; }
.ap-section-head p { font-size: 19px; color: var(--ap-muted); margin: 0; }

.ap-skip { position: absolute; left: -9999px; }
.ap-skip:focus { left: 16px; top: 16px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------------------------------------------------------------- buttons */

.ap-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-size: 16px; line-height: 1; padding: 15px 26px;
    border-radius: 999px; border: 2px solid transparent; cursor: pointer;
    text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ap-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ap-btn:focus-visible { outline: 3px solid var(--ap-teal); outline-offset: 2px; }
.ap-btn-primary { background: var(--ap-coral); color: #fff; box-shadow: 0 6px 18px rgba(229, 121, 110, .35); }
.ap-btn-primary:hover { background: var(--ap-coral-dark); color: #fff; }
.ap-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.ap-btn-ghost:hover { background: #fff; color: var(--ap-ink); }
.ap-btn-outline { background: #fff; color: var(--ap-ink); border-color: var(--ap-line); }
.ap-btn-outline:hover { border-color: var(--ap-ink); color: var(--ap-ink); }
.ap-btn-sm { padding: 11px 18px; font-size: 15px; }

/* ----------------------------------------------------------------- header */

.ap-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ap-line);
}
.ap-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.ap-logo img { height: 44px; width: auto; display: block; }
.ap-nav { display: flex; align-items: center; gap: 28px; }
.ap-nav-link { color: var(--ap-ink); font-weight: 500; font-size: 16px; text-decoration: none; }
.ap-nav-link:hover, .ap-nav-link.is-active { color: var(--ap-coral-dark); text-decoration: none; }
.ap-show-sm { display: none; }

/* ------------------------------------------------------------------- hero */

.ap-hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, var(--ap-teal-soft), transparent 60%),
                radial-gradient(900px 500px at -10% 110%, var(--ap-coral-soft), transparent 60%),
                var(--ap-bg);
    padding: 88px 0 96px;
}
.ap-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ap-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 22px; }
.ap-hero h1 em { font-style: normal; color: var(--ap-coral); }
.ap-hero-lead { font-size: 20px; color: var(--ap-muted); max-width: 540px; margin: 0 0 34px; }
.ap-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ap-hero-note { margin-top: 22px; font-size: 15px; color: var(--ap-muted); }
.ap-hero-media { position: relative; }
.ap-hero-media img {
    width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
    border-radius: 24px; box-shadow: var(--ap-shadow-lg);
}
.ap-hero-badge {
    position: absolute; left: -24px; bottom: 28px;
    background: #fff; border-radius: var(--ap-radius); box-shadow: var(--ap-shadow-lg);
    padding: 16px 20px; display: flex; gap: 14px; align-items: center; max-width: 280px;
}
.ap-hero-badge i { font-size: 22px; color: var(--ap-teal-dark); background: var(--ap-teal-soft); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 46px; }
.ap-hero-badge strong { display: block; color: var(--ap-ink); font-size: 15px; line-height: 1.3; }
.ap-hero-badge span { font-size: 14px; color: var(--ap-muted); line-height: 1.35; display: block; }

/* --------------------------------------------------------------- services */

.ap-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ap-card {
    background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius);
    padding: 28px; box-shadow: var(--ap-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ap-card:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow-lg); border-color: transparent; }
.ap-service { display: flex; gap: 18px; align-items: flex-start; }
.ap-icon {
    flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; font-size: 21px;
    color: var(--ap-teal-dark); background: var(--ap-teal-soft);
}
.ap-service:nth-child(even) .ap-icon { color: var(--ap-coral-dark); background: var(--ap-coral-soft); }
.ap-service h3 { font-size: 19px; margin: 2px 0 6px; }
.ap-service p { margin: 0; font-size: 16px; color: var(--ap-muted); }
.ap-service small { display: block; margin-top: 10px; font-size: 14px; color: var(--ap-ink-2); font-weight: 500; }

/* ----------------------------------------------------------------- steps */

.ap-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.ap-step { position: relative; padding-top: 64px; }
.ap-step::before {
    counter-increment: step; content: "0" counter(step);
    position: absolute; top: 0; left: 28px;
    font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--ap-coral);
}
.ap-step h3 { font-size: 20px; margin: 0 0 8px; }
.ap-step p { margin: 0; font-size: 16px; color: var(--ap-muted); }

/* ------------------------------------------------------------ dark band */

.ap-band { background: var(--ap-ink); color: #d9d3cd; }
.ap-band h2 { color: #fff; }
.ap-band-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.ap-band p { font-size: 18px; }
.ap-band .ap-eyebrow { color: var(--ap-teal); }
.ap-band-note {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--ap-radius); padding: 28px;
}
.ap-band-note h3 { color: #fff; font-size: 20px; margin: 0 0 10px; }
.ap-band-note p { font-size: 16px; margin: 0; color: #bdb5ad; }

/* ----------------------------------------------------------------- stats */

.ap-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ap-stat { text-align: center; padding: 32px 20px; }
.ap-stat i { font-size: 26px; color: var(--ap-teal-dark); margin-bottom: 14px; }
.ap-stat strong { display: block; font-size: 40px; font-weight: 800; color: var(--ap-ink); line-height: 1; letter-spacing: -.03em; }
.ap-stat span { display: block; margin-top: 8px; color: var(--ap-muted); font-size: 16px; }

/* ------------------------------------------------------------------ video */

.ap-video {
    display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
    background: linear-gradient(120deg, var(--ap-coral), #ee9a7f);
    color: #fff; border-radius: 24px; padding: 40px 44px; box-shadow: var(--ap-shadow-lg);
}
.ap-video h2 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.ap-video p { margin: 0; color: rgba(255, 255, 255, .9); }
.ap-play {
    width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--ap-coral-dark);
    display: grid; place-items: center; font-size: 26px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.ap-play:hover { color: var(--ap-coral-dark); transform: scale(1.05); }

/* ------------------------------------------------------------------- blog */

.ap-post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; text-decoration: none; color: inherit; }
.ap-post-card:hover { text-decoration: none; color: inherit; }
.ap-post-card img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; display: block; background: var(--ap-bg-soft); }
.ap-post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ap-post-date { font-size: 14px; color: var(--ap-muted); margin-bottom: 8px; }
.ap-post-card h2, .ap-post-card h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
.ap-post-card p { font-size: 16px; color: var(--ap-muted); margin: 0 0 18px; }
.ap-post-more { margin-top: auto; font-weight: 600; color: var(--ap-coral-dark); font-size: 15px; }
.ap-section-cta { text-align: center; margin-top: 44px; }

.ap-page-head { padding: 72px 0 40px; background: var(--ap-bg-soft); border-bottom: 1px solid var(--ap-line); }
.ap-page-head h1 { font-size: clamp(34px, 4.6vw, 52px); margin: 0 0 12px; letter-spacing: -.03em; }
.ap-page-head p { font-size: 19px; color: var(--ap-muted); margin: 0; max-width: 680px; }
.ap-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }

.ap-article { max-width: 760px; margin: 0 auto; }
.ap-article-head { padding: 64px 0 32px; }
.ap-article-head h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -.03em; margin: 12px 0 16px; }
.ap-article-meta { color: var(--ap-muted); font-size: 16px; }
.ap-article-hero img { width: 100%; border-radius: 20px; box-shadow: var(--ap-shadow); aspect-ratio: 8 / 5; object-fit: cover; }
.ap-article-body { padding: 40px 0 24px; font-size: 19px; line-height: 1.75; color: var(--ap-ink-2); }
.ap-article-body h2 { font-size: 28px; margin: 8px 0 20px; }
.ap-article-body h3 { font-size: 24px; margin: 40px 0 12px; }
.ap-article-body p, .ap-article-body ul, .ap-article-body ol { margin: 0 0 22px; }
.ap-article-body li { margin-bottom: 8px; }
.ap-article-body a { text-decoration: underline; text-underline-offset: 3px; }
.ap-article-cta {
    margin: 24px 0 72px; padding: 32px; border-radius: var(--ap-radius);
    background: var(--ap-teal-soft); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.ap-article-cta h2 { font-size: 22px; margin: 0 0 4px; }
.ap-article-cta p { margin: 0; color: var(--ap-ink-2); }
.ap-article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 96px; }
.ap-article-nav a { display: block; padding: 20px 22px; }
.ap-article-nav small { display: block; color: var(--ap-muted); font-size: 14px; margin-bottom: 4px; }
.ap-article-nav strong { color: var(--ap-ink); font-size: 17px; line-height: 1.35; }
.ap-article-nav .is-next { text-align: right; }

.ap-empty { text-align: center; padding: 72px 24px; color: var(--ap-muted); }

/* ------------------------------------------------------------------ forms */

.ap-form-wrap { max-width: 760px; margin: 0 auto; }
.ap-form-wrap .form-control { border-radius: var(--ap-radius-sm); border-color: #d9d3cd; }
.ap-form-wrap .form-control:focus { border-color: var(--ap-teal); box-shadow: 0 0 0 .2rem rgba(82, 188, 193, .25); }
.ap-label { display: block; font-weight: 600; color: var(--ap-ink); margin-bottom: 8px; font-size: 16px; }
.ap-code-input { text-transform: uppercase; letter-spacing: .3em; font-weight: 700; text-align: center; }
.ap-modal { border: 0; border-radius: var(--ap-radius); box-shadow: var(--ap-shadow-lg); }
.ap-modal .modal-header { border-bottom: 1px solid var(--ap-line); padding: 20px 24px; }
.ap-modal .modal-body { padding: 24px; }
.ap-notice { border-radius: var(--ap-radius); padding: 28px; background: var(--ap-coral-soft); color: var(--ap-ink); }
.ap-toggle-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--ap-line); }
.ap-toggle-row h3 { font-size: 18px; margin: 2px 0 4px; }
.ap-toggle-row p { margin: 0 0 10px; font-size: 16px; color: var(--ap-muted); }
.ap-toggle-row .custom-control { display: inline-block; margin-right: 22px; }

/* ----------------------------------------------------------------- footer */

.ap-footer { background: var(--ap-ink); color: #bdb5ad; padding: 80px 0 32px; font-size: 16px; }
.ap-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; }
.ap-footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.ap-footer-brand p { max-width: 340px; margin: 0 0 24px; }
.ap-footer-title { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 18px; }
.ap-footer-links { list-style: none; margin: 0; padding: 0; }
.ap-footer-links li { margin-bottom: 12px; }
.ap-footer a { color: #e7e1db; text-decoration: none; }
.ap-footer a:hover { color: var(--ap-teal); }
.ap-social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.ap-social a {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; transition: background .15s ease, transform .15s ease;
}
.ap-social a:hover { background: var(--ap-coral); color: #fff; transform: translateY(-2px); }
.ap-footer-wfa {
    display: block; padding: 20px 22px; border-radius: var(--ap-radius);
    border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
}
.ap-footer-wfa strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }
.ap-footer-wfa span { color: #bdb5ad; font-size: 15px; }
.ap-footer-wfa:hover { border-color: var(--ap-teal); }
.ap-footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: #8f877f;
}

/* ------------------------------------------------------------ staff panel */
/*  /partner, for admin IPs only: "Partners" opens every active partner with a
    "Log in as" button. The panel breaks out of the narrow sign-in column. */

.ap-staff-toggle {
    background: none; border: 0; padding: 0; cursor: pointer;
    font: inherit; color: var(--ap-coral-dark);
    text-decoration: underline; text-underline-offset: 4px;
}
.ap-staff-toggle i { font-size: .8em; margin-left: 4px; }
.ap-staff-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.ap-staff-panel {
    display: none; position: relative; left: 50%; transform: translateX(-50%);
    width: min(920px, calc(100vw - 32px)); margin: 8px 0 36px;
    background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow-lg); text-align: left; color: var(--ap-ink-2);
}
.ap-staff-panel.is-open { display: block; }
.ap-staff-head {
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
    padding: 18px 22px; border-bottom: 1px solid var(--ap-line);
}
.ap-staff-head strong { display: block; color: var(--ap-ink); font-size: 18px; }
.ap-staff-head span { font-size: 15px; color: var(--ap-muted); }
.ap-staff-head input { max-width: 320px; border-radius: 999px; }
.ap-staff-list { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.ap-staff-list li {
    display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
    padding: 14px 22px; border-bottom: 1px solid var(--ap-line);
}
.ap-staff-list li:last-child { border-bottom: 0; }
.ap-staff-list li:hover { background: var(--ap-bg-soft); }
.ap-staff-list form { margin: 0; }
.ap-staff-who strong { display: block; color: var(--ap-ink); font-size: 17px; }
.ap-staff-who span { display: block; font-size: 15px; color: var(--ap-muted); word-break: break-word; }
.ap-staff-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ap-tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ap-bg-soft); color: var(--ap-ink-2); white-space: nowrap; }
.ap-tag-teal { background: var(--ap-teal-soft); color: var(--ap-teal-dark); }
.ap-tag-muted { background: var(--ap-coral-soft); color: var(--ap-coral-dark); }
.ap-staff-bar { background: var(--ap-ink); color: #e7e1db; font-size: 16px; }
.ap-staff-bar .ap-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.ap-staff-bar .ap-staff-toggle { color: #fff; font-weight: 600; }
.ap-staff-bar .ap-staff-panel { flex-basis: 100%; left: 0; transform: none; width: 100%; margin: 4px 0 8px; }

@media (max-width: 575px) {
    .ap-staff-list li { grid-template-columns: 1fr auto; }
    .ap-staff-tags { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
    .ap-staff-head input { max-width: none; }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 991px) {
    .ap-section { padding: 72px 0; }
    .ap-hero { padding: 56px 0 72px; }
    .ap-hero-grid, .ap-band-grid { grid-template-columns: 1fr; gap: 44px; }
    .ap-hero-badge { left: 16px; bottom: 16px; }
    .ap-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .ap-steps, .ap-stats { grid-template-columns: repeat(2, 1fr); }
    .ap-footer-grid { grid-template-columns: 1fr 1fr; }
    .ap-video { grid-template-columns: auto 1fr; }
    .ap-video .ap-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 575px) {
    body { font-size: 16px; }
    .ap-container { padding: 0 16px; }
    .ap-section { padding: 56px 0; }
    .ap-section-head { margin-bottom: 36px; }
    .ap-header-inner { height: 64px; }
    .ap-logo img { height: 34px; }
    .ap-nav { gap: 16px; }
    .ap-hide-sm { display: none; }
    .ap-show-sm { display: inline; }
    .ap-hero-lead { font-size: 18px; }
    .ap-hero-actions .ap-btn { width: 100%; }
    .ap-grid-3, .ap-steps, .ap-stats, .ap-footer-grid, .ap-article-nav { grid-template-columns: 1fr; }
    .ap-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ap-video { grid-template-columns: 1fr; padding: 32px 24px; text-align: left; }
    .ap-article-body { font-size: 18px; }
    .ap-article-nav .is-next { text-align: left; }
    .ap-footer { padding-top: 56px; }
}

/* Partner dashboard: the earnings figures sit inside a card, so they are
   smaller than the page-level stats and shaded instead of carded. */
.ap-card .ap-stat { padding: 18px 10px; background: var(--ap-bg-soft); border-radius: var(--ap-radius-sm); }
.ap-card .ap-stat strong { font-size: 30px; }
.ap-card .ap-stats { gap: 12px; }
.ap-table th { font-size: 15px; color: var(--ap-muted); font-weight: 600; border-top: 0; }
.ap-table td { font-size: 16px; }

/* Partner dashboard price picker: two plan cards, then a sideways scroller of
   every price the partner may choose. */
.ap-price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.ap-price-card {
    display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 22px 24px;
    background: #fff; border: 2px solid var(--ap-line); border-radius: var(--ap-radius);
    font-family: var(--ap-font); color: var(--ap-ink-2); border-color: var(--ap-coral); background: var(--ap-coral-soft); box-shadow: var(--ap-shadow);
}
.ap-price-card-label { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-muted); }
.ap-price-card-amount { font-size: 44px; font-weight: 800; color: var(--ap-ink); line-height: 1.1; letter-spacing: -.02em; }
.ap-price-card-amount small { font-size: 18px; font-weight: 500; color: var(--ap-muted); margin-left: 2px; }
.ap-price-card-split { display: flex; flex-direction: column; font-size: 16px; color: var(--ap-muted); }
.ap-price-card-split .ap-keep { color: var(--ap-teal-dark); font-size: 18px; }
.ap-price-scroller { border: 0; padding: 0; margin: 0; min-width: 0; }
.ap-price-options {
    position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.ap-price-option { position: relative; flex: 0 0 auto; margin: 0; scroll-snap-align: center; cursor: pointer; }
.ap-price-option input { position: absolute; opacity: 0; pointer-events: none; }
.ap-price-option span {
    display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 14px 12px;
    border: 2px solid var(--ap-line); border-radius: var(--ap-radius-sm); background: #fff; transition: border-color .15s, background .15s;
}
.ap-price-option strong { font-size: 22px; color: var(--ap-ink); }
.ap-price-option i { font-style: normal; font-size: 15px; color: var(--ap-ink-2); white-space: nowrap; }
.ap-price-option em { font-style: normal; font-size: 15px; color: var(--ap-muted); white-space: nowrap; }
.ap-price-option b { margin-top: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ap-teal-dark); }
.ap-price-option:hover span { border-color: var(--ap-teal); }
.ap-price-option input:focus-visible + span { outline: 3px solid var(--ap-teal); outline-offset: 2px; }
.ap-price-option input:checked + span { border-color: var(--ap-coral); background: var(--ap-coral); }
.ap-price-option input:checked + span strong,
.ap-price-option input:checked + span em,
.ap-price-option input:checked + span i,
.ap-price-option input:checked + span b { color: #fff; }
@media (max-width: 575px) {
    .ap-price-cards { grid-template-columns: 1fr; gap: 12px; }
    .ap-price-card-amount { font-size: 36px; }
}

/* Phone width: only the two-bubble mark from the logo, drawn inline so it is
   exactly the lockup's icon without the actorpartner.com wordmark. */
.ap-logo-mark { display: none; height: 34px; width: auto; }
@media (max-width: 575px) {
    .ap-logo img { display: none; }
    .ap-logo-mark { display: block; }
}

/* Partner dashboard: welcome message, a logo tile beside the message box. */
.ap-welcome-note { color: var(--ap-muted); margin: 16px 0 14px; }
.ap-welcome-row { display: flex; gap: 20px; align-items: flex-start; }
.ap-welcome-row textarea { flex: 1 1 auto; min-height: 132px; resize: vertical; }
.ap-welcome-side { position: relative; flex: none; }
.ap-logo-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    width: 132px; height: 132px; margin: 0; cursor: pointer; overflow: hidden;
    background: var(--ap-bg-soft); border: 2px dashed var(--ap-line); border-radius: var(--ap-radius);
    color: var(--ap-muted); font-size: 16px; font-weight: 600; transition: border-color .15s, color .15s;
}
.ap-logo-tile i { font-size: 30px; }
.ap-logo-tile:hover, .ap-logo-tile:focus-within { border-color: var(--ap-coral); color: var(--ap-coral-dark); }
.ap-logo-tile.has-logo { background: #fff; border: 1px solid var(--ap-line); }
.ap-logo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-logo-tile.is-busy { opacity: .5; pointer-events: none; }
.ap-logo-remove {
    position: absolute; top: -10px; right: -10px; z-index: 2; width: 30px; height: 30px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--ap-line); border-radius: 50%; box-shadow: var(--ap-shadow);
    color: var(--ap-ink-2); font-size: 16px; cursor: pointer;
}
.ap-logo-remove:hover, .ap-logo-remove:focus { color: var(--ap-coral-dark); border-color: var(--ap-coral); }
.ap-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
@media (max-width: 575px) {
    .ap-welcome-row { flex-direction: column; align-items: stretch; }
    .ap-welcome-side { align-self: flex-start; }
}

/* Request an invitation: the trap field people never see. Off screen rather
   than display:none, which some bots skip. */
.ap-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ap-request-form .form-control { font-size: 17px; }

/* Alerts (2026-10-13): soft tinted panels with a colored edge instead of
   Bootstrap's flat boxes. Every .alert on the site picks this up. */
.alert {
    position: relative; border: 0; border-left: 5px solid; border-radius: var(--ap-radius);
    padding: 18px 22px; font-size: 17px; line-height: 1.55; box-shadow: var(--ap-shadow);
}
.alert-success { background: var(--ap-teal-soft); border-left-color: var(--ap-teal); color: #1d5f62; }
.alert-danger  { background: var(--ap-coral-soft); border-left-color: var(--ap-coral); color: #8a3a32; }
.alert-warning { background: #fff7e6; border-left-color: #e7a33e; color: #7a5212; }
.alert-info    { background: #eef4fb; border-left-color: #5b8fd1; color: #2c4f7a; }
.alert a:not(.ap-btn) { color: inherit; font-weight: 600; text-decoration: underline; }

/* The large alert: icon, title, text, buttons. */
.ap-alert-lg { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; }
.ap-alert-icon { font-size: 28px; line-height: 1; margin-top: 2px; flex: none; }
.ap-alert-title { display: block; font-size: 20px; color: var(--ap-ink); margin-bottom: 4px; }
.ap-alert-lg p { margin: 0 0 14px; }
.ap-alert-lg small { display: block; margin-top: 12px; font-size: 15px; opacity: .85; }
.ap-alert-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-alert-actions .ap-btn-outline { background: #fff; }
@media (max-width: 575px) {
    .ap-alert-lg { flex-direction: column; gap: 10px; }
}

/* Card orders: pack and design choices as selectable cards, with previews of
   the two designs (65 mm square cards, drawn here as squares). */
.ap-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 4px; }
.ap-choice { position: relative; margin: 0; cursor: pointer; }
.ap-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ap-choice-body {
    display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px;
    background: #fff; border: 2px solid var(--ap-line); border-radius: var(--ap-radius);
    transition: border-color .15s, box-shadow .15s;
}
.ap-choice:hover .ap-choice-body { border-color: var(--ap-coral-soft); }
.ap-choice input:checked + .ap-choice-body { border-color: var(--ap-coral); box-shadow: 0 0 0 4px var(--ap-coral-soft); }
.ap-choice input:focus-visible + .ap-choice-body { outline: 2px solid var(--ap-coral-dark); outline-offset: 2px; }
.ap-choice-body strong { font-size: 18px; color: var(--ap-ink); }
.ap-choice-body small { font-size: 15px; color: var(--ap-muted); }
.ap-choice-price { font-size: 30px; font-weight: 800; color: var(--ap-ink); letter-spacing: -.02em; }
.ap-choice.is-off { cursor: not-allowed; opacity: .55; }
.ap-card-preview {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    width: 150px; height: 150px; margin-bottom: 10px; border-radius: 10px; overflow: hidden; box-shadow: var(--ap-shadow);
}
.ap-card-preview.is-classic { background: #1c5e87; }
.ap-card-tile { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; background: #fff; border-radius: 10px; color: #1c5e87; font-size: 64px; }
.ap-card-caption { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ap-card-preview.is-logo { background: #f58e1f; padding: 14px; }
.ap-card-preview.is-logo img {
    max-width: 96px; max-height: 80px; object-fit: contain;
    filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff);
}
.ap-card-nologo { display: flex; align-items: center; justify-content: center; width: 84px; height: 64px; border: 2px dashed rgba(255,255,255,.8); border-radius: 8px; color: #fff; font-size: 13px; font-weight: 700; }
.ap-card-tagline { color: #fff; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.2; }
.ap-pay { margin: 18px 0 6px; }

/* Greeting video switch under the welcome message. */
.ap-switch { margin: 16px 0 0; font-size: 17px; }
.ap-switch .custom-control-label { padding-top: 1px; }

/* Card designs built on the partner's image (2026-10-13): a coral strip down
   the left edge, or a white frame with the name in its bottom line. */
.ap-card-preview.is-strip, .ap-card-preview.is-frame { background: #cfc8c0 center / cover no-repeat; }
.ap-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 26px; background: rgba(229,121,110,.93); display: flex; flex-direction: column; align-items: center; padding: 7px 0; }
.ap-strip-mark { display: flex; gap: 1px; margin-bottom: 8px; }
.ap-strip-mark i { width: 8px; height: 7px; border: 1px solid #fff; border-radius: 2px; background: #52bcc1; }
.ap-strip-mark i + i { background: #e5796e; }
.ap-strip-text { flex: 1; display: flex; align-items: center; writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .26em; }
.ap-frame { position: absolute; left: 14px; right: 14px; top: 14px; bottom: 14px; border: 1.5px solid #fff; border-bottom: 0; }
.ap-frame::before, .ap-frame::after { content: ""; position: absolute; bottom: 0; height: 1.5px; width: 22%; background: #fff; }
.ap-frame::before { left: 0; }
.ap-frame::after { right: 0; }
.ap-frame-text { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; color: #fff; font-size: 7.5px; font-weight: 700; letter-spacing: .24em; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.ap-card-preview.is-strip .ap-card-nologo, .ap-card-preview.is-frame .ap-card-nologo { position: relative; z-index: 1; color: #fff; border-color: #fff; width: 90px; text-align: center; font-size: 12px; }
.ap-card-preview.is-back { background: #1c5e87; flex: none; }
.ap-qr { padding: 9px; }
.ap-qr svg { width: 100%; height: 100%; display: block; }
.ap-qr svg path, .ap-qr svg rect[fill="#000000"] { fill: #1c5e87; }
.ap-back-preview { display: flex; gap: 20px; align-items: center; margin: 14px 0 6px; padding: 16px 18px; background: var(--ap-bg-soft); border: 1px solid var(--ap-line); border-radius: var(--ap-radius); }
.ap-back-preview .ap-card-preview { margin-bottom: 0; }
.ap-back-preview strong { display: block; font-size: 18px; color: var(--ap-ink); margin-bottom: 4px; }
.ap-back-preview p { margin: 0; font-size: 16px; color: var(--ap-ink-2); }
@media (max-width: 575px) { .ap-back-preview { flex-direction: column; align-items: flex-start; } }

/* Partner dashboard tweaks (2026-10-13). */
.ap-page-head-tight { padding: 36px 0 26px; }
.ap-page-head-tight h1 { margin: 6px 0 0; }
.ap-section-tight { padding: 36px 0 72px; }
.ap-nav-form { display: inline; margin: 0; }
.ap-stat-link { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ap-stat-link:hover, .ap-stat-link:focus { color: inherit; text-decoration: none; transform: translateY(-2px); box-shadow: var(--ap-shadow-lg); border-color: var(--ap-coral-soft); }
.ap-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-price-option.is-locked { cursor: not-allowed; }
.ap-price-option.is-locked span { opacity: .55; background: var(--ap-bg-soft); }
.ap-link-quiet { color: var(--ap-muted); font-size: 16px; text-decoration: underline; }
@media (max-width: 575px) {
    .ap-page-head-tight { padding: 26px 0 18px; }
    .ap-section-tight { padding: 26px 0 56px; }
}

/* The classic front is the real artwork (images/card-front-classic.png). */
.ap-card-preview.is-classic img { width: 100%; height: 100%; display: block; }

/* Header at 800px and below: no How it works or Blog, Sign out as an icon. */
.ap-signout i { display: none; }
@media (max-width: 800px) {
    .ap-hide-800 { display: none !important; }
    .ap-signout { padding-left: 13px; padding-right: 13px; }
    .ap-signout i { display: inline-block; font-size: 16px; }
    .ap-signout span { display: none; }
}

/* Partner account: the info icon after the company name, and its bubble
   with the partner id. */
.ap-id-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.ap-id-btn { border: 0; background: none; padding: 0 2px; color: var(--ap-teal-dark); font-size: 16px; line-height: 1; cursor: pointer; }
.ap-id-btn:hover { color: var(--ap-coral-dark); }
.ap-id-btn:focus-visible { outline: 3px solid var(--ap-teal); outline-offset: 2px; border-radius: 50%; }
.ap-id-pop {
    position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; white-space: nowrap;
    padding: 10px 14px; border-radius: var(--ap-radius-sm); background: var(--ap-ink); color: #fff;
    font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; box-shadow: var(--ap-shadow-lg);
}
.ap-id-pop strong { color: #fff; }

/* Partner account tabs, under the name banner. Scrolls sideways on a phone. */
.ap-subnav { background: #fff; border-bottom: 1px solid var(--ap-line); }
.ap-subnav-inner { position: relative; display: flex; align-items: center; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ap-subnav-inner::-webkit-scrollbar { display: none; }
.ap-subnav-link {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 16px 14px 14px;
    color: var(--ap-ink-2); font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 3px solid transparent;
}
.ap-subnav-link i { color: var(--ap-muted); }
.ap-subnav-link:hover { color: var(--ap-ink); text-decoration: none; }
.ap-subnav-link.is-active { color: var(--ap-coral-dark); border-bottom-color: var(--ap-coral); }
.ap-subnav-link.is-active i { color: var(--ap-coral); }
.ap-subnav-chat {
    flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    border: 1px solid var(--ap-teal); border-radius: 999px; background: var(--ap-teal-soft); color: var(--ap-teal-dark);
    font-family: var(--ap-font); font-weight: 600; font-size: 15px; cursor: pointer;
}
.ap-subnav-chat:hover { background: var(--ap-teal); color: #fff; }

/* Dashboard notifications. */
.ap-feed { list-style: none; margin: 18px 0 0; padding: 0; }
.ap-feed li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ap-line); }
.ap-feed li i { width: 36px; height: 36px; border-radius: 50%; background: var(--ap-teal-soft); color: var(--ap-teal-dark); display: grid; place-items: center; font-size: 15px; }
.ap-feed time { color: var(--ap-muted); font-size: 15px; white-space: nowrap; }

/* Partners tab. */
.ap-match { border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 22px; display: flex; flex-direction: column; }
.ap-match p { font-size: 16px; }
.ap-match-actions { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ap-prefs { display: grid; gap: 0; }
.ap-pref { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 14px 0; border-top: 1px solid var(--ap-line); }
.ap-pref-name strong { display: block; color: var(--ap-ink); }
.ap-pref-name span { font-size: 15px; color: var(--ap-muted); }
.ap-pref .ap-switch { margin: 0; white-space: nowrap; }

/* Content tab. */
.ap-kit-link { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.ap-kit-qr { width: 180px; height: 180px; background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius-sm); padding: 8px; }
.ap-kit-qr svg { width: 100%; height: 100%; display: block; }
.ap-kit-logo { display: flex; flex-direction: column; gap: 10px; }
.ap-kit-logo-img { height: 140px; border: 1px solid var(--ap-line); border-radius: var(--ap-radius-sm); display: grid; place-items: center; padding: 22px; }
.ap-kit-logo-img img { max-width: 100%; max-height: 90px; }
.ap-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.ap-swatch { text-align: left; border: 1px solid var(--ap-line); border-radius: var(--ap-radius-sm); background: #fff; padding: 0 0 12px; overflow: hidden; cursor: pointer; font-family: var(--ap-font); display: flex; flex-direction: column; gap: 2px; }
.ap-swatch:hover { box-shadow: var(--ap-shadow); }
.ap-swatch-chip { height: 72px; margin-bottom: 8px; border-bottom: 1px solid var(--ap-line); }
.ap-swatch strong, .ap-swatch code, .ap-swatch small { padding: 0 12px; }
.ap-swatch strong { color: var(--ap-ink); font-size: 15px; }
.ap-swatch code { color: var(--ap-ink-2); font-size: 15px; }
.ap-swatch small { color: var(--ap-muted); font-size: 13px; }
.ap-kit-copy { padding: 18px 0; border-top: 1px solid var(--ap-line); }
.ap-kit-copy textarea { font-size: 16px; background: var(--ap-bg-soft); }

@media (max-width: 767px) {
    .ap-pref { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
    .ap-pref-name { grid-column: 1 / -1; }
    .ap-kit-link { grid-template-columns: 1fr; }
    .ap-subnav-link { padding: 14px 10px 12px; font-size: 15px; }
}

/* The Web For Actors Support Board chat on the partner pages, recolored to
   Actor Partner. Same selectors Support Board writes for its own color
   settings (supportboard/include/settings.php, sb_css()), so these win over
   the orange it brings from webforactors.com. */
body .sb-chat-btn, body .sb-chat > div > .sb-header, body .sb-chat .sb-dashboard > div > .sb-btn:hover,
body .sb-chat .sb-scroll-area .sb-header, body .sb-input.sb-input-btn > div, body div ul.sb-menu li:hover,
body .sb-ul > span:before { background-color: var(--ap-coral) !important; }
body .sb-chat-btn:hover, body .sb-input.sb-input-btn > div:hover, body .sb-chat .sb-btn:hover,
body .sb-chat a.sb-btn:hover { background-color: var(--ap-coral-dark) !important; }
body .sb-chat .sb-dashboard > div > .sb-btn, body .sb-search-btn > input,
body .sb-chat .sb-input > input:focus, body .sb-chat .sb-input > textarea:focus { border-color: var(--ap-coral) !important; }
body .sb-chat .sb-dashboard > div > .sb-btn, body .sb-chat .sb-editor .sb-submit, body .sb-chat .sb-btn-text:hover,
body .sb-chat .sb-loading:not(.sb-btn):before, body .sb-chat .sb-loader:before { color: var(--ap-coral-dark) !important; }
body .sb-chat .sb-list > .sb-right { background-color: var(--ap-teal-soft) !important; }
body .sb-chat .sb-list > .sb-right .sb-message, body .sb-chat .sb-list > .sb-right .sb-message a { color: var(--ap-ink) !important; }

/* Content tab: the greeting video choice. The videos are vertical (9:16). */
.ap-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); gap: 16px; }
.ap-video-choice video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: var(--ap-radius-sm); }
@media (max-width: 575px) {
    .ap-video-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
