/* TotalJobz design system: dark green, green, gold and white */
:root {
  --forest-900: #062a1f;
  --forest-800: #0a3b2c;
  --forest-700: #0f5038;
  --green-600: #13804f;
  --green-500: #1b9a61;
  --green-100: #dff2e8;
  --green-50: #f0f9f4;
  --gold-600: #a87f12;
  --gold-500: #d4a62a;
  --gold-300: #ecca6b;
  --gold-100: #fbf1d3;
  --white: #fff;
  --ink: #12251d;
  --muted: #61756b;
  --line: #e1e9e4;
  --bg: #f6f8f6;
  --danger: #b3362b;
  --danger-bg: #fdeceb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(6, 42, 31, .06), 0 6px 20px rgba(6, 42, 31, .06);
  --shadow-lg: 0 18px 45px rgba(6, 42, 31, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 15px; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--forest-700); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--forest-900); }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.mt { margin-top: 18px; }
.mb { margin-bottom: 18px; }
.right { margin-left: auto; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; background: var(--green-600); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: .15s; line-height: 1.3; }
.btn:hover { background: var(--forest-700); color: #fff; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--forest-900); box-shadow: 0 6px 16px rgba(212, 166, 42, .32); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--forest-900); }
.btn-dark { background: var(--forest-800); }
.btn-outline { background: #fff; color: var(--forest-800); border-color: var(--line); }
.btn-outline:hover { background: var(--green-50); color: var(--forest-800); border-color: var(--green-500); }
.btn-ghost { background: transparent; color: var(--green-600); padding-inline: 8px; }
.btn-ghost:hover { background: var(--green-50); color: var(--forest-700); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f0c9c5; }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-sm { padding: 5px 12px; font-size: .83rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--forest-800); cursor: pointer; }

/* header */
.topbar { background: var(--forest-900); color: #cfe3d9; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar a { color: #cfe3d9; }
.topbar a:hover { color: var(--gold-300); }
.announce { background: var(--gold-100); color: var(--forest-900); text-align: center; padding: 7px 12px; font-size: .86rem; font-weight: 600; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .container { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--forest-900); }
.logo:hover { color: var(--forest-900); }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(145deg, var(--forest-700), var(--forest-900)); color: var(--gold-300); display: grid; place-items: center; font-size: 1.05rem; box-shadow: inset 0 0 0 2px rgba(236, 202, 107, .45); }
.logo em { font-style: normal; color: var(--gold-500); }
.loc { position: relative; }
.loc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-100); font-weight: 600; color: var(--forest-800); white-space: nowrap; }
.loc summary::-webkit-details-marker { display: none; }
.loc-panel { position: absolute; top: calc(100% + 10px); left: 0; width: min(520px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-height: 70vh; overflow: auto; }
.loc-panel a { display: flex; gap: 8px; padding: 6px 10px; border-radius: 8px; color: var(--ink); }
.loc-panel a:hover, .loc-panel a.on { background: var(--green-50); color: var(--forest-700); font-weight: 600; }
.loc-panel h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 10px 6px; }
.actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: .72rem; color: var(--forest-800); padding: 4px 9px; border-radius: 10px; }
.action:hover { background: var(--green-50); }
.badge-dot { position: absolute; top: -2px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold-500); color: var(--forest-900); font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 235px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; }
.menu-panel a, .menu-panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; border: 0; background: none; border-radius: 8px; color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--green-50); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--forest-800); color: var(--gold-300); display: grid; place-items: center; font-weight: 700; object-fit: cover; flex: none; overflow: hidden; }
.avatar-lg { width: 76px; height: 76px; font-size: 1.8rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav { background: var(--forest-800); position: relative; z-index: 30; }
.nav ul { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 2px; flex-wrap: wrap; }
.nav li { position: relative; }
.nav li > a { display: flex; align-items: center; gap: 7px; padding: 12px 11px; color: #e7f2ec; font-size: .88rem; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav li:hover > a, .nav li:focus-within > a { color: var(--gold-300); border-bottom-color: var(--gold-500); }
.nav li .drop { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 8px; max-height: 70vh; overflow: auto; }
.nav li:last-child .drop, .nav li:nth-last-child(2) .drop { left: auto; right: 0; }
.nav li:hover .drop, .nav li:focus-within .drop { display: block; }
.nav .drop a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.nav .drop a:hover { background: var(--green-50); color: var(--forest-700); }
.menu-toggle { display: none; }

/* flash messages */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0 0; background: var(--green-100); color: var(--forest-900); border: 1px solid #bfe3d0; }
.flash.error { background: var(--danger-bg); border-color: #f0c9c5; color: #7a211a; }
.flash.warning, .flash.info { background: var(--gold-100); border-color: var(--gold-300); }
.flash button { margin-left: auto; background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: inherit; }

/* hero */
.hero { position: relative; background: radial-gradient(900px 380px at 85% -10%, rgba(212, 166, 42, .35), transparent 65%), linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 70%, var(--green-600) 100%); color: #fff; padding: 52px 0 96px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(30deg, rgba(255,255,255,.045) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.045) 87.5%), linear-gradient(150deg, rgba(255,255,255,.045) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.045) 87.5%); background-size: 80px 140px; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.85rem); max-width: 760px; margin-inline: auto; text-align: center; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero .lead { text-align: center; color: #cfe3d9; margin-bottom: 26px; }
.search-box { max-width: 920px; margin: 0 auto; }
.search-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.search-tabs button { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); padding: 7px 16px; border-radius: 999px; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.search-tabs button.on { background: var(--gold-500); border-color: var(--gold-500); color: var(--forest-900); }
.search-row { display: flex; gap: 8px; background: #fff; padding: 9px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.search-row input, .search-row select { border: 0; background: transparent; font: inherit; padding: 10px 16px; color: var(--ink); min-width: 0; outline-offset: -2px; }
.search-row input { flex: 1; }
.search-row select { border-left: 1px solid var(--line); max-width: 220px; }
.hero-stats { display: flex; justify-content: center; gap: 34px; margin-top: 24px; flex-wrap: wrap; color: #cfe3d9; font-size: .88rem; }
.hero-stats b { color: var(--gold-300); font-size: 1.15rem; margin-right: 5px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 12px; margin-top: -56px; position: relative; z-index: 2; }
.tile { background: #fff; border-radius: var(--radius); padding: 18px 8px 14px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--forest-900); font-weight: 600; font-size: .85rem; transition: .18s; }
.tile:hover { transform: translateY(-4px); border-color: var(--gold-500); color: var(--forest-900); box-shadow: var(--shadow-lg); }
.tile span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 16px; background: var(--green-50); color: var(--green-600); border: 1px solid var(--green-100); }
.tile:hover span { background: var(--forest-800); color: var(--gold-300); }

/* sections */
.section { padding: 34px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; position: relative; padding-left: 14px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--gold-500); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 24px; }
.catalog h3 { display: flex; gap: 8px; align-items: center; font-size: .98rem; }
.catalog h3 .icon { color: var(--gold-600); }
.catalog ul { list-style: none; padding: 0; margin: 0 0 8px; }
.catalog li a { color: var(--ink); font-size: .89rem; display: block; padding: 3px 0; }
.catalog li a:hover { color: var(--green-600); }

/* listing cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; min-width: 0; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card.featured { border-color: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500); }
.card-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--green-100), var(--gold-100)); position: relative; display: grid; place-items: center; color: var(--green-600); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-price { font-weight: 800; color: var(--forest-700); font-size: 1.05rem; }
.card-price small { font-weight: 500; color: var(--muted); }
.card-title { color: var(--ink); font-weight: 600; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-foot { margin-top: auto; padding-top: 6px; }
.flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; margin: 0; }
.fav button, .fav a { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--forest-800); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.fav .on { background: var(--gold-500); color: var(--forest-900); }
.fav .on svg { fill: currentColor; }
.photo-count { position: absolute; bottom: 8px; right: 8px; background: rgba(6,42,31,.75); color: #fff; font-size: .74rem; padding: 2px 8px; border-radius: 999px; display: flex; gap: 4px; align-items: center; z-index: 1; }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--green-100); color: var(--forest-800); white-space: nowrap; }
.pill-gold { background: var(--gold-500); color: var(--forest-900); }
.pill-soft { background: var(--gold-100); color: var(--gold-600); }
.pill-red { background: var(--danger-bg); color: var(--danger); }
.pill-gray { background: #eef1ef; color: var(--muted); }
.pill-dark { background: var(--forest-800); color: var(--gold-300); }
.s-active, .s-accepted, .s-approved, .s-hired, .s-verified, .s-resolved { background: var(--green-100); color: var(--forest-800); }
.s-pending, .s-new, .s-interview, .s-shortlisted, .s-open { background: var(--gold-100); color: var(--gold-600); }
.s-rejected, .s-declined { background: var(--danger-bg); color: var(--danger); }
.s-draft, .s-sold, .s-expired, .s-cancelled, .s-dismissed, .s-none, .s-reviewed { background: #eef1ef; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .86rem; font-weight: 500; }
.chip:hover, .chip.on { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }

/* job rows and lift cards */
.row-card { position: relative; display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: .18s; min-width: 0; }
.row-card:hover { box-shadow: var(--shadow-lg); border-color: var(--green-500); }
.row-card.featured { border-color: var(--gold-500); background: linear-gradient(100deg, #fffdf5, #fff 45%); }
.row-card .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row-logo { width: 54px; height: 54px; border-radius: 12px; background: var(--forest-800); color: var(--gold-300); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; overflow: hidden; flex: none; }
.row-logo img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb { width: 190px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; position: relative; background: var(--green-100); flex: none; display: grid; place-items: center; color: var(--green-600); }
.row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.route { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.route span { display: flex; align-items: center; gap: 8px; }
.route i { width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--green-500); flex: none; }
.route span + span i { border-color: var(--gold-500); }
.stack { display: flex; flex-direction: column; gap: 12px; }

.promo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promo > div { border-radius: var(--radius); padding: 26px; color: #fff; background: linear-gradient(120deg, var(--forest-900), var(--forest-700)); }
.promo > div + div { background: linear-gradient(120deg, var(--gold-300), var(--gold-500)); color: var(--forest-900); }
.promo h3 { color: inherit; font-size: 1.3rem; }
.promo > div + div .btn { background: var(--forest-900); }
.company-card { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.company-card b { display: block; color: var(--forest-900); }

/* browse */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); padding: 16px 0 8px; }
.browse { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; }
.filters { position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; }
.filters .field { margin-bottom: 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar h1 { margin: 0; font-size: 1.3rem; }
.filter-toggle { display: none; }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 24px 0 0; flex-wrap: wrap; }
.empty { text-align: center; padding: 46px 20px; border: 1.5px dashed #c9d8cf; border-radius: var(--radius); background: #fff; color: var(--muted); }
.empty .icon { color: var(--gold-500); margin-bottom: 10px; }

/* detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; background: var(--forest-900); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: var(--gold-300); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: 1.4rem; color: var(--forest-900); }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 9px; overflow: hidden; width: 88px; height: 64px; flex: none; cursor: pointer; background: #fff; }
.thumbs button.on { border-color: var(--gold-500); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.big-price { font-size: 1.85rem; font-weight: 800; color: var(--forest-700); }
.big-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 22px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 9px 0; font-size: .9rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.side { position: sticky; top: 86px; }
.side .btn + .btn, .side form + form { margin-top: 8px; }
.safety { background: var(--gold-100); border-color: var(--gold-300); }
.safety ul { margin: 0; padding-left: 18px; font-size: .87rem; }

/* forms */
.field { margin-bottom: 15px; min-width: 0; }
.field > label, .label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 5px; color: var(--forest-800); }
.input { width: 100%; padding: 10px 13px; border: 1px solid #cfdcd4; border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink); }
.input:focus { outline: 3px solid rgba(27, 154, 97, .18); border-color: var(--green-500); }
select.input[multiple] { min-height: 110px; }
textarea.input { resize: vertical; }
.input-sm { padding: 6px 9px; font-size: .85rem; width: auto; }
.help { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.errorlist { list-style: none; margin: 5px 0 0; padding: 0; color: var(--danger); font-size: .83rem; font-weight: 600; }
.check-line { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; font-size: .9rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--green-600); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.check-list { display: flex; flex-wrap: wrap; gap: 8px; }
.check-list label { display: flex; gap: 7px; align-items: center; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; cursor: pointer; background: #fff; }
.check-list label:has(input:checked) { border-color: var(--green-600); background: var(--green-50); font-weight: 600; }
.check-list input { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.auth { max-width: 460px; margin: 40px auto 0; }
.auth-wide { max-width: 720px; }
.previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.previews img { width: 92px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.existing { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.existing label { font-size: .8rem; text-align: center; cursor: pointer; }
.existing img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }
.choose { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.choose summary { cursor: pointer; display: flex; align-items: center; gap: 12px; font-weight: 700; list-style: none; }
.choose summary::-webkit-details-marker { display: none; }
.choose summary .row-logo { width: 46px; height: 46px; }
.choose details[open] summary { margin-bottom: 10px; }
.choose a.sub { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.choose a.sub:hover { background: var(--green-50); color: var(--forest-700); }
.steps { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; font-size: .85rem; }
.steps span { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.steps span.on { background: var(--forest-800); color: var(--gold-300); border-color: var(--forest-800); font-weight: 700; }

/* panels (user, company, admin) */
.shell { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 22px; padding-top: 22px; align-items: start; }
.sidebar { background: linear-gradient(180deg, var(--forest-800), var(--forest-900)); border-radius: var(--radius); padding: 14px 10px; color: #cfe3d9; position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; }
.sidebar .who { display: flex; gap: 10px; align-items: center; padding: 4px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 8px; }
.sidebar .who .avatar { background: var(--gold-500); color: var(--forest-900); }
.sidebar .who b { color: #fff; display: block; line-height: 1.2; overflow-wrap: anywhere; }
.sidebar .who small { color: var(--gold-300); }
.sidebar a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: #d6e8de; font-size: .9rem; border-left: 3px solid transparent; }
.sidebar a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar a.on { background: rgba(212,166,42,.17); color: var(--gold-300); border-left-color: var(--gold-500); font-weight: 700; }
.sidebar .count { margin-left: auto; background: var(--gold-500); color: var(--forest-900); border-radius: 999px; font-size: .72rem; font-weight: 800; padding: 0 7px; }
.sidebar h5 { margin: 14px 12px 4px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #86a999; }
.content > h1 { margin-top: 2px; }
.page-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0; font-size: 1.4rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: center; color: var(--ink); box-shadow: var(--shadow); }
.stat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; }
.stat:nth-child(even) .ico { background: var(--gold-100); color: var(--gold-600); }
.stat b { display: block; font-size: 1.4rem; line-height: 1.1; color: var(--forest-900); }
.stat small { color: var(--muted); }
.meter { height: 9px; background: #e8eeea; border-radius: 9px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-500), var(--gold-500)); border-radius: 9px; }
.bar-row { display: grid; grid-template-columns: 170px 1fr 40px; gap: 10px; align-items: center; font-size: .86rem; padding: 5px 0; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--green-50); color: var(--forest-800); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.table-actions form { display: flex; gap: 6px; margin: 0; }
.thumb { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--green-100); display: grid; place-items: center; color: var(--green-600); flex: none; }
.media { display: flex; gap: 12px; align-items: center; min-width: 220px; }
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filterbar .input { width: auto; min-width: 160px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.plan { text-align: center; }
.plan.on { border: 2px solid var(--gold-500); }
.plan .big-price { font-size: 1.6rem; }
.plan ul { list-style: none; padding: 0; text-align: left; font-size: .88rem; }
.plan li { display: flex; gap: 8px; padding: 4px 0; }
.plan li .icon { color: var(--green-500); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.notice.unread { background: var(--gold-100); }
.notice b { display: block; }

/* chat */
.chat { display: grid; grid-template-columns: 330px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: min(70vh, 680px); min-height: 440px; margin-top: 18px; }
.chat-list { border-right: 1px solid var(--line); overflow: auto; }
.chat-list a { display: block; padding: 13px 15px; border-bottom: 1px solid var(--line); color: var(--ink); }
.chat-list a:hover, .chat-list a.on { background: var(--green-50); }
.chat-list a.on { box-shadow: inset 3px 0 0 var(--gold-500); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-body { flex: 1; overflow: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 75%; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-line; }
.bubble.me { align-self: flex-end; background: var(--forest-800); color: #fff; border-color: var(--forest-800); border-radius: 16px 16px 4px 16px; }
.bubble time { display: block; font-size: .68rem; opacity: .65; margin-top: 3px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }

/* company profile */
.cover { height: 220px; border-radius: var(--radius); background: linear-gradient(125deg, var(--forest-900), var(--green-600) 65%, var(--gold-500)); overflow: hidden; margin-top: 18px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.company-head { display: flex; gap: 18px; align-items: end; margin: -46px 18px 18px; position: relative; flex-wrap: wrap; }
.company-head .row-logo { width: 104px; height: 104px; border: 4px solid #fff; font-size: 2.4rem; box-shadow: var(--shadow); }
.company-head h1 { margin: 0; }

.prose { max-width: 820px; margin: 24px auto 0; }
.prose h2 { margin-top: 1.4em; }

/* footer */
.footer { margin-top: 56px; background: var(--forest-900); color: #b9d2c6; border-top: 4px solid var(--gold-500); }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 40px 0 24px; }
.footer h4 { color: var(--gold-300); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer a { color: #d6e8de; display: block; padding: 3px 0; font-size: .89rem; }
.footer a:hover { color: var(--gold-300); }
.footer .logo { color: #fff; margin-bottom: 10px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: .82rem; text-align: center; }

@media (max-width: 1080px) {
  .action span:last-child { display: none; }
  .detail { grid-template-columns: minmax(0, 1fr) 310px; }
}
@media (max-width: 900px) {
  .topbar .hide-sm { display: none; }
  .header .container { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .actions { gap: 2px; }
  .menu-toggle { display: inline-grid; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 6px 0; }
  .nav li .drop { display: none !important; }
  .browse, .detail, .shell { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  .side, .sidebar { position: static; max-height: none; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 4px; }
  .sidebar nav a { white-space: nowrap; }
  .sidebar h5 { display: none; }
  .grid-2, .grid-3, .promo, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .search-row { flex-direction: column; border-radius: var(--radius); }
  .search-row select { border-left: 0; border-top: 1px solid var(--line); max-width: none; }
  .chat { grid-template-columns: minmax(0, 1fr); height: auto; }
  .chat-list { border-right: 0; max-height: 260px; }
  .chat-body { max-height: 55vh; }
  .row-thumb { width: 108px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .btn-post span { display: none; }
  .loc-panel { grid-template-columns: 1fr; position: fixed; left: 5vw; top: 110px; }
  .bar-row { grid-template-columns: 110px 1fr 34px; }
  .row-card { flex-wrap: wrap; }
}

/* job assistant */
[hidden] { display: none !important; }
.bot-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; border: 2px solid var(--gold-500); background: var(--forest-800); color: var(--gold-300); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-lg); }
.bot-drawer { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(400px, calc(100vw - 32px)); }
.bot { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: min(600px, calc(100vh - 40px)); }
.bot-page { height: min(70vh, 680px); min-height: 460px; }
.bot-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: linear-gradient(135deg, var(--forest-900), var(--forest-700)); color: #fff; }
.bot-head div { flex: 1; line-height: 1.3; }
.bot-head small { display: block; color: #cfe3d9; }
.bot-head small a { color: var(--gold-300); }
.bot-face { width: 36px; height: 36px; border-radius: 12px; background: var(--gold-500); color: var(--forest-900); display: grid; place-items: center; }
.bot-head button { background: transparent; border: 0; color: #cfe3d9; cursor: pointer; font: inherit; font-size: .82rem; }
.bot-head .bot-close { font-size: 1.5rem; line-height: 1; }
.bot-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.bot-log > * { flex: none; }
.bot-job { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: 10px 12px; color: var(--ink); overflow-wrap: anywhere; }
.bot-job:hover { border-color: var(--green-500); border-left-color: var(--gold-500); color: var(--ink); }
.bot-pay { font-weight: 800; color: var(--forest-700); }
.bot-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; }
.bot-chips button { white-space: nowrap; border: 1px solid var(--green-100); background: var(--green-50); color: var(--forest-800); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .8rem; cursor: pointer; }
.bot-form { display: flex; gap: 8px; padding: 10px 12px 12px; }
@media (max-width: 560px) { .bot-fab span { display: none; } .bot-drawer { right: 16px; bottom: 16px; } }

/* keep all categories on one row */
@media (min-width: 901px) {
  .nav ul { justify-content: space-between; }
  .nav li > a { padding-inline: 7px; gap: 5px; font-size: .84rem; }
}
@media (min-width: 901px) and (max-width: 1180px) { .nav li > a .icon { display: none; } }
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px; }
  .tile { padding-inline: 4px; font-size: .8rem; }
}
.bot-chips { scrollbar-width: none; flex: none; }

.footer .logo { display: flex; }
.topbar a { white-space: nowrap; }
@media (max-width: 560px) {
  .topbar .container { gap: 14px; overflow-x: auto; scrollbar-width: none; font-size: .76rem; }
  .topbar a.right { margin-left: 0; }
}
@media (min-width: 561px) { .stats:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.geo-credit { text-align: right; opacity: .8; }
.geo-credit a { display: inline; }

/* animated hero: category icons drifting behind the title on every page */
.hero { isolation: isolate; background-size: 100% 100%, 220% 220%; animation: hero-shift 16s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; left: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 202, 107, .26), transparent 68%); animation: hero-glow 19s ease-in-out infinite alternate; pointer-events: none; z-index: 0; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floater { position: absolute; left: 0; top: var(--y); animation: drift var(--t) linear infinite; animation-delay: calc(var(--t) * var(--x) / -100); will-change: transform; }
.floater:nth-child(even) { animation-direction: reverse; }
.floater i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: var(--gold-300); background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 202, 107, .28); opacity: .55; animation: bob var(--b) ease-in-out infinite alternate; }
.floater:nth-child(3n) i { color: #fff; opacity: .34; }
.floater:nth-child(n+12) i { width: 42px; height: 42px; border-radius: 13px; opacity: .3; }
.floater:nth-child(1) { --x: 4; --y: 12%; --t: 38s; --b: 5.0s; }
.floater:nth-child(2) { --x: 13; --y: 66%; --t: 46s; --b: 6.2s; }
.floater:nth-child(3) { --x: 22; --y: 30%; --t: 34s; --b: 4.6s; }
.floater:nth-child(4) { --x: 31; --y: 76%; --t: 52s; --b: 5.8s; }
.floater:nth-child(5) { --x: 40; --y: 8%; --t: 42s; --b: 6.6s; }
.floater:nth-child(6) { --x: 49; --y: 56%; --t: 36s; --b: 4.4s; }
.floater:nth-child(7) { --x: 58; --y: 22%; --t: 50s; --b: 5.4s; }
.floater:nth-child(8) { --x: 67; --y: 72%; --t: 40s; --b: 6.0s; }
.floater:nth-child(9) { --x: 76; --y: 40%; --t: 33s; --b: 4.8s; }
.floater:nth-child(10) { --x: 85; --y: 10%; --t: 48s; --b: 5.6s; }
.floater:nth-child(11) { --x: 94; --y: 62%; --t: 44s; --b: 6.4s; }
.floater:nth-child(12) { --x: 9; --y: 44%; --t: 56s; --b: 5.2s; }
.floater:nth-child(13) { --x: 18; --y: 4%; --t: 41s; --b: 6.8s; }
.floater:nth-child(14) { --x: 27; --y: 60%; --t: 60s; --b: 4.9s; }
.floater:nth-child(15) { --x: 36; --y: 40%; --t: 47s; --b: 5.7s; }
.floater:nth-child(16) { --x: 45; --y: 82%; --t: 39s; --b: 6.1s; }
.floater:nth-child(17) { --x: 54; --y: 38%; --t: 58s; --b: 4.5s; }
.floater:nth-child(18) { --x: 63; --y: 4%; --t: 45s; --b: 5.9s; }
.floater:nth-child(19) { --x: 72; --y: 52%; --t: 62s; --b: 5.1s; }
.floater:nth-child(20) { --x: 81; --y: 82%; --t: 43s; --b: 6.5s; }
.floater:nth-child(21) { --x: 90; --y: 28%; --t: 54s; --b: 4.7s; }
.floater:nth-child(22) { --x: 99; --y: 84%; --t: 37s; --b: 5.3s; }
.hero .container { z-index: 2; }
.hero h1, .hero .hero-title { text-shadow: 0 2px 14px rgba(6, 42, 31, .75); animation: rise .6s ease-out both; }
.hero .lead { text-shadow: 0 1px 8px rgba(6, 42, 31, .9); animation: rise .6s .12s ease-out both; }
.hero-slim { padding: 30px 0 32px; text-align: center; }
.hero-slim h1, .hero-slim .hero-title { color: #fff; font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.25; max-width: 820px; margin: 0 auto .25em; overflow-wrap: anywhere; }
.hero-slim .lead { margin: 0 auto; max-width: 720px; }
.company-head.no-cover { margin-top: 18px; align-items: center; }
@keyframes drift { from { transform: translateX(-80px); } to { transform: translateX(calc(100vw + 20px)); } }
@keyframes bob { from { transform: translateY(-11px) rotate(-9deg); } to { transform: translateY(11px) rotate(9deg); } }
@keyframes hero-shift { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }
@keyframes hero-glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(70vw, 120px) scale(1.25); } }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }  /* text is never hidden */
@media (max-width: 700px) {
  .floater:nth-child(n+13) { display: none; }
  .floater i { width: 40px; height: 40px; border-radius: 12px; opacity: .36; }
  .floater i .icon { width: 22px; height: 22px; }
}
/* visitors who ask their device for less motion get the same icons, standing still */
@media (prefers-reduced-motion: reduce) {
  .hero, .hero::before, .floater, .floater i, .hero h1, .hero .hero-title, .hero .lead { animation: none; }
  .floater { left: calc(var(--x) * 1%); }
}

/* verification */
.steps-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: .88rem; }
.steps-list li { display: flex; gap: 9px; align-items: center; padding: 4px 0; }
.steps-list li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--gold-500); display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; flex: none; }
.steps-list li.done i { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.steps-list li.done span { color: var(--muted); }
.contact-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row > div { flex: 1; min-width: 180px; overflow-wrap: anywhere; }
.contact-row form { margin: 0; }
.code-input { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-weight: 700; }

/* login & register card */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.auth-wrap { max-width: 900px; margin: 30px auto 0; }
.auth-wrap-wide { max-width: 1060px; }
.auth-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 340px minmax(0, 1fr); border-radius: 22px; box-shadow: 0 30px 70px rgba(6, 42, 31, .2); animation: card-in .75s cubic-bezier(.2, .9, .25, 1.15) both; }
.auth-card::before, .auth-card::after { content: ""; position: absolute; inset: -3px; border-radius: 25px; z-index: -1; background: conic-gradient(from var(--spin), var(--gold-300), var(--green-500) 22%, var(--forest-900) 45%, var(--gold-500) 62%, var(--green-100) 78%, var(--gold-300)); animation: spin-border 7s linear infinite; }
.auth-card::after { filter: blur(18px); opacity: .45; }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 38px 30px; border-radius: 22px 0 0 22px; color: #dceee5; background: linear-gradient(155deg, var(--forest-900), var(--forest-700) 55%, var(--green-600)); background-size: 220% 220%; animation: art-shift 12s ease-in-out infinite alternate; }
.auth-art > * { position: relative; z-index: 1; }
.auth-art h2 { color: #fff; font-size: 1.55rem; margin: 0 0 6px; }
.auth-art .orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.orb-1 { width: 220px; height: 220px; right: -90px; top: -70px; background: radial-gradient(circle, rgba(236, 202, 107, .55), transparent 70%); animation: orb 9s ease-in-out infinite alternate; }
.orb-2 { width: 190px; height: 190px; left: -80px; bottom: -50px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); animation: orb 11s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 60px; height: 60px; right: 26px; bottom: 70px; border: 2px solid rgba(236, 202, 107, .4); animation: orb 7s ease-in-out infinite alternate; }
.auth-emblem { width: 74px; height: 74px; margin-bottom: 18px; border-radius: 24px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(236, 202, 107, .5); color: var(--gold-300); animation: float 4s ease-in-out infinite alternate; }
.auth-emblem i { position: absolute; inset: -1px; border-radius: 24px; border: 2px solid var(--gold-300); animation: ripple 3s ease-out infinite; }
.auth-emblem i + i { animation-delay: 1.5s; }
.auth-points { list-style: none; padding: 0; margin: 8px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.auth-points li { display: flex; gap: 11px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; animation: slide-in .6s cubic-bezier(.2, .9, .25, 1) both; transition: background .2s; }
.auth-points li:hover { background: rgba(255, 255, 255, .16); }
.auth-points li .icon { color: var(--gold-300); }
.auth-points li:nth-child(2) { animation-delay: .12s; }
.auth-points li:nth-child(3) { animation-delay: .24s; }
.auth-points li:nth-child(4) { animation-delay: .36s; }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(236, 202, 107, .6); color: #fff; align-self: flex-start; }
.btn-glass:hover { background: var(--gold-500); color: var(--forest-900); }
.auth-main { padding: 28px 34px 22px; min-width: 0; background: #fff; border-radius: 0 22px 22px 0; }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 22px; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-100); }
.auth-tabs::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, var(--forest-800), var(--green-600)); box-shadow: 0 6px 16px rgba(6, 42, 31, .28); animation: tab-from-right .5s cubic-bezier(.3, 1.2, .4, 1) both; }
.auth-tabs.on-second::before { left: 50%; animation-name: tab-from-left; }
.auth-tabs a { position: relative; text-align: center; padding: 9px; font-weight: 700; color: var(--forest-800); border-radius: 999px; }
.auth-tabs a.on { color: var(--gold-300); }
.auth-form > * { animation: slide-up .55s ease-out both; }
.auth-form > :nth-child(3) { animation-delay: .05s; }
.auth-form > :nth-child(4) { animation-delay: .1s; }
.auth-form > :nth-child(5) { animation-delay: .15s; }
.auth-form > :nth-child(6) { animation-delay: .2s; }
.auth-form > :nth-child(7) { animation-delay: .25s; }
.auth-form > :nth-child(n+8) { animation-delay: .3s; }
.af-box { position: relative; display: flex; align-items: center; }
.af-box .af-icon { position: absolute; left: 13px; color: var(--muted); pointer-events: none; transition: .2s; }
.af-box .input { padding: 12px 14px 12px 42px; border-radius: 12px; background: #fbfdfc; transition: border-color .2s, box-shadow .2s, transform .2s; }
.af-box .input:focus { outline: 0; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(27, 154, 97, .15), 0 8px 20px rgba(6, 42, 31, .08); transform: translateY(-1px); }
.af-box:focus-within .af-icon { color: var(--gold-600); transform: scale(1.15); }
.af.bad .input { border-color: var(--danger); }
.af-box .peek { position: absolute; right: 8px; border: 0; background: var(--green-50); color: var(--forest-800); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; }
.af-box input[data-peek] { padding-right: 70px; }
.strength { display: flex; gap: 4px; margin-top: 7px; align-items: center; font-size: .74rem; font-weight: 700; color: var(--muted); }
.strength i { height: 5px; flex: 1; border-radius: 5px; background: #e6ede9; transition: background .25s; }
.strength b { min-width: 52px; text-align: right; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--danger); }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--gold-500); }
.strength[data-score="3"] i:nth-child(-n+3) { background: var(--green-500); }
.strength[data-score="4"] i:nth-child(-n+4) { background: var(--green-600); }
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-tile { position: relative; cursor: pointer; }
.type-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-face { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--forest-800); transition: .22s; }
.type-tile:hover .type-face { transform: translateY(-2px); border-color: var(--green-500); }
.type-tile input:checked + .type-face { border-color: var(--gold-500); background: linear-gradient(135deg, var(--forest-800), var(--forest-700)); color: var(--gold-300); box-shadow: 0 12px 24px rgba(6, 42, 31, .22); animation: pop .4s ease-out; }
.type-tile input:focus-visible + .type-face { outline: 3px solid var(--green-500); outline-offset: 2px; }
.auth-forgot { text-align: right; margin: -6px 0 14px; font-size: .86rem; }
.auth-switch { margin: 16px 0 0; }
.btn-shine { position: relative; overflow: hidden; padding-block: 13px; font-size: 1rem; }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 3.4s ease-in-out infinite; pointer-events: none; }
.auth-card.has-errors { animation: shake .55s ease-in-out both; }
@keyframes card-in { from { transform: translateY(46px) scale(.95); } to { transform: none; } }
@keyframes spin-border { to { --spin: 360deg; } }
@keyframes art-shift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes orb { from { transform: translate(0, 0) scale(1); } to { transform: translate(-26px, 30px) scale(1.18); } }
@keyframes float { from { transform: translateY(-4px) rotate(-4deg); } to { transform: translateY(6px) rotate(4deg); } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-28px); } to { transform: none; } }
@keyframes slide-up { from { transform: translateY(18px); } to { transform: none; } }
@keyframes tab-from-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes tab-from-left { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-12px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(3px); } }
@media (max-width: 800px) {
  .auth-card { grid-template-columns: minmax(0, 1fr); }
  .auth-art { order: 2; border-radius: 0 0 22px 22px; padding: 26px 22px; }
  .auth-main { padding: 20px 18px; border-radius: 22px 22px 0 0; }
  .type-pick { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card, .auth-card::before, .auth-card::after, .auth-art, .auth-art .orb, .auth-emblem, .auth-emblem i, .auth-points li, .auth-form > *, .auth-tabs::before, .btn-shine::after, .type-face { animation: none !important; }
  .auth-emblem i, .btn-shine::after { display: none; }
}

/* animated job cards */
.tone-0 { --a: var(--forest-800); --b: var(--green-600); --on: var(--gold-300); }
.tone-1 { --a: var(--gold-500); --b: var(--gold-300); --on: var(--forest-900); }
.tone-2 { --a: var(--green-600); --b: #35b87a; --on: #fff; }
.tone-3 { --a: var(--forest-900); --b: var(--gold-600); --on: #fff; }
.tone-4 { --a: #0b5a5c; --b: #1c9a8c; --on: #fff; }
.tone-5 { --a: #3c5a14; --b: #8a9a22; --on: #fff; }
.job-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 11px; min-width: 0; padding: 18px 18px 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), box-shadow .28s, border-color .28s; }
.job-card::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, var(--b), transparent 68%); opacity: .14; transition: transform .5s, opacity .5s; animation: orb 8s ease-in-out infinite alternate; }
.job-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(236, 202, 107, .22), transparent); pointer-events: none; }
.job-card:hover, .job-card:focus-within { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(6, 42, 31, .17); border-color: var(--green-500); }
.job-card:hover::before { transform: scale(1.7); opacity: .22; }
.job-card:hover::after { left: 135%; transition: left .85s ease; }
.job-card.enter, .job-tile.enter { animation: job-in .7s cubic-bezier(.2, .9, .25, 1.2) var(--wait, 0ms) backwards; }
.job-bar { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--a), var(--b), var(--gold-300), var(--a)); background-size: 220% 100%; animation: bar-flow 5s linear infinite; }
.job-card:hover .job-bar { height: 6px; animation-duration: 1.8s; }
.job-head { display: flex; gap: 12px; align-items: center; }
.job-logo { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(140deg, var(--a), var(--b)); color: var(--on); font-weight: 800; font-size: 1.25rem; box-shadow: 0 8px 18px rgba(6, 42, 31, .2); transition: transform .35s cubic-bezier(.2, .9, .3, 1.5); }
.job-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.job-card:hover .job-logo { transform: rotate(-7deg) scale(1.1); }
.job-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.job-employer { font-weight: 700; color: var(--forest-800); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-place { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.job-flags { display: flex; gap: 6px; align-items: center; align-self: flex-start; flex-wrap: wrap; justify-content: flex-end; }
.job-new { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--green-100); color: var(--forest-800); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.job-new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); animation: pulse 1.6s ease-out infinite; }
.job-title { font-size: 1.07rem; font-weight: 700; line-height: 1.35; color: var(--forest-900); transition: color .2s; }
.job-card:hover .job-title { color: var(--green-600); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #f3f6f4; border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--forest-800); transition: transform .25s, background .25s; }
.job-tags span.green { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.job-tags span.gold { background: var(--gold-100); border-color: var(--gold-300); color: var(--gold-600); }
.job-card:hover .job-tags span { transform: translateY(-2px); }
.job-card:hover .job-tags span:nth-child(2) { transition-delay: .04s; }
.job-card:hover .job-tags span:nth-child(3) { transition-delay: .08s; }
.job-card:hover .job-tags span:nth-child(n+4) { transition-delay: .12s; }
.job-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 11px; border-top: 1px dashed var(--line); }
.job-pay { display: inline-flex; align-items: center; gap: 6px; color: var(--forest-700); }
.job-pay .icon { color: var(--gold-600); }
.job-pay b { font-size: 1.02rem; }
.job-pay small { color: var(--muted); }
.job-time { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; color: var(--muted); }
.job-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--green-50); color: var(--forest-800); font-weight: 700; font-size: .8rem; transition: background .25s, color .25s; }
.job-go i { font-style: normal; display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
.job-card:hover .job-go { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--forest-900); }
.job-card.featured { border: 2px solid transparent; background: linear-gradient(105deg, #fffcf0, #fff 55%) padding-box, conic-gradient(from var(--spin), var(--gold-300), var(--gold-600), var(--green-500), var(--gold-300)) border-box; animation: spin-border 6s linear infinite; }
.job-card.featured:hover { border-color: transparent; }
.job-card.featured.enter { animation: job-in .7s cubic-bezier(.2, .9, .25, 1.2) var(--wait, 0ms) backwards, spin-border 6s linear infinite; }

/* jobs shown as square tiles (featured, similar, favourites, company pages) */
.card.job-tile { transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), box-shadow .28s; }
.card.job-tile:hover { transform: translateY(-7px); }
.job-tile .card-img { background: linear-gradient(140deg, var(--a), var(--b), var(--a)); background-size: 240% 240%; animation: art-shift 7s ease-in-out infinite alternate; color: var(--on); overflow: hidden; }
.job-tile .card-img::before, .job-tile .card-img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ripple 3s ease-out infinite; }
.job-tile .card-img::after { animation-delay: 1.5s; }
.job-emblem { position: relative; z-index: 1; width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); font-size: 1.9rem; font-weight: 800; animation: float 3.6s ease-in-out infinite alternate; }
.job-emblem img { position: static; width: 100%; height: 100%; object-fit: cover; }
.job-tile .card-img .job-new { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: #fff; }
.job-tile:hover .card-title { color: var(--green-600); }

.bot-job { animation: slide-up .4s ease-out backwards; transition: transform .2s, box-shadow .2s; }
.bot-job:hover { transform: translateX(5px); box-shadow: var(--shadow); }
@keyframes job-in { from { transform: translateY(44px) scale(.94); } to { transform: none; } }
@keyframes bar-flow { to { background-position: -220% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19, 128, 79, .65); } 100% { box-shadow: 0 0 0 9px rgba(19, 128, 79, 0); } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(4px); } }
@media (max-width: 560px) { .job-card { padding: 15px 13px 12px; } .job-go { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .job-card, .job-card::before, .job-bar, .job-new::before, .job-go i, .job-tile .card-img, .job-tile .card-img::before, .job-tile .card-img::after, .job-emblem, .bot-job { animation: none !important; }
  .job-card:hover, .card.job-tile:hover { transform: none; }
  .job-card::after, .job-tile .card-img::before, .job-tile .card-img::after { display: none; }
}

/* choices made on the Appearance screen */
.logo-img { max-height: 46px; max-width: 210px; width: auto; }
.footer .logo-img { background: #fff; border-radius: 10px; padding: 5px 8px; }
.footer .socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer .socials a { padding: 4px 12px; border: 1px solid rgba(236, 202, 107, .35); border-radius: 999px; font-size: .8rem; }
.still-hero .hero, .still-hero .hero::before, .still-hero .floater, .still-hero .floater i, .still-hero .hero h1, .still-hero .hero .hero-title, .still-hero .hero .lead { animation: none; }
.still-hero .floater { left: calc(var(--x) * 1%); }
.plain-hero .hero-bg { display: none; }
.still-cards .job-card, .still-cards .job-card *, .still-cards .job-card::before, .still-cards .job-tile .card-img, .still-cards .job-tile .card-img::before, .still-cards .job-tile .card-img::after, .still-cards .job-emblem, .still-cards .auth-card, .still-cards .auth-card::before, .still-cards .auth-card::after, .still-cards .auth-card *, .still-cards .auth-card *::before, .still-cards .auth-card *::after { animation: none !important; }
.banner-gold { background: linear-gradient(120deg, var(--gold-300), var(--gold-500)) !important; color: var(--forest-900) !important; }
.banner-gold .btn { background: var(--forest-900); }
.banner-dark { background: linear-gradient(120deg, var(--forest-900), var(--forest-700)) !important; color: #fff !important; }
.banner-dark .btn { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)) !important; color: var(--forest-900) !important; }
.promo.single { grid-template-columns: minmax(0, 1fr); }

.tiles-flat { margin-top: 28px; }
.home > .tiles:not(:first-child) { margin-top: 28px; }

/* admin: editing tools */
.edit-toggle { position: fixed; left: 18px; bottom: 20px; z-index: 90; padding: 11px 17px; border-radius: 999px; border: 2px solid var(--gold-500); background: #fff; color: var(--forest-900); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-lg); }
.editing-texts .edit-toggle { background: var(--gold-500); }
.editing-texts body :is(h1, h2, h3, h4, h5, p, a, span, b, em, small, label, button, li, td, th, summary):hover { outline: 2px dashed var(--gold-500); outline-offset: 2px; cursor: text; }
.editing-texts .card-title::after { display: none; }
.edit-dialog { width: min(520px, 92vw); border: 0; border-radius: 18px; padding: 24px; box-shadow: var(--shadow-lg); }
.edit-dialog::backdrop { background: rgba(6, 42, 31, .55); }
.edit-dialog .edit-now { padding: 8px 12px; border-radius: 9px; background: var(--green-50); max-height: 110px; overflow: auto; overflow-wrap: anywhere; }
.edit-dialog textarea { margin-bottom: 6px; }
.text-row { display: flex; gap: 6px; align-items: flex-start; margin: 0; }
.text-row textarea { flex: 1; min-width: 160px; }
.code-area { font-family: Consolas, "Courier New", monospace; font-size: .84rem; line-height: 1.5; white-space: pre; tab-size: 2; }
.colour-pick { width: 46px; height: 32px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; padding: 2px; }
.photo-edit { display: flex; flex-direction: column; gap: 4px; }
.photo-edit .input-sm { width: 70px; }
.mt-0 { margin-top: 0; }

/* videos on ads */
.video-box { border-radius: var(--radius); overflow: hidden; background: var(--forest-900); }
.video-box video { display: block; width: 100%; max-height: 520px; }
.video-small { max-width: 360px; margin: 10px 0; }
.video-badge { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 2px 9px; border-radius: 999px; background: var(--gold-500); color: var(--forest-900); font-size: .72rem; font-weight: 800; }
