/* Espace pro (pro.autoapplymax.com, 2026-11-03 v3). Built on the site's own design system, nothing new:
   - tokens: landing.css (:root --primary, --text-*, --radius-*) + the dashboard polish tokens (dashboard-polish.css:
     ink #0f172a, hairline #e3ebf5, soft brand #eef5fc / #cfe1f7, layered card shadow, page wash #f0f7ff -> #f6f9fc);
   - components: /auth card + form kit (auth.css .aa-page-*, auth-ui.css .aa-*), landing .btn / .btn-primary /
     .btn-secondary, the dashboard stat card (icon tile + 28px/800 value + 13px label) and its empty state
     (icon bubble + title + one line + one CTA), the pricing card frame (16px radius).
   Spacing scale: 4 / 8 / 12 / 16 / 20 / 24 / 32. One grid gap everywhere: 20px. */
:root {
  --text-primary: #0f172a;
  --bg-secondary: #f6f9fc;
  --aam-soft: #eef5fc;
  --aam-soft-border: #cfe1f7;
  --aam-hairline: #e3ebf5;
  --aam-card-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 34px -22px rgba(15, 23, 42, .30);
  --pro-gap: 20px;
}
[hidden] { display: none !important; }
.pro-ic { flex: none; }

/* pro header (pro host only): logo + "Pro" badge, 3 pro links, Sign in / Post a job or the org menu.
   Same height (72px), hairline and blur as the site header so the /auth card offsets still apply. */
.pro-hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 72px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--aam-hairline); }
.pro-hdr-in { max-width: 1240px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.pro-hdr-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-weight: 800; font-size: 19px; letter-spacing: -.01em; flex: none; }
.pro-hdr-logo img { border-radius: 6px; }
.pro-hdr-badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--primary-gradient); border-radius: 6px; padding: 3px 7px; }
.pro-hdr-links { display: flex; align-items: center; gap: 4px; }
.pro-hdr-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.pro-hdr-links a:hover { color: var(--text-primary); background: var(--bg-secondary); }
.pro-hdr-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pro-hdr-out { display: flex; align-items: center; gap: 8px; }
.pro-hdr-signin { font-size: 15px; font-weight: 600; color: var(--text-primary); text-decoration: none; padding: 10px 14px; border-radius: 10px; }
.pro-hdr-signin:hover { background: var(--bg-secondary); }
.pro-hdr-post { height: 42px; padding: 0 18px; }
.pro-hdr-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.pro-hdr-toggle span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; }
.pro-navorg { position: relative; }
.pro-navorg-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 6px; border: 1px solid var(--aam-hairline); border-radius: var(--radius-md); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--text-primary); cursor: pointer; max-width: 260px; }
.pro-navorg-btn:hover { border-color: var(--aam-soft-border); background: var(--aam-soft); }
.pro-navorg-av { width: 30px; height: 30px; border-radius: 8px; background: var(--primary-gradient); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.pro-navorg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-navorg-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: #fff; border: 1px solid var(--aam-hairline); border-radius: var(--radius-md); box-shadow: var(--aam-card-shadow); padding: 6px; z-index: 120; }
.pro-navorg.open .pro-navorg-menu { display: block; }
.pro-navorg-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; font: inherit; font-size: 14px; color: var(--text-primary); padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.pro-navorg-menu button:hover { background: var(--aam-soft); color: var(--primary); }
/* small pricing section under the sign-up card (signed out) */
body.pro-page:not(.pro-in) .aa-page-main { flex-direction: column; }
.pro-pricing { width: 100%; max-width: 940px; margin: 40px auto 0; }
.pro-pricing h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; text-align: center; color: var(--text-primary); }
.pro-pricing > .pro-sub { text-align: center; margin: 0 auto 20px; max-width: 560px; }
.pro-pricing .pro-price b { font-size: 34px; }
@media (max-width: 900px) {
  .pro-hdr-in { gap: 10px; padding: 0 16px; }
  .pro-hdr-toggle { display: flex; order: 3; }
  .pro-hdr-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--aam-hairline); box-shadow: var(--aam-card-shadow); padding: 8px 16px 12px; }
  .pro-hdr.open .pro-hdr-links { display: flex; }
  .pro-hdr-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--border-light); border-radius: 0; }
  .pro-hdr-links a:last-child { border-bottom: 0; }
  .pro-hdr-signin { padding: 8px 6px; font-size: 14px; }
  .pro-hdr-post { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .pro-navorg-name { display: none; }
  .pro-navorg-btn { padding: 0 8px 0 6px; }
}
@media (max-width: 420px) { .pro-hdr-logo > span:not(.pro-hdr-badge) { display: none; } }

/* auth card extras (signed out / complete profile / job-seeker note) */
.aa-auth select { width: 100%; }
.pro-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.pro-hint-under { margin: -6px 0 12px; }
.pro-single { max-width: 520px; }
.pro-single .aa-page-form { flex: 1; }
.pro-single .aa-page-form > * { max-width: none; }
.pro-btn-link { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.pro-empty-ico { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--aam-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--aam-soft-border); }

/* "You are": 3 equal cards, same width and height, icon + label + one-line description */
.pro-type { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.pro-type label, .pro-choice label { position: relative; display: flex; margin: 0; cursor: pointer; min-width: 0; }
.pro-type input, .pro-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pro-type label > span, .pro-choice label > span {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px;
  min-height: 112px; padding: 14px 8px 12px; border: 1.5px solid var(--aam-hairline); border-radius: var(--radius-md); background: #fff;
  color: var(--text-secondary); transition: border-color .15s, background .15s, box-shadow .15s;
}
.pro-type label > span .pro-ic, .pro-choice label > span .pro-ic { color: var(--primary); }
.pro-type b, .pro-choice b { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.25; }
.pro-type small, .pro-choice small { font-size: 12px; line-height: 1.35; color: var(--text-secondary); }
.pro-type label:hover span, .pro-choice label:hover span { border-color: var(--aam-soft-border); }
.pro-type input:checked + span, .pro-choice input:checked + span { border-color: var(--primary); background: var(--aam-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.pro-type input:focus-visible + span, .pro-choice input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.pro-choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.pro-tt { font-style: normal; display: flex; flex-direction: column; gap: 2px; align-items: inherit; min-width: 0; }

/* app canvas + layout (signed in) */
body.pro-page.pro-in { background: linear-gradient(180deg, #f0f7ff 0, var(--bg-secondary) 360px) no-repeat, var(--bg-secondary); }
body.pro-page.pro-in .aa-page-main { display: block; padding: 96px 24px 48px; }
.pro-app { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; max-width: 1240px; margin: 0 auto; align-items: start; }
.pro-content, .pro-side { min-width: 0; }

/* sidebar = the dashboard sidebar (soft brand pill for the active item, small uppercase section labels) */
.pro-side { position: sticky; top: 96px; }
.pro-org { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--aam-hairline); }
.pro-org-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-gradient); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.pro-org-txt { display: flex; flex-direction: column; min-width: 0; }
.pro-org-txt b { font-size: 14px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-org-txt span { font-size: 12.5px; color: var(--text-secondary); }
.pro-nav { display: flex; flex-direction: column; gap: 2px; }
.pro-nav-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); margin: 16px 12px 6px; }
.pro-nav-h:first-child { margin-top: 8px; }
.pro-nav button { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 12px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-secondary); cursor: pointer; text-align: left; white-space: nowrap; }
.pro-nav button:hover { background: #fff; color: var(--text-primary); }
.pro-nav button.active { background: var(--aam-soft); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--aam-soft-border); }

/* page header = dashboard .section-header-page */
.pro-panel { display: none; }
.pro-panel.active { display: block; animation: aaFade .2s ease; }
.pro-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.pro-head h1 { font-size: 28px; font-weight: 800; color: var(--text-primary); margin: 0 0 4px; letter-spacing: -.025em; line-height: 1.15; }
.pro-sub { color: var(--text-secondary); font-size: 15px; margin: 0; line-height: 1.5; }
.pro-link { color: var(--primary); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.pro-sub a { color: var(--primary); font-weight: 600; text-decoration: none; }
.pro-sub a:hover, .pro-link:hover { text-decoration: underline; }
.pro-h2 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 32px 0 12px; letter-spacing: -.01em; }
.pro-head .btn, .pro-actions .btn { height: 44px; }
body.pro-page .btn-secondary { border: 1px solid var(--aam-hairline); background: #fff; }
body.pro-page .btn-secondary:hover { background: var(--aam-soft); border-color: var(--aam-soft-border); transform: none; }
body.pro-page .btn-primary { box-shadow: 0 6px 16px -6px rgba(10, 102, 194, .55); }

/* card = dashboard card (hairline + layered shadow, 16px radius) */
.pro-card { background: #fff; border: 1px solid var(--aam-hairline); border-radius: 16px; box-shadow: var(--aam-card-shadow); padding: 24px; margin-bottom: var(--pro-gap); }
.pro-card-t { font-size: 17px; font-weight: 700; margin: 0 0 16px; color: var(--text-primary); letter-spacing: -.01em; }
.pro-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pro-card-head .pro-card-t { margin: 0; }
.pro-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pro-gap); align-items: stretch; }
.pro-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pro-gap); align-items: stretch; margin-bottom: var(--pro-gap); }
.pro-grid2 > .pro-card, .pro-grid3 > .pro-card { margin-bottom: 0; }
.pro-banner { padding: 14px 18px; border-radius: 12px; margin-bottom: var(--pro-gap); font-size: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.pro-banner.warn { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.pro-ico-tile { width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--aam-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--aam-soft-border); }

/* KPI tiles = dashboard .stat-card, all the same size */
.pro-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pro-gap); margin-bottom: var(--pro-gap); align-items: stretch; }
.pro-kpi { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 20px; background: #fff; border: 1px solid var(--aam-hairline); border-radius: 16px; box-shadow: var(--aam-card-shadow); min-width: 0; }
.pro-kpi b { display: block; font-size: 28px; font-weight: 800; color: var(--text-primary); line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pro-kpi .pro-kpi-l { display: block; font-size: 13px; color: var(--text-secondary); line-height: 1.35; }
.pro-kpi > div { min-width: 0; }

/* empty state = dashboard chart empty state */
.pro-empty { text-align: center; padding: 36px 24px; }
.pro-empty h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 6px; }
.pro-empty p { font-size: 14.5px; color: var(--text-secondary); margin: 0 auto 20px; max-width: 480px; line-height: 1.5; }
.pro-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 24px; text-align: left; align-items: stretch; }
.pro-step3 { border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 16px; background: var(--bg-secondary); }
.pro-step3 i { font-style: normal; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.pro-step3 b { display: block; font-size: 14.5px; color: var(--text-primary); margin-bottom: 2px; }
.pro-step3 span { display: block; font-size: 13px; color: var(--text-secondary); line-height: 1.45; }

/* coming-soon cards: icon tile + title + one line + link, equal heights */
.pro-soon-card { display: flex; gap: 16px; align-items: flex-start; }
.pro-soon-card h3 { font-size: 15.5px; font-weight: 700; margin: 2px 0 4px; color: var(--text-primary); }
.pro-soon-card p { font-size: 14px; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.5; }
.pro-ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.pro-ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; color: var(--text-primary); line-height: 1.5; }
.pro-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--aam-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a66c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* offers table */
.pro-tbl-wrap { overflow-x: auto; }
.pro-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pro-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); padding: 0 12px 10px; border-bottom: 1px solid var(--aam-hairline); white-space: nowrap; }
.pro-table th.num { text-align: right; }
.pro-table td { padding: 14px 12px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.pro-table tr:last-child td { border-bottom: 0; }
.pro-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; width: 72px; }
.pro-table td.num b { font-weight: 600; }
.pro-table td.num::after { content: none; }
.pro-offer-t { font-weight: 600; color: var(--text-primary); }
.pro-offer-m { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.pro-offer-note { font-size: 13px; color: #b91c1c; margin-top: 4px; }
.pro-row-acts { display: flex; gap: 8px; justify-content: flex-end; }
.pro-mini { height: 34px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; border: 1px solid var(--aam-hairline); background: #fff; color: var(--text-primary); border-radius: 10px; cursor: pointer; white-space: nowrap; }
.pro-mini:hover { border-color: var(--aam-soft-border); background: var(--aam-soft); color: var(--primary); }
.pro-mini.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.pro-mini.primary:hover { background: var(--primary-dark); color: #fff; }
.pro-mini.danger { color: #b91c1c; }
.pro-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pro-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pro-status.draft, .pro-status.expired { background: #f1f5f9; color: #64748b; }
.pro-status.pending_review { background: #fffbeb; color: #b45309; }
.pro-status.approved { background: #ecfdf5; color: #047857; }
.pro-status.paused { background: var(--aam-soft); color: var(--primary); }
.pro-status.rejected { background: #fef2f2; color: #b91c1c; }
.pro-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: #fff; border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 4px; width: max-content; max-width: 100%; overflow-x: auto; }
.pro-tabs button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: none; color: var(--text-secondary); border-radius: 8px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.pro-tabs button.active { background: var(--aam-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--aam-soft-border); }

/* post-a-job wizard */
.pro-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 var(--pro-gap); max-width: 760px; }
.pro-steps li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--aam-hairline); font-size: 14px; font-weight: 600; color: var(--text-tertiary); min-width: 0; }
.pro-step-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #fff; border: 1.5px solid var(--aam-hairline); color: var(--text-secondary); flex: none; }
.pro-step-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-steps li.done { color: var(--text-secondary); border-top-color: var(--primary-light); }
.pro-steps li.done .pro-step-n { background: var(--aam-soft); border-color: var(--aam-soft-border); color: var(--primary); }
.pro-steps li.active { color: var(--primary); border-top-color: var(--primary); }
.pro-steps li.active .pro-step-n { background: var(--primary); border-color: var(--primary); color: #fff; }
.pro-form { max-width: 760px; }
.pro-step { display: none; }
.pro-step.active { display: block; }
.pro-field { margin-bottom: 20px; min-width: 0; }
.pro-field > label { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.pro-field input:not([type=radio]):not([type=checkbox]), .pro-field select, .pro-field textarea, .pro-mt {
  display: block; width: 100%; height: 48px; font: inherit; font-size: 15px; padding: 0 14px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: var(--text-primary); box-sizing: border-box;
}
.pro-field textarea { height: auto; min-height: 200px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.pro-field input:focus, .pro-field select:focus, .pro-field textarea:focus, .pro-mt:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10, 102, 194, .12); }
.pro-field [aria-invalid="true"] { border-color: #dc2626 !important; background: #fef2f2 !important; }
.pro-field-err { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #b91c1c; }
.pro-help { display: block; margin-top: 6px; font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.pro-steptxt { color: var(--text-primary); font-weight: 600; }
.pro-opt { font-weight: 500; color: var(--text-tertiary); font-size: 13px; }
.pro-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--pro-gap); }
.pro-choice { display: grid; gap: 10px; align-items: stretch; }
.pro-choice-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pro-choice-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pro-choice label > span { min-height: 0; padding: 14px 10px; }
.pro-mt { margin-top: 12px; }
.pro-more { border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 14px 16px; }
.pro-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.pro-more[open] summary { margin-bottom: 16px; }
.pro-preview { background: var(--bg-secondary); border: 1px dashed #cbd5e1; border-radius: 12px; padding: 16px; }
.pro-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.pro-actions .btn { min-width: 140px; }
.pro-actions-end { justify-content: flex-end; }
.pro-error { color: #b91c1c; font-size: 14px; margin: 0 0 12px; padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; }
.pro-summary { border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; font-size: 14.5px; color: var(--text-primary); line-height: 1.6; background: var(--bg-secondary); }
.pro-summary b { font-size: 16px; }
/* publish options = 3 equal pricing-style cards */
.pro-pay { display: grid; grid-template-columns: repeat(var(--pay-cols, 3), minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.pro-note { margin-top: 16px; }
.pro-pay .pro-pay-tag.is-empty { visibility: hidden; }
.pro-pay label { position: relative; display: flex; cursor: pointer; margin: 0; }
.pro-pay input { position: absolute; opacity: 0; pointer-events: none; }
.pro-pay label > span { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid var(--aam-hairline); border-radius: 12px; background: #fff; }
.pro-pay input:checked + span { border-color: var(--primary); background: var(--aam-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.pro-pay .pro-pay-p { font-size: 26px; font-weight: 800; color: var(--text-primary); letter-spacing: -.02em; line-height: 1.1; }
.pro-pay .pro-pay-t { font-size: 14.5px; font-weight: 700; color: var(--text-primary); }
.pro-pay .pro-pay-d { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.pro-pay .pro-pay-tag { font-style: normal; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); background: #fff; border: 1px solid var(--aam-soft-border); border-radius: 6px; padding: 2px 6px; }

/* billing: 3 equal pricing-style cards */
.pro-price { display: flex; flex-direction: column; gap: 2px; }
.pro-price-l { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px; }
.pro-price b { font-size: 38px; font-weight: 800; color: var(--text-primary); letter-spacing: -.01em; line-height: 1.1; }
.pro-price-d { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.pro-price .btn, .pro-price .pro-help { margin-top: auto; }
.pro-price-current b { color: var(--primary); }
.pro-price-best { border: 2px solid var(--primary); padding: 23px; }
.pro-price-best .pro-price-l { color: var(--primary); }
.pro-static { height: 48px; display: flex; align-items: center; font-size: 15px; color: var(--text-primary); font-weight: 600; }
.pro-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text-primary); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 1000; max-width: calc(100% - 32px); box-shadow: var(--aam-card-shadow); }

/* laptop */
@media (max-width: 1180px) {
  .pro-app { grid-template-columns: 216px minmax(0, 1fr); gap: 24px; }
  .pro-kpi { padding: 16px; gap: 12px; }
  .pro-kpi .pro-ico-tile { width: 40px; height: 40px; }
}
@media (max-width: 1180px) and (min-width: 861px) {
  /* laptop: the dates column goes (dates stay in each job's line on the overview) so titles get the room */
  .pro-table .pro-th-date, .pro-table .pro-td-date { display: none; }
}
@media (max-width: 960px) {
  .pro-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* tablet / phone: the sidebar becomes a scrollable tab bar */
@media (max-width: 860px) {
  body.pro-page.pro-in .aa-page-main { padding: 84px 16px 32px; }
  .pro-app { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.pro-page.pro-in { overflow-x: hidden; }
  .pro-side { position: relative; top: auto; background: #fff; border: 1px solid var(--aam-hairline); border-radius: 16px; box-shadow: var(--aam-card-shadow); padding: 12px; }
  .pro-org { padding: 0 0 10px; margin-bottom: 8px; }
  .pro-nav { flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; padding-right: 8px; }
  .pro-nav::-webkit-scrollbar { display: none; }
  .pro-nav-h { display: none; }
  .pro-nav button { width: auto; flex: none; height: 38px; font-size: 14px; }
  .pro-nav button .pro-ic { display: none; }
  .pro-nav.fade-r { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .pro-nav.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 82%, transparent); }
  .pro-nav.fade-l:not(.fade-r) { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%); mask-image: linear-gradient(to right, transparent, #000 12%); }
  .pro-head { align-items: stretch; margin-bottom: 16px; }
  .pro-head h1 { font-size: 24px; }
  .pro-head .btn { width: 100%; }
  .pro-kpis { gap: 12px; }
  .pro-kpi { min-height: 84px; padding: 14px; gap: 12px; }
  .pro-kpi .pro-ico-tile { width: 40px; height: 40px; }
  .pro-kpi b { font-size: 24px; }
  .pro-grid2, .pro-grid3, .pro-row2, .pro-steps3, .pro-pay { grid-template-columns: minmax(0, 1fr); }
  .pro-card { padding: 18px; }
  .pro-price-best { padding: 17px; }
  .pro-steps { gap: 6px; }
  .pro-step-t { display: none; }
  .pro-steps li.active .pro-step-t { display: inline; }
  .pro-actions .btn { min-width: 0; flex: 1; }
  .pro-table thead { display: none; }
  .pro-table, .pro-table tbody { display: block; }
  .pro-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
  .pro-table tr:last-child { border-bottom: 0; }
  .pro-table td { padding: 0; border: 0; }
  .pro-table td.pro-td-main, .pro-table td.pro-td-status, .pro-table td.pro-td-acts, .pro-table td.pro-td-date { grid-column: 1 / -1; }
  .pro-table td.num { width: auto; text-align: left; font-size: 13px; color: var(--text-secondary); }
  .pro-table td.num b { color: var(--text-primary); font-size: 15px; margin-right: 4px; }
  .pro-table td.num::after { content: attr(data-l); }
  .pro-row-acts { justify-content: flex-start; }
  .pro-tabs { width: 100%; }
}
@media (max-width: 480px) {
  .pro-type { grid-template-columns: minmax(0, 1fr); }
  .pro-type label > span { flex-direction: row; text-align: left; min-height: 0; padding: 12px 14px; gap: 12px; align-items: center; }
  .pro-tt { align-items: flex-start; text-align: left; }
  .pro-type label > span > .pro-ic { flex: none; }
  .pro-choice-3, .pro-choice-2 { grid-template-columns: minmax(0, 1fr); }
  .pro-choice label > span { flex-direction: row; text-align: left; gap: 12px; align-items: center; padding: 12px 14px; }
}

/* v4: header Solutions dropdown + "For job seekers" */
.pro-dd { position: relative; }
.pro-dd-btn { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text-secondary); background: none; border: 0; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.pro-dd-btn:hover, .pro-dd.open .pro-dd-btn { color: var(--text-primary); background: var(--bg-secondary); }
.pro-dd-btn svg { transition: transform .15s; }
.pro-dd.open .pro-dd-btn svg { transform: rotate(180deg); }
.pro-dd-panel { display: none; position: absolute; top: calc(100% + 10px); left: 0; width: 360px; background: #fff; border: 1px solid var(--aam-hairline); border-radius: 16px; box-shadow: var(--aam-card-shadow); padding: 8px; z-index: 130; }
.pro-dd.open .pro-dd-panel { display: block; }
.pro-dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text-primary); }
.pro-dd-item:hover { background: var(--aam-soft); }
.pro-dd-item b { display: block; font-size: 14.5px; font-weight: 600; }
.pro-dd-item small { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.pro-dd-ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--aam-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--aam-soft-border); }
.pro-soon { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); background: var(--aam-soft); border: 1px solid var(--aam-soft-border); border-radius: 6px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.pro-hdr-links a.pro-hdr-seekers { color: var(--primary); font-weight: 600; }

/* v4: focused auth card (no marketing panel) */
.pro-auth-card { max-width: 480px; }
.pro-auth-kicker { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin: 0 0 16px; text-align: center; display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pro-auth-kicker .pro-hdr-badge { font-size: 10px; padding: 2px 6px; }
#viewAuth .aa-title, #viewComplete .aa-title { font-size: 26px; }

/* v4: pro pricing page */
.pro-pricing-page { width: 100%; max-width: 1080px; margin: 0 auto; }
.pro-pp-head { text-align: center; margin: 8px auto 28px; max-width: 640px; }
.pro-pp-head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.025em; margin: 0 0 8px; color: var(--text-primary); }
.pro-pricing-page .pro-price .btn { margin-top: 16px; }
.pro-ticks-sm { margin: 4px 0 0; }
.pro-ticks-sm li { font-size: 14px; margin-bottom: 8px; }
.pro-faq dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.pro-faq dt { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.pro-faq dd { margin: 4px 0 0; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.pro-pricing-page .pro-faq { margin-top: var(--pro-gap); }

/* v4: apply with AutoApplyMax + screening questions in the job form */
.pro-aam-box { margin-top: 12px; padding: 16px; border: 1px solid var(--aam-soft-border); background: var(--aam-soft); border-radius: 12px; }
.pro-mt0 { margin-top: 12px; }
.pro-q { display: grid; grid-template-columns: minmax(0, 1fr) 150px 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.pro-q input, .pro-q select { height: 44px; font: inherit; font-size: 14.5px; padding: 0 12px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; color: var(--text-primary); min-width: 0; }
.pro-q-x { width: 40px; height: 40px; border: 1px solid var(--aam-hairline); border-radius: 10px; background: #fff; color: var(--text-secondary); cursor: pointer; font-size: 18px; }
.pro-q-x:hover { color: #b91c1c; border-color: #fecaca; }
.pro-back { display: inline-block; margin-bottom: 8px; font-size: 14px; }

/* v4: applicants (list + detail) */
.pro-ap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--pro-gap); align-items: start; }
.pro-ap .pro-card { margin-bottom: 0; }
.pro-ap-list { padding: 8px; }
.pro-ap-item { display: block; width: 100%; text-align: left; border: 1px solid transparent; background: none; border-radius: 12px; padding: 12px; cursor: pointer; font: inherit; color: var(--text-primary); }
.pro-ap-item + .pro-ap-item { margin-top: 2px; }
.pro-ap-item:hover { background: var(--bg-secondary); }
.pro-ap-item.active { background: var(--aam-soft); border-color: var(--aam-soft-border); }
.pro-ap-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pro-ap-name { font-weight: 700; font-size: 15px; }
.pro-ap-match { font-size: 12.5px; font-weight: 700; color: #047857; background: #ecfdf5; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pro-ap-match.mid { color: #b45309; background: #fffbeb; }
.pro-ap-match.low { color: #64748b; background: #f1f5f9; }
.pro-ap-sub { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.pro-ap-meta { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-tertiary); }
.pro-ap-detail h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pro-ap-dhead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); margin-bottom: 16px; }
.pro-ap-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pro-ap-actions .btn { height: 40px; padding: 0 16px; }
.pro-ap-pipe { display: flex; gap: 4px; flex-wrap: wrap; background: var(--bg-secondary); border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.pro-ap-pipe button { flex: 1; min-width: 88px; font: inherit; font-size: 13.5px; font-weight: 600; border: 0; background: none; color: var(--text-secondary); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.pro-ap-pipe button.active { background: #fff; color: var(--primary); box-shadow: 0 1px 2px rgba(15, 23, 42, .08), inset 0 0 0 1px var(--aam-soft-border); }
.pro-ap-pipe button[data-st="rejected"].active { color: #b91c1c; }
.pro-ap-pipe button[data-st="hired"].active { color: #047857; }
.pro-ap-sec { margin-bottom: 20px; }
.pro-ap-sec h3 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 8px; }
.pro-ap-qa { border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.pro-ap-qa b { display: block; font-size: 13.5px; color: var(--text-secondary); font-weight: 600; }
.pro-ap-qa span { font-size: 15px; color: var(--text-primary); font-weight: 600; }
.pro-cv { border: 1px solid var(--aam-hairline); border-radius: 12px; padding: 20px; background: #fff; font-size: 14px; line-height: 1.55; color: var(--text-primary); }
.pro-cv h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin: 16px 0 6px; }
.pro-cv h4:first-child { margin-top: 0; }
.pro-cv-role { font-weight: 700; }
.pro-cv-co { color: var(--text-secondary); }
.pro-cv ul { margin: 4px 0 8px 18px; padding: 0; }
.pro-cv-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-cv-skills span { font-size: 12.5px; background: var(--bg-secondary); border: 1px solid var(--aam-hairline); border-radius: 6px; padding: 2px 8px; }
.pro-anote { border-left: 3px solid var(--aam-soft-border); padding: 6px 12px; margin-bottom: 8px; font-size: 14px; }
.pro-anote small { display: block; color: var(--text-tertiary); font-size: 12px; }
.pro-note-form { display: flex; gap: 8px; align-items: stretch; }
.pro-note-form textarea { flex: 1; min-height: 44px; height: 44px; font: inherit; font-size: 14px; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #f8fafc; resize: vertical; }
.pro-note-form .btn { height: 44px; }
.pro-consent-line { font-size: 12.5px; color: var(--text-tertiary); margin-top: 16px; }
@media print {
  body.pro-printing * { visibility: hidden; }
  body.pro-printing .pro-cv, body.pro-printing .pro-cv * { visibility: visible; }
  body.pro-printing .pro-cv { position: absolute; left: 0; top: 0; width: 100%; border: 0; }
}
@media (max-width: 1180px) { .pro-ap { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); } }
@media (max-width: 900px) {
  .pro-hdr-links { gap: 0; }
  .pro-dd { width: 100%; }
  .pro-dd-btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--border-light); border-radius: 0; color: var(--text-primary); }
  .pro-dd-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; }
  .pro-faq dl { grid-template-columns: minmax(0, 1fr); }
  .pro-pp-head h1 { font-size: 26px; }
  .pro-ap { grid-template-columns: minmax(0, 1fr); }
  .pro-q { grid-template-columns: minmax(0, 1fr) 40px; }
  .pro-q select { grid-column: 1; }
  .pro-q .pro-q-x { grid-row: 1; grid-column: 2; }
}
.pro-tab-n { font-size: 12px; color: var(--text-tertiary); font-weight: 600; margin-left: 2px; }
.pro-status.ap-new { background: #eef5fc; color: #0a66c2; }
.pro-status.ap-shortlisted { background: #fffbeb; color: #b45309; }
.pro-status.ap-contacted { background: #f5f3ff; color: #6d28d9; }
.pro-status.ap-rejected { background: #f1f5f9; color: #64748b; }
.pro-status.ap-hired { background: #ecfdf5; color: #047857; }
.pro-ap-meta .pro-status { margin-left: auto; }
.pro-ap.pro-ap-empty { grid-template-columns: minmax(0, 1fr); }
.pro-ap-empty .pro-ap-list { padding: 8px 24px 24px; }
.pro-page [hidden] { display: none !important; }
.pro-hdr-links a.pro-dd-item { color: var(--text-primary); padding: 10px; font-size: inherit; font-weight: inherit; display: flex; border-bottom: 0; border-radius: 12px; }
.pro-hdr-links a.pro-dd-item:hover { background: var(--aam-soft); color: var(--text-primary); }
.pro-dd-panel { width: 372px; }
.pro-faq dl > div { padding: 14px 0; border-top: 1px solid var(--border-light); }
.pro-faq dl { gap: 0 40px; }
/* signed in: the app nav is the sidebar + the org menu (LinkedIn Talent / JobTeaser pattern) */
body.pro-in .pro-hdr-links, body.pro-in .pro-hdr-toggle { display: none !important; }
.pro-q + .pro-field-err { margin: -2px 0 10px; }
.pro-td-date { white-space: nowrap; }
.pro-table td.pro-td-main { min-width: 170px; }
.pro-table td.pro-td-acts { width: 1%; white-space: nowrap; }
.pro-ap-sub { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pro-ap-sub .pro-status { flex: none; }
.pro-ap-sec h3 .pro-opt { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pro-pp-head h1 { line-height: 1.15; }
@media (max-width: 900px) {
  .pro-q { grid-template-columns: minmax(0, 1fr) 40px; }
  .pro-q input { grid-column: 1 / -1; }
  .pro-q select { grid-column: 1; grid-row: 2; }
  .pro-q .pro-q-x { grid-column: 2; grid-row: 2; }
}
@media (max-width: 600px) { .pro-note-form { flex-direction: column; } .pro-note-form textarea { height: 72px; } .pro-ap-pipe button { min-width: 0; flex: 1 1 30%; } }
.pro-ap-pipe { flex-wrap: nowrap; }
.pro-ap-pipe button { min-width: 0; padding: 8px 6px; font-size: 13px; }
@media (max-width: 600px) { .pro-ap-pipe { flex-wrap: wrap; } }
@media (max-width: 860px) { .pro-table td.pro-td-acts { width: auto; white-space: normal; } .pro-row-acts { flex-wrap: wrap; } }

/* row actions: one primary + "⋯" menu */
.pro-tbl-wrap { overflow: visible; }
.pro-kebab { position: relative; display: inline-block; }
.pro-kebab > summary { list-style: none; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--aam-hairline); border-radius: 10px; background: #fff; font-size: 18px; line-height: 1; color: var(--text-secondary); user-select: none; }
.pro-kebab > summary::-webkit-details-marker { display: none; }
.pro-kebab[open] > summary, .pro-kebab > summary:hover { color: var(--text-primary); background: var(--bg-secondary); }
.pro-kebab-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 168px; background: #fff; border: 1px solid var(--aam-hairline); border-radius: 12px; box-shadow: var(--aam-card-shadow); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.pro-kebab-menu .pro-mini { width: 100%; text-align: left; border: 0; background: none; box-shadow: none; padding: 9px 10px; border-radius: 8px; justify-content: flex-start; }
.pro-kebab-menu .pro-mini:hover { background: var(--bg-secondary); }
.pro-row-acts { align-items: center; }
#proAuth .aa-note a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* v5: Solutions hub (signed-out landing of pro.autoapplymax.com) */
.pro-hub { width: 100%; max-width: 1160px; margin: 0 auto; }
.pro-hub-head { text-align: center; max-width: 720px; margin: 16px auto 36px; }
.pro-hub-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin: 0 0 10px; }
.pro-hub-head h1 { font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--text-primary); margin: 0 0 12px; }
.pro-hub-head .pro-sub { font-size: 17px; }
.pro-hub-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pro-sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pro-gap); align-items: stretch; margin-bottom: var(--pro-gap); }
.pro-sol { display: flex; flex-direction: column; margin-bottom: 0; scroll-margin-top: 96px; }
.pro-sol-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.pro-sol-badge { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 10px; }
.pro-sol-badge.soon { color: var(--primary); background: var(--aam-soft); border-color: var(--aam-soft-border); }
.pro-sol-t { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--text-primary); margin: 0 0 6px; }
.pro-sol-d { font-size: 15px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 16px; }
.pro-sol-how { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 8px; }
.pro-sol-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 20px; }
.pro-sol-steps li { counter-increment: s; position: relative; padding-left: 30px; font-size: 14px; line-height: 1.5; color: var(--text-primary); margin-bottom: 8px; }
.pro-sol-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--aam-soft); color: var(--primary); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.pro-sol-cta { margin-top: auto; }
.pro-sol-cta .btn { width: 100%; justify-content: center; }
.pro-hub-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pro-hub-end .pro-card-t { margin: 0 0 4px; }
.pro-dd-all { display: block; margin: 4px 0 0; padding: 10px; border-top: 1px solid var(--border-light); font-size: 14px; font-weight: 600; color: var(--primary) !important; text-decoration: none; }
.pro-dd-panel { width: 392px; }

/* v5: pricing tabs per audience */
.pro-pp-tabs { margin: 0 auto 24px; }
.pro-pp-tabs button { padding: 10px 18px; }
.pro-pp-panel .pro-price b { font-size: 34px; }
.pro-pp-2 { max-width: 760px; margin: 0 auto var(--pro-gap); }
.pro-pp-note { text-align: center; margin: 0 0 var(--pro-gap); }
.pro-pp-panel { margin-bottom: 0; }

@media (max-width: 1180px) {
  .pro-sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pro-sol-grid { grid-template-columns: minmax(0, 1fr); }
  .pro-hub-head { margin: 4px auto 24px; }
  .pro-hub-head h1 { font-size: 28px; }
  .pro-hub-head .pro-sub { font-size: 15px; }
  .pro-hub-ctas .btn { flex: 1; justify-content: center; }
  .pro-pp-tabs { width: 100%; }
  .pro-pp-tabs button { padding: 8px 12px; }
}
@media (max-width: 900px) { .pro-dd-panel { width: auto; } .pro-dd-all { border-top: 0; padding: 8px 4px; } }
.pro-sol { transition: box-shadow .3s; }
.pro-sol.is-target { box-shadow: 0 0 0 2px var(--primary), var(--aam-card-shadow); }
@media (max-width: 760px) { .pro-pp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } .pro-pp-tabs button { white-space: normal; line-height: 1.25; font-size: 13px; padding: 8px 6px; } }

/* v6: pro onboarding (3 steps) */
.pro-onb { max-width: 560px; }
.pro-onb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.pro-onb-top .pro-auth-kicker { margin: 0; text-align: left; justify-content: flex-start; }
.pro-onb-skip { font-size: 14px; }
.pro-onb-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.pro-onb-bar i { height: 4px; border-radius: 999px; background: var(--aam-hairline); }
.pro-onb-bar i.on { background: var(--primary); }
.pro-onb-step { display: none; }
.pro-onb-step.active { display: block; }
.pro-onb-step .aa-title { text-align: left; }
.pro-onb-step .aa-sub { text-align: left; }
.pro-type.pro-type-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.pro-type-4 label > span { min-height: 116px; }
.pro-onb-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 8px; }
.pro-onb-back { height: 48px; border-radius: 12px; border: 1px solid var(--aam-hairline); background: #fff; font: inherit; font-weight: 600; color: var(--text-primary); cursor: pointer; }
.pro-onb-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 20px; }
.pro-onb-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--aam-hairline); border-radius: 14px; padding: 14px; background: #fff; }
.pro-onb-item .pro-ico-tile { width: 44px; height: 44px; }
.pro-onb-item b { display: block; font-size: 15px; color: var(--text-primary); }
.pro-onb-item > div > span { display: block; font-size: 13.5px; color: var(--text-secondary); line-height: 1.45; margin-top: 2px; }
.pro-onb-cta { height: 38px; padding: 0 14px; white-space: nowrap; font-size: 14px; }
.pro-onb-incl { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 10px; }
#proPassword2Err { margin-top: 6px; }
@media (max-width: 520px) {
  .pro-onb-item { grid-template-columns: 40px minmax(0, 1fr); }
  .pro-onb-item .pro-onb-cta, .pro-onb-item .pro-onb-incl { grid-column: 2; justify-self: start; }
  .pro-type-4 label > span { min-height: 0; }
}

/* v6: "Need something else? Custom plan" card */
.pro-custom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-style: dashed; border-color: var(--aam-soft-border); }
.pro-custom .pro-card-t { margin: 0 0 4px; }
.pro-pp-panel .pro-custom { max-width: 1080px; margin-left: auto; margin-right: auto; }
.pro-pp-2 + .pro-custom { max-width: 760px; }
.pro-onb-step .aa-sub { margin-left: 0; margin-right: 0; max-width: none; padding: 0; }
.pro-onb-top .pro-auth-kicker { display: block; }
.pro-onb-item .pro-ico-tile { display: grid; place-items: center; }
#viewComplete .aa-field select { width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--text-primary); background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 12px; box-sizing: border-box; }
#viewComplete .aa-field select:focus { outline: none; border-color: var(--primary); background: #fff; }

/* v4 (branch feat/b2b-1108): team + plans + contact requests */
.pro-team-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pro-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e0f2fe; color: #0a66c2; font-weight: 700; font-size: 13px; }
.pro-team { list-style: none; margin: 12px 0 18px; padding: 0; }
.pro-team-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.pro-team-mail { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.pro-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pro-pill-ok { background: #dcfce7; color: #166534; }
.pro-invite-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pro-invite-row input { flex: 1; min-width: 220px; }
.pro-plans { margin-top: 12px; }
.pro-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pro-table th, .pro-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #eef2f7; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
