/* Careers site layout. Builds on site.css tokens (jade, gold, glass, Fraunces / Inter). */
[hidden] { display: none !important; }
.ic { width: 17px; height: 17px; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-tag { font-family: var(--serif); font-style: italic; font-size: 17px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--gold-d); line-height: 1; }
@media (max-width: 520px) { .logo-tag { display: none; } }

/* ===== hero: centered headline + finder + photo bento ===== */
.chero { padding: 70px 0 0; text-align: center; }
.chero .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--metal); }
.chero h1 { font-size: clamp(44px, 7.2vw, 96px); font-weight: 400; letter-spacing: -.038em; line-height: 1; margin: 24px auto 22px; max-width: 980px; }
.chero h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(10px); animation: wordin .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.2s + var(--i) * .08s); }
@keyframes wordin { to { opacity: 1; transform: none; filter: blur(0); } }
.chero .lead { color: var(--ink2); font-size: 19px; max-width: 600px; margin: 0 auto; }
.finder { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 38px auto 0; padding: 8px 8px 8px 20px; border-radius: 22px; text-align: left; }
.finder .ic { width: 20px; height: 20px; color: var(--muted); }
.finder input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 6px; outline: none; }
.finder .btn { white-space: nowrap; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.quick button { border: 1px solid rgba(17,35,29,.12); background: rgba(255,255,255,.55); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink2); cursor: pointer; transition: background .2s, transform .2s; }
.quick button:hover { background: #fff; transform: translateY(-1px); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 16px; margin-top: 64px; text-align: left; }
.b-photo { grid-column: span 7; grid-row: span 3; position: relative; border-radius: 34px; overflow: hidden; min-height: 420px; border: 6px solid rgba(255,255,255,.7); box-shadow: 0 50px 80px -44px rgba(10,70,52,.55); background: linear-gradient(165deg, #bfe8d6, #7fd0b0 40%, #e9dcae); }
.b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; transform: scale(1.1); animation: zoomout 2.4s cubic-bezier(.2,.7,.2,1) .3s forwards; }
@keyframes zoomout { to { transform: scale(1); } }
.b-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,40,30,.38)); pointer-events: none; }
.b-photo .chip { z-index: 2; }
.b-photo .chip.c1 { left: 22px; bottom: 22px; top: auto; }
.b-photo .chip.c2 { left: 22px; right: auto; top: 22px; bottom: auto; }
.b-stat { grid-column: span 5; padding: 26px 30px; border-radius: 28px; display: flex; flex-direction: column; justify-content: center; }
.b-stat small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 84px); line-height: 1; margin-top: 6px; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-stat p { color: var(--ink2); font-size: 15.5px; margin-top: 8px; }
.b-green { grid-column: span 5; grid-row: span 2; border-radius: 28px; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(420px 240px at 100% 0, rgba(233,211,145,.34), transparent 70%), linear-gradient(150deg, #11a577, #0a4f3b); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 30px 50px -26px rgba(0,100,70,.7); }
.b-green h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.2; }
.b-green h3 em { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-green a { color: #f1deaa; font-weight: 600; text-decoration: none; margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; }
.b-green a:hover { gap: 12px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; margin-top: 44px; } .b-photo { grid-column: 1 / -1; grid-row: auto; min-height: 340px; } .b-stat, .b-green { grid-column: span 1; grid-row: auto; padding: 22px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .b-stat, .b-green { grid-column: 1; } .finder { padding-left: 14px; } .finder .btn { padding: 12px 16px; } }

/* ===== roles board ===== */
.sec { padding: 96px 0 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.sec-head h2 { margin-top: 14px; }
.board-grid { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.filters { position: sticky; top: 96px; border-radius: 26px; padding: 22px; }
.filters h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 22px 0 10px; font-family: var(--sans); }
.filters h4:first-child { margin-top: 0; }
.filters .fld input, .filters .fld select { padding: 11px 13px; }
.deptlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.deptlist button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 0; background: transparent; padding: 9px 12px; border-radius: 12px; font: inherit; font-size: 14.5px; color: var(--ink2); cursor: pointer; text-align: left; transition: background .2s; }
.deptlist button:hover { background: rgba(255,255,255,.7); }
.deptlist button.on { background: #fff; color: var(--jade-deep); font-weight: 600; box-shadow: 0 8px 16px -10px rgba(17,50,40,.4); }
.deptlist small { color: var(--muted); font-weight: 600; font-size: 12px; background: rgba(17,35,29,.06); border-radius: 999px; padding: 1px 8px; }
.listhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 4px 14px; color: var(--muted); font-size: 14px; }
.linkbtn.clear { font-size: 13.5px; }
.jobs { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 24px 28px; border-radius: 26px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.job::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.job:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 46px -26px rgba(17,50,40,.4); }
.job:hover::after { transform: scaleX(1); }
.job .dept { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.job h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; margin: 6px 0 8px; }
.job p { color: var(--ink2); font-size: 15.5px; max-width: 640px; }
.jmeta { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jmeta li, .pillmeta span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink2); background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); }
.jmeta .ic, .pillmeta .ic { width: 15px; height: 15px; color: var(--jade-d); }
.jgo { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--jade-deep); background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); transition: background .3s, color .3s, transform .3s; }
.jgo .ic { width: 20px; height: 20px; }
.job:hover .jgo { background: var(--metal); color: #2a1f05; transform: translateX(4px); }
.noroles { text-align: center; padding: 56px 24px; border: 1px dashed rgba(17,35,29,.2); border-radius: 26px; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.noroles h3 { font-size: 28px; margin-bottom: 10px; }
.noroles p { color: var(--muted); margin: 0 auto 22px; max-width: 460px; }
.jskel { height: 150px; border-radius: 26px; background: linear-gradient(90deg, rgba(255,255,255,.4) 25%, rgba(255,255,255,.8) 37%, rgba(255,255,255,.4) 63%); background-size: 400% 100%; animation: sk 1.3s infinite; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (max-width: 900px) {
  .board-grid { grid-template-columns: 1fr; }
  .filters { position: static; padding: 18px; }
  .deptlist { display: flex; flex-wrap: wrap; gap: 6px; }
  .deptlist button { width: auto; border: 1px solid rgba(17,35,29,.12); background: rgba(255,255,255,.5); }
  .filters .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters .frow h4 { display: none; }
}
@media (max-width: 560px) { .job { grid-template-columns: 1fr; padding: 22px; } .jgo { display: none; } }

/* ===== life at skillemme ===== */
.life { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 8px; }
.life .quote { grid-column: span 3; grid-row: span 2; padding: 38px; border-radius: 30px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: radial-gradient(460px 260px at 100% 0, rgba(233,211,145,.34), transparent 70%), linear-gradient(150deg, #11a577, #0a4f3b); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 34px 56px -30px rgba(0,100,70,.75); }
.life .quote p { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.22; letter-spacing: -.015em; }
.life .quote p em { font-style: italic; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.life .quote span { font-family: var(--serif); font-style: italic; color: #f1deaa; font-size: 18px; }
.life .card { grid-column: span 3; padding: 26px 28px; border-radius: 26px; display: grid; grid-template-columns: 58px 1fr; gap: 6px 20px; align-items: start; }
.life .card h3 { font-size: 22px; font-weight: 500; margin: 2px 0 6px; }
.life .card p { color: var(--ink2); font-size: 15.5px; }
.life .card .ico { grid-row: span 2; }
@media (max-width: 860px) { .life { grid-template-columns: 1fr; } .life .quote, .life .card { grid-column: 1; grid-row: auto; padding: 24px; } .life .quote { padding: 30px 26px; } }
.ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rv.in .ico svg * { animation: draw 1.5s cubic-bezier(.5,.1,.2,1) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ===== how we hire: horizontal steps ===== */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.steps .rail, .steps .prog { position: absolute; top: 34px; left: 16.6%; right: 16.6%; height: 2px; border-radius: 2px; }
.steps .rail { background: var(--line); }
.steps .prog { background: var(--metal); box-shadow: 0 0 14px rgba(201,162,75,.6); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; text-align: center; padding: 0 12px; opacity: .45; transition: opacity .6s; }
.step.lit { opacity: 1; }
.step .dot { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; color: var(--jade-deep); background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: 0 14px 26px -16px rgba(17,50,40,.5); position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s; }
.step.lit .dot { background: var(--metal); color: #2a1f05; box-shadow: 0 0 0 7px rgba(201,162,75,.22), 0 14px 26px -16px rgba(150,110,30,.8); }
.step h3 { font-size: 26px; font-weight: 400; margin-bottom: 8px; }
.step p { color: var(--ink2); font-size: 16px; max-width: 300px; margin: 0 auto; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; padding-left: 8px; }
  .steps .rail, .steps .prog { top: 34px; bottom: 34px; left: 41px; right: auto; width: 2px; height: auto; }
  .steps .prog { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 0 20px; text-align: left; align-items: start; padding: 0; }
  .step .dot { margin: 0; grid-row: span 2; }
  .step p { margin: 0; }
}

.cta-panel { margin: 90px auto 90px; }
.cta-panel .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-panel .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-panel .btn.ghost:hover { background: rgba(255,255,255,.28); }

/* ===== role page ===== */
.crumbs { padding-top: 26px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink2); text-decoration: none; }
.crumbs a:hover { color: var(--jade-d); }
.rhead { padding: 26px 0 10px; }
.rhead .dept { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rhead h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 400; letter-spacing: -.03em; max-width: 880px; margin: 12px 0 18px; }
.pillmeta { display: flex; flex-wrap: wrap; gap: 8px; }
.pillmeta span { padding: 8px 15px; font-size: 14px; }
.rlayout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; padding: 28px 0 40px; }
.rbody { border-radius: 30px; padding: 12px 44px 40px; }
.rbody section + section { border-top: 1px solid var(--line); }
.rbody section { padding: 30px 0 4px; }
.rbody h2 { font-size: 30px; font-weight: 500; margin-bottom: 16px; }
.rbody p { font-size: 17.5px; color: var(--ink2); line-height: 1.75; }
.rbody p + p { margin-top: 14px; }
.rbody .lede { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 29px); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; margin-bottom: 14px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink2); font-size: 16.5px; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .56em; width: 9px; height: 9px; border-radius: 50%; background: var(--metal); box-shadow: 0 0 0 4px rgba(201,162,75,.18); }
.rside { position: sticky; top: 96px; border-radius: 28px; padding: 26px; }
.rside h3 { font-size: 24px; font-weight: 500; margin-bottom: 4px; }
.rside .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.rside .btn { width: 100%; }
.rside .btn + .btn { margin-top: 10px; }
.sfacts { margin: 0 0 20px; padding: 0; display: grid; gap: 0; }
.sfacts div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.sfacts div:first-child { border-top: 0; }
.sfacts .ic { margin-top: 3px; color: var(--jade-d); }
.sfacts dt { font-size: 12px; color: var(--muted); }
.sfacts dd { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.closedtag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(17,35,29,.09); color: var(--ink2); }
@media (max-width: 940px) { .rlayout { grid-template-columns: 1fr; } .rside { position: static; order: -1; } .rbody { padding: 6px 24px 30px; } }
.skel-block { height: 20px; border-radius: 8px; margin: 14px 0; background: linear-gradient(90deg, rgba(255,255,255,.4) 25%, rgba(255,255,255,.8) 37%, rgba(255,255,255,.4) 63%); background-size: 400% 100%; animation: sk 1.3s infinite; }

/* ===== apply ===== */
.apply-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding: 26px 0 70px; }
.apply-grid .panel { padding: 36px; }
.aside-card { position: sticky; top: 96px; border-radius: 28px; padding: 26px; }
.aside-card small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aside-card h3 { font-size: 24px; font-weight: 500; margin: 8px 0 8px; }
.aside-card p { color: var(--ink2); font-size: 15px; }
.aside-card .pillmeta { margin-top: 14px; }
.aside-card .pillmeta span { font-size: 12.5px; padding: 5px 11px; }
.aside-card a.more { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14.5px; }
.fld input[type=file] { padding: 11px 13px; background-image: none; }
.fld .hint a { color: var(--jade-d); }
.fld.roleselect select { font-family: var(--serif); font-size: 17px; }
.notice { padding: 12px 15px; border-radius: 13px; font-size: 14.5px; margin-bottom: 18px; background: linear-gradient(180deg, rgba(246,232,190,.8), rgba(233,208,140,.5)); border: 1px solid rgba(201,162,75,.5); color: #6b4d0c; }
.demo-banner { margin: 0 0 18px; padding: 10px 16px; border-radius: 14px; font-size: 13.5px; background: linear-gradient(180deg, rgba(246,232,190,.8), rgba(233,208,140,.5)); border: 1px solid rgba(201,162,75,.5); color: #6b4d0c; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } .aside-card { position: static; order: -1; } .apply-grid .panel { padding: 22px; } }

/* login (reuses .login-grid / .panel.team) */
.panel.team .fld label { color: rgba(255,255,255,.9); }
.panel.team .fld:focus-within label { color: #fff; }
.panel.team .btn.gold { width: 100%; margin-top: 18px; }
.panel.team .err { background: rgba(255,244,230,.95); }
.panel.team .linkbtn { color: #f1deaa; }
.panel.team .pwrow .linkbtn { color: var(--jade-deep); }
.panel.team .fld input { background-color: rgba(255,255,255,.93); }
#toast { z-index: 90; }
.pwrow { position: relative; }
.pwrow .linkbtn { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--jade-d); text-decoration: none; font-weight: 600; }
.demo-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; }

/* ===== rv reveal / hero motion shared ===== */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.d1 { transition-delay: .12s; } .rv.d2 { transition-delay: .24s; } .rv.d3 { transition-delay: .36s; }
.rv.in { opacity: 1; transform: none; }
.job.rv.in:hover { transform: translateY(-4px); }

/* ===== admin ===== */
/* admin */
.admin-wrap { padding: 26px 0 80px; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.admin-top .who-am-i { color: var(--muted); font-size: 14px; margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 26px 0 22px; }
.stat { padding: 18px 20px; border-radius: 22px; }
.stat small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.1; margin-top: 6px; color: var(--ink); }
.stat.hot b { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:first-child { grid-column: 1 / -1; } }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .fld { flex: 1 1 240px; }
.toolbar select, .toolbar input { padding: 11px 14px; }
.toolbar select { width: auto; flex: 0 0 auto; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 15px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.seg button.on { background: #fff; color: var(--jade-deep); box-shadow: 0 6px 14px -8px rgba(17,50,40,.4); }
.toolbar .upd { color: var(--muted); font-size: 13px; margin-left: auto; }

.tbl-wrap { border-radius: 24px; padding: 6px 6px 2px; overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 12px; font-weight: 600; white-space: nowrap; }
.tbl td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { cursor: pointer; transition: background .15s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.7); }
.who b { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--ink); }
.who small { color: var(--muted); font-size: 13px; }
.who .flag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 600; background: rgba(201,162,75,.2); color: #6b4d0c; vertical-align: middle; }
.stars { color: var(--gold); letter-spacing: 2px; white-space: nowrap; font-size: 14px; }
.stars i { font-style: normal; color: rgba(17,35,29,.16); }
.emptyrow { text-align: center; padding: 46px 20px !important; color: var(--muted); cursor: default; }

/* status pills and selects */
.stsel, .spill { appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.stsel { padding-right: 28px; cursor: pointer; background-repeat: no-repeat; background-position: right 10px center; background-size: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2311231d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.s-new { background-color: #f0dd9f; color: #6b4d0c; }
.s-screened { background-color: rgba(0,168,107,.10); color: #0a6a46; }
.s-call { background-color: rgba(0,168,107,.18); color: #0a6a46; }
.s-interviewed { background-color: rgba(0,168,107,.30); color: #07503a; }
.s-offer { background-color: #e3c670; color: #2a1f05; }
.s-joined { background-color: var(--jade-d); color: #fff; }
.s-rejected { background-color: rgba(17,35,29,.09); color: var(--ink2); }
.s-hold { background-color: transparent; color: var(--ink2); box-shadow: inset 0 0 0 1.5px rgba(17,35,29,.22); }
.stsel.s-joined { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.stsel option { color: var(--ink); background: #fff; }

/* board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 14px; align-items: start; }
.bcol { padding: 14px; border-radius: 22px; min-height: 200px; }
.bcol h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; margin: 2px 4px 6px; }
.bcol.over { outline: 2px dashed var(--gold); outline-offset: -4px; }
.bcard { background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); border-radius: 16px; padding: 12px 14px; margin-top: 10px; cursor: pointer; box-shadow: 0 10px 20px -16px rgba(17,50,40,.5); transition: transform .2s, box-shadow .2s; }
.bcard:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -16px rgba(17,50,40,.55); }
.bcard[draggable=true] { cursor: grab; }
.bcard b { font-family: var(--serif); font-weight: 500; font-size: 16.5px; display: block; }
.bcard small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; }
.bcard .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--ink2); }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(17,35,29,.34); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 70; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(580px, 100%); z-index: 71; transform: translateX(104%); transition: transform .38s cubic-bezier(.2,.7,.2,1); overflow-y: auto; padding: 30px 30px 40px;
  background: rgba(249,248,243,.94); backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%); border-left: 1px solid rgba(255,255,255,.9); box-shadow: -34px 0 70px -34px rgba(17,50,40,.55); }
.drawer.show { transform: none; }
.drawer .close { position: absolute; right: 18px; top: 16px; }
.drawer h2 { font-size: 32px; font-weight: 500; padding-right: 70px; }
.drawer .sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.drawer h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 26px 0 10px; }
.kv { display: grid; grid-template-columns: 128px 1fr; gap: 8px 14px; font-size: 14.5px; }
.kv dt { color: var(--muted); font-size: 13px; padding-top: 1px; }
.kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.kv a { color: var(--jade-d); }
.answer { background: rgba(255,255,255,.7); border: 1px solid rgba(17,35,29,.08); border-radius: 14px; padding: 12px 15px; font-size: 14.5px; color: var(--ink2); white-space: pre-wrap; word-break: break-word; }
.answer + .qlabel { margin-top: 14px; }
.qlabel { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.flagbox { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(180deg, rgba(246,232,190,.7), rgba(233,208,140,.45)); border: 1px solid rgba(201,162,75,.5); color: #6b4d0c; font-size: 14px; font-weight: 600; }
.editgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editgrid .full { grid-column: 1 / -1; }
.dactions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 860px) {
  .tbl-wrap { padding: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tbody tr { margin-bottom: 12px; padding: 14px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-s); }
  .tbl td { border: 0; padding: 3px 0; }
  .tbl td.hide-sm { display: none; }
  .tbl td.stcell { margin-top: 8px; }
  .toolbar .upd { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) { .drawer { padding: 24px 20px 34px; } .kv { grid-template-columns: 1fr; gap: 2px; } .kv dt { margin-top: 8px; } .editgrid { grid-template-columns: 1fr; } }

/* admin: tabs + roles */
.tabs { display: inline-flex; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.55); border: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tabs button small { font-size: 12px; background: rgba(17,35,29,.08); border-radius: 999px; padding: 1px 8px; }
.tabs button.on { background: #fff; color: var(--jade-deep); box-shadow: 0 6px 14px -8px rgba(17,50,40,.4); }
.rolehead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.rolehead p { color: var(--muted); font-size: 14.5px; max-width: 560px; }
.rolegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.rcard { padding: 22px 24px; border-radius: 24px; display: flex; flex-direction: column; gap: 10px; }
.rcard.closed { opacity: .78; }
.rcard .top2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rcard h3 { font-size: 21px; font-weight: 500; line-height: 1.2; }
.rcard .meta { color: var(--muted); font-size: 13.5px; }
.rcard .cnt { font-size: 13.5px; color: var(--ink2); }
.rcard .cnt b { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); }
.rcard .ract { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.rpill { flex: none; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.rpill.open { background: rgba(0,168,107,.14); color: #0a6a46; }
.rpill.closed { background: rgba(17,35,29,.09); color: var(--ink2); }
.btn.danger { color: #8a2a1a; background: rgba(255,255,255,.55); border: 1px solid rgba(160,50,30,.3); }
.btn.danger:hover { background: rgba(255,235,230,.9); }
.drawer textarea { min-height: 84px; }
.drawer .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
