/* AscendurePro Career Tools — © 2026 Bonface Juma. Proprietary.
   AscendurePro App (v6.5) — design system + layout.
   Brand: navy #073087, purple #7C3AED, mint #D1FAE5,
   Roboto Condensed headings, Merriweather Sans body. */

.apct-app, .apct-app * { box-sizing: border-box; }
.apct-app { --apct-css: 1; }   /* v6.6.1 — lets app.js wait until this stylesheet has applied */
.apct-app {
    --navy: #073087; --navy-2: #0b3fb0; --navy-50: #eef3ff; --navy-100: #dce6ff;
    --purple: #7c3aed; --purple-50: #f4efff;
    --mint: #d1fae5; --mint-ink: #047857;
    --amber-50: #fffbeb; --amber-ink: #b45309;
    --red-50: #fef2f2; --red-ink: #b91c1c;
    --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --faint: #94a3b8;
    --line: #e6eaf2; --line-2: #eef1f7; --bg: #f5f7fb; --card: #ffffff;
    --r: 14px; --r-sm: 10px; --r-lg: 20px;
    --sh: 0 1px 2px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.06);
    --sh-lg: 0 10px 40px rgba(7,48,135,.16);
    --head: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
    --body: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-family: var(--body); font-size: 14px; line-height: 1.55; color: var(--ink);
    background: var(--bg); -webkit-font-smoothing: antialiased;
    width: 100%; min-height: 70vh; text-align: left;
}
.apct-app h1, .apct-app h2, .apct-app h3, .apct-app h4 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -.005em; line-height: 1.2; }
.apct-app p { margin: 0; }
.apct-app a:where(:not(.apct-btn)) { color: var(--navy); }
.apct-app button { font-family: inherit; }
.apct-app input, .apct-app select, .apct-app textarea { font-family: inherit; font-size: 14px; color: var(--ink); }

/* Break out of narrow theme containers when not in full-screen mode */
.apct-app.apct-breakout { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
body.apct-fullscreen { margin: 0; background: #f5f7fb; }
body.apct-fullscreen .apct-fullscreen-main { margin: 0; padding: 0; }
body.apct-fullscreen .apct-app { min-height: 100vh; min-height: 100dvh; }

/* Boot */
.apct-boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.apct-boot-spinner, .apct-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--navy-100); border-top-color: var(--navy); animation: apct-spin .8s linear infinite; }
.apct-spin { width: 16px; height: 16px; border-width: 2px; display: inline-block; vertical-align: -3px; }
@keyframes apct-spin { to { transform: rotate(360deg); } }

/* ── Shell ── */
.apct-shell { display: grid; grid-template-columns: 1fr; min-height: inherit; }
.apct-side { display: none; }
.apct-main { min-width: 0; padding: 0 0 88px; }
.apct-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.apct-topbar .apct-brand { flex: 1; }
.apct-brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: none; }
.apct-brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 16px; background: linear-gradient(135deg, var(--navy), var(--purple)); box-shadow: 0 4px 12px rgba(124,58,237,.35); }
.apct-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-weight: 700; font-size: 13px; border: 0; cursor: pointer; }
.apct-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.apct-bottomnav a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; color: var(--muted); text-decoration: none; border-radius: 10px; }
.apct-bottomnav a svg { width: 22px; height: 22px; }
.apct-bottomnav a.is-active { color: var(--navy); font-weight: 700; }
.apct-bottomnav a.is-active svg { stroke-width: 2.4; }

@media (min-width: 1024px) {
    .apct-shell { grid-template-columns: 264px 1fr; }
    .apct-side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 20px 14px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
    body:not(.apct-fullscreen) .apct-side { top: 32px; height: calc(100vh - 32px); }
    .apct-topbar, .apct-bottomnav { display: none; }
    .apct-main { padding-bottom: 32px; }
}
.apct-side .apct-brand { padding: 4px 10px 18px; }
.apct-nav-group { margin-top: 14px; }
.apct-nav-label { padding: 0 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.apct-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 1px 0; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.apct-nav a svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.apct-nav a:hover { background: var(--bg); }
.apct-nav a.is-active { background: var(--navy-50); color: var(--navy); font-weight: 700; }
.apct-nav a.is-active svg { color: var(--navy); }
.apct-nav .apct-count { margin-left: auto; font-size: 11px; background: var(--line-2); color: var(--muted); padding: 1px 7px; border-radius: 999px; }
.apct-side-foot { margin-top: auto; padding-top: 16px; }
.apct-plan-card { padding: 14px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy), #2a1a7a 70%, var(--purple)); color: #fff; }
.apct-plan-card p { color: rgba(255,255,255,.82); font-size: 12.5px; margin: 4px 0 10px; }
.apct-plan-card strong { font-family: var(--head); font-size: 16px; }
.apct-plan-card .apct-btn { width: 100%; justify-content: center; background: #fff; color: var(--navy); border-color: #fff; }
.apct-user-row { display: flex; align-items: center; gap: 10px; padding: 12px 6px 0; }
.apct-user-row div { min-width: 0; flex: 1; }
.apct-user-row strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-user-row a { font-size: 12px; color: var(--muted); text-decoration: none; }

/* ── Page ── */
.apct-page { padding: 18px 16px 24px; max-width: 1480px; margin: 0 auto; }
@media (min-width: 768px) { .apct-page { padding: 26px 28px 32px; } }
@media (min-width: 1280px) { .apct-page { padding: 30px 40px 40px; } }
.apct-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 18px; }
.apct-page-head > div:first-child { flex: 1; min-width: 220px; }
.apct-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin-bottom: 4px; }
.apct-page-head h1 { font-size: 26px; }
@media (min-width: 768px) { .apct-page-head h1 { font-size: 30px; } }
.apct-page-head p { color: var(--muted); margin-top: 4px; }
.apct-tabs { display: flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.apct-tabs::-webkit-scrollbar { display: none; }
.apct-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: 13.5px; white-space: nowrap; }
.apct-tabs a svg { width: 16px; height: 16px; }
.apct-tabs a.is-active { background: var(--navy); color: #fff; font-weight: 700; }

/* ── Cards / grid ── */
.apct-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .apct-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .apct-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .apct-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .apct-grid--home { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.apct-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 18px; min-width: 0; }
@media (min-width: 768px) { .apct-card { padding: 20px 22px; } }
.apct-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.apct-card-head h2, .apct-card-head h3 { font-size: 17px; flex: 1; }
.apct-card-head .apct-link { font-size: 13px; font-weight: 700; text-decoration: none; }
.apct-muted { color: var(--muted); }
.apct-small { font-size: 12.5px; }
.apct-hr { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ── Buttons ── */
.apct-app .apct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.apct-app .apct-btn svg { width: 16px; height: 16px; flex: none; }
.apct-app .apct-btn:hover { border-color: #cfd6e4; background: #fafbfe; }
.apct-btn:active { transform: translateY(1px); }
.apct-btn:disabled, .apct-btn.is-busy { opacity: .6; cursor: default; }
.apct-app .apct-btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(7,48,135,.25); }
.apct-app .apct-btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.apct-app .apct-btn--ai { background: linear-gradient(135deg, var(--navy), var(--purple)); border: 0; color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.3); }
.apct-app .apct-btn--ai:hover { filter: brightness(1.06); background: linear-gradient(135deg, var(--navy), var(--purple)); }
.apct-app .apct-btn--ghost { background: transparent; }
.apct-app .apct-btn--soft { background: var(--navy-50); border-color: transparent; color: var(--navy); }
.apct-app .apct-btn--danger { color: var(--red-ink); }
.apct-app .apct-btn--lg { padding: 12px 20px; font-size: 15px; border-radius: 12px; }
.apct-app .apct-btn--sm { padding: 6px 10px; font-size: 12.5px; border-radius: 8px; }
.apct-app .apct-btn--icon { padding: 7px; }
.apct-app .apct-btn--block { width: 100%; }
.apct-btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.apct-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--purple); background: var(--purple-50); padding: 2px 8px; border-radius: 999px; }
.apct-lock svg { width: 12px; height: 12px; }

/* ── Forms ── */
.apct-field { display: grid; gap: 6px; margin-bottom: 12px; min-width: 0; }
.apct-field label, .apct-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.apct-input, .apct-app select.apct-input, .apct-textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.apct-input:focus, .apct-textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,48,135,.12); }
.apct-textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.apct-fields-2 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .apct-fields-2 { grid-template-columns: 1fr 1fr; } }
.apct-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.apct-search { position: relative; flex: 1; min-width: 180px; }
.apct-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); }
.apct-search .apct-input { padding-left: 34px; }

/* ── Score ring ── */
.apct-ring { --p: 0; --c: var(--navy); position: relative; width: 108px; height: 108px; border-radius: 50%; flex: none; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-2) 0); display: grid; place-items: center; transition: --p .6s; }
.apct-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.apct-ring > div { position: relative; text-align: center; line-height: 1.1; }
.apct-ring strong { display: block; font-family: var(--head); font-size: 28px; color: var(--ink); }
.apct-ring span { font-size: 11px; color: var(--muted); }
.apct-ring--sm { width: 54px; height: 54px; }
.apct-ring--sm::before { inset: 5px; }
.apct-ring--sm strong { font-size: 15px; }
.apct-ring--sm span { display: none; }
.apct-score-row { display: flex; gap: 18px; align-items: center; }
.apct-issues { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.apct-issues li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 8px 10px; border-radius: 9px; background: var(--amber-50); color: #78350f; }
.apct-issues li.is-major { background: var(--red-50); color: #7f1d1d; }
.apct-issues li svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* ── Chips / badges ── */
.apct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.apct-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; background: var(--line-2); color: var(--ink-2); border: 1px solid transparent; }
.apct-chip--ok { background: var(--mint); color: var(--mint-ink); }
.apct-chip--miss { background: var(--red-50); color: var(--red-ink); cursor: pointer; }
.apct-chip--miss:hover { border-color: #fecaca; }
.apct-chip button { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; line-height: 1; font-size: 14px; }
.apct-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--navy-50); color: var(--navy); }
.apct-badge--mint { background: var(--mint); color: var(--mint-ink); }
.apct-badge--purple { background: var(--purple-50); color: var(--purple); }
.apct-badge--amber { background: var(--amber-50); color: var(--amber-ink); }
.apct-badge--grey { background: var(--line-2); color: var(--muted); }

/* ── Lists ── */
.apct-list { display: grid; gap: 10px; }
.apct-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.apct-row:hover { border-color: #cfd8ea; box-shadow: var(--sh); }
.apct-row-main { flex: 1; min-width: 0; }
.apct-row-main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-row-main span { font-size: 12.5px; color: var(--muted); }
.apct-row-actions { display: flex; gap: 6px; flex: none; }
.apct-empty { text-align: center; padding: 34px 16px; color: var(--muted); }
.apct-empty-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.apct-empty-ic svg { width: 26px; height: 26px; }
.apct-empty h3 { font-size: 18px; margin-bottom: 6px; }
.apct-empty p { max-width: 420px; margin: 0 auto 16px; }

/* ── Home ── */
.apct-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 22px; color: #fff; background: radial-gradient(1200px 300px at 100% -20%, rgba(124,58,237,.55), transparent), linear-gradient(135deg, #062770, var(--navy) 55%, #3b1d9a); box-shadow: var(--sh-lg); }
@media (min-width: 768px) { .apct-hero { padding: 28px 30px; } }
.apct-hero h1 { color: #fff; font-size: 26px; }
@media (min-width: 768px) { .apct-hero h1 { font-size: 32px; } }
.apct-hero p { color: rgba(255,255,255,.85); margin-top: 6px; max-width: 640px; }
.apct-hero .apct-btn-row { margin-top: 16px; }
.apct-hero .apct-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.apct-hero .apct-btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
.apct-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .apct-stats { grid-template-columns: repeat(4, 1fr); } }
.apct-stat { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.apct-stat strong { display: block; font-family: var(--head); font-size: 22px; color: var(--navy); }
.apct-stat span { font-size: 12px; color: var(--muted); }
.apct-quick { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .apct-quick { grid-template-columns: repeat(4, 1fr); } }
.apct-quick a { display: grid; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.apct-quick a:hover { border-color: var(--navy-100); box-shadow: var(--sh); }
.apct-quick a span:first-child { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.apct-quick a:nth-child(2) span:first-child { background: var(--purple-50); color: var(--purple); }
.apct-quick a:nth-child(3) span:first-child { background: var(--mint); color: var(--mint-ink); }
.apct-quick a:nth-child(4) span:first-child { background: var(--amber-50); color: var(--amber-ink); }
.apct-quick svg { width: 18px; height: 18px; }
.apct-quick strong { font-size: 14px; }
.apct-quick small { color: var(--muted); font-size: 12px; line-height: 1.4; }

/* ── Resume cards ── */
.apct-rcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--sh); transition: box-shadow .15s, transform .15s; }
.apct-rcard:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.apct-rcard-thumb { position: relative; height: 170px; background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--line); cursor: pointer; }
.apct-rcard-thumb .apct-paper { transform-origin: top left; position: absolute; top: 12px; left: 50%; pointer-events: none; }
.apct-rcard-body { padding: 14px 16px; display: grid; gap: 4px; }
.apct-rcard-body strong { font-size: 15px; }
.apct-rcard-foot { display: flex; align-items: center; gap: 6px; padding: 0 12px 12px 16px; }
.apct-rcard-foot .apct-ring { margin-right: auto; }
.apct-new-card { display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 260px; border: 2px dashed #cfd8ea; border-radius: var(--r); background: rgba(255,255,255,.6); color: var(--navy); font-weight: 700; cursor: pointer; text-align: center; padding: 16px; }
.apct-new-card:hover { background: #fff; border-color: var(--navy); }
.apct-new-card svg { width: 28px; height: 28px; }

/* ── Editor ── */
.apct-editor-bar { position: sticky; top: 0; z-index: 25; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
@media (max-width: 1023px) { .apct-editor-bar { top: 55px; } }
.apct-editor-bar .apct-title-input { flex: 1; min-width: 140px; border: 1px solid transparent; background: transparent; font-family: var(--head); font-size: 19px; font-weight: 700; padding: 6px 8px; border-radius: 8px; }
.apct-editor-bar .apct-title-input:hover, .apct-editor-bar .apct-title-input:focus { border-color: var(--line); background: #fff; outline: none; }
.apct-save-state { font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.apct-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--line-2); }
.apct-seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.apct-seg button.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.apct-editor { display: grid; gap: 16px; padding: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .apct-editor { padding: 20px 24px; } }
@media (min-width: 1180px) { .apct-editor { grid-template-columns: minmax(380px, 1fr) minmax(0, 1.05fr); padding: 20px 28px; align-items: start; } .apct-editor .apct-pane-preview { position: sticky; top: 76px; } .apct-mobile-seg { display: none !important; } }
@media (min-width: 1500px) { .apct-editor { grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr) 320px; } }
@media (max-width: 1179px) { .apct-editor[data-pane="edit"] .apct-pane-preview, .apct-editor[data-pane="edit"] .apct-pane-tools, .apct-editor[data-pane="preview"] .apct-pane-edit, .apct-editor[data-pane="preview"] .apct-pane-tools, .apct-editor[data-pane="tools"] .apct-pane-edit, .apct-editor[data-pane="tools"] .apct-pane-preview { display: none; } }
/* 1180–1499px: editor on the left, right column switches Preview ⇄ Score & job (Teal-style) */
@media (min-width: 1180px) and (max-width: 1499px) {
    .apct-pane-tools { grid-column: 2; grid-row: 1; }
    .apct-editor[data-pane="tools"] .apct-pane-preview { display: none; }
    .apct-editor:not([data-pane="tools"]) .apct-pane-tools { display: none; }
    .apct-editor .apct-pane-tools { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; }
    .apct-mobile-seg { display: flex !important; justify-content: flex-end; padding: 12px 28px 0; }
    .apct-mobile-seg [data-pane="edit"] { display: none; }
}
.apct-mobile-seg { display: flex; justify-content: center; padding: 10px 16px 0; }
.apct-section { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 12px; overflow: hidden; }
.apct-section > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-family: var(--head); font-size: 16px; font-weight: 700; }
.apct-section > summary::-webkit-details-marker { display: none; }
.apct-section > summary svg.apct-chev { width: 18px; height: 18px; margin-left: auto; color: var(--faint); transition: transform .2s; }
.apct-section[open] > summary svg.apct-chev { transform: rotate(180deg); }
.apct-section > summary .apct-sec-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.apct-section > summary .apct-sec-ic svg { width: 16px; height: 16px; }
.apct-section > summary .apct-sec-tools { display: flex; gap: 2px; margin-left: auto; }
.apct-section > summary .apct-sec-tools + .apct-chev { margin-left: 4px; }
.apct-section-body { padding: 4px 16px 16px; }
.apct-entry { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #fbfcfe; }
.apct-entry-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.apct-entry-head strong { flex: 1; font-size: 13.5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-bullet { display: flex; gap: 6px; align-items: flex-start; margin-bottom: 6px; }
.apct-bullet .apct-textarea { min-height: 44px; padding: 8px 10px; font-size: 13.5px; }
.apct-bullet .apct-btn--icon { margin-top: 3px; }
.apct-iconbtn { border: 0; background: transparent; padding: 6px; border-radius: 8px; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; }
.apct-iconbtn:hover { background: var(--line-2); color: var(--ink); }
.apct-iconbtn--ai { color: var(--purple); }
.apct-iconbtn--ai:hover { background: var(--purple-50); color: var(--purple); }
.apct-iconbtn svg { width: 16px; height: 16px; }
.apct-skill-add { display: flex; gap: 6px; margin-top: 10px; }

/* Preview */
.apct-preview-wrap { background: linear-gradient(180deg, #e9edf5, #dfe5f0); border-radius: var(--r); padding: 16px; border: 1px solid var(--line); overflow: hidden; }
.apct-preview-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.apct-preview-head strong { flex: 1; font-size: 13px; color: var(--ink-2); }
.apct-preview-stage { position: relative; overflow: hidden; }
.apct-paper { width: 816px; min-height: 1056px; background: #fff; box-shadow: 0 6px 30px rgba(15,23,42,.18); transform-origin: top left; }

/* Templates gallery */
.apct-templates { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 640px) { .apct-templates { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.apct-tpl { position: relative; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; cursor: pointer; text-align: left; }
.apct-tpl:hover { border-color: #c5d0e6; }
.apct-tpl.is-active { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,48,135,.12); }
.apct-tpl-mini { height: 92px; border-radius: 6px; background: #f8fafc; overflow: hidden; display: grid; gap: 4px; padding: 7px; }
.apct-tpl-mini i { display: block; height: 5px; border-radius: 3px; background: #dbe2ee; }
.apct-tpl-mini i.h { height: 8px; width: 60%; }
.apct-tpl strong { display: block; font-size: 12px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-tpl small { font-size: 11px; color: var(--muted); }
.apct-tpl.is-locked .apct-tpl-mini { filter: blur(1.5px); opacity: .7; }
.apct-tpl .apct-lock { position: absolute; top: 12px; right: 12px; }

/* Tools pane */
.apct-tool-card { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 16px; margin-bottom: 12px; }
.apct-tool-card h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.apct-tool-card h3 svg { width: 18px; height: 18px; color: var(--purple); }
.apct-tool-card > p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.apct-target { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--navy-50); margin-bottom: 10px; }
.apct-target div { flex: 1; min-width: 0; }
.apct-target strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-target span { font-size: 12px; color: var(--muted); }
.apct-meter { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin: 8px 0; }
.apct-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--purple)); }

/* ── Jobs ── */
.apct-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.apct-job { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh); min-width: 0; }
.apct-job-top { display: flex; gap: 12px; align-items: flex-start; }
.apct-logo { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 18px; overflow: hidden; }
.apct-logo img { width: 100%; height: 100%; object-fit: cover; }
.apct-job-top div { flex: 1; min-width: 0; }
.apct-job-top strong { display: block; font-size: 15.5px; line-height: 1.3; }
.apct-job-top span { font-size: 13px; color: var(--muted); }
.apct-job-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.apct-job p { color: var(--ink-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apct-job-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; border-top: 1px dashed var(--line); }
.apct-match { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--mint-ink); background: var(--mint); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

/* Tracker board */
.apct-board { display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
@media (min-width: 900px) { .apct-board { grid-auto-columns: minmax(250px, 1fr); } }
.apct-col { background: #eef2f8; border-radius: var(--r); padding: 10px; min-height: 220px; scroll-snap-align: start; }
.apct-col.is-over { outline: 2px dashed var(--navy); outline-offset: -4px; }
.apct-col-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-family: var(--head); font-weight: 700; font-size: 14px; }
.apct-col-head .apct-dot { width: 9px; height: 9px; border-radius: 50%; }
.apct-col-head span:last-child { margin-left: auto; font-family: var(--body); font-weight: 600; font-size: 12px; color: var(--muted); }
.apct-tcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.apct-tcard:hover { border-color: #c7d2e8; }
.apct-tcard strong { display: block; font-size: 13.5px; line-height: 1.3; }
.apct-tcard span { font-size: 12px; color: var(--muted); }
.apct-tcard.is-dragging { opacity: .5; }

/* ── Overlays ── */
.apct-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(11,18,32,.45); backdrop-filter: blur(2px); display: flex; align-items: flex-end; justify-content: center; animation: apct-fade .15s; }
@media (min-width: 640px) { .apct-overlay { align-items: center; padding: 24px; } }
@keyframes apct-fade { from { opacity: 0; } }
.apct-modal { width: 100%; max-width: 640px; max-height: 92vh; max-height: 92dvh; overflow: auto; background: #fff; border-radius: 20px 20px 0 0; box-shadow: var(--sh-lg); animation: apct-up .2s; }
@media (min-width: 640px) { .apct-modal { border-radius: 20px; } }
.apct-modal--wide { max-width: 1100px; }
@keyframes apct-up { from { transform: translateY(16px); opacity: .6; } }
.apct-modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.apct-modal-head h2 { flex: 1; font-size: 19px; }
.apct-modal-body { padding: 18px; }
.apct-modal-foot { position: sticky; bottom: 0; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.apct-drawer { position: fixed; z-index: 100000; inset: 0 0 0 auto; width: min(560px, 100%); background: #fff; box-shadow: var(--sh-lg); overflow: auto; animation: apct-in .2s; }
@keyframes apct-in { from { transform: translateX(24px); opacity: .6; } }
.apct-toast-wrap { position: fixed; z-index: 100001; left: 50%; bottom: 84px; transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); }
@media (min-width: 1024px) { .apct-toast-wrap { bottom: 24px; } }
.apct-toast { padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13.5px; box-shadow: var(--sh-lg); animation: apct-up .2s; display: flex; gap: 10px; align-items: center; }
.apct-toast--err { background: #7f1d1d; }
.apct-toast a { color: #c4b5fd; font-weight: 700; margin-left: auto; }
.apct-menu { position: absolute; z-index: 60; right: 12px; top: 52px; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-lg); padding: 6px; }
.apct-menu a, .apct-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: none; color: var(--ink); text-decoration: none; font-size: 14px; cursor: pointer; }
.apct-menu a:hover, .apct-menu button:hover { background: var(--bg); }
.apct-pop { position: absolute; z-index: 70; width: min(420px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-lg); padding: 10px; }
.apct-pop button.apct-opt { display: block; width: 100%; text-align: left; border: 1px solid var(--line-2); background: #fbfcfe; border-radius: 10px; padding: 10px 12px; margin-bottom: 6px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.apct-pop button.apct-opt:hover { border-color: var(--purple); background: var(--purple-50); }
.apct-compare { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .apct-compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.apct-compare > div { min-width: 0; }
.apct-compare h4 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.apct-compare .apct-preview-wrap { padding: 10px; }

/* ── Report / interview ── */
.apct-bars { display: grid; gap: 10px; }
.apct-bar-row { display: grid; grid-template-columns: 140px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.apct-bar-row .apct-meter { margin: 0; }
.apct-bar-row b { text-align: right; }
.apct-bullets { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); font-size: 13.5px; }
.apct-q { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.apct-q > summary { list-style: none; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; padding: 14px; }
.apct-q > summary::-webkit-details-marker { display: none; }
.apct-q-num { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-weight: 700; font-size: 13px; }
.apct-q-body { padding: 0 14px 14px 52px; }
@media (max-width: 560px) { .apct-q-body { padding-left: 14px; } }
.apct-result { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--bg); }
.apct-letter-paper { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); }
.apct-letter-paper .apct-textarea { border: 0; padding: 0; min-height: 520px; font-size: 14.5px; line-height: 1.7; box-shadow: none; font-family: Georgia, "Times New Roman", serif; }
.apct-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--purple-50); color: #4c1d95; font-size: 13px; margin-bottom: 14px; }
.apct-notice svg { width: 18px; height: 18px; flex: none; }
.apct-notice--mint { background: var(--mint); color: #065f46; }

/* ── Onboarding ── */
.apct-onb { min-height: 80vh; display: grid; place-items: center; padding: 24px 16px; }
.apct-onb-card { width: min(640px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 26px; }
.apct-onb-card h2 { font-size: 24px; margin: 10px 0 18px; }
.apct-options { display: grid; gap: 8px; }
@media (min-width: 560px) { .apct-options { grid-template-columns: 1fr 1fr; } }
.apct-option { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.apct-option:hover { border-color: #c5d0e6; }
.apct-option.is-active { border-color: var(--navy); background: var(--navy-50); color: var(--navy); }

/* ── Signed-out screen ── */
.apct-auth { display: grid; place-items: center; padding: 32px 16px; min-height: 80vh; background: radial-gradient(800px 400px at 90% 0%, rgba(124,58,237,.18), transparent), linear-gradient(180deg, #f5f7ff, #f5f7fb); }
.apct-auth-card { width: min(560px, 100%); background: #fff; border-radius: 22px; padding: 30px 26px; box-shadow: var(--sh-lg); }
.apct-auth-card h1 { font-size: 30px; margin: 18px 0 10px; }
.apct-auth-card > p { color: var(--muted); }
.apct-auth-points { margin: 16px 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.apct-auth-points li { padding-left: 26px; position: relative; font-size: 14px; }
.apct-auth-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.apct-auth-actions { display: grid; gap: 8px; }
@media (min-width: 480px) { .apct-auth-actions { grid-template-columns: 1fr 1fr; } }
.apct-auth-fine { margin-top: 12px; font-size: 12px; color: var(--faint); text-align: center; }

/* Print: only the resume / letter paper (v6.7: US Letter, colours kept, page 2+ gets a top margin) */
@page { size: 8.5in 11in; margin: .45in 0 .5in; }
@page :first { margin-top: 0; }
@media print {
    body.apct-printing > *:not(.apct-print-host) { display: none !important; }
    .apct-print-host .apct-paper { box-shadow: none; transform: none !important; width: 8.5in; min-height: 10.5in; }
    .rp, .rp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .apct-print-host .rp .rp-cols { min-height: 10.4in; }
    .apct-print-host .rp .rp-top + .rp-cols { min-height: 8.9in; }
    .apct-print-host .rp--letter { min-height: 0; }
}

/* ── v6.7 Resume + cover letter paper — every template is a design spec (data-* attributes + CSS variables).
      Sizes are in pt and margins in inches so the preview, print/PDF and Word file match. ── */
.rp { --pad-x: .6in; --pad-y: .6in; --sec-gap: 12pt; --h-after: 5pt; --item-gap: 5pt; --tint: color-mix(in srgb, var(--acc) 8%, #fff); --shade: color-mix(in srgb, var(--acc) 12%, #fff); --soft: color-mix(in srgb, var(--acc) 45%, #fff);
      font-family: var(--bf); color: #1f2937; font-size: var(--s-body); line-height: 1.32; padding: var(--pad-y) var(--pad-x); text-align: left; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.rp * { font-family: inherit; box-sizing: border-box; }
.rp[data-density="compact"] { --pad-x: .5in; --pad-y: .5in; --sec-gap: 8pt; --h-after: 4pt; --item-gap: 3pt; }
.rp[data-density="airy"] { --pad-x: .7in; --pad-y: .7in; --sec-gap: 16pt; --h-after: 7pt; --item-gap: 7pt; line-height: 1.4; }
.rp p { margin: 0; }
.rp h1, .rp h2 { letter-spacing: normal; text-transform: none; }
.rp ul { margin: 2pt 0 0; padding-left: 15pt; }
.rp li { margin: 0 0 1.5pt; padding-left: 1pt; }
.rp li::marker { color: var(--acc); }
/* header */
.rp .rp-head { margin: 0 0 2pt; }
.rp .rp-name { font-family: var(--hf); font-size: var(--s-name); line-height: 1.1; color: var(--acc); font-weight: 700; margin: 0; letter-spacing: 0; }
.rp[data-nw="light"] .rp-name { font-weight: 400; }
.rp[data-ncase="upper"] .rp-name { text-transform: uppercase; letter-spacing: .06em; }
.rp .rp-headline { font-family: var(--hf); font-size: var(--s-headline); color: #374151; margin-top: 2pt; }
.rp .rp-contact { font-size: var(--s-contact); color: #4b5563; margin-top: 4pt; }
.rp .rp-contact i { font-style: normal; color: #9ca3af; margin: 0 6pt; }
.rp .rp-head--center, .rp .rp-head--boxed { text-align: center; }
.rp .rp-head--boxed { border-top: 1.5pt solid var(--acc); border-bottom: 1.5pt solid var(--acc); padding: 7pt 0 6pt; }
.rp .rp-head--rule { border-bottom: 2.25pt solid var(--acc); padding-bottom: 7pt; }
.rp .rp-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 18pt; border-bottom: 1pt solid var(--acc); padding-bottom: 6pt; }
.rp .rp-head--split .rp-contact { margin: 0; text-align: right; display: grid; gap: 1pt; flex: 0 0 auto; max-width: 42%; }
.rp .rp-head--band { background: var(--acc); margin: calc(var(--pad-y) * -1) calc(var(--pad-x) * -1) 6pt; padding: .32in var(--pad-x) .27in; }
.rp .rp-head--band .rp-name { color: #fff; }
.rp .rp-head--band .rp-headline { color: #f1f5f9; }
.rp .rp-head--band .rp-contact { color: #e2e8f0; }
.rp .rp-head--band .rp-contact i { color: rgba(255,255,255,.55); }
.rp[data-tpl="summit"] .rp-head--band { text-align: center; }
/* section headings */
.rp .rp-sec { break-inside: auto; }
.rp .rp-h { font-family: var(--hf); font-size: var(--s-section); line-height: 1.2; color: var(--acc); font-weight: 700; margin: var(--sec-gap) 0 var(--h-after); padding: 0; break-after: avoid; }
.rp[data-hcase="upper"] .rp-h { text-transform: uppercase; letter-spacing: .07em; }
.rp[data-hcase="smallcaps"] .rp-h { font-variant: small-caps; letter-spacing: .03em; }
.rp[data-heading="rule"] .rp-h { border-bottom: 1pt solid var(--acc); padding-bottom: 2pt; }
.rp[data-heading="underline"] .rp-h { border-bottom: 1.5pt solid var(--acc); padding-bottom: 2pt; }
.rp[data-heading="line"] .rp-h { border-bottom: .5pt solid var(--soft); padding-bottom: 2pt; }
.rp[data-heading="overline"] .rp-h { border-top: .75pt solid var(--acc); padding-top: 4pt; }
.rp[data-heading="center"] .rp-h { text-align: center; border-bottom: .5pt solid var(--soft); padding-bottom: 3pt; }
.rp[data-heading="bar"] .rp-h { border-left: 3pt solid var(--acc); padding-left: 7pt; }
.rp[data-heading="shade"] .rp-h { background: var(--shade); padding: 2pt 3pt; }
.rp[data-heading="tab"] .rp-h span { background: var(--acc); color: #fff; padding: 1pt 5pt; }
/* section bodies (per-section text size) */
.rp .rp-summary { font-size: var(--s-summary); line-height: 1.38; }
.rp .rp-experience { font-size: var(--s-experience); }
.rp .rp-education { font-size: var(--s-education); }
.rp .rp-skills { font-size: var(--s-skills); }
.rp .rp-certifications { font-size: var(--s-certifications); }
.rp .rp-projects { font-size: var(--s-projects); }
.rp .rp-additional { font-size: var(--s-additional); }
.rp .rp-item { margin-top: var(--item-gap); break-inside: avoid; }
.rp .rp-item:first-child { margin-top: 0; }
.rp .rp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12pt; }
.rp .rp-role { font-size: calc(1em + .5pt); font-weight: 700; color: #1f2937; }
.rp .rp-date { font-size: calc(1em - .5pt); color: #4b5563; white-space: nowrap; flex: 0 0 auto; }
.rp .rp-sub { font-style: italic; color: #4b5563; margin-top: 0; }
.rp .rp-detail { margin-top: 1pt; }
.rp .rp-skill-list { margin-top: 0; }
.rp .rp-skill-list.is-cols { columns: var(--cols, 3); column-gap: 18pt; }
.rp .rp-skill-list li { break-inside: avoid; }
/* narrow places (sidebar, mixed grid): dates go under the title, skills one per line */
.rp .rp-side .rp-row, .rp .rp-grid .rp-row { display: block; }
.rp .rp-side .rp-date, .rp .rp-grid .rp-date { display: block; white-space: normal; }
.rp .rp-side .rp-skill-list.is-cols, .rp .rp-grid .rp-skill-list.is-cols { columns: 1; }
/* mixed: two-column block */
.rp .rp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: .25in; }
/* sidebar (two-column) */
.rp[data-layout="sidebar"] { padding: 0; }
.rp .rp-cols { display: grid; grid-template-columns: 33% 67%; min-height: 1056px; }
.rp[data-side="right"] .rp-cols { grid-template-columns: 67% 33%; }
.rp[data-side="right"] .rp-side { order: 2; }
.rp .rp-top + .rp-cols { min-height: 900px; }
.rp .rp-side { padding: .43in .3in .3in; min-width: 0; }
.rp .rp-mainc { padding: .43in .39in .3in; min-width: 0; }
.rp .rp-top { padding: .39in .5in .1in; }
.rp .rp-top + .rp-cols .rp-side, .rp .rp-top + .rp-cols .rp-mainc { padding-top: .2in; }
.rp[data-sidestyle="tint"] .rp-side { background: var(--tint); }
.rp[data-sidestyle="line"] .rp-side { border-right: .5pt solid color-mix(in srgb, var(--acc) 50%, #fff); }
.rp[data-sidestyle="line"][data-side="right"] .rp-side { border-right: 0; border-left: .5pt solid color-mix(in srgb, var(--acc) 50%, #fff); }
.rp[data-sidestyle="solid"] .rp-side { background: var(--acc); color: #fff; }
.rp[data-sidestyle="solid"] .rp-side .rp-name, .rp[data-sidestyle="solid"] .rp-side .rp-h, .rp[data-sidestyle="solid"] .rp-side .rp-role { color: #fff; border-color: #fff; }
.rp[data-sidestyle="solid"] .rp-side .rp-headline { color: #f1f5f9; }
.rp[data-sidestyle="solid"] .rp-side .rp-sub, .rp[data-sidestyle="solid"] .rp-side .rp-date { color: #e2e8f0; }
.rp[data-sidestyle="solid"] .rp-side li::marker { color: #fff; }
.rp[data-sidestyle="solid"][data-heading="shade"] .rp-side .rp-h { background: rgba(255,255,255,.14); }
.rp[data-sidestyle="solid"][data-heading="tab"] .rp-side .rp-h span { background: #fff; color: var(--acc); }
.rp .rp-side .rp-head { margin-bottom: 8pt; }
.rp .rp-side-contact div { font-size: calc(var(--s-contact) + .5pt); margin-bottom: 2pt; }
/* cover letter */
.rp .rp-letter-body { font-size: calc(var(--s-body) + .5pt); line-height: 1.45; }
.rp .rp-letter-date { color: #4b5563; margin: 16pt 0 12pt; }
.rp .rp-letter-body p { margin: 0 0 9pt; }
.rp .rp--letter { min-height: 1056px; }

/* v6.5 polish — Home side column is narrow: keep Quick actions 2×2 */
.apct-grid--home .apct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apct-grid--home .apct-quick small { line-height: 1.35; }

/* v6.5 polish — safe default size for every icon (specific rules still win) */
:where(.apct-app) svg { width: 18px; height: 18px; flex: none; }

/* "Create a resume" choices */
.apct-choices { display: grid; gap: 10px; }
.apct-choice { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.apct-choice:hover { border-color: var(--navy-100); box-shadow: var(--sh); transform: translateY(-1px); }
.apct-choice-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.apct-choice-ic svg { width: 22px; height: 22px; }
.apct-choice--ai { border-color: #e4dcff; background: linear-gradient(135deg, #faf7ff, #f3f6ff); }
.apct-choice--ai .apct-choice-ic { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; }
.apct-choice-txt { display: grid; gap: 3px; min-width: 0; }
.apct-choice-txt b { font-size: 15px; }
.apct-choice-txt small { color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 520px) { .apct-choice { grid-template-columns: 40px 1fr; } .apct-choice .apct-badge { grid-column: 2; justify-self: start; } }

/* v6.5 polish — exact 2-line job summary (no ghost third line, whatever the theme sets) */
.apct-job p { line-height: 1.5; max-height: 3em; margin: 0; }
/* Tracker: all five stages fit side by side on laptop screens */
@media (min-width: 1200px) { .apct-board { grid-auto-columns: minmax(190px, 1fr); } }

/* v6.5 polish — columns may shrink below a full-size resume page (the preview scales to fit) */
.apct-editor { grid-template-columns: minmax(0, 1fr); }
.apct-editor > * { min-width: 0; }
@media (min-width: 1180px) { .apct-editor { grid-template-columns: minmax(380px, 1fr) minmax(0, 1.05fr); } }
@media (min-width: 1500px) { .apct-editor { grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr) 320px; } }
.apct-pane-preview .apct-preview-wrap, .apct-preview-stage { min-width: 0; max-width: 100%; }
/* Module tabs scroll sideways on small screens instead of being cut off */
.apct-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.apct-tabs::-webkit-scrollbar { display: none; }
.apct-tabs > a { flex: none; white-space: nowrap; }

/* ════════════════════════════════════════════════════════════════════
   v6.6 — Launchpad
   ════════════════════════════════════════════════════════════════════ */

/* Hardening: the app's own navigation always shows, whatever else is on the page */
.apct-app .apct-nav a { display: flex !important; visibility: visible !important; opacity: 1 !important; }
.apct-app .apct-nav a > svg, .apct-app .apct-bottomnav a > svg { display: block !important; }
.apct-app svg { overflow: visible; }
.apct-app kbd { font-family: var(--body); font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(15,23,42,.06); border: 1px solid rgba(15,23,42,.08); color: inherit; line-height: 1.3; }

/* WordPress admin bar (admins only) sits above the app */
@media (min-width: 1024px) {
    body.admin-bar .apct-side { top: 32px; height: calc(100vh - 32px); height: calc(100dvh - 32px); }
    body.admin-bar .apct-editor-bar, body.admin-bar .apct-jf-bar { top: 32px; }
    body.admin-bar .apct-editor .apct-pane-preview { top: 108px; }
}
@media (min-width: 601px) and (max-width: 782px) { body.admin-bar .apct-topbar { top: 46px; } body.admin-bar .apct-editor-bar { top: 101px; } }

/* Calm canvas */
.apct-app { background: radial-gradient(1200px 420px at 100% -10%, rgba(124,58,237,.06), transparent 60%), var(--bg); }

/* ── Shell ── */
.apct-side-top { display: flex; align-items: center; gap: 6px; padding: 0 2px 14px; }
.apct-side-top .apct-brand { flex: 1; min-width: 0; padding: 4px 8px; }
.apct-brand-mark { box-shadow: 0 6px 18px rgba(124,58,237,.35); }
.apct-brand-mark svg { width: 17px; height: 17px; color: #fff; }
.apct-brand-txt { display: grid; line-height: 1.05; min-width: 0; }
.apct-brand-txt b { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.apct-brand-txt small { font-family: var(--body); font-size: 10.5px; font-weight: 600; color: var(--faint); letter-spacing: .02em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-brand-by { font-family: var(--body); font-size: 11px; color: var(--faint); font-weight: 600; margin-left: 2px; }
.apct-side-min { flex: none; }
.apct-cmd-pill { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; margin: 0 0 6px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--muted); font-size: 13px; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.apct-cmd-pill:hover { border-color: #cfd6e4; background: #fff; }
.apct-cmd-pill span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-cmd-pill svg { width: 16px; height: 16px; }
.apct-nav a { position: relative; transition: background .12s, color .12s; }
.apct-nav a.is-active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--navy), var(--purple)); }
.apct-plan-card strong { display: flex; align-items: center; gap: 7px; }
.apct-plan-card strong svg { width: 16px; height: 16px; }
.apct-plan-card--paid { background: linear-gradient(135deg, #0b3fb0, #062770); }
a.apct-user-row { text-decoration: none; color: inherit; border-radius: 12px; padding: 10px 6px 4px; margin-top: 8px; }
a.apct-user-row:hover { background: var(--bg); }
.apct-user-txt { display: grid; min-width: 0; flex: 1; }
.apct-user-txt strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-user-txt small { font-size: 11.5px; color: var(--muted); }
.apct-topbar .apct-brand-txt small { display: none; }
@media (min-width: 1024px) {
    .apct-shell { transition: grid-template-columns .22s ease; }
    .apct-shell.is-min { grid-template-columns: 76px 1fr; }
    .apct-shell.is-min .apct-side { padding: 16px 10px; align-items: center; }
    .apct-shell.is-min .apct-side-top { flex-direction: column; padding-bottom: 10px; }
    .apct-shell.is-min .apct-brand-txt, .apct-shell.is-min .apct-nav-txt, .apct-shell.is-min .apct-nav-label, .apct-shell.is-min .apct-count, .apct-shell.is-min .apct-cmd-pill span, .apct-shell.is-min .apct-cmd-pill kbd, .apct-shell.is-min .apct-plan-card, .apct-shell.is-min .apct-user-txt { display: none !important; }
    .apct-shell.is-min .apct-nav a { justify-content: center; padding: 10px; }
    .apct-shell.is-min .apct-nav a.is-active::before { left: -10px; }
    .apct-shell.is-min .apct-nav-group { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
    .apct-shell.is-min .apct-cmd-pill { justify-content: center; padding: 9px; }
    .apct-shell.is-min .apct-side-min svg { transform: scaleX(-1); }
    .apct-shell.is-min a.apct-user-row { padding: 6px; justify-content: center; }
}
.apct-topbar { gap: 6px; }

/* View transition */
#apct-view.apct-enter > * { animation: apct-viewin .28s cubic-bezier(.2,.7,.2,1); }
@keyframes apct-viewin { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { #apct-view.apct-enter > * { animation: none; } .apct-skel::after { animation: none !important; } }

/* Skeletons */
.apct-skel-wrap { display: grid; gap: 12px; }
.apct-skel-wrap--card { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.apct-skel { position: relative; overflow: hidden; height: 13px; border-radius: 7px; background: #e9edf5; }
.apct-skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); animation: apct-shimmer 1.3s infinite; }
@keyframes apct-shimmer { to { transform: translateX(100%); } }
.apct-skel--av { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.apct-skel--sq { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.apct-skel-card { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.apct-skel-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.apct-editor--skel { pointer-events: none; }

/* Buttons */
.apct-app .apct-btn--light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 8px 24px rgba(3,10,40,.25); }
.apct-app .apct-btn--light:hover { background: #f5f7ff; border-color: #f5f7ff; }
.apct-app .apct-btn--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.apct-app .apct-btn--glass:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
.apct-app .apct-btn--glass kbd { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); }
.apct-app .apct-btn { transition: background .15s, border-color .15s, box-shadow .15s, transform .08s; }
.apct-linkbtn { border: 0; background: none; padding: 0; color: var(--navy); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.apct-card-head .apct-link { display: inline-flex; align-items: center; gap: 2px; }
.apct-card-head .apct-link svg { width: 15px; height: 15px; }

/* ── Command palette ── */
.apct-cmdk-ov { align-items: flex-start !important; padding: 10vh 14px 14px !important; }
.apct-cmdk { width: min(640px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(7,20,60,.35); overflow: hidden; animation: apct-up .18s; border: 1px solid rgba(15,23,42,.06); }
.apct-cmdk-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.apct-cmdk-in svg { width: 20px; height: 20px; color: var(--faint); }
.apct-cmdk-in input { flex: 1; border: 0; outline: none; font-size: 16px; background: transparent; min-width: 0; }
.apct-cmdk-list { max-height: min(56vh, 460px); overflow-y: auto; padding: 6px; }
.apct-cmdk-group { padding: 10px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.apct-cmdk-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; text-align: left; cursor: pointer; font-size: 14px; color: var(--ink); }
.apct-cmdk-item svg { width: 18px; height: 18px; color: var(--muted); }
.apct-cmdk-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-cmdk-item small { font-size: 12px; color: var(--faint); }
.apct-cmdk-item.is-sel { background: var(--navy-50); color: var(--navy); }
.apct-cmdk-item.is-sel svg { color: var(--navy); }
.apct-cmdk-empty { padding: 26px; text-align: center; color: var(--muted); }
.apct-cmdk-foot { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); background: #fbfcfe; }
.apct-cmdk-foot kbd { margin-right: 3px; }
@media (max-width: 560px) { .apct-cmdk-foot { display: none; } }

/* ── Home ── */
.apct-hero2 { position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; border-radius: 24px; padding: 24px; color: #fff; background: radial-gradient(900px 340px at 110% -30%, rgba(167,139,250,.6), transparent 60%), radial-gradient(600px 260px at -10% 120%, rgba(56,189,248,.25), transparent 60%), linear-gradient(135deg, #051e5c, var(--navy) 55%, #3b1d9a); box-shadow: 0 20px 50px rgba(7,48,135,.22); }
.apct-hero2::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.apct-hero2 > * { position: relative; z-index: 1; }
.apct-hero2 .apct-eyebrow { color: #c4b5fd; }
.apct-hero2 h1 { color: #fff; font-size: 27px; letter-spacing: -.01em; }
.apct-hero2 p { color: rgba(255,255,255,.86); margin-top: 8px; max-width: 620px; font-size: 14.5px; }
.apct-hero2 p b { color: #fff; }
.apct-hero2 .apct-btn-row { margin-top: 18px; }
.apct-hero2-side { display: grid; justify-items: center; gap: 8px; }
.apct-hero2-side p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.75); }
.apct-launch-ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#a78bfa calc(var(--p) * 1%), rgba(255,255,255,.14) 0); position: relative; }
.apct-launch-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: rgba(5,22,70,.75); backdrop-filter: blur(4px); }
.apct-launch-ring > div { position: relative; text-align: center; line-height: 1.05; }
.apct-launch-ring strong { display: block; font-family: var(--head); font-size: 32px; color: #fff; }
.apct-launch-ring span { font-size: 11px; color: rgba(255,255,255,.75); }
@media (min-width: 768px) { .apct-hero2 { grid-template-columns: 1fr auto; padding: 30px 34px; } .apct-hero2 h1 { font-size: 33px; } }
@media (max-width: 767px) { .apct-hero2-side { grid-template-columns: auto 1fr; justify-items: start; align-items: center; } .apct-launch-ring { width: 84px; height: 84px; } .apct-launch-ring::before { inset: 7px; } .apct-launch-ring strong { font-size: 21px; } .apct-launch-ring span { font-size: 9.5px; } .apct-hero2 .apct-btn--glass { display: none; } }
.apct-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
@media (min-width: 900px) { .apct-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.apct-kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.apct-kpi:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.apct-kpi-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.apct-kpi:nth-child(2) .apct-kpi-ic { background: var(--purple-50); color: var(--purple); }
.apct-kpi:nth-child(3) .apct-kpi-ic { background: #e0f2fe; color: #0369a1; }
.apct-kpi:nth-child(4) .apct-kpi-ic { background: var(--mint); color: var(--mint-ink); }
.apct-kpi strong { font-family: var(--head); font-size: 24px; line-height: 1; color: var(--ink); }
.apct-kpi > span:last-child { font-size: 12px; color: var(--muted); }
.apct-meter--grad { height: 6px; margin: 0 0 10px; }
.apct-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.apct-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; }
.apct-steps li > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.apct-steps li strong { font-size: 13.5px; }
.apct-steps li small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.apct-steps li.is-done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: #cbd5e1; font-weight: 600; }
.apct-steps li.is-next { background: linear-gradient(135deg, #f7f4ff, #f2f6ff); box-shadow: inset 0 0 0 1px #e4dcff; }
.apct-step-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--muted); }
.apct-step-dot svg { width: 15px; height: 15px; }
.apct-steps li.is-done .apct-step-dot { background: var(--mint); color: var(--mint-ink); }
.apct-steps li.is-next .apct-step-dot { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; }
.apct-steps .apct-lock { vertical-align: 1px; margin-left: 4px; }
.apct-funnel { display: grid; gap: 10px; }
.apct-funnel-row { display: grid; grid-template-columns: 10px 96px 1fr 26px; gap: 10px; align-items: center; font-size: 13px; }
.apct-funnel-row .apct-dot { width: 9px; height: 9px; border-radius: 50%; }
.apct-funnel-row .apct-meter { margin: 0; height: 7px; }
.apct-funnel-row b { text-align: right; }
.apct-card--promo { background: linear-gradient(135deg, #f7f4ff, #eef3ff); border-color: #e4dcff; }
.apct-card--promo h2 { display: flex; align-items: center; gap: 8px; }
.apct-card--promo p { color: var(--ink-2); margin-bottom: 12px; }
.apct-home-resume { display: flex; gap: 18px; align-items: stretch; }
.apct-home-thumb { position: relative; width: 132px; height: 172px; flex: none; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #e9edf5, #dfe5f0); border: 1px solid var(--line); }
.apct-home-thumb .apct-paper { position: absolute; top: 8px; left: 50%; transform-origin: top center; pointer-events: none; }
@media (max-width: 560px) { .apct-home-thumb { display: none; } }

/* ── Editor (decluttered) ── */
.apct-flabel { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.apct-field { gap: 5px; }
.apct-fhint { font-size: 11.5px; color: var(--faint); }
.apct-fhint.is-warn { color: var(--amber-ink); }
.apct-fields-3 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .apct-fields-3 { grid-template-columns: 2fr 1.4fr 1fr; } }
.apct-fields-2--dates { gap: 0 8px !important; grid-template-columns: 1fr 1fr !important; }
.apct-check--sm { font-size: 12.5px; margin: -2px 0 12px; color: var(--muted); }
.apct-pane-edit { min-width: 0; }
.apct-secnav { position: sticky; top: 64px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px; margin: 0 0 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh); }
.apct-secnav::-webkit-scrollbar { display: none; }
.apct-secnav button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.apct-secnav button:hover { background: var(--bg); }
.apct-secnav button.is-active { background: var(--navy); color: #fff; }
.apct-secdot { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; flex: none; }
.apct-secdot.is-ok { background: #10b981; }
.apct-secdot.is-hidden { background: transparent; box-shadow: inset 0 0 0 1.5px #94a3b8; }
.apct-secnav button.is-active .apct-secdot:not(.is-ok) { background: rgba(255,255,255,.55); }
@media (max-width: 1023px) { .apct-secnav { top: 112px; } }
body.admin-bar .apct-secnav { top: 96px; }
.apct-sections { display: grid; gap: 10px; }
.apct-section { position: relative; margin: 0; overflow: visible; transition: box-shadow .15s, border-color .15s; }
.apct-section[open] { border-color: #d7def0; box-shadow: var(--sh); }
.apct-section > summary { padding: 12px 14px; gap: 12px; border-radius: var(--r); }
.apct-section > summary:hover { background: #fbfcfe; }
.apct-section.is-hidden > summary .apct-sec-name { opacity: .55; }
.apct-sec-name { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.apct-sec-name small { font-family: var(--body); font-weight: 600; font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.apct-section > summary .apct-iconbtn { margin-left: auto; }
.apct-section > summary .apct-iconbtn + .apct-chev { margin-left: 0 !important; }
.apct-section-body { padding: 4px 16px 18px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.apct-entries { display: grid; gap: 8px; margin-bottom: 10px; }
.apct-entry { position: relative; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.apct-entry:hover { border-color: #d3dbec; }
.apct-entry.is-open { border-color: #c9d4ee; box-shadow: 0 4px 18px rgba(7,48,135,.08); }
.apct-entry-head { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; margin: 0; cursor: pointer; border-radius: 12px; outline: none; }
.apct-entry-head:focus-visible { box-shadow: 0 0 0 3px rgba(7,48,135,.15); }
.apct-entry-chev { color: var(--faint); display: grid; transition: transform .18s; }
.apct-entry-chev svg { width: 16px; height: 16px; }
.apct-entry.is-open .apct-entry-chev { transform: rotate(90deg); color: var(--navy); }
.apct-entry-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.apct-entry-txt strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-entry-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-entry-body { padding: 4px 14px 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.apct-add-entry { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border: 1.5px dashed #cdd6e8; border-radius: 12px; background: transparent; color: var(--navy); font-weight: 700; font-size: 13px; cursor: pointer; transition: background .15s, border-color .15s; }
.apct-add-entry:hover { background: var(--navy-50); border-color: var(--navy-100); }
.apct-add-entry svg { width: 16px; height: 16px; }
.apct-bullets-ed { display: grid; gap: 4px; margin-bottom: 8px; }
.apct-bullet { position: relative; display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 2px 0; }
.apct-bullet-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); opacity: .45; margin-top: 15px; flex: none; }
.apct-bullet .apct-textarea { min-height: 38px; padding: 8px 10px; font-size: 13.5px; resize: none; overflow: hidden; border-color: transparent; background: #f8fafd; }
.apct-bullet .apct-textarea:hover { border-color: var(--line); }
.apct-bullet .apct-textarea:focus { background: #fff; border-color: var(--navy); }
.apct-bullet-tools { display: flex; gap: 0; opacity: .35; transition: opacity .15s; padding-top: 3px; }
.apct-bullet:hover .apct-bullet-tools, .apct-bullet:focus-within .apct-bullet-tools { opacity: 1; }
@media (hover: none) { .apct-bullet-tools { opacity: 1; } }
.apct-btn-row--tight { gap: 6px; }
.apct-autosize { resize: none; overflow: hidden; }
.apct-section-body > .apct-field .apct-autosize { min-height: 92px; }
.apct-tool-card--ai { background: linear-gradient(135deg, #f7f4ff, #eef3ff); border-color: #e4dcff; }
.apct-menu--pop { top: auto; right: 0; min-width: 200px; animation: apct-up .14s; }
.apct-menu--pop a, .apct-menu--pop button { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.apct-menu--pop svg { width: 16px; height: 16px; color: var(--muted); }
.apct-menu .is-danger, .apct-menu .is-danger svg { color: var(--red-ink); }
.apct-entry .apct-menu--pop, .apct-section .apct-menu--pop, .apct-jobrow .apct-menu--pop { z-index: 40; }
.apct-toast a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.apct-toast a svg { width: 15px; height: 15px; }

/* ── Employers ── */
.apct-joblist { display: grid; gap: 10px; }
.apct-jobrow { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.apct-jobrow:hover { border-color: #cfd8ea; box-shadow: var(--sh); }
.apct-jobrow .apct-row-main span { display: block; }
.apct-jobrow .apct-badge svg { width: 12px; height: 12px; }
@media (max-width: 640px) { .apct-jobrow { flex-wrap: wrap; } .apct-jobrow .apct-row-actions { width: 100%; justify-content: flex-end; } .apct-jobrow .apct-row-actions .apct-btn span { display: none; } }
.apct-empty--emp .apct-empty-ic { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; }
.apct-emp-hero { display: grid; gap: 22px; align-items: center; padding: 26px; border-radius: 22px; background: linear-gradient(135deg, #f7f4ff, #eef3ff); border: 1px solid #e4dcff; }
.apct-emp-hero h2 { font-size: 26px; margin-bottom: 8px; }
.apct-emp-hero p { color: var(--ink-2); margin-bottom: 16px; max-width: 560px; }
@media (min-width: 900px) { .apct-emp-hero { grid-template-columns: 1.4fr 1fr; padding: 34px; } }
.apct-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.apct-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.apct-ticks li svg { width: 18px; height: 18px; flex: none; color: var(--mint-ink); background: var(--mint); border-radius: 50%; padding: 3px; }
.apct-co { display: flex; gap: 12px; align-items: center; }
.apct-co > div { display: grid; min-width: 0; }
.apct-co-logo { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 20px; overflow: hidden; border: 1px solid var(--line); }
.apct-co-logo img { width: 100%; height: 100%; object-fit: cover; }
.apct-clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.apct-drop { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed #cdd6e8; border-radius: 14px; background: #fbfcfe; cursor: pointer; transition: border-color .15s, background .15s; }
.apct-drop:hover, .apct-drop.is-over { border-color: var(--navy); background: var(--navy-50); }
.apct-drop.is-busy { opacity: .7; pointer-events: none; }
.apct-drop > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.apct-drop strong { font-size: 14px; }
.apct-drop small { font-size: 12px; color: var(--muted); }
.apct-drop-img { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--faint); overflow: hidden; }
.apct-drop-img img { width: 100%; height: 100%; object-fit: cover; }
.apct-drop-img svg { width: 24px; height: 24px; }

/* ── Job posting wizard ── */
.apct-jf { min-height: 100%; }
.apct-jf-bar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 1023px) { .apct-jf-bar { top: 55px; } }
.apct-jf-titles { display: grid; min-width: 0; flex: 1; line-height: 1.15; }
.apct-jf-titles .apct-eyebrow { margin: 0; font-size: 10.5px; }
.apct-jf-titles strong { font-family: var(--head); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-stepper { display: flex; gap: 4px; padding: 4px; background: var(--line-2); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.apct-stepper::-webkit-scrollbar { display: none; }
.apct-stepper button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.apct-stepper button span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--muted); font-size: 11.5px; box-shadow: 0 0 0 1px var(--line); }
.apct-stepper button em { font-style: normal; }
.apct-stepper button.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.apct-stepper button.is-active span { background: var(--navy); color: #fff; box-shadow: none; }
.apct-stepper button.is-done span { background: var(--mint); color: var(--mint-ink); box-shadow: none; }
@media (max-width: 720px) { .apct-stepper { order: 3; width: 100%; } .apct-stepper button em { display: none; } .apct-stepper button.is-active em { display: inline; } }
.apct-jf-prevbtn { display: none !important; }
@media (max-width: 1099px) { .apct-jf-prevbtn { display: inline-flex !important; } }
.apct-jf-grid { display: grid; gap: 20px; padding: 18px 16px 40px; max-width: 1360px; margin: 0 auto; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .apct-jf-grid { padding: 24px 28px 48px; } }
@media (min-width: 1100px) { .apct-jf-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); align-items: start; } .apct-jf-preview { position: sticky; top: 80px; } body.admin-bar .apct-jf-preview { top: 112px; } }
@media (max-width: 1099px) { .apct-jf-preview { display: none; } .apct-jf.show-prev .apct-jf-preview { display: block; } .apct-jf.show-prev .apct-jf-form { display: none; } }
.apct-jf-form { min-width: 0; display: grid; gap: 16px; align-content: start; }
.apct-jf-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--sh); }
@media (min-width: 768px) { .apct-jf-card { padding: 24px 26px; } }
.apct-jf-card > h2 { font-size: 19px; margin-bottom: 4px; }
.apct-jf-card > p.apct-muted { margin-bottom: 16px; font-size: 13.5px; }
.apct-jf-card > h2 + .apct-field, .apct-jf-card > h2 + .apct-seg { margin-top: 14px; }
.apct-input--xl { font-size: 18px; padding: 13px 14px; font-weight: 600; font-family: var(--head); }
.apct-req { color: var(--red-ink); font-weight: 700; }
.apct-ferr { color: var(--red-ink); font-size: 12px; font-weight: 600; min-height: 0; }
.apct-ferr:empty { display: none; }
.apct-field.is-err .apct-input, .apct-rte.is-err { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.apct-seg--chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: transparent; }
.apct-seg--chips button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 600; box-shadow: none; }
.apct-seg--chips button:hover { border-color: #cfd6e4; }
.apct-seg--chips button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(7,48,135,.22); }
.apct-seg--chips button svg { width: 15px; height: 15px; }
.apct-jf-card .apct-seg--chips { margin-bottom: 14px; }
.apct-jf-more { margin-top: 4px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.apct-jf-more > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); list-style: none; margin-bottom: 10px; }
.apct-jf-more > summary::-webkit-details-marker { display: none; }
.apct-jf-more > summary svg { width: 16px; height: 16px; color: var(--navy); }
.apct-jf-more > summary .apct-muted { font-weight: 400; }
.apct-fields-4 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .apct-fields-4 { grid-template-columns: 1.2fr 1.2fr .9fr .9fr; } }
.apct-date-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.apct-date-row .apct-input { width: auto; flex: 1; min-width: 160px; }
.apct-jf-ai { background: linear-gradient(135deg, #f7f4ff, #eef3ff); border-color: #e4dcff; }
.apct-jf-ai-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.apct-jf-ai-head .apct-choice-ic { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; flex: none; }
.apct-jf-ai-head h2 { font-size: 18px; }
.apct-jf-ai .apct-textarea { min-height: 76px; background: #fff; }
.apct-rte { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.apct-rte:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,48,135,.12); }
.apct-rte-bar { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line-2); background: #fbfcfe; }
.apct-rte-bar button { border: 0; background: none; width: 34px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.apct-rte-bar button:hover { background: var(--line-2); }
.apct-rte-bar svg { width: 16px; height: 16px; }
.apct-rte-body { min-height: 260px; max-height: 62vh; overflow-y: auto; padding: 14px 16px; outline: none; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.apct-rte-body:empty::before { content: attr(data-placeholder); color: var(--faint); }
.apct-rte-body h2, .apct-rte-body h3, .apct-jp-body h3, .apct-jp-body h2 { font-size: 16px; margin: 14px 0 6px; font-family: var(--head); }
.apct-rte-body p, .apct-jp-body p { margin: 0 0 10px; }
.apct-rte-body ul, .apct-rte-body ol, .apct-jp-body ul, .apct-jp-body ol { margin: 0 0 10px; padding-left: 20px; }
.apct-rte-body li, .apct-jp-body li { margin-bottom: 4px; }
.apct-jf-nav { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.apct-jf-preview-in { background: linear-gradient(180deg, #eef2fa, #e6ebf5); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.apct-jf-preview-in > .apct-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.apct-jf-preview-in > .apct-label svg { width: 15px; height: 15px; }
.apct-jp { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(15,23,42,.1); padding: 18px; display: grid; gap: 12px; }
.apct-jp-head { display: flex; gap: 12px; align-items: center; }
.apct-jp-head > div { display: grid; min-width: 0; }
.apct-jp-head strong { font-family: var(--head); font-size: 18px; line-height: 1.2; }
.apct-jp-head span { color: var(--muted); font-size: 13px; }
.apct-jp-logo { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-family: var(--head); font-weight: 700; overflow: hidden; }
.apct-jp-logo img { width: 100%; height: 100%; object-fit: cover; }
.apct-jp-sum { font-size: 13px; color: var(--ink-2); padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.apct-jp-body { font-size: 13px; line-height: 1.6; color: var(--ink-2); max-height: 380px; overflow-y: auto; padding-right: 4px; }
.apct-jp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.apct-jf-quality { margin-top: 12px; padding: 12px 14px; background: #fff; border-radius: 14px; }
.apct-jf-qbar { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.apct-jf-quality .apct-meter { margin: 8px 0 0; }
.apct-jf-score { display: flex; gap: 18px; align-items: center; margin: 12px 0 16px; }
.apct-checklist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.apct-checklist li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--amber-50); color: #78350f; font-size: 13.5px; }
.apct-checklist li span { flex: 1; }
.apct-checklist li svg { width: 16px; height: 16px; flex: none; }
.apct-checklist li.is-ok { background: #f0fdf4; color: #14532d; }
.apct-done { max-width: 620px; margin: 6vh auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 24px; box-shadow: var(--sh-lg); }
.apct-done h1 { font-size: 28px; margin: 18px 0 8px; }
.apct-done p { color: var(--muted); margin-bottom: 22px; }
.apct-done-ic { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 0 0 10px rgba(16,185,129,.12); animation: apct-pop .5s cubic-bezier(.2,1.4,.4,1); }
.apct-done-ic svg { width: 36px; height: 36px; stroke-width: 3; }
@keyframes apct-pop { from { transform: scale(.4); opacity: 0; } }
/* Sidebar column stays white the full height of long pages */
@media (min-width: 1024px) {
    .apct-shell { background: linear-gradient(90deg, #fff 0 263px, var(--line) 263px 264px, transparent 264px) no-repeat; }
    .apct-shell.is-min { background: linear-gradient(90deg, #fff 0 75px, var(--line) 75px 76px, transparent 76px) no-repeat; }
}
@media (max-width: 640px) { .apct-jobrow > .apct-logo { display: none; } .apct-jobrow { padding: 12px; } .apct-card { padding: 16px 14px; } }
.apct-overlay.apct-app { background: rgba(11,18,32,.45); }
.apct-cmdk-ov.apct-app { background: rgba(11,18,32,.5); }
@media (max-width: 560px) { .apct-editor-bar .apct-title-input { flex-basis: calc(100% - 50px); } .apct-editor-bar .apct-save-state { margin-right: auto; } }

/* v6.6.1 — onboarding location + job type */
.apct-options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.apct-option { display: flex; align-items: center; gap: 10px; }
.apct-options--3 .apct-option { flex-direction: column; justify-content: center; text-align: center; padding: 18px 10px; }
.apct-options--3 .apct-option svg { width: 26px; height: 26px; color: var(--navy); }
@media (max-width: 420px) { .apct-options--3 { grid-template-columns: 1fr !important; } .apct-options--3 .apct-option { flex-direction: row; justify-content: flex-start; padding: 13px 14px; } .apct-options--3 .apct-option svg { width: 20px; height: 20px; } }
.apct-cpick-cur { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: var(--mint-ink); }
.apct-cpick-cur svg { width: 15px; height: 15px; }
.apct-cpick-list { margin-top: 10px; max-height: 260px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 6px; padding: 2px; }
.apct-cpick-opt { text-align: left; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.apct-cpick-opt:hover { border-color: #c5d0e6; }
.apct-cpick-opt.is-active { border-color: var(--navy); background: var(--navy-50); color: var(--navy); font-weight: 700; }
.apct-cpick-opt[hidden] { display: none; }
.apct-nudge { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 16px; border-radius: 16px; background: linear-gradient(135deg, #f7f4ff, #eef3ff); border: 1px solid #e4dcff; }
.apct-nudge > svg { width: 22px; height: 22px; color: var(--purple); flex: none; }
.apct-nudge > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.apct-nudge strong { font-size: 14px; }
.apct-nudge span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) { .apct-nudge { flex-wrap: wrap; } .apct-nudge .apct-btn { width: 100%; } }
.apct-why { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--mint-ink); }
.apct-why svg { width: 14px; height: 14px; }
/* v6.6.1 — hide theme search pop-ups / drawers a theme may still print on the full-screen app page */
body.apct-fullscreen > form[role="search"], body.apct-fullscreen > .search-form, body.apct-fullscreen > [class*="search-modal"], body.apct-fullscreen > [id*="search-modal"], body.apct-fullscreen > .ast-search-box, body.apct-fullscreen > #search-drawer, body.apct-fullscreen > #mobile-drawer, body.apct-fullscreen > .popup-drawer, body.apct-fullscreen > #ast-mobile-popup-wrapper, body.apct-fullscreen > .gp-modal, body.apct-fullscreen > #searchform-overlay, body.apct-fullscreen > #ct-search-modal { display: none !important; }
/* v6.6.1 — Career Guides in Launchpad */
.apct-gtopics { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; }
.apct-gtopics:empty { display: none; }
.apct-gtopics button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.apct-gtopics button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.apct-ggrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.apct-gcard { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; min-width: 0; }
.apct-gcard:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.apct-gcard-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-50), var(--purple-50)); display: grid; place-items: center; overflow: hidden; }
.apct-gcard-img img { width: 100%; height: 100%; object-fit: cover; }
.apct-gcard-img i { font-style: normal; font-family: var(--head); font-size: 44px; font-weight: 700; color: rgba(7,48,135,.25); }
.apct-gcard-body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.apct-gcard-body em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.apct-gcard-body strong { font-family: var(--head); font-size: 17px; line-height: 1.3; }
.apct-gcard-body small { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apct-gcard-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--faint); font-weight: 600; }
.apct-gcard-meta svg { width: 13px !important; height: 13px !important; }
.apct-row-chev { color: var(--faint); margin-left: auto; }

/* ════════ v6.6.1 — signed-out Launchpad (split screen) ════════ */
.apct-auth2 { display: grid; grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; background: #fff; }
@media (min-width: 980px) { .apct-auth2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.apct-auth2-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 28px 24px 34px; color: #fff; background: radial-gradient(800px 380px at 110% -10%, rgba(167,139,250,.55), transparent 60%), radial-gradient(500px 300px at -10% 110%, rgba(56,189,248,.25), transparent 60%), linear-gradient(140deg, #051e5c, var(--navy) 55%, #3b1d9a); }
.apct-auth2-brand::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.apct-auth2-brand > * { position: relative; z-index: 1; }
.apct-auth2-brand .apct-brand-txt b { color: #fff; }
.apct-auth2-brand .apct-brand-txt small { color: rgba(255,255,255,.65); }
.apct-auth2-brand .apct-brand-mark { background: rgba(255,255,255,.14); box-shadow: none; border: 1px solid rgba(255,255,255,.2); }
.apct-auth2-copy h1 { color: #fff; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.apct-auth2-copy p { color: rgba(255,255,255,.86); margin-top: 12px; font-size: 15.5px; max-width: 520px; }
.apct-auth2-copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.apct-auth2-copy li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: rgba(255,255,255,.9); }
.apct-auth2-copy li svg { width: 36px !important; height: 36px !important; padding: 9px; border-radius: 11px; background: rgba(255,255,255,.12); flex: none; }
.apct-auth2-copy li b { color: #fff; }
.apct-auth2-mock { display: none; }
@media (min-width: 980px) {
    .apct-auth2-brand { padding: 40px 56px; justify-content: space-between; }
    .apct-auth2-copy h1 { font-size: 46px; }
    .apct-auth2-mock { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); max-width: 460px; position: relative; }
    .apct-auth2-mock > div:nth-child(2) { flex: 1; display: grid; gap: 8px; }
    .apct-auth2-mock i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.3); }
    .apct-auth2-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(#34d399 92%, rgba(255,255,255,.15) 0); position: relative; flex: none; }
    .apct-auth2-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #0b2a7a; }
    .apct-auth2-ring b, .apct-auth2-ring small { position: relative; line-height: 1; }
    .apct-auth2-ring b { font-family: var(--head); font-size: 20px; }
    .apct-auth2-ring small { font-size: 9px; color: rgba(255,255,255,.7); }
    .apct-auth2-tag { position: absolute; right: -14px; top: -16px; padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; box-shadow: 0 12px 30px rgba(3,10,40,.3); }
}
.apct-auth2-main { display: grid; place-items: center; padding: 28px 18px 40px; background: radial-gradient(600px 300px at 100% 0%, rgba(124,58,237,.06), transparent 60%), #fff; }
.apct-auth2-card { width: min(440px, 100%); }
.apct-auth2-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--line-2); margin-bottom: 26px; }
.apct-auth2-tabs button { border: 0; background: transparent; padding: 10px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; font-family: inherit; }
.apct-auth2-tabs button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.apct-auth2-card h2 { font-size: 30px; }
.apct-auth2-sub { color: var(--muted); margin: 6px 0 22px !important; }
.apct-auth2-form { display: grid; gap: 14px; }
.apct-auth2-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.apct-auth2-form .apct-input { padding: 12px 14px; font-size: 15px; border-radius: 12px; }
.apct-auth2-form .apct-check { display: flex; font-weight: 600; color: var(--muted); }
.apct-auth2-form .woocommerce-privacy-policy-text, .apct-auth2-form .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--faint); margin: 0; }
.apct-auth2-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.apct-auth2-row a { font-weight: 700; text-decoration: none; }
.apct-auth2-fine { font-size: 13px; color: var(--muted); }
.apct-auth2-legal { margin-top: 22px !important; font-size: 12px; color: var(--faint); text-align: center; }
.apct-auth2-notice { margin-bottom: 18px; }
.apct-auth2-notice ul, .apct-auth2-notice .woocommerce-error, .apct-auth2-notice .woocommerce-message, .apct-auth2-notice .woocommerce-info { list-style: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fef2f2; color: #7f1d1d; font-size: 13.5px; }
.apct-auth2-notice .woocommerce-message, .apct-auth2-notice .woocommerce-info { background: var(--purple-50); color: #4c1d95; }
.apct-auth2 [hidden] { display: none !important; }
/* v6.6.2 — phones: use more of the screen width */
@media (max-width: 560px) {
    .apct-page { padding: 14px 10px 24px; }
    .apct-card, .apct-tool-card, .apct-jf-card { padding: 14px 12px; border-radius: 14px; }
    .apct-editor { padding: 10px 8px; }
    .apct-section-body { padding: 12px 10px 14px; }
    .apct-entry-body { padding: 10px; }
    .apct-hero2 { padding: 20px 16px; border-radius: 20px; }
    .apct-jf-grid { padding: 12px 8px 32px; }
    .apct-kpi { padding: 12px; }
    .apct-onb { padding: 16px 10px; }
    .apct-onb-card { padding: 20px 16px; }
}
/* v6.6.2 — multi-select onboarding (countries, job types) */
.apct-onb-hint { color: var(--muted); margin: -10px 0 14px !important; font-size: 13.5px; }
.apct-cpick-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 34px; margin-bottom: 10px; }
.apct-cpick-sel small { color: var(--faint); font-size: 12.5px; margin-left: 2px; }
.apct-chip--sel { background: var(--navy); color: #fff; padding: 6px 8px 6px 10px; font-weight: 700; }
.apct-chip--sel svg { width: 13px !important; height: 13px !important; }
.apct-chip--sel button { color: #fff; opacity: .8; margin-left: 2px; font-size: 16px; }
.apct-cpick-opt:disabled { opacity: .4; cursor: not-allowed; }
.apct-options--multi .apct-option { position: relative; }
.apct-option-tick { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; }
.apct-option-tick svg { width: 12px !important; height: 12px !important; opacity: 0; color: #fff; stroke-width: 3; }
.apct-option.is-active .apct-option-tick { background: var(--navy); border-color: var(--navy); }
.apct-option.is-active .apct-option-tick svg { opacity: 1; }
.apct-options-all { margin-top: 10px; display: inline-block; }
@media (max-width: 420px) { .apct-option-tick { top: 50%; transform: translateY(-50%); right: 12px; } }
.apct-options .apct-option .apct-option-tick svg { width: 12px !important; height: 12px !important; color: #fff !important; }

/* v6.6.3 — job cards never spill out of their box (narrow cards on the Home grid at laptop widths) */
.apct-job { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.apct-job > * { min-width: 0; max-width: 100%; }
.apct-job-top { flex-wrap: wrap; }
.apct-job-top > div { flex: 1 1 140px; }
.apct-job-top strong { overflow-wrap: anywhere; }
.apct-job-top .apct-match { flex: 0 0 auto; white-space: nowrap; }
.apct-job .apct-why { white-space: normal; overflow-wrap: anywhere; }
.apct-job .apct-badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.apct-job-actions .apct-btn { flex: 0 1 auto; min-width: 0; }

/* ── v6.7 Template picker (real thumbnails, free / premium, layout filters) ── */
.apct-tplpick-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.apct-tplpick-bar .apct-seg { flex-wrap: wrap; }
.apct-templates--v2 { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .apct-templates--v2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .apct-templates--v2 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.apct-tpl--v2 { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-width: 1.5px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.apct-tpl--v2:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.12); }
.apct-tpl-thumb { position: relative; display: block; width: 100%; aspect-ratio: 8.5 / 11; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); pointer-events: none; }
.apct-tpl-thumb .apct-paper { position: absolute; top: 0; left: 0; transform-origin: top left; box-shadow: none; }
.apct-tpl-meta { display: block; padding: 8px 10px 10px; min-width: 0; }
.apct-tpl--v2 strong { margin: 0; font-size: 13px; }
.apct-tpl--v2 small { display: block; margin-top: 1px; }
.apct-tpl-badge { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.apct-tpl-badge svg { width: 11px; height: 11px; }
.apct-tpl-badge.is-free { background: #ecfdf5; color: #047857; }
.apct-tpl-badge.is-pro { background: #0b1220; color: #fbbf24; }
.apct-tpl-cur { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.apct-tpl-cur svg { width: 14px; height: 14px; }
.apct-tpl--v2.is-locked .apct-tpl-thumb { filter: none; opacity: 1; }
.apct-tpl--v2.is-locked .apct-tpl-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,.75)); }

/* ── v6.7 Advanced settings panel ── */
.apct-dz { display: grid; gap: 12px; }
.apct-dz-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.apct-dz-head h3 { margin: 0; font-size: 17px; }
.apct-dz-head small { color: var(--muted); font-size: 12.5px; }
.apct-dz-tabs { width: 100%; display: flex; }
.apct-dz-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.apct-dz-tabs svg { width: 15px; height: 15px; }
.apct-dz-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.apct-dz-card h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 14.5px; }
.apct-dz-card h4 svg { width: 16px; height: 16px; color: var(--navy); }
.apct-dz-note { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0 0 10px; }
.apct-dz-card .apct-fields-2 { margin: 0; }
.apct-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.apct-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; color: #fff; padding: 0; }
.apct-swatch svg { width: 15px; height: 15px; }
.apct-swatch.is-on { box-shadow: 0 0 0 2px var(--c); }
.apct-dz-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 0; }
.apct-dz-row > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.apct-seg--sm button { padding: 6px 10px; font-size: 12px; }
.apct-sizes { display: grid; gap: 6px; }
.apct-size { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(80px, 1.3fr) 28px 52px; align-items: center; gap: 6px; font-size: 13px; }
.apct-size > span { font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apct-size .apct-iconbtn { width: 28px; height: 28px; font-size: 16px; font-weight: 700; }
.apct-size input[type=range] { width: 100%; accent-color: var(--navy); }
.apct-size b { text-align: right; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.apct-dz-gate { text-align: center; background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #f5e1b8; border-radius: 16px; padding: 26px 20px; }
.apct-dz-gate > svg { width: 30px; height: 30px; color: #c8922b; }
.apct-dz-gate h4 { margin: 8px 0 6px; font-size: 17px; }
.apct-dz-gate p { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; max-width: 460px; margin: 0 auto 14px; }
.apct-dz-gate .apct-btn-row { justify-content: center; }
.apct-dz-match { background: linear-gradient(135deg, #eef3ff, #fff); }
.apct-dz-matchtop { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.apct-dz-matchtop strong { font-size: 28px; color: var(--navy); font-family: var(--head); }
.apct-dz-matchtop b { display: block; font-size: 14px; }
.apct-dz-matchtop span { font-size: 12.5px; color: var(--muted); }
.apct-dz-quote { margin: 4px 0 10px; padding: 10px 12px; border-left: 3px solid var(--navy); background: #f8fafc; border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.6; }
.apct-dz-bullet { border-top: 1px dashed var(--line); padding: 8px 0; }
.apct-dz-bullet:first-of-type { border-top: 0; }
.apct-dz-bullet p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.5; }
.apct-dz-addto { display: flex; gap: 6px; }
.apct-dz-addto select { flex: 1; min-width: 0; }
.apct-app .apct-input.apct-input--sm { padding: 0 30px 0 10px; font-size: 13px; min-height: 0; height: 36px; line-height: 34px; }
.apct-dz-list { margin: 8px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.apct-dz-ai { border-top: 1px solid var(--line); padding: 10px 0; }
.apct-dz-ai:first-child { border-top: 0; padding-top: 0; }
.apct-dz-ai p { margin: 4px 0 8px; font-size: 13.5px; line-height: 1.55; }
.apct-app .apct-btn.is-active, .apct-app .apct-btn.is-active:hover { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.apct-app .apct-btn.is-active svg { color: #fff; }

/* ── v6.7 Cover letter: edit + matching-design preview side by side ── */
.apct-letter-split { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.apct-letter-left { display: grid; gap: 12px; align-content: start; min-width: 0; }
.apct-letter-right { min-width: 0; }
@media (min-width: 1100px) { .apct-letter-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .apct-letter-right { position: sticky; top: 80px; align-self: start; } }
.apct-page.apct-page--wide { max-width: 1400px; }
