/* ATS score card and application pass (biografiko.html) */
.ats { margin: 0 0 22px; background: #fff; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); padding: 22px 24px; }
.ats-top { display: flex; flex-wrap: wrap; gap: 22px 32px; align-items: center; }
.ats-scores { display: flex; align-items: center; gap: 14px; }
.ats-gauge { --v: 0; --c: #2e7d4f; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), #eee6da 0); position: relative; }
.ats-gauge::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.ats-gauge b { position: relative; font: 900 26px var(--display); }
.ats-gauge.low { --c: #d6453a; } .ats-gauge.mid { --c: #e3a008; }
.ats-gauge.small { width: 68px; height: 68px; } .ats-gauge.small::before { inset: 8px; } .ats-gauge.small b { font-size: 18px; }
.ats-scores figure { margin: 0; display: grid; justify-items: center; gap: 6px; }
.ats-scores figcaption { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; max-width: 110px; }
.ats-arrow { font-size: 26px; color: var(--muted); }
.ats-head { flex: 1 1 280px; }
.ats-head h3 { font-size: 22px; margin: 4px 0 6px; }
.ats-head p { margin: 0; color: var(--muted); font-size: 15px; }
.ats-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 20px; }
.ats h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.ats-req { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ats-req li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; }
.ats-req li > i { font-style: normal; font-weight: 900; }
.ats-req li.ok > i { color: #2e7d4f; } .ats-req li.gap > i { color: #d6453a; }
.ats-req .tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: var(--paper-2); margin-left: 6px; vertical-align: 1px; }
.ats-req .tag.must { background: #fde3df; color: #a1271c; }
.ats-req .tag.new { background: #e3f3e9; color: #1f6b4a; }
.ats-req small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ats-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.ats-checks li::before { content: "✓"; color: #2e7d4f; font-weight: 900; margin-right: 8px; }
.ats-checks li.no::before { content: "!"; color: #d6453a; }
.ats-empty textarea { width: 100%; margin: 12px 0; font: inherit; padding: 12px; border: 2px solid var(--line); border-radius: 12px; }
@media (max-width: 760px) { .ats-cols { grid-template-columns: 1fr; } .ats { padding: 18px; } }

.apps { margin-top: 48px; }
.apps h3 { font-size: 26px; margin: 6px 0 8px; }
.apps > p { color: var(--muted); margin: 0 0 18px; max-width: 46em; }
.app-form { display: grid; gap: 12px; background: var(--paper-2); border: 2px dashed var(--ink); border-radius: 18px; padding: 18px 20px; }
.app-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.app-form input, .app-form textarea, .app-card select, .app-card textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.app-form .btn { justify-self: start; }
.app-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 12px; }
.app-stats span { font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.apps-list { display: grid; gap: 14px; }
.app-card { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 18px 20px; display: grid; gap: 12px; }
.app-card header { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.app-card header > div { flex: 1 1 220px; }
.app-card header strong { font-size: 18px; display: block; }
.app-card header small { color: var(--muted); }
.app-score { font-weight: 900; font-size: 15px; white-space: nowrap; }
.app-score s { color: var(--muted); font-weight: 600; }
.app-card select { padding: 8px 10px; font-weight: 700; }
.app-card .st-sent { border-color: #2b59c3; } .app-card .st-interview { border-color: #e3a008; } .app-card .st-offer { border-color: #2e7d4f; } .app-card .st-rejected { border-color: #b9b2a8; }
.app-dl { display: flex; flex-wrap: wrap; gap: 8px; }
.app-dl .btn { margin: 0; padding: 9px 14px; font-size: 14px; }
.app-card details > summary { cursor: pointer; font-weight: 800; font-size: 14.5px; }
.app-card details[open] > summary { margin-bottom: 12px; }
.app-card details .ats { box-shadow: none; border-width: 1px; margin: 0; }
.app-card textarea { width: 100%; min-height: 60px; font-size: 14.5px; }
.app-card.busy { opacity: 0.7; }
.apps-empty { color: var(--muted); padding: 8px 0; }
@media (max-width: 640px) { .app-form .row2 { grid-template-columns: 1fr; } }

/* Two purchase options in the free preview */
.cv-buy-head { margin-top: 40px; }
.cv-buy-head h3 { font-size: 30px; margin: 4px 0 6px; }
.cv-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 24px; }
.tier.rec { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--accent); }
.tier.rec .kicker { color: var(--gold); }
.tier-price { font: 900 44px/1 var(--display); letter-spacing: -0.02em; }
.tier .cv-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.tier .cv-incl li { padding-left: 22px; position: relative; }
.tier .cv-incl li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: #2e7d4f; }
.tier.rec .cv-incl li::before { color: var(--gold); }
.tier .btn { align-self: flex-start; margin: 4px 0 0; }
.tier.rec .btn { background: var(--gold); color: var(--ink); }
.tier small { color: var(--muted); font-size: 13.5px; }
.tier.rec small { color: #c6bfd0; }
.tier-badge { position: absolute; top: -14px; right: 18px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 12.5px; padding: 5px 12px; border-radius: 99px; transform: rotate(-2deg); border: 2px solid var(--ink); }
@media (max-width: 760px) { .cv-tiers { grid-template-columns: 1fr; gap: 26px; } .tier-price { font-size: 38px; } }

/* After purchase: which file goes where, and the upgrade offer for basic buyers */
.send-guide { margin-top: 36px; }
.send-guide h3 { font-size: 24px; margin: 6px 0 14px; }
.sg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sg-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.sg-grid b { font-size: 16.5px; }
.sg-grid p { margin: 0; color: var(--muted); font-size: 14.5px; }
.sg-grid .btn { justify-self: start; margin: 6px 0 0; padding: 8px 14px; font-size: 14px; }
@media (max-width: 640px) { .sg-grid { grid-template-columns: 1fr; } }
.apps.upgrade { background: var(--paper-2); border: 2px dashed var(--ink); border-radius: 20px; padding: 22px 24px; }
.upgrade-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.upgrade-row .btn { margin: 0; }
.upgrade-row small { color: var(--muted); }

/* Five designs: let the picker cards wrap evenly */
.tpl-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.designer.stack .tpl-cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pg-europass i:nth-child(1) { left: 7%; top: 5%; width: 16%; height: 5%; background: var(--m); border-radius: 1px; }
.pg-europass i:nth-child(2) { left: 30%; top: 5%; width: 50%; height: 5%; background: #222; border-radius: 1px; }
.pg-europass i:nth-child(3) { left: 7%; right: 7%; top: 14%; height: 2px; background: var(--a); }
.pg-europass i:nth-child(4) { left: 7%; top: 20%; width: 18%; height: 64%; background: repeating-linear-gradient(var(--m) 0 2px, transparent 2px 22px); }
.pg-europass i:nth-child(5) { left: 30%; top: 86%; width: 40%; height: 4%; background: repeating-linear-gradient(90deg, var(--a) 0 8%, transparent 8% 11%); }
.pg-europass { --tx: 30%; --ty: 20%; }
.pg-europass i:nth-child(6) { right: 7%; height: 62%; }

/* Hero: example ATS score */
.ats-demo { margin-top: 22px; max-width: 420px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); padding: 14px 16px; }
.ats-demo-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-weight: 800; font-size: 15px; }
.ats-demo-top s { color: #d6453a; text-decoration: none; font: 900 22px var(--display); }
.ats-demo-top strong { color: #2e7d4f; font: 900 26px var(--display); }
.ats-demo .ats-req { margin: 10px 0 8px; gap: 5px; }
.ats-demo .ats-req li { font-size: 14px; }
.ats-demo small { color: var(--muted); font-size: 12.5px; }

/* myErgani import, comparison, interview practice, LinkedIn kit */
.cv-import-ergani { margin-top: -6px; }
.cv-import-ergani a { color: inherit; text-decoration: underline; }
.cmp-table { border: 1px solid #e3e6ea; border-radius: 14px; overflow: hidden; background: #fff; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.3fr; gap: 12px; padding: 12px 18px; border-top: 1px solid #eef0f3; font-size: 15px; }
.cmp-row:first-child { border-top: 0; }
.cmp-head { background: #0b2545; color: #fff; font-weight: 600; }
.cmp-row span:nth-child(2) { color: #6b7280; }
.cmp-head span:nth-child(2) { color: #cbd5e1; }
@media (max-width: 640px) { .cmp-row { grid-template-columns: 1fr 1fr; font-size: 14px; } .cmp-row span:first-child { grid-column: 1 / -1; font-weight: 600; } }
.practice { margin-top: 14px; padding: 14px; border: 1px dashed #c9d2dc; border-radius: 12px; background: #f8fafc; }
.practice textarea { width: 100%; min-height: 110px; margin: 8px 0; font: inherit; padding: 10px; border-radius: 10px; border: 1px solid #d6dbe1; }
.practice .pr-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.practice .mic.on { background: #b42318; color: #fff; border-color: #b42318; }
.pr-result { margin-top: 12px; }
.pr-score { display: inline-flex; align-items: baseline; gap: 6px; font-size: 28px; font-weight: 700; color: #0b2545; }
.pr-score small { font-size: 14px; color: #6b7280; font-weight: 500; }
.pr-result ul { margin: 6px 0 10px 18px; }
.pr-result .pr-good li::marker { content: "✓  "; color: #067647; }
.pr-result .pr-imp li::marker { content: "→  "; color: #b54708; }
.linkedin { margin-top: 34px; }
.li-block { border: 1px solid #e3e6ea; border-radius: 12px; padding: 14px 16px; margin-top: 12px; background: #fff; }
.li-block header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.li-block pre { white-space: pre-wrap; font: inherit; margin: 0; color: #1f2937; }
.li-tabs { display: flex; gap: 6px; margin-top: 10px; }
.li-tabs button { border: 1px solid #d6dbe1; background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.li-tabs button.on { background: #0b2545; color: #fff; border-color: #0b2545; }
