:root {
  color-scheme: light;
  --ink: #1a2530;
  --subtle: #4a5560;
  --line: #d8d2c5;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --rust: #005d83;
  --rust-dark: #003a56;
  --serif: Fraunces, Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.45 var(--sans); }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--rust-dark); }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
svg { flex: 0 0 auto; vertical-align: middle; }
h1,h2,h3,p { margin: 0; }
h1,h2 { color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1; }
h1 { font-size: clamp(3rem,6vw,5rem); }
h2 { font-size: clamp(2rem,4vw,2.55rem); }
h3 { line-height: 1.22; }
.sr-only,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: .65rem; left: .65rem; padding: .6rem 1rem; background: white; }
.topbar { background: #001e2e; color: #f4f8fa; }
.top-inner { max-width: 1260px; margin: auto; min-height: 76px; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display:flex; align-items:center; gap:.65rem; font: clamp(1.35rem,2.3vw,2rem)/1 var(--serif); text-decoration:none; white-space: nowrap; }
.brand em,.footer-brand em { font-weight: 400; }
.brand:hover,.topbar a:hover { color: #cce6f1; }
#nav { display: flex; align-items: center; gap: .35rem; }
#nav a,.board-link { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; font-size: .9rem; }
#nav a { min-height: 42px; padding: .45rem .8rem; border-radius: .45rem; color: #d4e4ed; white-space: nowrap; }
#nav a[aria-current] { background: #123d50; color: #f6fafd; }
.board-link { padding: .57rem .8rem; border: 1px solid #4d6876; border-radius: .45rem; white-space: nowrap; }
.board-link[aria-current] { background: #123d50; }
main { max-width: 1260px; margin: 0 auto; padding: 2rem 2rem 4rem; min-height: calc(100dvh - 165px); }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 275px; border-radius: 1.05rem; color: #fff7ed; background: #522c23; }
.hero::before { position: absolute; content: ""; z-index: -1; inset: 0; background: linear-gradient(90deg,#4f291f 0%,#542b21 31%,#542b21e8 44%,#51291f67 65%,#301d1455 100%),url("./redaccion.jpg") right center / 72% auto no-repeat, #623a2d; }
.hero-body { padding: 2.1rem clamp(1.35rem,4vw,3.15rem); max-width: 760px; }
.hero-label { display: inline-flex; align-items: center; gap: .6rem; font-size: .84rem; font-weight: 700; letter-spacing: .105em; color: #ffd2bf; }
.hero-label::before { content: ""; width: 1.15rem; height: 2px; background: #ee6470; }
.hero h1 { margin: .55rem 0 .75rem; color: #fffdf8; font-size: clamp(2.3rem,5.8vw,4.9rem); letter-spacing: -.025em; }
.hero h1 em { color: #ffd6c5; }
.hero-body > p:not(.hero-label) { max-width: 36rem; color: #fff0e5; }
.hero .btn { margin-top: 1.35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .47rem; padding: .62rem .91rem; min-height: 42px; border-radius: .46rem; border: 1px solid transparent; font: 700 .88rem/1.25 var(--sans); text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--rust); color: white; }
.btn.primary:hover { background: var(--rust-dark); }
.btn.secondary,.btn.outline { border-color: #ded2c8; color: var(--ink); background: var(--white); }
.btn.secondary:hover,.btn.outline:hover { border-color: #b38271; color: var(--rust-dark); background: #fff4ed; }
.btn.quiet { color: var(--rust-dark); background: transparent; }
.btn.quiet:hover { background: #f5e7de; }
.btn.hero-button { background: #fff1e4; color: #672a21; }
.btn.hero-button:hover { background: white; }
.btn.hero-button:focus-visible,.topbar :focus-visible { outline-color: #93c0da; }
.stats { display:grid; gap: .9rem; margin: 1rem 0 0; }
.stats.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stats.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.stat { min-width: 0; padding: .85rem 1.05rem .9rem; background: var(--white); border: 1px solid var(--line); border-radius: .7rem; }
.stat-label { display: flex; gap: .52rem; align-items: center; color: var(--subtle); font-size: .875rem; font-weight: 700; }
.stat-label svg { color: var(--rust); width: 1rem; height: 1rem; }
.stat > strong { display: block; margin-top: .2rem; font: 400 clamp(2.15rem,4vw,2.95rem)/1 var(--serif); overflow-wrap:anywhere; }
.stat small { display: block; color: var(--subtle); margin-top: .3rem; font-size: .83rem; }
.job-section { margin-top: 2.2rem; }
.list-head { display:flex; align-items: flex-end; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; margin-bottom: 1rem; }
.list-head span,.result-caption { color: var(--subtle); font-size: .875rem; }
.filters { display: grid; grid-template-columns: minmax(12rem,1.4fr) repeat(3,minmax(9rem,1fr)); gap: .7rem; align-items: end; margin-bottom: .9rem; }
.filters:has(> :nth-child(3):last-child) { grid-template-columns: minmax(12rem,1.4fr) repeat(2,minmax(9rem,1fr)); }
.pay-filters { grid-template-columns: repeat(4,minmax(9rem,1fr)); }
label { display: grid; gap: .35rem; color: #473a33; font-size: .875rem; font-weight: 700; }
input,select,textarea { width:100%; min-width: 0; border: 1px solid #d8ccc1; background: var(--white); color: var(--ink); border-radius: .43rem; min-height: 43px; padding: .57rem .68rem; font-size: 1rem; font-weight: 400; }
input::placeholder { color: #756960; opacity: 1; }
select { appearance:none; padding-right: 1.9rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23504742' stroke-width='1.5' viewBox='0 0 18 18'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E") right .5rem center / 1rem no-repeat; }
textarea { resize: vertical; }
.searchbox { position: relative; }
.searchbox svg { position: absolute; left: .72rem; top: 13px; color: #786559; pointer-events: none; }
.searchbox input { padding-left: 2.2rem; }
.stack { display: grid; gap: .65rem; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: .9rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: .72rem; padding: 1rem; }
.job-card:hover { border-color: #c9a998; }
.job-main { display: flex; align-items: flex-start; gap: .9rem; min-width: 0; }
.org-mark,.avatar { width: 45px; height: 45px; border-radius: .58rem; display: grid; place-items: center; flex: 0 0 auto; font-size: .95rem; font-weight: 700; background: #eddee8; color: #683d59; }
.org-mark.rust { background: #f1dfd3; color: #853c2a; }
.org-mark.olive { background: #e4e7da; color: #4a5634; }
.job-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .58rem; }
.job-heading h3 { font-size: 1.12rem; overflow-wrap: anywhere; }
.job-heading a { text-decoration: none; }
.job-main p,.job-tail > span { color: var(--subtle); font-size: .9rem; margin-top: .2rem; }
.dot { padding: 0 .15rem; }
.job-tags { display: flex; gap: .35rem .65rem; flex-wrap: wrap; margin-top: .45rem; }
.job-tags span { color: var(--subtle); display: inline-flex; align-items: center; gap: .24rem; font-size: .85rem; }
.job-tags span + span::before { content: "·"; color: #917c70; margin-right: .2rem; }
.job-tags svg,.job-tail svg { width: 15px; height: 15px; }
.job-tail,.actions { display: flex; align-items: center; gap: .5rem .68rem; flex-wrap: wrap; }
.job-tail { justify-content: flex-end; flex-shrink: 0; }
.job-tail > span { display: inline-flex; align-items: center; gap: .36rem; margin: 0; }
.job-tail .salary-label { font-weight: 700; }
.badge { display: inline-flex; align-items: center; width: fit-content; white-space: nowrap; border-radius: 999px; padding: .22rem .56rem; background: #eee7df; color: #5d4d40; font-size: .81rem; font-weight: 700; }
.badge[data-state="abierta"],.badge[data-state="seleccionada"] { background:#e2ebdf; color:#305539; }
.badge[data-state="borrador"],.badge[data-state="ejercicio"] { background:#f3e8c9; color:#644f1d; }
.badge[data-state="entrevista"],.badge[data-state="en revision"] { background:#e9e4f2; color:#594275; }
.badge[data-state="finalista"] { background:#f3dfd6; color:#823528; }
.badge[data-state="recibida"] { background:#e1e9ed; color:#365564; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .9rem; padding: .9rem 0 1.25rem; }
.section-head p { color: var(--subtle); margin-top: .6rem; max-width: 54rem; }
.breadcrumb { display:flex; flex-wrap:wrap; gap: .5rem; color: var(--subtle); margin: .15rem 0 .25rem; font-size: .9rem; }
.breadcrumb a,.profile-summary a { color: var(--rust-dark); }
.surface,.form-card,.table-wrap,.empty { background: var(--white); border: 1px solid var(--line); border-radius: .75rem; }
.surface,.form-card { padding: clamp(1rem,3vw,1.75rem); }
.form-card { max-width: 910px; }
.form-card > label,#profile-form > label,#application-form > label { margin-top: .75rem; }
.form-grid,.score-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.form-card .form-grid { margin-top: .95rem; }
.form-section-head { display:flex; justify-content:space-between; align-items:center; flex-wrap: wrap; gap: .7rem; margin-top: 1.45rem; }
.form-actions { display:flex; justify-content:flex-end; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.form-error { color: var(--rust-dark); font-weight: 700; font-size: .88rem; }
.form-error:not(:empty) { margin-top: .7rem; }
.detail-layout { display:grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 1rem; margin-top: 1rem; }
.prose p { margin-top: .6rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose h2:not(:first-child) { margin-top: 1.4rem; }
dl { margin: .7rem 0 0; }
dt { color: var(--subtle); font-size: .88rem; }
dd { margin: .03rem 0 .65rem; font-weight: 700; }
.detail-aside { align-self: start; }
.process-meta { display:flex; gap: .55rem 1rem; align-items: center; flex-wrap: wrap; padding-bottom: 1rem; color: var(--subtle); font-size: .875rem; }
.process-meta .btn { min-height: 30px; padding: .25rem .5rem; }
.view-tabs { display:flex; align-items:stretch; flex-wrap:wrap; gap: .3rem .75rem; margin-bottom: 1.05rem; border-bottom:1px solid #d9ccc1; }
.view-tabs a { display: inline-flex; align-items: center; gap: .42rem; min-height: 43px; padding: .55rem .35rem; border-bottom: 2px solid transparent; text-decoration: none; color: var(--subtle); font-weight: 700; font-size: .9rem; }
.view-tabs a[aria-current] { color: var(--rust-dark); border-color: var(--rust); }
.tab-count { padding: .06rem .42rem; background: #f0e1d8; border-radius: 999px; color: #6a3c30; }
.result-caption { margin: .8rem 0 .52rem; }
.table-wrap { overflow: auto; }
table { width: 100%; min-width: 675px; text-align: left; border-collapse: collapse; font-size: .9rem; }
th { background: #f0e9df; color: #504239; font-size: .85rem; font-weight: 700; }
th,td { padding: .75rem .85rem; }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody tr:hover td { background: #fffbf5; }
td small,.lane-card small { display: block; color: var(--subtle); margin-top: .16rem; font-size: .83rem; }
.person { display: flex; gap: .58rem; align-items: center; }
.avatar { width: 36px; height: 36px; background: #f0e1d5; color: #783b2f; font-size: .83rem; }
.helper { color: var(--subtle); font-size: .9rem; margin: .45rem 0 .8rem; }
.board { display: grid; grid-auto-columns: minmax(11rem,1fr); grid-auto-flow: column; gap: .7rem; overflow: auto; padding: .1rem .12rem .55rem; }
.lane { min-height: 205px; padding: .65rem; border-radius: .55rem; background: #efe8df; border: 1px solid #e0d3c6; }
.lane h3 { display:flex; align-items:center; justify-content:space-between; gap: .4rem; min-height: 32px; margin-bottom: .4rem; font-size: .88rem; }
.lane h3 span { display: grid; place-items: center; min-width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--white); }
.lane > p { padding-top:.55rem; color:var(--subtle); font-size:.85rem; }
.lane-card { background: var(--white); padding: .67rem; border: 1px solid var(--line); border-radius: .48rem; margin-bottom: .48rem; cursor: grab; }
.lane-card:active { cursor: grabbing; }
.lane-card strong { font-size: .93rem; overflow-wrap: anywhere; }
.lane-card .btn { min-height: 30px; padding: .23rem .1rem; margin-top: .35rem; }
.bars { display: grid; gap: .65rem; margin-top: 1rem; }
.bar-row { display: grid; grid-template-columns: 6.5rem minmax(0,1fr) 1.6rem; align-items: center; gap: .55rem; font-size: .86rem; }
progress { width: 100%; height: .63rem; appearance: none; border: 0; border-radius: 1rem; background: #efe6de; color: var(--rust); }
progress::-webkit-progress-bar { background:#efe6de; border-radius:1rem; }
progress::-webkit-progress-value { background:var(--rust); border-radius:1rem; }
progress::-moz-progress-bar { background:var(--rust); border-radius:1rem; }
.salary-dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; }
.salary-dl dd { margin:0; text-align:right; }
#pay-results .table-wrap,#pay-results .empty { margin-top: 1rem; }
.empty { text-align: center; padding: 1.8rem 1rem; }
.empty p { color: var(--subtle); margin: .4rem 0 .7rem; }
.empty-icon { display: grid; place-items: center; width:2.2rem; height:2.2rem; border-radius: .5rem; background:#f1e2d7; color:var(--rust); margin: 0 auto .65rem; }
.footer { border-top: 1px solid var(--line); }
.footer > div { max-width: 1260px; margin: auto; padding: 1.1rem 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; color: var(--subtle); font-size: .85rem; }
.footer-brand { font: 1.5rem/1 var(--serif); text-decoration: none; color: var(--ink); }
.demo-note { margin-left: auto; }
dialog { width: min(690px,calc(100% - 1.6rem)); max-height: calc(100dvh - 2rem); border: 1px solid var(--line); border-radius: .8rem; padding: 0; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #201814a3; }
.dialog-inner { padding: clamp(1rem,4vw,1.65rem); }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: .7rem; }
.dialog-header h2 { overflow-wrap: anywhere; }
.btn.icon-button { border-color: var(--line); color: var(--ink); padding: .44rem; min-height: 34px; }
.btn.icon-button span { position: absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.profile-subtitle { margin: .55rem 0 .9rem; color: var(--subtle); }
.profile-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; padding: .7rem; border-radius: .47rem; background: #f1e9e0; overflow-wrap: anywhere; }
.profile-summary small { display: block; color:var(--subtle); margin-bottom: .16rem; }
.profile-work { margin-top: 1rem; }
.profile-work p { padding-top: .35rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-work .actions { margin-top: .5rem; }
.work-brief { padding: .7rem .8rem; margin-bottom: .9rem; background: #f2e8df; border-radius: .45rem; white-space: pre-wrap; }
.success { display: flex; gap: .65rem; align-items: center; padding: 1rem 0 .4rem; }
.success svg { color:#376046; }
#toast { position: fixed; z-index:3; right: 1rem; bottom: 1rem; max-width: calc(100vw - 2rem); border-radius: .53rem; padding: .68rem .9rem; background: #2b2420; color: white; box-shadow: 0 6px 25px #2b191b38; transform: translateY(.4rem); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
#toast.visible { transform:none; opacity:1; }
@media (max-width: 850px) {
  .top-inner,main,.footer > div { padding-inline: 1rem; }
  .job-tail { flex-direction: column; align-items: flex-end; }
  .filters,.filters:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pay-filters { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .top-inner { display: grid; grid-template-columns: 1fr auto; gap: .30rem .45rem; padding-top: .65rem; padding-bottom: .45rem; min-height: auto; }
  .brand { font-size: 1.72rem; gap: .4rem; }
  .brand img { width: 30px; height: 30px; }
  #nav { grid-row: 2; grid-column: 1/-1; overflow-x: auto; }
  #nav a,.board-link { font-size: .82rem; }
  #nav a { padding: .3rem .46rem; min-height: 36px; }
  #nav svg,.board-link svg { width: 15px; height: 15px; }
  .board-link { padding: .4rem .4rem; }
  main { padding-top: 1rem; padding-bottom: 2.25rem; }
  .hero { min-height: 267px; }
  .hero::before { background: linear-gradient(90deg,#4f291ff4 0%,#542b21e9 46%,#542b2185 100%),url("./redaccion.jpg") center / cover no-repeat,#623a2d; }
  .hero-body { padding: 1.2rem; }
  .hero-label { font-size: .76rem; }
  .hero h1 { font-size: clamp(2.15rem,8vw,3.45rem); }
  .stats { gap: .38rem; }
  .stat { padding: .65rem .52rem; }
  .stat-label { gap: .27rem; font-size: .8rem; align-items: flex-start; }
  .stat-label svg { width: .85rem; height: .85rem; margin-top: .16rem; }
  .stats.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .job-section { margin-top: 1.5rem; }
  .job-card { align-items: stretch; flex-direction: column; gap: .6rem; padding: .74rem; }
  .job-main { gap: .53rem; }
  .org-mark { width: 34px; height: 34px; font-size: .78rem; }
  .job-tail { flex-direction: row; justify-content: space-between; align-items: center; padding-left: 2.45rem; }
  .job-tags { gap: .22rem .35rem; }
  .job-tags span { font-size: .82rem; }
  .job-tags span + span::before { margin-right: .04rem; }
  .detail-layout,.profile-summary { grid-template-columns: 1fr; }
  .demo-note { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 420px) {
  .searchbox { grid-column: 1/-1; }
  .stat-label svg { display: none; }
  .stat > strong { font-size: 2rem; }
  .form-grid,.score-grid { grid-template-columns: 1fr; }
  .job-tail { padding-left: 0; }
  .job-tail .btn { min-height: 38px; }
  .view-tabs { gap: .2rem; }
  .view-tabs a { font-size: .82rem; gap: .22rem; padding-inline: .2rem; }
  .view-tabs svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition-duration: .001ms !important; }
}

.module-inner {
  max-width: 1260px;
  padding: .55rem 2rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .45rem 1rem;
}
#module-nav:has(.module-inner) { background: #e6eef2; border-bottom: 1px solid #cfdee5; }
.module-inner strong { font-size: .92rem; color: #003a56; white-space: nowrap; }
.module-inner nav { display: flex; align-items: center; gap: .38rem; flex-wrap: wrap; }
.module-inner a { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .57rem; border-radius: .35rem; text-decoration: none; font-size: .88rem; }
.module-inner a[aria-current="page"] { background: #cddfe8; color: #003a56; font-weight: 700; }
.module-inner svg { width: 16px; height: 16px; }
.portal-hero,.legal-hero { background: #002c42; color: #e5f3fa; }
.portal-hero::before,.legal-hero::before {
  background: linear-gradient(128deg,transparent 0 63%,#20556b44 63% 76%,transparent 76%),
    linear-gradient(130deg,transparent 0 78%,#2c687e66 78% 88%,transparent 88%),
    linear-gradient(130deg,transparent 0 91%,#b33d4c 91% 91.6%,transparent 91.6%),
    linear-gradient(112deg,#001e2e,#004b64);
}
.portal-hero { min-height: 280px; }
.portal-hero .hero-label,.legal-hero .hero-label { color: #bbd8e7; }
.portal-hero h1 em { color: #c9e2ee; font-style: italic; }
.portal-hero .hero-body > p:not(.hero-label),.legal-hero .hero-body > p:not(.hero-label) { color: #e6f1f7; }
.legal-hero .hero-button { color: #003a56; background: #eaf5fa; }
.entry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1rem; }
.entry-card { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: clamp(1.1rem,3vw,1.65rem); border: 1px solid var(--line); border-radius: .7rem; background: var(--white); }
.entry-card p { color: var(--subtle); max-width: 36rem; }
.entry-card .btn { margin-top: auto; }
.entry-icon { color: #003a56; background: #e6eef2; width: 2.65rem; height: 2.65rem; border-radius: .55rem; display: grid; place-items: center; }
.entry-icon svg { width: 22px; height: 22px; }
.jobs-filters { grid-template-columns: minmax(11rem,1.35fr) repeat(5,minmax(0,1fr)); }
.jobs-filters:has(> :nth-child(5):last-child) { grid-template-columns: minmax(10rem,1.3fr) repeat(4,minmax(0,1fr)); }
.advanced-filters,.application-extra,.style-method { border: 1px solid var(--line); border-radius: .6rem; background: var(--white); }
.advanced-filters summary,.application-extra summary,.style-method summary { cursor: pointer; padding: .65rem .83rem; color: #003a56; font-weight: 700; }
.advanced-filters summary span { margin-left: .5rem; font-size: .84rem; color: var(--subtle); }
.advanced-groups { padding: 0 .85rem .85rem; }
.advanced-groups fieldset { margin: .75rem 0 0; padding: .55rem .75rem .12rem; min-width: 0; border: 1px solid var(--line); border-radius: .4rem; }
.advanced-groups legend { padding: 0 .35rem; font-size: .92rem; font-weight: 700; }
.advanced-groups .filters,.advanced-groups .filters:has(> :nth-child(3):last-child) { grid-template-columns: repeat(4,minmax(0,1fr)); }
.application-extra { margin-top: .85rem; }
.application-extra > .form-grid,.application-extra > .style-test { padding: 0 .8rem .8rem; }
.repeat-section { margin: .15rem .8rem .75rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.repeat-section h4 { margin: 0 0 .4rem; }
.repeat-entry { background: #f2f5f5; border: 1px solid #e0e6e6; border-radius: .5rem; padding: .65rem; margin-bottom: .5rem; }
.repeat-entry > .btn { margin-top: .2rem; }
.background-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem .7rem; }
.profile-work h4 { margin-bottom: .3rem; }
.profile-work ul { margin-top: .25rem; padding-left: 1.2rem; }
.profile-work li { overflow-wrap: anywhere; }
.style-surface { max-width: 880px; }
.style-scale { display: flex; flex-wrap: wrap; gap: .35rem .8rem; margin: .55rem 0 .8rem; color: var(--subtle); font-size: .875rem; }
.style-scale strong { color: #003a56; }
.style-questions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .78rem; }
.style-question { min-width: 0; border: 1px solid var(--line); border-radius: .52rem; margin: 0; padding: .45rem .62rem .62rem; }
.style-question legend { padding: 0 .3rem; line-height: 1.33; font-weight: 500; }
.style-question legend span { color: var(--subtle); font-size: .82rem; }
.style-choices { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .35rem; margin-top: .2rem; }
.style-choices label { position: relative; display: grid; place-items: center; color: #003a56; cursor: pointer; }
.style-choices input { position: absolute; margin: 0; width: 100%; height: 100%; min-height: unset; opacity: 0; cursor: pointer; }
.style-choices span { display: grid; place-items: center; width: 100%; min-height: 39px; border: 1px solid #c9d8df; border-radius: .35rem; background: #f3f8fa; pointer-events: none; }
.style-choices input:checked + span { background: #003a56; color: #fff; border-color: #003a56; }
.style-choices input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.style-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: .8rem; }
.style-feedback { color: #9d2030; font-size: .9rem; }
.style-report { margin-top: .9rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.style-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.style-results > div { min-width: 0; border-radius: .5rem; background: #e9f0f4; padding: .7rem; }
.style-results h4 { margin: 0; color: #003a56; }
.style-score { display: block; font: 500 1.65rem/1.25 var(--serif); }
.style-score small { font: 600 .88rem/1 var(--sans); color: var(--subtle); }
.style-results p { font-size: .94rem; }
.interview-prompt { margin-top: .45rem; padding-top: .45rem; border-top: 1px solid #cfdee5; }
.style-share { display: flex; align-items: center; margin-top: .75rem; }
.style-share input { width: 1.2rem; height: 1.2rem; min-height: unset; }
.style-method { margin-top: 1rem; }
.style-method p { margin: 0 .8rem .75rem; }
@media (max-width: 950px) {
  .jobs-filters,.jobs-filters:has(> :nth-child(5):last-child),.advanced-groups .filters,.advanced-groups .filters:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .module-inner { padding-inline: 1rem; }
}
@media (max-width: 650px) {
  .brand { font-size: 1.32rem; }
  .module-inner { align-items: flex-start; flex-direction: column; }
  .module-inner nav { gap: .12rem .22rem; }
  .module-inner a { font-size: .81rem; padding: .24rem .38rem; }
  .module-inner svg { width: 13px; height: 13px; }
  .entry-grid,.style-questions { grid-template-columns: 1fr; }
  .jobs-filters,.jobs-filters:has(> :nth-child(5):last-child),.advanced-groups .filters,.advanced-groups .filters:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 400px) {
  .style-results { grid-template-columns: 1fr; }
  .style-choices span { min-height: 42px; }
}

.preference-form { max-width: none; }
.preference-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1rem; margin-bottom: 1rem; padding: .75rem .9rem; background: #e9f1f5; border: 1px solid #c9dce5; border-radius: .56rem; }
.preference-bar strong { color: #003a56; }
.preference-bar p { margin: .12rem 0 0; color: var(--subtle); font-size: .93rem; }
.preference-actions,.fit-views { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.fit-views { gap: .15rem; padding: .18rem; border: 1px solid #bed2dd; border-radius: .5rem; }
.fit-views .btn { min-height: 36px; }
.fit-views [aria-current="page"] { background: #003a56; color: #f7fbff; }
.fit-views [aria-current="page"]:hover { background: #004565; color: #fff; }
.fit-value { white-space: nowrap; color: #003a56; }
.fit-report li { padding: .15rem 0; }
@media (max-width: 460px) {
  .preference-bar { padding: .65rem; }
}

.board-link[hidden] { display: none; }
.auth-card { max-width: 34rem; }
.preserve-lines { white-space: pre-line; }
.application-files { display: grid; gap: .85rem; }
.application-files input[type="file"] { width: 100%; }
.ranking-criteria { display: grid; gap: .65rem; }
.ranking-criteria div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.ranking-criteria dt { font-weight: 700; }
.ranking-criteria dd { margin: .15rem 0 0; }
.auth-card form { display: grid; gap: .65rem; }
.auth-card form .btn { justify-self: start; }
.auth-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 .45rem; padding-top: .75rem; border-top: 1px solid var(--line); }
#nav button[data-action="sign-out"] { color: #f4f8fa; }
#nav button[data-action="sign-out"]:hover { background: #123d50; }
