/**
 * The Notice Kit: the pieces of a jobs page a student actually acts on —
 * the live strip up top with its ticking day clock, the Apply card, every
 * document button, the recruitment timeline. Each piece owns five skins
 * (data-v="1..5", drawn at random on every load by notice.js); skin 1 is
 * also the no-JS default look.
 */

/* ============================== THE DAY CLOCK ============================== */

.sm-clock { display: inline-flex; align-items: stretch; gap: 7px; }
.sm-clock-cell {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 56px; padding: 7px 9px 6px; border-radius: 12px;
	background: #ffffff; border: 1px solid #d7e6dc; box-shadow: 0 2px 6px rgba(13, 39, 84, .06);
}
.sm-clock-cell b {
	font-size: 24px; line-height: 1; font-weight: 800; color: #0f5132;
	font-variant-numeric: tabular-nums; display: inline-block;
}
.sm-clock-cell i { font-style: normal; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #7f8e86; margin-top: 3px; }
.sm-clock-sep { align-self: center; font-weight: 800; color: #9fb3a8; font-size: 18px; padding-bottom: 12px; }
.sm-clock b.flip { animation: smc-flip .45s ease; }
@keyframes smc-flip { 0% { transform: rotateX(90deg); opacity: 0; } 60% { transform: rotateX(-14deg); } 100% { transform: rotateX(0); opacity: 1; } }
.sm-clock.is-over .sm-clock-cell b { color: #b02a37; }
/* Hours/min/sec hold a dash until the clock boots; keep the row steady. */
.sm-clock-cell b:empty:before { content: "–"; }

/* The mini clock (Apply card): same cells, pocket size, no seconds flash. */
.sm-clock--mini { gap: 5px; }
.sm-clock--mini .sm-clock-cell { min-width: 44px; padding: 5px 6px 4px; border-radius: 9px; }
.sm-clock--mini .sm-clock-cell b { font-size: 17px; }
.sm-clock--mini .sm-clock-cell i { font-size: 8.5px; letter-spacing: 1.2px; }
.sm-clock--mini .sm-clock-sep { font-size: 14px; padding-bottom: 9px; }

@media (max-width: 480px) {
	.sm-clock { gap: 5px; }
	.sm-clock-cell { min-width: 48px; }
	.sm-clock-cell b { font-size: 20px; }
}

/* ========================== THE LIVE STRIP (TOP) ========================== */

.sm-live { border-radius: 16px; padding: 16px 18px; margin: 0 0 20px; position: relative; overflow: hidden; }
/* Open strip: words on the left, the clock on the right (wraps under on phones). */
.sm-live.is-open { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.sm-live-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex: 1 1 170px; min-width: 0; }
.sm-live-date { flex-basis: 100%; }
.sm-live.is-open .sm-clock { flex: none; margin-left: auto; }
.sm-live-dot { width: 11px; height: 11px; border-radius: 50%; background: #1db954; position: relative; flex: none; }
.sm-live-dot:after {
	content: ""; position: absolute; inset: -5px; border-radius: 50%;
	border: 2px solid #1db954; opacity: .6; animation: sml-ping 1.6s ease-out infinite;
}
@keyframes sml-ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.sm-live-kick { font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #0f5132; }
.sm-live-date { font-size: 14px; color: #33413a; }
.sm-live-date time { font-weight: 800; color: #0d2754; }

/* Closed state: calm, forward-looking, no clock. */
.sm-live.is-closed { background: #f2f6fd; border: 1px solid #cdddf5; color: #143a66; font-size: 14.5px; line-height: 1.55; }
.sm-live.is-closed b { color: #0d2754; }

/* --- Open skin 1 · "Garden glow": soft green wash, pill cells. --- */
.sm-live.is-open { background: linear-gradient(135deg, #eefaf1, #f7fdf4 55%, #effcf6); border: 1px solid #bfe3cd; }

/* --- Open skin 2 · "The ticket": stub edge, dashed tear line. --- */
.sm-live.is-open[data-v="2"] { background: #fffdf4; border: 1.5px solid #e7d9a8; border-radius: 14px; }
.sm-live.is-open[data-v="2"]:before,
.sm-live.is-open[data-v="2"]:after {
	content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
	background: var(--bg, #fff); border: 1.5px solid #e7d9a8; top: 50%;
}
.sm-live.is-open[data-v="2"]:before { left: -13px; transform: translateY(-50%); }
.sm-live.is-open[data-v="2"]:after { right: -13px; transform: translateY(-50%); }
.sm-live.is-open[data-v="2"] .sm-clock { border-left: 2px dashed #e7d9a8; padding-left: 16px; }
@media (max-width: 560px) {
	.sm-live.is-open[data-v="2"] .sm-clock { border-left: 0; padding-left: 0; border-top: 2px dashed #e7d9a8; padding-top: 10px; }
}
.sm-live.is-open[data-v="2"] .sm-live-kick { color: #8a6d1a; }
.sm-live.is-open[data-v="2"] .sm-clock-cell { background: #fff8e1; border-color: #eadfae; box-shadow: none; }
.sm-live.is-open[data-v="2"] .sm-clock-cell b { color: #6b5310; }
.sm-live.is-open[data-v="2"] .sm-live-dot,
.sm-live.is-open[data-v="2"] .sm-live-dot:after { background: #d9a406; border-color: #d9a406; }

/* --- Open skin 3 · "Scoreboard": ink board, glowing amber digits. --- */
.sm-live.is-open[data-v="3"] { background: #101b2e; border: 1px solid #22314d; }
.sm-live.is-open[data-v="3"] .sm-live-kick { color: #7ee2a0; }
.sm-live.is-open[data-v="3"] .sm-live-date { color: #aebad0; }
.sm-live.is-open[data-v="3"] .sm-live-date time { color: #fff; }
.sm-live.is-open[data-v="3"] .sm-clock-cell { background: #0a1322; border-color: #26354f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03); }
.sm-live.is-open[data-v="3"] .sm-clock-cell b { color: #ffc107; text-shadow: 0 0 14px rgba(255, 193, 7, .55); }
.sm-live.is-open[data-v="3"] .sm-clock-cell i { color: #6d7d99; }
.sm-live.is-open[data-v="3"] .sm-clock-sep { color: #3d4f70; }

/* --- Open skin 4 · "Sticky note": warm paper, playful tilt on the cells. --- */
.sm-live.is-open[data-v="4"] { background: #fef8ec; border: 2px dashed #e7cf9a; }
.sm-live.is-open[data-v="4"] .sm-live-kick { color: #92610e; }
.sm-live.is-open[data-v="4"] .sm-clock-cell { border-color: #ecd9ab; background: #fff; }
.sm-live.is-open[data-v="4"] .sm-clock-cell b { color: #b45309; }
.sm-live.is-open[data-v="4"] .sm-clock-cell:nth-child(odd) { transform: rotate(-1.4deg); }
.sm-live.is-open[data-v="4"] .sm-clock-cell:nth-child(even) { transform: rotate(1.2deg); }
.sm-live.is-open[data-v="4"] .sm-live-dot,
.sm-live.is-open[data-v="4"] .sm-live-dot:after { background: #f59e0b; border-color: #f59e0b; }

/* --- Open skin 5 · "Hard card": thick border, hard shadow, tile digits. --- */
.sm-live.is-open[data-v="5"] { background: #fff; border: 2.5px solid #0d2754; box-shadow: 6px 6px 0 #ffc107; border-radius: 12px; }
.sm-live.is-open[data-v="5"] .sm-live-kick { color: #0d2754; }
.sm-live.is-open[data-v="5"] .sm-clock-cell { background: #0d2754; border-color: #0d2754; border-radius: 8px; box-shadow: 3px 3px 0 rgba(13, 39, 84, .18); }
.sm-live.is-open[data-v="5"] .sm-clock-cell b { color: #fff; }
.sm-live.is-open[data-v="5"] .sm-clock-cell i { color: #9fb0d2; }
.sm-live.is-open[data-v="5"] .sm-clock-cell--d { background: #157347; border-color: #157347; }

/* ============================ THE APPLY CARD ============================ */

.sm-applycard .sm-applyleft { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sm-applycard .sm-clock--mini { margin: 2px 0 1px; }

/* Button anatomy: icon · two-line label (action + official domain) · arrow. */
.sm-apply-btn { display: flex !important; align-items: center; gap: 12px; text-align: left; position: relative; overflow: hidden; }
.sm-apply-ico { font-size: 21px; flex: none; }
.sm-apply-txt { flex: 1; min-width: 0; display: block; }
.sm-apply-txt b { display: block; font-size: 15.5px; line-height: 1.25; }
.sm-apply-txt i { display: block; font-style: normal; font-size: 11px; opacity: .82; font-weight: 600; letter-spacing: .4px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-apply-arr { flex: none; font-size: 18px; transition: transform .2s; }
.sm-apply-btn:hover .sm-apply-arr { transform: translateX(4px); }
.sm-apply-shine { position: absolute; top: 0; bottom: 0; width: 46px; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); left: -60px; animation: sma-shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes sma-shine { 0%, 55% { left: -60px; } 85%, 100% { left: 110%; } }

/* Document rows: file-type tag · label · action arrow. */
.sm-applyrow { display: flex !important; align-items: center; gap: 9px; }
.sm-doctag {
	flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; padding: 3px 6px;
	border-radius: 5px; background: #fdecec; color: #b02a37; border: 1px solid #f3cdd1;
}
.sm-doctag--web { background: #eef4fd; color: #1d4ed8; border-color: #cfdef7; }
.sm-applyrow > span:nth-child(2) { flex: 1; min-width: 0; }
.sm-applyrow-go { flex: none; opacity: 0; transform: translateY(-3px); transition: opacity .2s, transform .2s; font-size: 13px; }
.sm-applyrow:hover .sm-applyrow-go { opacity: 1; transform: none; }

/* --- Apply skin 2 · "Night rail": ink card, amber button. --- */
.sm-applycard[data-v="2"] { background: #101b2e; border-color: #22314d; }
.sm-applycard[data-v="2"] .o4-railhead { color: #e8edf7; border-color: #22314d; }
.sm-applycard[data-v="2"] .sm-apply-btn { background: linear-gradient(135deg, #ffc107, #ff9800); color: #231a02; box-shadow: 0 12px 26px rgba(255, 193, 7, .25); }
.sm-applycard[data-v="2"] .sm-apply-btn:hover { color: #231a02; box-shadow: 0 16px 32px rgba(255, 193, 7, .4); }
.sm-applycard[data-v="2"] .sm-applyrow { background: #16233c; border-color: #26354f; color: #cfd9ea; }
.sm-applycard[data-v="2"] .sm-applyrow:hover { border-color: #ffc107; color: #ffc107; }
.sm-applycard[data-v="2"] .sm-applyleft.is-open { background: #0d2238; border-color: #1f4a37; color: #7ee2a0; }
.sm-applycard[data-v="2"] .sm-clock-cell { background: #0a1322; border-color: #26354f; }
.sm-applycard[data-v="2"] .sm-clock-cell b { color: #ffc107; }

/* --- Apply skin 3 · "Outline bloom": giant outlined button that floods. --- */
.sm-applycard[data-v="3"] .sm-apply-btn {
	background: #fff; color: #157347; border: 2.5px solid #157347; box-shadow: none;
	transition: background .25s, color .25s, transform .2s;
}
.sm-applycard[data-v="3"] .sm-apply-btn:hover { background: #157347; color: #fff; transform: translateY(-2px); }
.sm-applycard[data-v="3"] .sm-apply-shine { display: none; }
.sm-applycard[data-v="3"] .sm-applyrow { border-style: dashed; }

/* --- Apply skin 4 · "Boarding pass": stub notch on the button. --- */
.sm-applycard[data-v="4"] .sm-applybody { background: #fbfdf9; }
.sm-applycard[data-v="4"] .sm-apply-btn {
	border-radius: 10px;
	-webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat,
		radial-gradient(circle 9px at 100% 50%, transparent 97%, #000) right / 50% 100% no-repeat;
	mask: radial-gradient(circle 9px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat,
		radial-gradient(circle 9px at 100% 50%, transparent 97%, #000) right / 50% 100% no-repeat;
}
.sm-applycard[data-v="4"] .sm-apply-txt { border-left: 2px dashed rgba(255, 255, 255, .5); padding-left: 12px; }
.sm-applycard[data-v="4"] .sm-applyrow { border-radius: 999px; }

/* --- Apply skin 5 · "Hard card": thick lines, hard offset shadow. --- */
.sm-applycard[data-v="5"] { border: 2.5px solid #0d2754; box-shadow: 5px 5px 0 #d9e2f3; }
.sm-applycard[data-v="5"] .sm-apply-btn { border-radius: 9px; background: #157347; box-shadow: 4px 4px 0 #0d2754; transition: transform .15s, box-shadow .15s; }
.sm-applycard[data-v="5"] .sm-apply-btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #0d2754; }
.sm-applycard[data-v="5"] .sm-applyrow { border: 1.5px solid #0d2754; border-radius: 8px; }
.sm-applycard[data-v="5"] .sm-applyrow:hover { background: #fff8e1; color: #0d2754; }

/* ===================== DOCUMENT BUTTONS INSIDE THE POST ===================== */

/* Any PDF link in the body grows into a proper download button (notice.js
   tags it .sm-pdfa and adds the PDF chip + arrow). */
.entry a.sm-pdfa {
	display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
	padding: 10px 16px 10px 11px; margin: 3px 0; border-radius: 11px;
	background: #f6faf7; border: 1.5px solid #cfe5d6; color: #0f5132 !important;
	font-weight: 700; font-size: 14px; line-height: 1.35; text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(13, 39, 84, .05); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.entry a.sm-pdfa:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13, 39, 84, .12); border-color: #157347; }
.sm-pdfa-tag {
	flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; padding: 3px 6px;
	border-radius: 5px; background: #c0392b; color: #fff;
}
.sm-pdfa-go { flex: none; font-size: 14px; transition: transform .2s; }
.entry a.sm-pdfa:hover .sm-pdfa-go { transform: translateY(3px); }
/* Inside tables the chip slims down so rows stay tidy. */
.entry td a.sm-pdfa { padding: 6px 10px 6px 7px; margin: 0; font-size: 12.5px; border-radius: 8px; }

.entry a.sm-pdfa[data-v="2"] { background: #101b2e; border-color: #101b2e; color: #fff !important; }
.entry a.sm-pdfa[data-v="2"] .sm-pdfa-tag { background: #ffc107; color: #231a02; }
.entry a.sm-pdfa[data-v="3"] { background: #fff; border: 2px solid #c0392b; color: #c0392b !important; border-radius: 999px; }
.entry a.sm-pdfa[data-v="3"]:hover { background: #c0392b; color: #fff !important; }
.entry a.sm-pdfa[data-v="3"]:hover .sm-pdfa-tag { background: #fff; color: #c0392b; }
.entry a.sm-pdfa[data-v="4"] { background: #fff8e1; border: 1.5px dashed #d9a406; color: #6b5310 !important; }
.entry a.sm-pdfa[data-v="4"] .sm-pdfa-tag { background: #d9a406; }
.entry a.sm-pdfa[data-v="5"] { background: #fff; border: 2px solid #0d2754; color: #0d2754 !important; border-radius: 8px; box-shadow: 3px 3px 0 #ffc107; }
.entry a.sm-pdfa[data-v="5"]:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 #ffc107; }

/* The official-links list the pipeline binds into the body. */
.ec-doclist { list-style: none !important; margin: 14px 0 20px !important; padding: 0 !important; display: grid; gap: 8px; }
.ec-doclist li { margin: 0 !important; }
.ec-doclist li:before { display: none !important; }
.ec-doc {
	display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px;
	background: #fbfcfe; border: 1.5px solid #dfe6f0; color: #16181d !important;
	font-weight: 600; font-size: 14px; text-decoration: none !important;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ec-doc:hover { transform: translateX(4px); border-color: #0d2754; box-shadow: 0 8px 18px rgba(13, 39, 84, .1); }
.ec-doc .sm-doctag { margin: 0; }
.ec-doc-label { flex: 1; min-width: 0; }
.ec-doc-go { flex: none; color: #8a94a3; font-size: 14px; transition: transform .2s, color .2s; }
.ec-doc:hover .ec-doc-go { color: #0d2754; transform: translateX(3px); }

.ec-doclist[data-v="2"] .ec-doc { background: #101b2e; border-color: #101b2e; color: #e8edf7 !important; }
.ec-doclist[data-v="2"] .ec-doc:hover { border-color: #ffc107; }
.ec-doclist[data-v="2"] .ec-doc-go { color: #ffc107; }
.ec-doclist[data-v="3"] { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ec-doclist[data-v="3"] .ec-doc { border-width: 2px; border-radius: 999px; justify-content: flex-start; }
.ec-doclist[data-v="4"] .ec-doc { background: #fdfaf2; border: 1.5px dashed #d8c89a; border-radius: 10px; }
.ec-doclist[data-v="5"] .ec-doc { background: #fff; border: 2px solid #0d2754; border-radius: 9px; box-shadow: 3px 3px 0 #d9e2f3; }
.ec-doclist[data-v="5"] .ec-doc:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 #d9e2f3; }

/* ================= THE PAPER VIEW (in-page PDF) & THE LEAVING-GATE ================= */

html.sm-lock { overflow: hidden; }
.sm-paper, .sm-gate { position: fixed; inset: 0; z-index: 99990; display: none; }
.sm-paper.is-open, .sm-gate.is-open { display: block; }
/* a table of the notice itself carries the same class name (sm-table sm-paper): it is a table on the page, never the
   hidden viewer. Until 2.90.1 every such table was on the page and not on the screen. */
table.sm-paper { position: static; inset: auto; z-index: auto; display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* a wide table of a notice slides sideways; its words and figures are never broken in the middle */
table.sm-paper th, table.sm-paper td { word-break: normal; overflow-wrap: normal; hyphens: none; min-width: 4.2em; }
.sm-paper-veil, .sm-gate-veil { position: absolute; inset: 0; background: rgba(9, 15, 28, .68); backdrop-filter: blur(3px); }
@keyframes smp-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* The paper view: the document big and straight, the rail beside it. */
.sm-paper-box {
	position: absolute; inset: 24px; max-width: 1240px; margin: 0 auto;
	background: #f3f5f9; border-radius: 18px; overflow: hidden;
	display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(5, 10, 25, .5);
	animation: smp-in .28s ease;
}
.sm-paper-head {
	display: flex; align-items: center; gap: 12px; padding: 12px 18px;
	background: linear-gradient(120deg, #0d2754, #1e3a6e); color: #fff;
}
.sm-paper-tag { flex: none; font-size: 10px; font-weight: 800; letter-spacing: 1px; background: #c0392b; border-radius: 5px; padding: 3px 7px; }
.sm-paper-title { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-paper-dl, .sm-paper-full, .sm-paper-off {
	flex: none; color: #fff !important; text-decoration: none !important; font-size: 12.5px; font-weight: 700;
	border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 9px; padding: 6px 12px; transition: background .2s, border-color .2s;
}
.sm-paper-dl:hover, .sm-paper-full:hover, .sm-paper-off:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.sm-paper-dl, .sm-paper-off { background: #157347; border-color: #157347; }
.sm-paper-off { white-space: nowrap; } /* the official download: our copy shows, the body's own file downloads */
.sm-paper-x, .sm-gate-x {
	flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .14); color: #fff; font-size: 15px; display: grid; place-items: center;
}
.sm-paper-x:hover, .sm-gate-x:hover { background: #c0392b; }
.sm-paper-body { flex: 1; display: flex; min-height: 0; }
.sm-paper-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 14px; }
.sm-paper-frame { flex: 1; width: 100%; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 6px 24px rgba(13, 39, 84, .14); }
.sm-paper-underad { flex: none; }
.sm-paper-underad .ad-slot { margin-top: 10px; }
.sm-paper-rail { flex: 0 0 300px; padding: 14px 14px 14px 0; overflow-y: auto; scrollbar-width: thin; display: grid; gap: 12px; align-content: start; }

/* The house: our own cards inside both popups. */
.sm-house { display: grid; gap: 8px; }
.sm-house-head { font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #6b7686; }
.sm-house-door, .sm-house-card {
	display: block; background: #fff; border: 1px solid #dfe5ef; border-radius: 12px; padding: 11px 13px;
	text-decoration: none !important; color: #16181d !important; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.sm-house-door:hover, .sm-house-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13, 39, 84, .12); border-color: #0d2754; }
.sm-house-door b, .sm-house-card b { display: block; font-size: 13px; line-height: 1.4; color: #0d2754; }
.sm-house-door span, .sm-house-card span { display: block; font-size: 11.5px; color: #6b7686; margin-top: 3px; line-height: 1.45; }

/* The leaving-gate: small, honest, one big door. */
.sm-gate-box {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto;
	background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px rgba(5, 10, 25, .5);
	animation: smp-in .24s ease;
}
.sm-gate-x { position: absolute; top: 12px; right: 12px; background: #eef1f6; color: #44506a; }
.sm-gate-kick { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #157347; margin-bottom: 6px; }
.sm-gate-host { display: block; font-size: 21px; line-height: 1.2; color: #0d2754; word-break: break-all; }
.sm-gate-note { font-size: 12.5px; line-height: 1.55; color: #5b6676; margin: 10px 0 14px; }
.sm-gate-go {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: linear-gradient(120deg, #157347, #1d9a5f); color: #fff !important; text-decoration: none !important;
	font-weight: 800; font-size: 14.5px; border-radius: 12px; padding: 13px 16px;
	box-shadow: 0 10px 24px rgba(21, 115, 71, .3); transition: transform .18s, box-shadow .18s;
}
.sm-gate-go:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(21, 115, 71, .42); }
.sm-gate-go i { font-style: normal; transition: transform .2s; }
.sm-gate-go:hover i { transform: translateX(4px); }
.sm-gate-extra { display: grid; gap: 12px; margin-top: 16px; }

/* Accent draws: each opening dresses the frames a little differently. */
.sm-paper[data-v="2"] .sm-paper-head { background: linear-gradient(120deg, #0f5132, #157347); }
.sm-paper[data-v="3"] .sm-paper-head { background: #101b2e; border-bottom: 3px solid #ffc107; }
.sm-paper[data-v="4"] .sm-paper-box { background: #fdf9ef; }
.sm-paper[data-v="5"] .sm-paper-box { border: 2.5px solid #0d2754; }
.sm-gate[data-v="2"] .sm-gate-kick { color: #b45309; }
.sm-gate[data-v="3"] .sm-gate-box { border-top: 5px solid #ffc107; }
.sm-gate[data-v="4"] .sm-gate-box { background: #fffdf6; }
.sm-gate[data-v="5"] .sm-gate-box { border: 2.5px solid #0d2754; box-shadow: 8px 8px 0 rgba(255, 193, 7, .8); }

@media (max-width: 860px) {
	.sm-paper-box { inset: 10px; }
	.sm-paper-body { flex-direction: column; overflow-y: auto; }
	.sm-paper-main { padding: 10px; min-height: 0; }
	.sm-paper-frame { min-height: 58vh; }
	.sm-paper-rail { flex: none; padding: 0 10px 14px; }
	.sm-paper-dl span, .sm-paper-full { display: none; } /* phones keep Download and ✕; full-tab adds nothing there */
}
@media (prefers-reduced-motion: reduce) { .sm-paper-box, .sm-gate-box { animation: none; } }

/* ============================ RAIL CARD CHROME ============================ */

/* Every rail card (all templates) draws one of five frames per load —
   notice.js sets data-rv on cards that don't carry a component skin. */
.o4-railcard[data-rv="2"] .o4-railhead { background: linear-gradient(120deg, #0f5132, #157347); }
.o4-railcard[data-rv="3"] .o4-railhead { background: #101b2e; border-bottom: 3px solid #ffc107; }
.o4-railcard[data-rv="4"] .o4-railhead { background: #fff4d6; color: #51380a; border-bottom: 1px solid #ead9ab; }
.o4-railcard[data-rv="5"] { border: 2px solid #0d2754; box-shadow: 4px 4px 0 #e4eaf6; }
.o4-railcard[data-rv="5"]:hover { box-shadow: 4px 4px 0 #ffc107; }
.o4-railcard[data-rv="4"] { border-color: #ead9ab; }
.o4-railcard[data-rv="2"] { border-color: #cfe5d6; }

/* ===================== THE NOTICE BOARD'S OWN RAIL CARDS ===================== */

/* "Read a notice in this order" — step-number skins. */
.jd-rail[data-v="2"] .jd-rail-step > b { border-radius: 7px; background: linear-gradient(135deg, #0f5132, #1d9a5f); }
.jd-rail[data-v="3"] .jd-rail-step > b { background: #fff; color: var(--o-primary, #0d2754); border: 2px solid var(--o-primary, #0d2754); box-shadow: none; }
.jd-rail[data-v="4"] .jd-rail-step > b { background: #ffc107; color: #231a02; }
.jd-rail[data-v="4"] .jd-rail-step:not(:last-child):before { background: #ead9ab; }
.jd-rail[data-v="5"] .jd-rail-step > b { border-radius: 6px; box-shadow: 2px 2px 0 #ffc107; }
.jd-rail[data-v="5"] .jd-rail-step:not(:last-child):before { width: 0; border-left: 2px dashed var(--o-line, #e3e8ef); }

/* "Closing next" — date-pill skins. */
.o4-railcard[data-vibe="cal"][data-v="2"] .jd-rail-cal b { background: #101b2e; color: #ffc107; border-color: #101b2e; }
.o4-railcard[data-vibe="cal"][data-v="3"] .jd-rail-cal b { background: #fff; border: 2px solid #157347; border-radius: 999px; }
.o4-railcard[data-vibe="cal"][data-v="4"] .jd-rail-cal b { background: #fff8e1; color: #6b5310; border-color: #eadfae; }
.o4-railcard[data-vibe="cal"][data-v="5"] .jd-rail-cal b { border: 1.5px solid #0d2754; color: #0d2754; background: #fff; border-radius: 6px; box-shadow: 2px 2px 0 #d9e2f3; }

/* "By kind" chips — fill-on-hover skins. */
.o4-railcard[data-vibe="chips"][data-v="2"] .o4-railchips a:hover { background: #157347; border-color: #157347; }
.o4-railcard[data-vibe="chips"][data-v="3"] .o4-railchips a { border-radius: 999px; }
.o4-railcard[data-vibe="chips"][data-v="4"] .o4-railchips a:hover { background: #ffc107; border-color: #ffc107; color: #231a02; }
.o4-railcard[data-vibe="chips"][data-v="5"] .o4-railchips a { border: 1.5px solid #0d2754; border-radius: 7px; }
.o4-railcard[data-vibe="chips"][data-v="5"] .o4-railchips a:hover { box-shadow: 2px 2px 0 #ffc107; }

/* "Before you apply" — the honest note's tints. */
.jd-rail-honest p { border-left: 3px solid #ffc107; padding-left: 12px; }
.jd-rail-honest[data-v="2"] p { border-color: #157347; }
.jd-rail-honest[data-v="3"] p { border-color: #0d2754; background: #f6f8fb; padding: 10px 12px; border-radius: 0 8px 8px 0; }
.jd-rail-honest[data-v="4"] p { background: #fffdf4; border-color: #d9a406; padding: 10px 12px; border-radius: 0 8px 8px 0; }
.jd-rail-honest[data-v="5"] p { border: 1.5px dashed #c6cedc; border-radius: 8px; padding: 10px 12px; }

/* ============================ CONTENT TABLES ============================ */

/* Every plain table in a post body (fees, dates, vacancies, patterns) reads
   like a card: clear head, roomy rows, zebra stripes, a row glow on hover,
   the label column bolded. Classed tables and eligibility keep their own. */
.entry table:not([class]) {
	width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0;
	font-size: 14.5px; line-height: 1.55;
	border: 1px solid #e0e6ef; border-radius: 14px; overflow: hidden;
	box-shadow: 0 6px 20px rgba(13, 39, 84, .06); background: #fff;
}
.entry table:not([class]) th {
	background: linear-gradient(135deg, #0d2754, #1e3a6e); color: #fff;
	text-align: left; padding: 11px 14px; font-size: 12px; font-weight: 800;
	letter-spacing: 1px; text-transform: uppercase; border: 0;
}
.entry table:not([class]) td {
	padding: 11px 14px; border: 0; border-top: 1px solid #edf1f7;
	vertical-align: top; font-variant-numeric: tabular-nums;
}
.entry table:not([class]) tr:first-child td { border-top: 0; }
.entry table:not([class]) tbody tr:nth-child(even) td { background: #f7f9fc; }
.entry table:not([class]) tbody tr:hover td { background: #fff8e1; transition: background .15s; }
.entry table:not([class]) td:first-child,
.entry table:not([class]) tbody th { font-weight: 700; color: #0d2754; }
.entry table:not([class]) tbody th { background: #f2f5fa; text-transform: none; letter-spacing: 0; font-size: 14px; }
@media (max-width: 640px) {
	.entry table:not([class]) { font-size: 13.5px; }
	.entry table:not([class]) th, .entry table:not([class]) td { padding: 9px 11px; }
}

/* --- Table skin 2 · "Ledger green": green head, ruled rows. --- */
.entry table[data-v="2"] th { background: linear-gradient(135deg, #0f5132, #157347); }
.entry table[data-v="2"] tbody tr:nth-child(even) td { background: #f4faf6; }
.entry table[data-v="2"] tbody tr:hover td { background: #e9f7ee; }
.entry table[data-v="2"] td:first-child, .entry table[data-v="2"] tbody th { color: #0f5132; }
.entry table[data-v="2"] tbody th { background: #eef7f1; }

/* --- Table skin 3 · "Broadsheet": no head fill, heavy top rule, airy. --- */
.entry table[data-v="3"] { border: 0; border-radius: 0; box-shadow: none; border-top: 3px solid #0d2754; border-bottom: 1px solid #dfe5ee; }
.entry table[data-v="3"] th { background: none; color: #5b6676; border-bottom: 2px solid #0d2754; }
.entry table[data-v="3"] td { border-top: 1px dashed #dfe5ee; }
.entry table[data-v="3"] tbody tr:nth-child(even) td { background: transparent; }
.entry table[data-v="3"] tbody tr:hover td { background: #f6f8fb; }
.entry table[data-v="3"] tbody th { background: transparent; }

/* --- Table skin 4 · "Warm paper": cream head, amber rules. --- */
.entry table[data-v="4"] { border-color: #ead9ab; box-shadow: 0 6px 20px rgba(146, 97, 14, .07); }
.entry table[data-v="4"] th { background: #fff4d6; color: #6b5310; }
.entry table[data-v="4"] td { border-top: 1px solid #f3e8c8; }
.entry table[data-v="4"] tbody tr:nth-child(even) td { background: #fffaf0; }
.entry table[data-v="4"] tbody tr:hover td { background: #fff3cd; }
.entry table[data-v="4"] td:first-child, .entry table[data-v="4"] tbody th { color: #92610e; }
.entry table[data-v="4"] tbody th { background: #fdf6e3; }

/* --- Table skin 5 · "Hard grid": thick ink frame, hard shadow. --- */
.entry table[data-v="5"] { border: 2px solid #0d2754; border-radius: 10px; box-shadow: 4px 4px 0 #d9e2f3; }
.entry table[data-v="5"] th { background: #0d2754; }
.entry table[data-v="5"] tbody tr:nth-child(even) td { background: #f4f7fd; }
.entry table[data-v="5"] tbody tr:hover td { background: #e9effc; }

/* ========================= THE RECRUITMENT TIMELINE ========================= */

.sm-thread .sm-tl { padding-left: 6px; }
.sm-tl li { align-items: flex-start; padding: 8px 0 8px 30px; }
.sm-tl li.in { opacity: 1; transform: none; }
@media (scripting: enabled) {
	.sm-tl li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
	.sm-tl li.in { opacity: 1; transform: none; }
}
.sm-tl-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.sm-tl li.is-done .sm-tl-dot { background: #157347; border-color: #157347; }
.sm-tl li.is-done .sm-tl-dot:after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 8px; font-weight: 800; }
.sm-tl li.is-next b { color: #0d2754; }
.sm-tl li.is-next .sm-tl-dot { border-color: #ffc107; background: #fff; animation: smtl-next 1.6s ease-in-out infinite; }
@keyframes smtl-next { 50% { box-shadow: 0 0 0 6px rgba(255, 193, 7, .25); } }
.sm-tl li.is-next time { color: #b45309; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
	.sm-tl li { opacity: 1 !important; transform: none !important; transition: none; }
	.sm-tl li.is-next .sm-tl-dot, .sm-live-dot:after, .sm-apply-shine, .sm-clock b.flip { animation: none; }
}

/* --- Timeline skin 2 · "Metro line": thick coloured rail, square stations. --- */
.sm-thread[data-v="2"] .sm-tl:before { width: 5px; left: 9px; border-radius: 99px; background: linear-gradient(#157347, #ffc107); }
.sm-thread[data-v="2"] .sm-tl-dot { border-radius: 4px; }
.sm-thread[data-v="2"] .sm-tl li b { text-transform: uppercase; font-size: 12.5px; letter-spacing: .5px; }

/* --- Timeline skin 3 · "Step cards": every event in its own little card. --- */
.sm-thread[data-v="3"] .sm-tl:before { display: none; }
.sm-thread[data-v="3"] .sm-tl { display: grid; gap: 8px; padding-left: 0; }
.sm-thread[data-v="3"] .sm-tl li { padding: 11px 14px; border: 1.5px solid #e3e8f0; border-radius: 12px; background: #fbfcfe; }
.sm-thread[data-v="3"] .sm-tl-dot { position: static; flex: none; margin-top: 3px; }
.sm-thread[data-v="3"] .sm-tl li { display: flex; gap: 11px; }
.sm-thread[data-v="3"] .sm-tl li.is-done { background: #f4f9f5; border-color: #d4e8da; }
.sm-thread[data-v="3"] .sm-tl li.is-next { border-color: #ffc107; background: #fffdf4; }

/* --- Timeline skin 4 · "Notebook": dashed spine, paper ticks. --- */
.sm-thread[data-v="4"] .sm-tl:before { width: 0; border-left: 2px dashed #d8c89a; background: none; }
.sm-thread[data-v="4"] .sm-tl li.is-done b { text-decoration: line-through; text-decoration-color: rgba(21, 115, 71, .45); text-decoration-thickness: 2px; }
.sm-thread[data-v="4"] .sm-tl li time { background: #fff8e1; border: 1px solid #eadfae; border-radius: 6px; padding: 1px 7px; color: #6b5310; }

/* --- Timeline skin 5 · "Hard steps": numbered ink squares, offset shadows. --- */
.sm-thread[data-v="5"] .sm-tl { counter-reset: smtl; padding-left: 0; }
.sm-thread[data-v="5"] .sm-tl:before { display: none; }
.sm-thread[data-v="5"] .sm-tl li { counter-increment: smtl; padding: 9px 0 9px 44px; border-bottom: 1.5px solid #e3e8f0; }
.sm-thread[data-v="5"] .sm-tl-dot { display: none; }
.sm-thread[data-v="5"] .sm-tl li:before {
	content: counter(smtl, decimal-leading-zero); position: absolute; left: 0; top: 8px;
	width: 30px; height: 26px; display: grid; place-items: center;
	background: #0d2754; color: #fff; font-weight: 800; font-size: 11.5px; border-radius: 6px;
	box-shadow: 2px 2px 0 #ffc107;
}
.sm-thread[data-v="5"] .sm-tl li.is-done:before { background: #157347; }
.sm-thread[data-v="5"] .sm-tl li.is-next:before { background: #ffc107; color: #231a02; box-shadow: 2px 2px 0 #0d2754; }
