/* SkillReceipt v12: interactive steps, save CTA + celebration, job openings, ad placeholders, future head-start roadmaps.
   Palette: #004FCB, #8C9196, #FFFFFF, #2D2D2D (+ blue tints). */
:root { --b12: #004FCB; --g12: #8C9196; --k12: #2D2D2D; --t12: #EAF1FD; --t12b: #CFE0FA; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- step panels ---- */
.st12-panel { margin-top: .9rem; padding: 1rem; border: 1px solid var(--t12b); border-radius: 14px; background: var(--t12); }
.st12-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.st12-lab { display: block; font-weight: 700; font-size: .9rem; color: var(--k12); margin-bottom: .35rem; width: 100%; }
.st12-zip input, .st12-sel { min-height: 48px; padding: 0 .85rem; border: 2px solid var(--t12b); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; color: var(--k12); }
.st12-zip input { width: 9rem; }
.st12-zip input[aria-invalid="true"] { border-color: #B42318; }
.st12-sel { flex: 1 1 14rem; max-width: 22rem; }
.st12-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 .4rem; }
.st12-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--t12b); color: var(--b12); font-weight: 600; font-size: .92rem; text-decoration: none; }
.st12-chip:hover, .st12-chip:focus-visible { background: var(--b12); color: #fff; }
.st12-opts { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .95rem; }
.st12-sub { margin-top: .8rem; padding: .75rem .9rem; border-left: 4px solid var(--b12); background: #fff; border-radius: 0 10px 10px 0; }
.st12-sub p { margin: 0 0 .35rem; }
.st12-big { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .9rem; }
.st12-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 56px; padding: .7rem 1.25rem; border-radius: 14px; background: var(--b12); color: #fff !important; font-weight: 800; font-size: 1.05rem; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(0,79,203,.28); transition: transform .15s ease, box-shadow .15s ease; }
.st12-btn b { font-size: 1.2rem; }
.st12-btn:hover, .st12-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,79,203,.36); }
.st12-btn-2 { background: #fff; color: var(--b12) !important; border: 2px solid var(--b12); box-shadow: none; }
.st12-yn { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .9rem 0 .2rem; }
.st12-q { margin: 0; font-weight: 800; width: 100%; color: var(--k12); }
.st12-yes, .st12-no { min-height: 52px; padding: 0 1.3rem; border-radius: 14px; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.st12-yes { background: var(--b12); color: #fff; border: 0; }
.st12-no { background: #fff; color: var(--b12); border: 2px solid var(--b12); }
.st8.is-done .st12-yn { display: none; }
.flash12 { animation: flash12 1.6s ease; }
@keyframes flash12 { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 6px rgba(0,79,203,.35); } }

/* ---- save CTA ---- */
.jact9 { display: grid; gap: .7rem; }
.jact9-sub { display: flex; flex-wrap: wrap; gap: .5rem; }
.save12 { position: relative; display: inline-grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .75rem; text-align: left; min-height: 68px; width: min(100%, 30rem); padding: .8rem 1.4rem; border: 0; border-radius: 18px; cursor: pointer;
  background: linear-gradient(135deg, #004FCB, #2F72E0); color: #fff; font: inherit; font-weight: 800; font-size: 1.15rem; box-shadow: 0 10px 28px rgba(0,79,203,.38); overflow: hidden; animation: pulse12 2.4s ease-in-out infinite; }
.save12 svg { grid-row: span 2; width: 30px; height: 30px; fill: #fff; }
.save12 small { grid-column: 2; font-weight: 500; font-size: .85rem; opacity: .9; }
.save12::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine12 3.2s ease-in-out infinite; }
.save12:hover, .save12:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,79,203,.45); }
.save12:focus-visible { outline: 3px solid #2D2D2D; outline-offset: 3px; }
.save12.is-saved { background: #fff; color: var(--b12); border: 2px solid var(--b12); box-shadow: none; animation: none; }
.save12.is-saved svg { fill: var(--b12); }
.save12.is-saved::after { display: none; }
@keyframes pulse12 { 0%, 100% { box-shadow: 0 10px 28px rgba(0,79,203,.38), 0 0 0 0 rgba(0,79,203,.35); } 50% { box-shadow: 0 10px 28px rgba(0,79,203,.38), 0 0 0 10px rgba(0,79,203,0); } }
@keyframes shine12 { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.save12-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem max(1rem, env(safe-area-inset-right)) calc(.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: #fff; border-top: 3px solid var(--b12); box-shadow: 0 -8px 24px rgba(45,45,45,.15); transform: translateY(110%); transition: transform .25s ease; }
.save12-sticky.on { transform: none; }
.save12-sticky p { margin: 0; display: grid; min-width: 0; }
.save12-sticky p strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--k12); }
.save12-sticky p span { font-size: .85rem; color: #5f6469; }
.save12-sm { min-height: 54px; width: auto; font-size: 1rem; padding: .55rem 1.1rem; }
.save12-sm small { display: none; }
.save12-sm svg { width: 22px; height: 22px; grid-row: auto; }
@media (max-width: 480px) { .save12-sticky p { display: none; } .save12-sticky .save12 { width: 100%; justify-content: center; } }
.cel12 { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(45,45,45,.45); padding: 1rem; animation: fade12 .2s ease; }
.cel12.out { opacity: 0; transition: opacity .25s; }
.cel12-card { position: relative; z-index: 2; max-width: 26rem; width: 100%; background: #fff; border-radius: 22px; padding: 1.8rem 1.5rem 1.4rem; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.3); animation: pop12 .45s cubic-bezier(.2,1.4,.4,1); }
.cel12-card h2 { margin: .6rem 0 .3rem; color: var(--k12); font-size: 1.6rem; }
.cel12-badge { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--b12); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--t12); }
.cel12-badge svg { width: 42px; height: 42px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw12 .5s .25s ease forwards; }
.cel12-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0 0; }
.cel12-bits { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cel12-bits i { position: absolute; top: -12px; left: var(--x); width: 10px; height: 14px; background: var(--c); border-radius: 2px; animation: fall12 1.6s var(--d) ease-in forwards; }
@keyframes fall12 { to { transform: translateY(105vh) rotate(540deg); } }
@keyframes pop12 { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw12 { to { stroke-dashoffset: 0; } }
@keyframes fade12 { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .save12, .save12::after, .cel12-bits, .cel12-card, .flash12 { animation: none !important; } .cel12-bits { display: none; } .cel12-badge svg { stroke-dashoffset: 0; animation: none; } }
html.paused .save12, html.paused .save12::after { animation: none !important; }

/* ---- job openings ---- */
.op12 { margin: 2.5rem 0; padding: 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--t12b); box-shadow: 0 8px 24px rgba(0,79,203,.08); }
.op12-loc, .op12-search { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin: .6rem 0 1rem; }
.op12-loc label, .op12-search label span { display: block; width: 100%; font-weight: 700; font-size: .9rem; }
.op12-search label { flex: 1 1 14rem; }
.op12-loc input, .op12-search input { min-height: 48px; padding: 0 .85rem; border: 2px solid var(--t12b); border-radius: 12px; font: inherit; width: 100%; max-width: 22rem; }
.op12-search input { max-width: none; }
.op12-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.op12-card { display: grid; gap: .2rem; padding: .9rem 1rem; border-radius: 14px; border: 2px solid var(--t12b); background: #fff; text-decoration: none; color: var(--k12); min-height: 96px; transition: border-color .15s, transform .15s; }
.op12-card:hover, .op12-card:focus-visible { border-color: var(--b12); transform: translateY(-2px); }
.op12-n { font-weight: 800; font-size: 1.05rem; color: var(--b12); }
.op12-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: #5f6469; }
.op12-go { font-size: .9rem; font-weight: 600; }
.op12-federal, .op12-state { background: var(--t12); }
.op12-samples { margin-top: 1.2rem; padding: 1rem; border-radius: 14px; border: 2px dashed var(--g12); background: #fafbfc; }
.op12-sh { margin: 0 0 .7rem; font-size: .92rem; }
.op12-sample-tag { display: inline-block; padding: .1rem .5rem; border-radius: 6px; background: var(--k12); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.op12-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.op12-scard { display: grid; gap: .25rem; padding: .8rem; border-radius: 12px; background: #fff; border: 1px solid #dfe2e5; color: #5f6469; }
.op12-scard strong { color: var(--k12); }
.op12-disc { margin-top: 1rem; }
.op12-all { margin: .6rem 0 0; font-weight: 700; }
.op12-plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.op12-pi { display: grid; padding: .7rem .9rem; border-radius: 12px; background: var(--t12); }
.op12-pi span { font-size: .82rem; color: #5f6469; }
.tbl12-wrap { overflow-x: auto; }
.tbl12 { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 760px; }
.tbl12 caption { text-align: left; font-weight: 800; padding: .5rem 0; }
.tbl12 th, .tbl12 td { text-align: left; vertical-align: top; padding: .65rem .6rem; border-bottom: 1px solid #e3e6ea; }
.tbl12 td small { display: block; color: #5f6469; margin-top: .25rem; }
.st12-tag { display: inline-block; padding: .1rem .5rem; border-radius: 6px; font-size: .78rem; font-weight: 700; background: #eef0f2; color: var(--k12); }
.st12-none { background: #FDECEC; color: #8A1C1C; } .st12-publisher, .st12-network { background: var(--t12); color: var(--b12); } .st12-gov { background: #E8F3EC; color: #1D5B33; }

/* ---- ads (placeholders; fixed sizes so nothing shifts) ---- */
.ad12 { display: block; margin: 1.5rem auto; text-align: center; }
.ad12-lbl { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #6b7075; margin-bottom: .25rem; text-align: left; }
.ad12-box { display: grid; place-items: center; border: 1px dashed #c4c8cc; border-radius: 10px; background: #f6f7f8; color: #8C9196; font-size: .8rem; }
.ad12-footer { width: min(728px, calc(100% - 2rem)); } .ad12-footer .ad12-box { height: 90px; }
@media (max-width: 760px) { .ad12-footer { width: 320px; max-width: calc(100% - 2rem); } .ad12-footer .ad12-box { height: 100px; } }
.ad12-side { width: 300px; max-width: 100%; margin: 1rem 0; } .ad12-side .ad12-box { height: 250px; }
@media (max-width: 1023px) { .ad12-side { display: none; } }
.ad12-feed { grid-column: 1 / -1; width: 100%; margin: .4rem 0; } .ad12-feed .ad12-box { height: 120px; }
@media (max-width: 760px) { .ad12-feed .ad12-box { height: 100px; } }

/* ---- Jobs of the Future head start ---- */
.fj12-btn { margin-top: .8rem; min-height: 48px; font-weight: 800; }
.fj12-flag { margin: 0 0 .4rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.fj12-steps { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.fj12-steps > li { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: start; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--t12b); background: #fff; }
.fj12-steps > li.is-done { background: var(--t12); }
.fj12-steps h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.fj12-today { margin: .4rem 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.fj12-today span { display: block; font-size: .85rem; color: #5f6469; }
.fj12-save { margin: 1rem 0 .4rem; }
@media (max-width: 560px) { .fj12-steps > li { grid-template-columns: 1fr; } .op12 { padding: 1.1rem; } }
.st12-row > * { min-width: 0; max-width: 100%; }
.st12-sel { width: 100%; }
@media (max-width: 560px) { .st12-btn { width: 100%; } }
@media (max-width: 640px) {
  .st8-body .st12-panel, .st8-body .st12-yn, .st8-body .st12-big { margin-left: calc(-40px - .7rem); }
  .st12-yes, .st12-no { flex: 1 1 8rem; white-space: nowrap; }
  .st12-panel { padding: .8rem; }
}
