/* Hallmark · shape: kept (app screens, content and wiring untouched) · genre: atmospheric · theme: Kiln (same as the landing) · redesign: restyle
 * hero: kept · nav: kept, restyled · footer: kept · imagery: kept · signature: the CV upload zone (Paso 1) in the Kiln system · kiln: ember
 * axes: dark/high-contrast-serif/warm · posture: full-palette · contrast: pass · v2.0.0 */
/* 2026-11-24 cream pass (owner order: the web is cream, never dark). The token names stay (--k-*) so every rule cascades, but they now hold the
   home's Solstice values from css/tokens.css. Hard-coded dark literals in app-core.css and app.html inline styles were remapped per property
   (text, fill, rule, shadow) to these tokens; styles that app-core.js builds at runtime are remapped by css/app-cream-js.css. */
/* Hallmark · skin, not a rewrite: this file loads after app-core.css and replaces its "dark purple" block (variables, body, nav, cards, inputs, buttons).
   The app is 12k lines with about 1000 inline styles, so tracked caps, mono and violet inline colours are neutralised here by attribute selector. */
@font-face { font-family: "Boska"; src: url("/fonts/boska-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* Solstice, the home's cream set (css/tokens.css), under the app's old Kiln names so every rule below and in app-core.css cascades */
  --k-paper: oklch(94% 0.03 80); --k-paper-2: oklch(97% 0.02 85); --k-paper-3: oklch(89% 0.05 80);
  --k-ink: oklch(27% 0.05 50); --k-ink-2: oklch(36% 0.05 50); --k-muted: oklch(48% 0.06 55);
  --k-rule: oklch(84% 0.06 78);
  --k-ember: oklch(54% 0.2 24); --k-ember-hi: oklch(40% 0.16 27); --k-ember-lo: oklch(22% 0.07 22); --k-ember-ink: oklch(97% 0.02 85);
  --k-ok: oklch(40% 0.11 150); --k-warn: oklch(47% 0.11 70); --k-err: oklch(52% 0.19 27);
  --k-radius: 0px; --k-well: 0px;
  --k-shadow: 10px 10px 0 var(--k-paper-3);
  /* the app's own variable names, remapped onto the cream tokens */
  --bg: var(--k-paper); --bg2: var(--k-paper-2); --bg3: var(--k-paper-3);
  --ink: var(--k-ink); --ink2: var(--k-ink-2); --ink3: var(--k-muted); --text: var(--k-ink-2);
  --border: var(--k-rule); --glass: var(--k-paper-2); --card: var(--k-paper-2);
  --blue: var(--k-ember); --blue-lt: var(--k-ink-2); --blue-dim: var(--k-muted);
  --amber: var(--k-ember); --amber-lt: var(--k-ink); --yellow: var(--k-ink);
  --coral: var(--k-ember); --coral-dark: var(--k-ember-hi); --jobleads-coral: var(--k-ember); --jobleads-coral-dark: var(--k-ember-hi);
  --green: var(--k-ok); --green-lt: var(--k-ok); --pink: var(--k-ember);
  --cyan: var(--k-ink-2); --purple: var(--k-muted); --accent: var(--k-ember);
  --font-display: "Boska", "Iowan Old Style", Georgia, serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif; --font-mono: "Geist", ui-sans-serif, system-ui, sans-serif;
  --serif: var(--font-display); --sans: var(--font-body); --mono: var(--font-mono);
}

/* ground: flat cream paper, no violet gradient, no particle canvas */
html body { background: var(--k-paper) !important; background-image: none !important; color: var(--k-ink) !important; font-family: var(--font-body) !important; }
html body #gb35-bg-particles { display: none !important; }
html body section, html body .sec { background: transparent !important; }

/* type: Boska for heads, Geist for everything else, no tracked caps, no mono costume, no coloured headline word */
html body h1, html body h2, html body h3, html body .hw, html body .hc, html body .login-title, html body .modal-title, html body .plan-name, html body .app-title, html body .hero-title {
  font-family: var(--font-display) !important; font-weight: 500 !important; letter-spacing: -0.02em !important; color: var(--k-ink) !important; background: none !important; -webkit-text-fill-color: var(--k-ink) !important; line-height: 1.1;
}
html body [style*="letter-spacing"], html body [style*="text-transform"], html body label, html body .badge, html body .estafa-title, html body .partner-sub, html body .form-section-label, html body .ti, html body .calc-out-lbl {
  letter-spacing: 0 !important; text-transform: none !important;
}
html body [style*="font-mono"], html body [style*="monospace"], html body label, html body .badge, html body .ti, html body .partner-sub, html body .form-section-label { font-family: var(--font-body) !important; }
/* violet and blue inline accents become quiet ink text on a hairline */
html body [style*="rgba(96, 165, 250"], html body [style*="rgba(167, 139, 250"], html body [style*="#a78bfa"], html body [style*="#60a5fa"] {
  color: var(--k-ink-2) !important; border-color: var(--k-rule) !important; background-color: transparent !important;
}
html body .stat-num, html body .hc { color: var(--k-ink) !important; }

/* nav */
html body nav { background: var(--k-paper) !important; border-bottom: 1px solid var(--k-rule) !important; backdrop-filter: none !important; }
html body .logo, html body .logo * { color: var(--k-ink) !important; -webkit-text-fill-color: var(--k-ink) !important; font-family: var(--font-display) !important; font-weight: 500 !important; }
html body .logo small { color: var(--k-muted) !important; -webkit-text-fill-color: var(--k-muted) !important; }

/* surfaces: one smoked well, one radius, no glass, no violet glow */
html body .sector-card, html body .test-card, html body .plan-card, html body .faq, html body .feature-card, html body .login-box, html body .modal, html body .mrg-out-msg {
  background: var(--k-paper-2) !important; border: 1px solid var(--k-rule) !important; border-radius: var(--k-radius) !important; backdrop-filter: none !important; box-shadow: none !important; color: var(--k-ink) !important;
}
html body .ticker { background: var(--k-paper-2) !important; border-color: var(--k-rule) !important; }
html body .ti { color: var(--k-muted) !important; }
html body .divider { background: var(--k-rule) !important; }

/* controls: ember pill buttons, 28px radius like the cards, wells 16px */
html body .btn-cta, html body .bp, html body .btn-primary {
  background: var(--k-ember) !important; color: var(--k-ember-ink) !important; border: 0 !important; border-radius: var(--k-radius) !important;
  font-family: var(--font-body) !important; font-weight: 500 !important; letter-spacing: 0 !important; white-space: nowrap; box-shadow: none !important;
  transition: background-color 220ms var(--ease-out), transform 160ms var(--ease-out);
}
html body .btn-cta:active, html body .bp:active, html body .btn-primary:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { html body .btn-cta:hover, html body .bp:hover, html body .btn-primary:hover { background: var(--k-ember-hi) !important; } }
html body .btn-login, html body .btn-secondary, html body .lang-btn {
  background: transparent !important; color: var(--k-ink) !important; border: 1px solid var(--k-muted) !important; border-radius: var(--k-radius) !important;
  font-family: var(--font-body) !important; font-weight: 500 !important; letter-spacing: 0 !important; white-space: nowrap;
}
html body input, html body textarea, html body select { background: var(--k-paper) !important; color: var(--k-ink) !important; border: 1px solid var(--k-muted) !important; border-radius: var(--k-well) !important; font-family: var(--font-body) !important; }
html body input::placeholder, html body textarea::placeholder { color: var(--k-muted) !important; opacity: 0.9; }
html body :focus-visible { outline: 3px solid var(--k-ember) !important; outline-offset: 3px; }

/* the CV upload zone (Paso 1): the door of the whole flow */
html body #uploadZoneEl { background: var(--k-paper-2) !important; border: 1px dashed var(--k-muted) !important; border-radius: var(--k-radius) !important; }
html body #uploadZoneEl * { text-shadow: none !important; }

/* phone: the two nav buttons stay on one line */
@media (max-width: 30rem) {
  html body nav .btn-login, html body nav .btn-cta { font-size: 0.8125rem !important; padding: 0 0.7rem !important; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { html body .btn-cta, html body .bp, html body .btn-primary { transition: none; } }

/* the step badges become plain headings with a hairline, not tracked pills */
html body .upload-step-badge { letter-spacing: 0 !important; text-transform: none !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--k-rule) !important; border-radius: 0 !important; color: var(--k-ink) !important; font-family: var(--font-display) !important; font-size: 1.25rem !important; padding: 0 0 0.75rem !important; }
html body .act-item { letter-spacing: 0 !important; text-transform: none !important; color: var(--k-muted) !important; }
html body :has(> .act-item) { background: var(--k-paper-2) !important; border-color: var(--k-rule) !important; }
html body .estafa-col, html body .estafa-col.good, html body .estafa-col.bad { background: var(--k-paper-2) !important; border-color: var(--k-rule) !important; border-radius: var(--k-radius) !important; }
html body .hero::before, html body .hero::after { display: none !important; }
html body .am-logo { color: var(--k-ink) !important; letter-spacing: 0 !important; }
/* yellow and amber text becomes ink: one accent, vermilion, and only as a fill */
html body [style*="#fbbf24"], html body [style*="#f59e0b"], html body [style*="#fcd34d"], html body [style*="#fde68a"], html body [style*="color: var(--amber)"], html body [style*="color: var(--yellow)"], html body .hero-lead strong { color: var(--k-ink) !important; }
/* the floating help button: vermilion fill, cream question mark */
html body button[style*="z-index: 9000"] { background: var(--k-ember) !important; color: var(--k-ember-ink) !important; border: 0 !important; box-shadow: none !important; font-family: var(--font-body) !important; font-weight: 500 !important; }

/* Support FAB: smaller and tucked into the corner on phones so it stops covering CTAs and form text */
@media (max-width: 520px) {
  #gb35-support-fab { width: 44px !important; height: 44px !important; bottom: 12px !important; right: 12px !important; font-size: 18px !important; }
}

/* home: ONE compact trust band (the sector pay ribbon is hidden; the trust strip stays, one line, <=44px) */
html body #page-home .ticker { display: none !important; }
html body #page-home .activity-bar { flex-wrap: nowrap; gap: 24px; padding: 0 16px; height: 44px; overflow: hidden; background: var(--k-paper-2) !important; border-bottom: 1px solid var(--k-rule) !important; }
html body #page-home .act-item { white-space: nowrap; font-family: var(--font-body) !important; font-size: 0.8125rem; }
html body #page-home .act-dot { background: var(--k-ember); box-shadow: none; animation: none; }
@media (max-width: 1100px) { html body #page-home .activity-bar .act-item:nth-child(n + 3) { display: none; } }
@media (max-width: 700px) { html body #page-home .activity-bar .act-item:nth-child(n + 2) { display: none; } html body #page-home .activity-bar { gap: 0; } }

/* plan Free box: ember/ink on paper-2 (wording untouched) */
html body #industry-search, html body .upload-input { display: block; width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 1rem; font-size: 1rem; -webkit-appearance: none; appearance: none; }
html body #industry-search::-webkit-search-cancel-button { opacity: 0.6; }

/* contacto: centred like every other page */
html body #page-contacto .sec > h2, html body #page-contacto .sec > .lead { text-align: center; }

/* ---- cream pass (2026-11-24): the app speaks the home's Solstice language, no dark surface anywhere ---- */
/* toast: a paper slip with a hairline and a status rule on top; the type is read from the script's own inline colour */
html body #gb35-toast { background: var(--k-paper-2) !important; color: var(--k-ink) !important; border: 1px solid var(--k-rule) !important; border-top: 3px solid var(--k-muted) !important; border-radius: 0 !important; box-shadow: var(--k-shadow) !important; }
html body #gb35-toast[style*="#16a34a"] { border-top-color: var(--k-ok) !important; }
html body #gb35-toast[style*="#d97706"] { border-top-color: var(--k-warn) !important; }
html body #gb35-toast[style*="#dc2626"] { border-top-color: var(--k-err) !important; }
/* modals: a paper sheet on a soft ink scrim, square, one vermilion rule on top (no gold gradient, no glass) */
html body #auth-modal-box, html body .modal, html body #subscribe-modal > div, html body .modal-overlay .modal { background: var(--k-paper-2) !important; border: 1px solid var(--k-rule) !important; border-radius: 0 !important; backdrop-filter: none !important; box-shadow: var(--k-shadow) !important; color: var(--k-ink); }
html body #auth-modal-overlay, html body .modal-overlay { backdrop-filter: none !important; }
html body .am-top-bar { background: var(--k-ember) !important; height: 3px; }
html body .am-logo { color: var(--k-ink) !important; }
html body .am-close { color: var(--k-muted) !important; min-width: 44px; min-height: 44px; }
html body .am-field input:focus, html body .am-field input:focus-visible { border-color: var(--k-ember) !important; }
html body .am-toggle a, html body .login-forgot, html body .am-forgot { color: var(--k-ink) !important; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--k-muted); }
html body .am-linkedin, html body .am-google { background: transparent !important; color: var(--k-ink) !important; border: 1px solid var(--k-muted) !important; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { html body .am-linkedin:hover, html body .am-google:hover { background: var(--k-paper-3) !important; border-color: var(--k-ink-2) !important; } html body .am-submit:hover { background: var(--k-ember-hi) !important; transform: none; } }
/* login photo panel: a cream wash that lets the ink quote and the wordmark read on the photograph */
html body .auth-split-overlay { background: linear-gradient(180deg, oklch(94% 0.03 80 / 0.7) 0%, oklch(94% 0.03 80 / 0) 22%, oklch(94% 0.03 80 / 0) 52%, oklch(94% 0.03 80 / 0.94) 86%, var(--k-paper) 100%) !important; }
/* sector cards: the per-sector neon (--sc) was a dark-ground trick; on paper the sector reads from its name, ink carries the figures */
html body .sc-type, html body .sc-season strong, html body .sc-companies strong, html body .sc-task::before { color: var(--k-ink-2) !important; }
html body .sc-wage-num { color: var(--k-ink) !important; text-shadow: none !important; }
html body .sc-apply { background: var(--k-ember) !important; color: var(--k-ember-ink) !important; border: 0 !important; border-radius: 0 !important; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { html body .sc-apply:hover { background: var(--k-ember-hi) !important; } }
html body .sc-earning { border-color: var(--k-rule) !important; }
/* program badges: text darkened so it holds AA on the paper-3 well */
html body .badge-amber { color: var(--k-ember-hi) !important; }
html body .badge-green { color: var(--k-ok) !important; }
/* receipt upload: the native file field fits its sheet and its button speaks the secondary-button language */
html body input[type="file"] { display: block; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px !important; font-size: 0.875rem; color: var(--k-ink-2) !important; background: var(--k-paper) !important; cursor: pointer; }
html body input[type="file"]::file-selector-button { font: 500 0.875rem/1 var(--font-body); color: var(--k-ink); background: transparent; border: 1px solid var(--k-muted); border-radius: 0; padding: 10px 14px; margin-right: 12px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { html body input[type="file"]::file-selector-button:hover { background: var(--k-paper-3); border-color: var(--k-ink-2); } }
html body input[type="checkbox"], html body input[type="radio"] { accent-color: var(--k-ember); }
/* buttons whose fill came from a text token (--blue-lt / ink): primary actions get the vermilion fill, sign-in alternatives get the outline */
html body .bp[style], html body .btn-cta[style], html body .btn-primary[style] { color: var(--k-ember-ink) !important; }
html body #gmail-oauth-btn, html body button[onclick^="gb35StartGmailOAuth"][style*="var(--blue-lt)"], html body #tg-connect-btn { background: var(--k-ember) !important; color: var(--k-ember-ink) !important; border: 0 !important; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { html body #gmail-oauth-btn:hover, html body #tg-connect-btn:hover, html body button[onclick^="gb35StartGmailOAuth"][style*="var(--blue-lt)"]:hover { background: var(--k-ember-hi) !important; } }
html body .oauth-f, html body .oauth-li { background: transparent !important; color: var(--k-ink) !important; border: 1px solid var(--k-muted) !important; }
@media (hover: hover) and (pointer: fine) { html body .oauth-f:hover, html body .oauth-li:hover, html body .oauth-g:hover { background: var(--k-paper-3) !important; } }
html body .tmpl-check, html body .cv-tmpl-badge, html body .tmpl-card.selected .tmpl-check { background: var(--k-ember) !important; border-color: var(--k-ember) !important; color: var(--k-ember-ink) !important; }
/* dashboard: figures in ink (the size carries the hierarchy), status chips carry meaning in words AND a calm hue:
   sent = neutral, opened = amber, replied = green outline, interview = green fill (the best news is never red) */
html body .astat-num { color: var(--k-ink) !important; font-variant-numeric: lining-nums tabular-nums; }
html body .astat-label { color: var(--k-muted) !important; }
html body .sbadge { border-radius: 0 !important; font-weight: 500 !important; letter-spacing: 0.02em !important; }
html body .s-sent { background: transparent !important; color: var(--k-ink-2) !important; border: 1px solid var(--k-rule) !important; }
html body .s-open { background: oklch(92% 0.05 75) !important; color: var(--k-warn) !important; border: 1px solid oklch(78% 0.09 75) !important; }
html body .s-reply { background: transparent !important; color: var(--k-ok) !important; border: 1px solid oklch(70% 0.08 150) !important; }
html body .s-interview { background: oklch(92% 0.04 150) !important; color: var(--k-ok) !important; border: 1px solid oklch(70% 0.08 150) !important; }
html body .app-item { border-radius: 0 !important; }
@media (hover: hover) and (pointer: fine) { html body .app-item:hover { border-color: var(--k-muted) !important; } }
html body .fbtn { border-radius: 0 !important; min-height: 40px; }
html body .fbtn.on { background: var(--k-paper-3) !important; color: var(--k-ink) !important; border-color: var(--k-ink) !important; box-shadow: inset 0 -2px 0 var(--k-ember); }
/* one button shape: square like the home's .cta (pill radii left over from the dark skin), primary green fills become the vermilion action */
html body button[style*="border-radius:50px"], html body button[style*="border-radius: 50px"], html body a[style*="border-radius:50px"], html body a[style*="border-radius: 50px"] { border-radius: 0 !important; }
html body button[style*="background:var(--green)"], html body button[style*="background: var(--green)"] { background: var(--k-ember) !important; color: var(--k-ember-ink) !important; }
html body .am-linkedin svg, html body .oauth-li svg { fill: currentColor; }
/* payment sheet fields: full-size wells like the login inputs */
html body #subscribe-modal input:not([type="file"]) { min-height: 44px; padding: 0 12px !important; font-size: 0.9375rem; box-sizing: border-box; }
/* a modal that lives inside a .page (z-index 1 stacking context) must clear the sticky nav while it is open */
html body .page.active:has([id$="-modal"][style*="display: block"], [id$="-modal"][style*="display: flex"]) { z-index: 400; }
/* plans: the home's plan language. Two paper sheets with a hairline and a 3px top rule (vermilion on the paid plan), figures in ink;
   the grid sizes to the plans that exist instead of leaving four empty columns */
html body .plan-card-new { background: var(--k-paper-2) !important; border: 1px solid var(--k-rule) !important; border-top: 3px solid var(--k-ink-2) !important; border-radius: 0 !important; }
html body .plan-card-new.featured, html body .plan-card-new:has(.btn-primary, [onclick*="Subscribe"], [onclick*="subscribe"]) { border-top-color: var(--k-ember) !important; }
html body .plan-card-new .plan-price-new, html body .plan-card-new .plan-price-new span, html body .plan-card-new li[style*="142"], html body .plan-card-new div[style*="142"] { color: var(--k-ink) !important; }
html body .plan-card-new span.badge[style*="142"] { background: oklch(92% 0.04 150) !important; color: var(--k-ok) !important; border-color: oklch(70% 0.08 150) !important; }
html body .plan-card-new span[style*="142"]:not(.badge) { color: var(--k-ok) !important; }
@media (hover: hover) and (pointer: fine) { html body .plan-card-new:hover { transform: none; border-color: var(--k-muted) !important; } }
@media (min-width: 701px) { html body .plans-grid-new:has(> .plan-card-new:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* job cards: no coloured side stripe (and no per-card neon); a hairline card that darkens its rule on hover, the price and the action in ink/vermilion */
html body .job-card::before { display: none !important; }
html body .job-card { background: var(--k-paper-2) !important; }
@media (hover: hover) and (pointer: fine) { html body .job-card:hover { border-color: var(--k-muted) !important; transform: none !important; box-shadow: none !important; } }
html body .job-card [class*="pay"], html body .job-card [class*="wage"] { color: var(--k-ink) !important; text-shadow: none !important; }
html body .job-apply { border-color: var(--k-ink-2) !important; color: var(--k-ink) !important; font-family: var(--font-body) !important; min-height: 40px; }
@media (hover: hover) and (pointer: fine) { html body .job-apply:hover { background: var(--k-ember) !important; border-color: var(--k-ember) !important; color: var(--k-ember-ink) !important; box-shadow: none !important; } }
/* guías (fragments/jl-pages.js paints each card with a dark gradient): paper sheets with a top rule, ink type, no black scrim */
html body #guias-grid > div { background: var(--k-paper-2) !important; border: 1px solid var(--k-rule) !important; border-top: 3px solid var(--k-ink-2) !important; border-radius: 0 !important; }
html body #guias-grid > div > div[style*="bottom:0"] { background: none !important; }
html body #guias-grid > div p, html body #guias-grid > div > div[style*="bottom:0"] > div:not([style*="display:flex"]) { color: var(--k-ink-2) !important; }
html body #guias-grid > div > div[style*="bottom:0"] > div[style*="font-weight:700"] { color: var(--k-ink) !important; }
html body #guias-grid span[style*="border-radius:20px"] { background: var(--k-paper-3) !important; backdrop-filter: none !important; color: var(--k-ink-2) !important; border-radius: 0 !important; }
html body #guias-grid span[style*="color:#22c55e"] { color: var(--k-ok) !important; }
html body #guias-grid span[style*="#f56462"], html body #guias-grid span[style*="rgba(245,100,98"] { color: var(--k-ember-hi) !important; opacity: 1 !important; }
html body #guias-grid > div > div[style*="opacity:.3"] { opacity: 1 !important; }
/* agents status panel: paper cards, the per-agent hue survives only in the activity bar and the active border */
html body #agents-grid > div { background: var(--k-paper-2) !important; border-radius: 0 !important; box-shadow: none !important; }
html body #agents-grid [style*="letter-spacing:2px"], html body #agents-grid [id^="agent-proc-"] { color: var(--k-ink) !important; }
html body #agents-grid [style*="rgba(255,255,255,.45)"], html body #agents-grid [style*="rgba(255,255,255,.25)"] { color: var(--k-muted) !important; }
