:root {
  --bg: #f3f6f2;
  --bg-2: #e8efe6;
  --surface: #ffffff;
  --ink: #14201a;
  --muted: #5a6b62;
  --line: #d5e0d8;
  --brand: #1b7a4a;
  --brand-dark: #0f5a35;
  --brand-soft: #d9f0e4;
  --accent: #e87722;
  --accent-soft: #fff0e4;
  --teal: #0d8a7a;
  --danger: #c0392b;
  --warning: #d68910;
  --shadow: 0 12px 40px rgba(20, 32, 26, 0.08);
  --radius: 18px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #c8ead8 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #ffe4c8 0%, transparent 50%),
    linear-gradient(180deg, #f7faf6 0%, var(--bg) 40%, #eef4ec 100%);
  min-height: 100vh;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 246, 0.88);
  border-bottom: 1px solid rgba(213, 224, 216, 0.8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 1rem;
  position: relative;
}
.brand {
  display: flex; align-items: center; gap: .75rem; color: var(--ink);
}
.brand img { border-radius: 12px; }
.brand strong {
  display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1;
}
.brand small { color: var(--muted); font-size: .75rem; }
.main-nav {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
.main-nav > a:not(.btn) {
  padding: .45rem .7rem; border-radius: 999px; color: var(--muted);
  font-weight: 600; font-size: .92rem;
}
.main-nav > a:not(.btn):hover,
.main-nav > a.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-toggle {
  display: none;
  background: var(--brand-soft);
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .75rem 1.35rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff !important; box-shadow: 0 8px 24px rgba(27, 122, 74, 0.28);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #c45f12 100%);
  color: #fff !important; box-shadow: 0 8px 24px rgba(232, 119, 34, 0.28);
}
.btn-ghost {
  background: transparent; color: var(--ink) !important;
  border: 1.5px solid var(--line);
}
.btn-outline {
  background: #fff; color: var(--brand-dark) !important;
  border: 1.5px solid var(--brand);
}
.btn-sm { padding: .45rem .95rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: #fff !important; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 2.5rem;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.08;
  letter-spacing: -0.03em; margin: .4rem 0 1rem;
}
.hero-copy .lead {
  font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-search {
  display: flex; gap: .5rem; background: var(--surface); padding: .45rem;
  border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-search input {
  flex: 1; border: 0; outline: 0; padding: .85rem 1.1rem; font-size: 1rem;
  background: transparent; font-family: inherit; min-width: 0;
}
.hero-visual {
  position: relative; min-height: 380px;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, #1b7a4a 0%, #0d5c42 45%, #0a3d32 100%);
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; min-height: 380px;
  opacity: .92;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 40, 28, 0.55) 100%);
}

/* Sections */
.section { padding: 3.2rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .35rem;
}

/* Cards / grids */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(20,32,26,.04);
}
.stat-card strong {
  display: block; font-family: var(--font-display); font-size: 1.85rem;
  font-weight: 800; color: var(--brand-dark); line-height: 1;
}
.stat-card span { color: var(--muted); font-size: .9rem; }

.dual-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.cta-panel {
  border-radius: 24px; padding: 2rem; position: relative; overflow: hidden;
  min-height: 200px; display: flex; flex-direction: column; justify-content: center;
}
.cta-panel.job { background: linear-gradient(135deg, #1b7a4a, #0f4d32); color: #fff; }
.cta-panel.hire { background: linear-gradient(135deg, #e87722, #b85a12); color: #fff; }
.cta-panel h3 {
  font-family: var(--font-display); font-size: 1.7rem; margin-bottom: .5rem;
}
.cta-panel p { opacity: .92; margin-bottom: 1.25rem; max-width: 28rem; }
.cta-panel .btn { align-self: flex-start; background: #fff; color: var(--ink) !important; }

.job-grid, .card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem;
}
.job-card, .info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
  transition: transform .18s, box-shadow .18s;
}
.job-card:hover, .info-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.job-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; margin: .35rem 0 .25rem;
}
.job-meta {
  display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0;
  color: var(--muted); font-size: .88rem;
}
.job-meta span {
  background: var(--bg-2); padding: .2rem .55rem; border-radius: 999px;
}
.job-card .company { color: var(--muted); font-weight: 600; }
.job-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem; gap: .5rem; flex-wrap: wrap;
}

.badge {
  display: inline-flex; align-items: center; padding: .2rem .55rem;
  border-radius: 999px; font-size: .75rem; font-weight: 700;
  font-family: var(--font-display);
}
.badge-green { background: #d9f0e4; color: #0f5a35; }
.badge-blue { background: #dceeff; color: #155a8a; }
.badge-amber { background: #fff0d6; color: #8a5a00; }
.badge-teal { background: #d5f5f0; color: #0a6b5e; }
.badge-gray { background: #ecefec; color: #445; }
.badge-featured { background: var(--accent-soft); color: #9a4a0a; }
.badge-verified { background: #dceeff; color: #0d5a8a; }
.badge-community { background: #efe4ff; color: #5a2d9a; }

/* Forms */
.page-hero {
  padding: 2.2rem 0 1rem;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}
.page-hero p { color: var(--muted); margin-top: .35rem; }

.form-card, .panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 1.75rem; box-shadow: 0 4px 20px rgba(20,32,26,.04);
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .7rem .9rem; font: inherit; background: #fbfcfb;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,122,74,.15);
  background: #fff;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: .82rem; color: var(--muted); margin-top: .25rem; }

.password-wrap {
  position: relative;
  display: block;
}
.password-wrap input {
  width: 100%;
  padding-right: 2.85rem;
}
.password-toggle {
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.password-toggle:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.password-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkbox-row {
  display: flex; align-items: center; gap: .55rem; margin: .75rem 0;
}
.auth-wrap {
  max-width: 520px; margin: 2rem auto 3rem;
}
.auth-tabs {
  display: flex; gap: .5rem; margin-bottom: 1.25rem;
}
.auth-tabs a {
  flex: 1; text-align: center; padding: .7rem; border-radius: 12px;
  background: var(--bg-2); font-weight: 700; color: var(--muted);
}
.auth-tabs a.active { background: var(--brand); color: #fff; }

/* Filters */
.filter-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem; margin-bottom: 1.5rem;
  background: var(--surface); padding: 1rem; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.filter-bar input, .filter-bar select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: .65rem .75rem; font: inherit; background: #fbfcfb;
}

/* Dashboard */
.dash-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 1.25rem;
  padding: 1.5rem 0 3rem;
}
.dash-side {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.25rem; height: fit-content;
  position: sticky; top: 90px;
}
.dash-side h3 {
  font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .85rem;
}
.dash-side a {
  display: block; padding: .6rem .75rem; border-radius: 10px;
  color: var(--muted); font-weight: 600; margin-bottom: .2rem;
}
.dash-side a:hover, .dash-side a.active {
  background: var(--brand-soft); color: var(--brand-dark);
}
.dash-main { min-width: 0; }
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
table.data th, table.data td {
  text-align: left; padding: .75rem .6rem; border-bottom: 1px solid var(--line);
}
table.data th {
  font-family: var(--font-display); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
}
table.data tr:hover td { background: #f7faf7; }

.alert {
  margin: 1rem 0; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600;
}
.alert-success { background: #d9f0e4; color: #0f5a35; }
.alert-error { background: #fde8e6; color: #8a241c; }
.alert-info { background: #dceeff; color: #155a8a; }

/* Toast notifications */
.toast-root {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: min(380px, calc(100vw - 1.5rem));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(20, 32, 26, 0.18);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
  background: #fff;
  border: 1px solid var(--line);
  animation: toastIn .35s ease forwards;
}
.toast.hide {
  animation: toastOut .28s ease forwards;
}
.toast-success {
  background: linear-gradient(135deg, #edf9f2, #ffffff);
  border-color: #b7e2c8;
  color: #0f5a35;
}
.toast-error {
  background: linear-gradient(135deg, #fff1ef, #ffffff);
  border-color: #f0c0b8;
  color: #8a241c;
}
.toast-info {
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border-color: #b9d7f0;
  color: #155a8a;
}
.toast-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: .1rem;
  border-radius: 50%;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.toast-error .toast-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.toast-info .toast-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v4h1'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v4h1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.toast-msg { flex: 1; }
.toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .55;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .15rem;
}
.toast-close:hover { opacity: 1; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-10px) scale(.96); }
}

@media (max-width: 560px) {
  .toast-root {
    top: auto;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
  }
}

.empty {
  text-align: center; padding: 2.5rem 1rem; color: var(--muted);
}

/* Job detail */
.job-detail-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem;
  padding-bottom: 3rem;
}
.side-actions .btn { width: 100%; margin-bottom: .6rem; }

/* Footer */
.site-footer {
  background: #0f1f18; color: #c8d6ce; padding: 3rem 0 1.25rem; margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; color: #fff; }
.footer-brand img { border-radius: 10px; }
.site-footer h4 {
  color: #fff; font-family: var(--font-display); margin-bottom: .75rem;
}
.site-footer a { display: block; color: #a8bdb2; margin-bottom: .4rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #243830;
  font-size: .9rem;
}

.avatar {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover;
  background: var(--brand-soft);
}
.profile-head {
  display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem;
}
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  background: var(--bg-2); padding: .25rem .6rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid, .dual-cta, .job-detail-grid, .dash-layout, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .dash-side { position: static; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(247, 250, 246, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: .75rem 1rem 1.1rem;
    box-shadow: 0 16px 30px rgba(20,32,26,.08);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) {
    padding: .85rem .9rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  .main-nav .btn { margin-top: .35rem; width: 100%; }
}

@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .hero-search { flex-direction: column; border-radius: 18px; }
  .hero-search .btn { border-radius: 14px; width: 100%; }
}

/* ========== App-like mobile shell ========== */
.header-actions-mobile {
  display: none;
  align-items: center;
  gap: .4rem;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 2;
}
.mobile-tabbar { display: none; }
.header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff !important;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-chip.ghost {
  background: #fff;
  color: var(--brand-dark) !important;
  border: 1.5px solid var(--brand);
}
.header-icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-dark); background: var(--brand-soft);
  flex-shrink: 0;
}
.header-icon-btn svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 960px) {
  .header-actions-mobile { display: flex !important; }
  .header-inner { gap: .5rem; }
  .main-nav {
    /* keep drawer out of flex width so right side doesn't look empty */
    width: 100%;
  }
}

@media (max-width: 768px) {
  body.app-shell {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .header-inner {
    min-height: 58px;
    width: min(1180px, 94%);
  }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { display: none; }

  .mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 28px rgba(20,32,26,.08);
  }
  .mobile-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 700;
    padding: .35rem .15rem;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-tabbar a svg {
    width: 22px; height: 22px;
    fill: none; stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .mobile-tabbar a.active { color: var(--brand-dark); }
  .mobile-tabbar a.active svg { stroke-width: 2.4; }
  .mobile-tabbar .tab-post-btn {
    width: 44px; height: 44px; margin-top: -18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(27,122,74,.35);
  }
  .mobile-tabbar .tab-post-btn svg { stroke: #fff; width: 24px; height: 24px; }
  .mobile-tabbar .tab-post { color: var(--brand-dark); }
  .mobile-tabbar .tab-post span:last-child { margin-top: .1rem; }

  .hero { padding: 1.25rem 0 1rem; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); margin-bottom: .65rem; }
  .hero-copy .lead { font-size: 1rem; margin-bottom: 1rem; }
  .hero-actions { gap: .55rem; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 46px; padding: .7rem 1rem; font-size: .9rem; }
  .hero-visual { min-height: 220px; border-radius: 20px; }
  .hero-visual img { min-height: 220px; }

  .section { padding: 1.75rem 0; }
  .section-head { margin-bottom: 1rem; align-items: center; }
  .section-head h2 { font-size: 1.45rem; }
  .page-hero { padding: 1.25rem 0 .75rem; }
  .page-hero h1 { font-size: 1.55rem; }

  .container { width: min(1180px, 94%); }
  .job-grid, .card-grid { grid-template-columns: 1fr; gap: .85rem; }
  .job-card, .info-card, .form-card, .panel {
    border-radius: 16px;
    padding: 1rem 1.05rem;
  }
  .stat-card { padding: 1rem; border-radius: 14px; }
  .stat-card strong { font-size: 1.4rem; }
  .cta-panel { padding: 1.35rem; border-radius: 18px; min-height: 160px; }
  .cta-panel h3 { font-size: 1.35rem; }

  .filter-bar {
    display: flex;
    overflow-x: auto;
    gap: .55rem;
    padding: .75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar > * {
    flex: 0 0 auto;
    min-width: 140px;
  }
  .filter-bar .btn { min-width: 90px; }

  .dash-layout {
    padding: 1rem 0 2rem;
    gap: .85rem;
  }
  .dash-side {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: .65rem;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dash-side::-webkit-scrollbar { display: none; }
  .dash-side h3 { display: none; }
  .dash-side a {
    flex: 0 0 auto;
    white-space: nowrap;
    margin: 0;
    padding: .55rem .85rem;
    background: var(--bg-2);
    font-size: .88rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevent iOS zoom */
    min-height: 46px;
    border-radius: 12px;
  }
  .btn { min-height: 46px; }
  .btn-sm { min-height: 38px; }

  .auth-wrap { margin: 1rem auto 2rem; }
  .site-footer {
    padding: 1.75rem 0 1rem;
    margin-top: 1rem;
  }
  .footer-links { display: none; }
  .footer-bottom { margin-top: 1rem; text-align: center; }

  .toast-root {
    top: auto;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    right: 50%;
    transform: translateX(50%);
    width: min(420px, calc(100vw - 1.2rem));
  }

  table.data { font-size: .84rem; }
  table.data th, table.data td { padding: .65rem .4rem; }

  .job-detail-grid { gap: .85rem; padding-bottom: 1.5rem; }
  .side-actions {
    position: sticky;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    box-shadow: 0 -8px 24px rgba(20,32,26,.08);
  }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-row { gap: .5rem; }
  .stat-card strong { font-size: 1.25rem; }
  .mobile-tabbar a { font-size: .62rem; }
}
