/* Kitchen jobs pages and the Team page advert form (inc/kitchen-jobs.php).

   Design notes (1 Dec 2026 polish):
   - Hero is the dark interior hero the /local/ pages use (ink, signature grid texture, leaf glow), so these pages sit in the same family.
   - Surfaces: paper page, white cards with a 1px line. The hard leaf offset shadow (the theme's "featured card" device)
     is kept for the things that are the product: our own adverts, the apply card, and area cards on hover.
   - Never white text on green. Green surfaces (stat tile, pay chip, tags, band, buttons) carry ink text.
   - Focus rings: --leaf-deep on light surfaces, white on the dark hero, ink on the green band (each 3:1 or better against its surface).
   - Weights are 400 / 500 / 700 only: those are the faces the live site ships. */

.kj, .kj-team {
	--kj-tint: #EDF2DD;        /* leaf tint, same value as the account pages' --leaf-tint */
	--kj-tint-line: #D5E0B4;
	--kj-edge: #8A877F;        /* form field edge, same as the account pages' --edge: 3.5:1 on white */
	--kj-soft: #F9F8F5;        /* halfway between --white and --paper: row hover, list footer */
	--kj-quiet: #6E6A61;       /* quietest text grey that still passes 4.5:1 on paper and white */
	--kj-shadow: 0 1px 2px rgba(38,37,35,.05), 0 6px 18px rgba(38,37,35,.05);
}
.kj-ico { display: block; flex: none; width: 1.25rem; height: 1.25rem; }

/* ---------- Hero (all five views) ---------- */
.kj-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(34px, 7vw, 68px) 0 clamp(36px, 6vw, 60px); }
.kj-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(50rem 30rem at 85% 0%, #000, transparent 72%);
	mask-image: radial-gradient(50rem 30rem at 85% 0%, #000, transparent 72%); }
.kj-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(34rem 22rem at 98% 118%, rgba(140,171,62,.2), transparent 65%); }
.kj-hero > .gfh-wrap { position: relative; z-index: 1; }
.kj-hero h1 { color: #fff; margin: 0 0 16px; text-wrap: balance; overflow-wrap: break-word; }
.kj-eyebrow { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin: 0 0 14px; }
.kj-eyebrow a { display: inline-block; padding: 12px 0; margin: -12px 0; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kj-eyebrow a:hover { color: #fff; }
.kj-lead { font-size: clamp(1.05rem, 2.2vw, 1.15rem); line-height: 1.6; max-width: 64ch; color: rgba(255,255,255,.86); margin: 0; }
.kj-lead a { color: #fff; }
.kj-lead strong { color: #fff; }
.kj-hero a:focus-visible, .kj-hero button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
.kj-hero .gfh-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 14px 26px; font-size: 1.02rem; }
.kj-hero .gfh-btn:focus-visible { border-radius: 999px; }
/* Owner-only preview note: dashed = not live yet (same meaning as the account pages' dashed pill). */
.kj-note { display: inline-block; margin: 0 0 16px; padding: 8px 14px; border: 1px dashed rgba(255,255,255,.55); border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; font-size: .92rem; line-height: 1.45; }

/* Ended / action views: a short message and one button, so give them presence. */
.kj-hero--simple { display: flex; align-items: center; min-height: min(56vh, 520px); padding: clamp(48px, 9vw, 96px) 0; }
.kj-hero--simple > .gfh-wrap { width: 100%; }
.kj-hero--simple .kj-lead { margin-bottom: 26px; }
.kj-hero--simple p, .kj-hero--simple form { margin: 0; }

/* ---------- Area page: stat tiles ---------- */
.kj-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; }
.kj-stat { flex: 1 1 9rem; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 13px 16px 14px;
	border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); color: #fff; line-height: 1.3; }
.kj-stat strong { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kj-stat-k { font-size: .88rem; color: rgba(255,255,255,.82); }
.kj-stat-v { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; font-size: .88rem; color: rgba(255,255,255,.82); }
.kj-stat-v strong { color: #fff; }
/* The headline number sits on brand green, with ink text. */
.kj-stat--live { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; column-gap: 10px; background: var(--leaf); border-color: var(--leaf); color: var(--ink); }
.kj-stat--live strong { font-size: 2.3rem; }
.kj-stat--live .kj-stat-k { color: var(--ink); font-size: .98rem; font-weight: 500; }
@media (min-width: 760px) {
	/* Equal tiles on a fixed track, so three tiles (Salford) and five (London) both sit on one tidy row at full width. */
	.kj-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 12px; margin-top: 30px; }
	.kj-stat { padding: 16px 16px 17px; }
	.kj-stat-k { font-size: .85rem; } /* "Catering assistant: typically" fits one line in a five-across tile */
	.kj-stat--live .kj-stat-k { font-size: .95rem; }
	.kj-stat strong { font-size: 2rem; }
	.kj-stat--live { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-end; }
	.kj-stat--live strong { font-size: 2.6rem; }
}

/* ---------- Advert page: fact chips ---------- */
.kj-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.kj-chips li { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: .92rem; line-height: 1.3; }
.kj-chips .kj-chip-pay { background: var(--leaf); border-color: var(--leaf); color: var(--ink); font-size: 1rem; }
.kj-chips li:has(> strong:empty) { display: none; }

/* ---------- Hub: area cards ---------- */
.kj-hero--hub { padding-bottom: calc(clamp(36px, 6vw, 60px) + 58px); }
.kj-areas { position: relative; z-index: 2; margin-top: -58px; padding-bottom: clamp(44px, 7vw, 72px); }
.kj-area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.25rem), 1fr)); gap: 12px; }
.kj-area-grid li { display: flex; min-width: 0; }
.kj-area-grid a { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 8px; min-height: 96px; padding: 16px 16px 14px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--kj-shadow); color: var(--ink); text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.kj-area-grid strong { grid-column: 1 / -1; align-self: start; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.kj-area-n { color: var(--muted); font-size: .9rem; line-height: 1.3; }
.kj-area-n b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.kj-area-grid .kj-go { display: flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--kj-tint); color: var(--ink); transition: background .15s ease, transform .15s ease; }
.kj-area-grid .kj-ico { width: 1rem; height: 1rem; stroke-width: 2.4; }
.kj-area-grid a:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--leaf); }
.kj-area-grid a:hover .kj-go, .kj-area-grid a:focus-visible .kj-go { background: var(--leaf); transform: translateX(3px); }
.kj-area-grid a:active { transform: translateY(-1px); }
.kj-area-grid a:focus-visible { outline: 3px solid var(--leaf-deep); outline-offset: 3px; border-color: var(--ink); }
@media (min-width: 700px) {
	.kj-area-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
	.kj-area-grid a { min-height: 118px; padding: 22px 22px 18px; }
	.kj-area-grid strong { font-size: 1.45rem; }
	.kj-area-n { font-size: .95rem; }
}

/* ---------- Area page: job lists ---------- */
.kj-lists { padding-top: clamp(30px, 5vw, 48px); padding-bottom: clamp(40px, 6vw, 64px); }
.kj-lists h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.6rem); }
.kj-lists > h2 { margin-bottom: 14px; }
.kj-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 14px; }
.kj-list--own + .kj-head { margin-top: clamp(34px, 5vw, 48px); }
.kj-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted);
	font-family: var(--font-mono); font-size: .72rem; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.kj-tag .kj-ico { width: .85rem; height: .85rem; stroke-width: 3; }
.kj-tag--own { background: var(--leaf); border-color: var(--leaf); color: var(--ink); font-weight: 500; }

.kj-list { list-style: none; padding: 0; margin: 0; }
.kj-job { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: start; padding: 14px 16px 15px; }
.kj-title { grid-column: 1; font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.kj-title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole row is the tap target */
.kj-job:hover .kj-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--leaf-deep); }
.kj .kj-title:focus-visible { outline: none; } /* the ring is drawn on the whole row instead */
.kj-title:focus-visible::after { outline: 3px solid var(--leaf-deep); outline-offset: -3px; }
.kj-job > .kj-go { grid-column: 2; grid-row: 1; display: flex; margin-top: 3px; color: var(--kj-quiet); }
.kj-meta, .kj-facts { grid-column: 1 / -1; font-size: .92rem; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.kj-pay { color: var(--ink); font-weight: 700; }
.kj-sep-g { display: none; } /* the two groups sit on separate lines, so the dot between them isn't drawn */
.kj-facts > .kj-date:first-child { display: inline-block; }
.kj-facts > .kj-date:first-child::first-letter { text-transform: uppercase; } /* "posted 1 day ago" starts its own line when there is no pay */

/* Reed rows: one calm white list. */
.kj-list--reed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.kj-list--reed .kj-job + .kj-job { border-top: 1px solid var(--line); }
.kj-list--reed .kj-job:hover { background: var(--kj-soft); }
.kj-list--reed .kj-title:visited { color: var(--kj-quiet); } /* jobs you've already opened step back */

/* Our own adverts: the product, so each is its own featured card. */
.kj-list--own { display: grid; gap: 14px; margin-right: 5px; }
.kj-own { padding: 16px 16px 18px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--leaf); transition: transform .15s ease, box-shadow .15s ease; }
.kj-own:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--leaf); }
.kj-own .kj-tag { grid-column: 1; justify-self: start; margin-bottom: 8px; }
.kj-own .kj-title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.kj-own .kj-meta { font-size: .95rem; }
.kj-own .kj-pay { font-size: 1.02rem; }
.kj-own > .kj-go { grid-row: 1 / span 2; align-self: start; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin: 0; border-radius: 50%; background: var(--leaf); color: var(--ink); }

@media (min-width: 720px) {
	.kj-job { grid-template-columns: minmax(0, 1fr) auto 1.25rem; column-gap: 22px; align-items: center; padding: 14px 22px 15px; }
	.kj-meta { grid-column: 1; grid-row: 2; }
	.kj-facts { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
	.kj-facts .kj-sep { display: none; }
	.kj-date::first-letter { text-transform: uppercase; }
	.kj-pay { font-size: 1rem; }
	.kj-job > .kj-go { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
	.kj-own { grid-template-columns: minmax(0, 1fr) auto 2.25rem; padding: 20px 24px 22px; }
	.kj-own .kj-title { grid-row: 2; font-size: 1.45rem; }
	.kj-own .kj-meta { grid-row: 3; }
	.kj-own .kj-facts, .kj-own > .kj-go { grid-row: 1 / span 3; align-self: center; }
	.kj-own .kj-pay { font-size: 1.15rem; }
}

/* Reed credit: the list's footer, so the source is always attached to the jobs. */
.kj-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0; padding: 14px 16px;
	background: var(--kj-soft); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); color: var(--muted); font-size: .9rem; line-height: 1.5; }
.kj-credit > span { flex: 1 1 18rem; min-width: 0; }
.kj-credit > span a { font-weight: 700; }
.kj-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 18px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink);
	color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.kj-more .kj-ico { width: 1.05rem; height: 1.05rem; }
.kj-more:hover { background: var(--ink); color: #fff; }
.kj-empty { margin: 0; padding: 20px; background: var(--white); border: 1px dashed var(--kj-edge); border-radius: var(--radius); color: var(--muted); }
@media (min-width: 720px) { .kj-credit { padding: 14px 22px; } }

.kj a:focus-visible, .kj button:focus-visible { outline: 3px solid var(--leaf-deep); outline-offset: 3px; border-radius: 4px; }
.kj .gfh-btn:focus-visible, .kj .kj-more:focus-visible { border-radius: 999px; }

/* ---------- Guide and course nudge ---------- */
.kj-guide h2 { margin: 0 0 14px; font-size: clamp(1.45rem, 3.2vw, 1.9rem); }
.kj-guide p { margin: 0 0 14px; }
.kj-guide--area { background: var(--white); border-top: 1px solid var(--line); padding: clamp(38px, 6vw, 64px) 0 clamp(30px, 5vw, 52px); }
.kj-guide-grid > p { max-width: 62ch; }
.kj-nudge { display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 18px 16px; background: var(--kj-tint); border: 1px solid var(--kj-tint-line); border-radius: var(--radius); color: var(--ink); line-height: 1.55; }
.kj-nudge > .kj-ico { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 50%; background: var(--leaf); color: var(--ink); }
.kj-nudge a { font-weight: 700; }
.kj-guide-grid > .kj-nudge { margin: 6px 0 20px; }
.kj-nearby a, .kj-local a { display: inline-block; padding: 9px 0; margin: -9px 0; font-weight: 700; }
@media (min-width: 860px) {
	.kj-guide-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(4, auto) 1fr; column-gap: 56px; }
	.kj-guide-grid > * { grid-column: 1; }
	.kj-guide-grid > .kj-nudge { grid-column: 2; grid-row: 1 / -1; align-self: start; flex-direction: column; margin: 4px 0 0; padding: 22px; }
}

/* ---------- "Hiring in your kitchen?" band: brand green, ink text ---------- */
.kj-band { position: relative; overflow: hidden; background: var(--leaf); color: var(--ink); padding: clamp(36px, 6vw, 60px) 0; }
.kj-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(38,37,35,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(38,37,35,.07) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(40rem 22rem at 100% 0%, #000, transparent 70%);
	mask-image: radial-gradient(40rem 22rem at 100% 0%, #000, transparent 70%); }
.kj-band .gfh-wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.kj-band .gfh-wrap > div { flex: 1 1 20rem; min-width: 0; }
.kj-band h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 3.6vw, 2.1rem); color: var(--ink); }
.kj-band p { margin: 0; max-width: 54ch; font-size: 1.05rem; color: var(--ink); }
.kj-band .kj-band-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 15px 30px; background: var(--ink); color: #fff; font-size: 1.05rem; white-space: nowrap; }
.kj-band .kj-band-btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
.kj-band .kj-band-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 520px) { .kj-band .kj-band-btn { width: 100%; } }

/* ---------- Advert page ---------- */
.kj-hero--advert { padding-bottom: calc(clamp(36px, 6vw, 60px) + 40px); }
.kj-hero--advert .kj-lead { font-size: clamp(1.1rem, 2.4vw, 1.25rem); font-weight: 500; color: #fff; }
.kj-advert { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; margin-top: -36px; padding-bottom: clamp(44px, 7vw, 72px); }
.kj-advert > .kj-nudge { margin: 0; }
.kj-desc { padding: clamp(20px, 4vw, 38px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--kj-shadow); font-size: 1.05rem; line-height: 1.7; overflow-wrap: anywhere; }
.kj-desc p { max-width: 66ch; margin: 0 0 1em; }
.kj-desc p:last-child { margin-bottom: 0; }
.kj-apply { margin: 0 5px 5px 0; padding: 22px 20px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--leaf); }
.kj-apply h2 { margin: 0 0 6px; font-size: 1.4rem; }
.kj-apply p { margin: 0 0 12px; color: var(--muted); }
.kj-apply .kj-apply-how { margin: 0; }
.kj-apply-how a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 18px; border-radius: 999px; background: var(--leaf); color: var(--ink);
	font-weight: 700; font-size: 1.05rem; line-height: 1.3; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background .15s ease; }
.kj-apply-how a:hover { background: var(--leaf-hover); color: var(--ink); }
.kj .kj-apply-how a:focus-visible { border-radius: 999px; }
.kj-apply .kj-safe { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 12px 14px; background: var(--paper); border-radius: 10px; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.kj-safe .kj-ico { margin-top: 1px; color: var(--leaf-ink); }
.kj-apply .kj-small { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.5; }
.kj-apply .kj-small a { display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (min-width: 900px) {
	/* Description and course note stack on the left; the apply card holds the right column and follows the scroll. */
	.kj-advert { grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); grid-template-rows: auto 1fr; gap: 24px 32px; }
	.kj-desc, .kj-advert > .kj-nudge { grid-column: 1; }
	.kj-apply { grid-column: 2; grid-row: 1 / -1; position: sticky; top: 132px; padding: 26px 24px; } /* clears the site's sticky header (about 113px) */
	body.admin-bar .kj-apply { top: 164px; }
}

@media (prefers-reduced-motion: reduce) {
	.kj *, .kj-team * { transition: none !important; }
	.kj-area-grid a:hover, .kj-area-grid a:active, .kj-own:hover, .kj-band .kj-band-btn:hover, .kj-area-grid a:hover .kj-go, .kj-area-grid a:focus-visible .kj-go { transform: none; }
}

/* ---------- Team page (inside WooCommerce My Account) ----------
   #gfh-kj is used where the account and page-prose styles would otherwise win: they restyle every submit button as a
   green pill, set link text to --leaf-deep (3.4:1), indent every list and remove the focus outline on inputs. */
.kj-team { container-type: inline-size; margin: 32px 0 0; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
#gfh-kj h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
#gfh-kj > p { margin: 0 0 14px; max-width: 68ch; }
#gfh-kj a { color: var(--leaf-ink); }
#gfh-kj a:focus-visible, #gfh-kj button:focus-visible, #gfh-kj summary:focus-visible { outline: 3px solid var(--leaf-deep); outline-offset: 3px; }
#gfh-kj .kj-ok, #gfh-kj .kj-err { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-weight: 700; line-height: 1.45; }
#gfh-kj .kj-ok { background: var(--kj-tint); border: 1px solid var(--kj-tint-line); color: var(--ink); }
.kj-ok .kj-ico { margin-top: 1px; color: var(--leaf-ink); stroke-width: 2.6; }
#gfh-kj .kj-err { background: #fff; border: 1.5px solid #8a1f11; color: #8a1f11; }
.kj-err .kj-ico { margin-top: 1px; }

#gfh-kj .kj-mine { list-style: none; padding: 0; margin: 18px 0 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
#gfh-kj .kj-mine li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 60px; margin: 0; padding: 8px 14px; border-top: 1px solid var(--line); }
#gfh-kj .kj-mine li:first-child { border-top: 0; }
#gfh-kj .kj-mine-title { flex: 1 1 9rem; min-width: 0; padding: 10px 0; color: var(--ink); font-weight: 700; line-height: 1.3; text-decoration: underline; text-decoration-color: var(--leaf-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
#gfh-kj .kj-mine-title:hover { color: var(--leaf-ink); }
.kj-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.kj-publish { background: var(--kj-tint); border-color: var(--kj-tint-line); color: #3d5414; }
.kj-publish::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-deep); }
.kj-pending { background: transparent; border-style: dashed; border-color: var(--kj-edge); }
.kj-gfh_expired { color: var(--muted); font-weight: 500; }
.kj-inline { display: flex; margin: 0; }
#gfh-kj .kj-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--kj-edge);
	color: var(--ink); font: 700 .92rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
#gfh-kj .kj-link:hover { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); color: #fff; }
#gfh-kj .kj-full-note { margin: 0; padding: 12px 14px; background: var(--paper); border-radius: 10px; }

/* "Post a job": a real button that opens the form. Once open it steps back to an outline, so "Send for approval" is the one green button. */
#gfh-kj .kj-form-wrap > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 13px 24px 13px 18px; list-style: none; font-size: 1rem; cursor: pointer; -webkit-user-select: none; user-select: none; }
.kj-form-wrap > summary::-webkit-details-marker { display: none; }
.kj-form-wrap > summary::marker { content: ""; }
.kj-form-wrap > summary .kj-ico { width: 1.15rem; height: 1.15rem; stroke-width: 2.6; transition: transform .2s ease; }
.kj-form-wrap[open] > summary .kj-ico { transform: rotate(45deg); }
#gfh-kj .kj-form-wrap[open] > summary, #gfh-kj .kj-form-wrap[open] > summary:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
#gfh-kj .kj-form-wrap[open] > summary:hover { background: var(--paper); }

.kj-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 20px; margin: 20px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
#gfh-kj .kj-form label { display: block; align-self: end; min-width: 0; margin: 0; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.35; }
#gfh-kj .kj-form label span { color: var(--muted); font-weight: 400; }
#gfh-kj .kj-form input:not([type="hidden"]), #gfh-kj .kj-form select, #gfh-kj .kj-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 6px 0 0; padding: 10px 14px;
	background-color: #fff; border: 1.5px solid var(--kj-edge); border-radius: 10px; box-shadow: none; color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .15s ease; }
#gfh-kj .kj-form select { -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262523' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 13px center; background-size: 18px 18px; }
#gfh-kj .kj-form textarea { min-height: 10.5rem; line-height: 1.55; resize: vertical; }
#gfh-kj .kj-form input:hover, #gfh-kj .kj-form select:hover, #gfh-kj .kj-form textarea:hover { border-color: var(--ink); }
#gfh-kj .kj-form input:focus, #gfh-kj .kj-form select:focus, #gfh-kj .kj-form textarea:focus { outline: 3px solid var(--leaf-deep); outline-offset: 1px; border-color: var(--ink); background-color: #fff; box-shadow: none; }
#gfh-kj .kj-form ::placeholder { color: #6A6862; opacity: 1; }
#gfh-kj .kj-form .kj-small { margin: 0; max-width: 72ch; color: var(--muted); font-size: .88rem; line-height: 1.5; }
#gfh-kj .kj-f-send { margin: 0; }
#gfh-kj .kj-f-send .gfh-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px 30px; font-size: 1.02rem; }
@container (min-width: 560px) {
	.kj-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kj-f-wide { grid-column: 1 / -1; }
	#gfh-kj .kj-f-send .gfh-btn { width: auto; }
}
