.app-main { padding: var(--space-6) 0 var(--space-8); min-height: 60vh; }
.app-main h1 { font-size: var(--text-3xl); margin-bottom: var(--space-2); }
.app-main .lede { color: var(--color-text-body); margin-bottom: var(--space-5); }

.form-card { max-width: 640px; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-card); }
.form-row { margin-bottom: var(--space-4); }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: var(--text-sm); }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: var(--text-base);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: var(--text-xs); color: #6b7280; margin-top: 4px; }

.alert { padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: var(--space-4); font-size: var(--text-sm); }
.alert-success { background: #eafaf0; border: 1px solid #34a853; color: #14532d; }
.alert-error { background: #fdecea; border: 1px solid #e74c3c; color: #7f1d1d; }

.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.list-card { border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-4); background: #fff; }
.list-card h3 { margin: 0 0 6px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 600; }
.badge-open { background: #eafaf0; color: #14532d; }
.badge-pending { background: #fff7e6; color: #92400e; }
.badge-progress { background: #e8f0fe; color: #1e3a8a; }
.badge-completed { background: #f3f4f6; color: #374151; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: var(--text-sm); }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; }
.data-table th { background: #f9fafb; font-weight: 600; }
.btn-sm { padding: 6px 14px; font-size: var(--text-xs); border-radius: var(--radius-pill); border: none; cursor: pointer; font-weight: 600; }
.btn-approve { background: #34a853; color: #fff; }
.btn-reject { background: #e74c3c; color: #fff; }
.btn-neutral { background: #e5e7eb; color: #111; }

/* Admin: full-height sidebar layout */
html:has(.admin-layout), body:has(.admin-layout) { height: 100%; }
.admin-layout { display: flex; min-height: 100vh; background: var(--color-bg-offwhite); }

.admin-sidebar {
  width: 240px; flex-shrink: 0; background: var(--color-bg-slate); color: #cfd8e8;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-sidebar-logo { display: flex; align-items: center; gap: 10px; padding: var(--space-4) var(--space-4) var(--space-3); }
.admin-sidebar-logo img { height: 30px; }
.admin-sidebar-nav { flex: 1; padding: var(--space-3) var(--space-2); display: flex; flex-direction: column; gap: 2px; }
.admin-nav-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-md);
  color: #cfd8e8; text-decoration: none; font-size: var(--text-sm); font-weight: 500;
}
.admin-nav-link svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.admin-nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-nav-link.active { background: var(--color-accent); color: #fff; font-weight: 700; }
.admin-nav-link.active svg { opacity: 1; }
.admin-sidebar-footer { padding: var(--space-3) var(--space-4) var(--space-4); border-top: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-user { font-size: var(--text-xs); color: #9fb0cc; margin-bottom: 8px; word-break: break-all; }
.admin-sidebar-logout { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: var(--text-sm); font-weight: 600; opacity: 0.85; }
.admin-sidebar-logout:hover { opacity: 1; text-decoration: underline; }

.admin-content { flex: 1; min-width: 0; }
.admin-topbar { background: #fff; border-bottom: 1px solid #e5e7eb; padding: var(--space-4) var(--space-5); }
.admin-topbar h1 { margin: 0; font-size: var(--text-2xl); }
.admin-body { padding: var(--space-5); }

/* Login page */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-bg-pale-blue); padding: var(--space-4); }
.admin-login-card { width: 100%; max-width: 380px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card-hover); padding: var(--space-6) var(--space-5); text-align: center; }
.admin-login-card img { height: 52px; margin-bottom: var(--space-3); }
.admin-login-card h1 { font-size: var(--text-xl); margin: 0 0 4px; }
.admin-login-card .lede { color: var(--color-text-body); font-size: var(--text-sm); margin: 0 0 var(--space-4); }
.admin-login-card .form-card { border: none; box-shadow: none; padding: 0; text-align: left; max-width: none; }

.stat-row { display: flex; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.stat-box { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); min-width: 140px; }
.stat-box .n { font-size: var(--text-3xl); font-weight: 800; color: var(--color-brand); }
.stat-box .l { font-size: var(--text-xs); color: #6b7280; }

.hero-scroll-cue { display: inline-block; margin-top: var(--space-3); font-weight: 600; font-size: var(--text-sm); color: var(--color-brand); text-decoration: none; }
.hero-scroll-cue:hover { text-decoration: underline; }

.section-sub { color: var(--color-text-body); max-width: 640px; margin: -8px 0 var(--space-5); font-size: var(--text-base); }
.section-sub-center { margin-left: auto; margin-right: auto; text-align: center; }

.category-num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-4); }
.category-num-card { border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-5); background: #fff; }
.category-num-card .num { display: block; font-size: var(--text-2xl); font-weight: 800; color: var(--color-accent); margin-bottom: var(--space-2); }
.category-num-card h3 { margin: 4px 0 8px; }
.category-num-card p { color: var(--color-text-body); font-size: var(--text-sm); margin: 0 0 var(--space-3); }
.category-num-card .category-tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-brand); text-decoration: none; margin-bottom: 6px; }

/* ---------- v1 marketplace: header, cards, dashboards ---------- */

/* Header: "Post a job" is a button inside the nav, the rest are links */
.nav a.btn::after { display: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--color-bg); }
.nav { gap: var(--space-3) var(--space-4); }
.header-actions a:not(.btn) { color: var(--color-text-heading); font-weight: var(--weight-medium); white-space: nowrap; }
.nav a, .header-actions .btn { white-space: nowrap; }

/* Eight header items need more room than the old five, so the drawer takes over earlier than 900px */
@media (max-width: 1100px) {
  .header-row { flex-wrap: wrap; position: relative; }
  .logo img { height: 40px; width: auto; }
  .nav-toggle-label { display: flex; }
  .header-collapse { display: block; width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .nav-toggle-checkbox:checked ~ .header-collapse { max-height: 600px; }
  .header-collapse .nav { flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) 0 0; }
  .header-collapse .header-actions { flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) 0; }
}

.footer-legal { margin: var(--space-5) 0 0; font-size: var(--text-xs); color: rgba(255,255,255,0.6); }
.site-footer .footer-brand img { height: 46px; width: auto; }

.app-main h1 { overflow-wrap: anywhere; }
.app-narrow { max-width: 720px; }
.app-narrow .form-card { max-width: none; }
.sub-heading { font-size: var(--text-xl); margin: var(--space-5) 0 var(--space-3); }
.muted { color: var(--color-text-muted); }
.crumb { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.cta-row { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.form-alt { margin-top: var(--space-4); font-size: var(--text-sm); }
.form-section { font-size: var(--text-base); margin: var(--space-4) 0 var(--space-3); padding-top: var(--space-3); border-top: 1px solid #e5e7eb; }
.form-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.form-row input[type="file"] { padding: 8px; background: #f9fafb; }
.form-row input:disabled { background: #f3f4f6; color: #6b7280; }
.form-row input[type="checkbox"] { width: auto; }
.privacy-note { margin-top: var(--space-3); padding: 10px 12px; background: var(--color-bg-pale-green); border-radius: var(--radius-md); color: #14532d; }
.inline-check { font-weight: 400; margin-left: 8px; }
.alert-pending { background: #fff7e6; border: 1px solid #f0b429; color: #7a4a00; }
.list-card p { color: var(--color-text-body, var(--color-text)); font-size: var(--text-sm); margin-bottom: 0; }
.list-card .badge { margin-bottom: 8px; }
.app-main .check-list li { margin-bottom: var(--space-2); }

.filter-bar { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); flex-wrap: wrap; }
.filter-bar label { font-weight: 600; font-size: var(--text-sm); }
.filter-bar select { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: var(--radius-md); font-family: var(--font-body); font-size: var(--text-base); max-width: 100%; background: #fff; }

.empty-state { border: 1px dashed #cbd5e1; border-radius: var(--radius-lg); padding: var(--space-5); text-align: center; background: var(--color-bg-offwhite); }
.empty-state p { color: var(--color-text-muted); }

/* Job and provider cards */
.job-card, .provider-card {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg);
  padding: var(--space-4); color: var(--color-text); box-shadow: var(--shadow-card); transition: box-shadow .2s ease, transform .2s ease; min-width: 0;
}
.job-card:hover, .provider-card:hover { text-decoration: none; box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.job-card h3, .provider-card h3 { margin: 0; font-size: var(--text-lg); overflow-wrap: anywhere; }
.job-card .badge { align-self: flex-start; }
.job-card-cat { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-accent); }
.job-card-desc, .provider-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; overflow-wrap: anywhere; }
.job-card-meta { display: grid; gap: 4px; font-size: var(--text-sm); }
.job-card-meta li { display: flex; justify-content: space-between; gap: var(--space-3); }
.job-card-meta li span { color: var(--color-text-muted); flex-shrink: 0; }
.job-card-foot { margin-top: auto; padding-top: var(--space-2); border-top: 1px solid #f1f5f9; display: flex; justify-content: space-between; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.job-card-foot strong { color: var(--color-brand); white-space: nowrap; }
.provider-card { align-items: flex-start; }

.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-bg-pale-blue); color: var(--color-brand); font-weight: 800; font-size: var(--text-sm);
}
.avatar-lg { width: 72px; height: 72px; font-size: var(--text-xl); }
.avatar-xl { width: 104px; height: 104px; font-size: var(--text-2xl); }

/* Detail pages: content plus a sticky action card */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-5); align-items: start; }
.detail-body { overflow-wrap: anywhere; }
.side-card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-card); position: sticky; top: var(--space-3); min-width: 0; }
.side-card h3 { font-size: var(--text-lg); overflow-wrap: anywhere; }
.side-card .btn-block { margin: var(--space-3) 0 var(--space-2); }
.fact-list { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--space-3); margin: 0 0 var(--space-3); font-size: var(--text-sm); }
.fact-list dt { color: var(--color-text-muted); }
.fact-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.fact-list-inline { grid-template-columns: max-content 1fr; }
.fact-list-inline dd { text-align: left; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-2); margin: var(--space-3) 0; }
.photo-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); display: block; }
.photo-grid-sm { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); max-width: 420px; }
.photo-grid-xs { grid-template-columns: repeat(auto-fill, 56px); margin: 6px 0 0; }

.profile-head { display: flex; gap: var(--space-4); align-items: center; margin-bottom: var(--space-4); }
.profile-head h1 { margin-bottom: 4px; }
.profile-sub { color: var(--color-text-muted); margin-bottom: 8px; }

/* Dashboards */
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.dash-head .lede { margin-bottom: 0; }
.dash-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.dash-foot { margin-top: var(--space-5); font-size: var(--text-sm); }

.bid-card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-card); margin-bottom: var(--space-3); }
.bid-card-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.bid-amount { font-size: var(--text-xl); font-weight: 800; color: var(--color-brand); white-space: nowrap; }
.provider-mini { display: flex; align-items: center; gap: var(--space-2); color: var(--color-text-heading); min-width: 0; }
.provider-mini span { display: flex; flex-direction: column; min-width: 0; }
.provider-mini small { color: var(--color-text-muted); font-size: var(--text-xs); overflow-wrap: anywhere; }
.bid-accept { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid #f1f5f9; }
.bid-accept label { font-size: var(--text-sm); font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.bid-accept input { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: var(--radius-md); font-size: var(--text-base); max-width: 220px; }
.contact-box { display: flex; flex-direction: column; gap: 2px; background: var(--color-bg-pale-green); border-radius: var(--radius-md); padding: var(--space-3); margin-top: var(--space-2); }
.contact-box a { font-weight: 700; font-size: var(--text-lg); }

.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
.pay-grid .side-card { position: static; }
.pay-grid .form-card { max-width: none; }
.pay-amount { font-size: var(--text-2xl); font-weight: 800; color: var(--color-brand); margin-bottom: var(--space-2); }

.thumb-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.thumb { display: flex; flex-direction: column; gap: 4px; font-size: var(--text-xs); }
.thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-md); }
.thumb label { font-weight: 400; margin: 0; display: flex; align-items: center; gap: 4px; }

/* Tables scroll inside their own box on desktop and stack into cards on phones */
.table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: var(--radius-md); background: #fff; }
.data-table td { vertical-align: top; overflow-wrap: anywhere; }
.inline-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.stack-form { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 170px; }
.stack-form label { font-size: var(--text-xs); font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.stack-form input, .inline-form input { padding: 6px 8px; border: 1px solid #d1d5db; border-radius: var(--radius-sm); font-size: var(--text-sm); font-family: var(--font-body); min-width: 0; }
@media (max-width: 700px) {
  .table-wrap { border: none; background: none; overflow: visible; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table thead { display: none; }
  .stack-table tr { border: 1px solid #e5e7eb; border-radius: var(--radius-md); margin-bottom: var(--space-3); padding: var(--space-2) var(--space-3); background: #fff; }
  .stack-table td { border: none; padding: 6px 0; }
  .stack-table td[data-label]::before { content: attr(data-label); display: block; font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
  .stack-table td:empty { display: none; }
}

@media (max-width: 900px) {
  .detail-grid, .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
  .profile-head { align-items: flex-start; }
  .avatar-xl { width: 80px; height: 80px; }
  .app-main h1 { font-size: var(--text-2xl); }
  .container { padding: 0 var(--space-3); }
}

/* ---------- Home page ---------- */
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-5); }
.step-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); box-shadow: var(--shadow-card); }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--color-brand); color: #fff; font-weight: 800; margin-bottom: var(--space-3); }
.step-card h3 { font-size: var(--text-lg); }
.step-card p { color: var(--color-text-muted); margin: 0; font-size: var(--text-sm); }
.section-foot { text-align: center; margin: var(--space-5) 0 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.cat-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-4); color: var(--color-text); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.cat-card:hover { text-decoration: none; box-shadow: var(--shadow-card-hover); transform: translateY(-2px); border-color: var(--color-brand); }
.cat-card img { width: 44px; height: 44px; }
.cat-card h3 { margin: 0; font-size: var(--text-lg); }
.cat-card p { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.cat-card span { margin-top: auto; padding-top: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--color-brand); }

.latest-jobs { margin-top: var(--space-5); }
.section-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.section-head-row .section-heading { margin-bottom: 0; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-5); position: relative; z-index: 1; }
.trust-grid svg { width: 32px; height: 32px; color: #fff; margin-bottom: var(--space-2); }
.trust-grid h3 { font-size: var(--text-base); margin-bottom: 6px; }
.trust-grid p { font-size: var(--text-sm); margin: 0; }

.provider-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.provider-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.provider-split .check-list { margin: var(--space-3) 0 var(--space-4); }
.provider-split .check-list li::before { color: var(--color-accent); font-weight: 800; }
.hero-trust-row { flex-wrap: wrap; row-gap: 8px; }
/* The showcase photos relied on a fixed height from the old page builder styles */
.showcase-grid img { height: auto; }

@media (max-width: 900px) {
  .steps-3, .provider-split { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--space-6) 0; }
  .hero-buttons { flex-wrap: wrap; }
  .hero-buttons .btn { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .showcase-grid { gap: var(--space-2); }
}

/* ---------- Admin ---------- */
a.stat-box { color: inherit; display: block; flex: 1 1 180px; }
a.stat-box:hover { text-decoration: none; box-shadow: var(--shadow-card-hover); }
.stat-box .hint { font-size: var(--text-xs); color: #6b7280; margin-top: 4px; }
.stat-box-alert { border-color: #f0b429; background: #fffbf0; }
.admin-body .sub-heading:first-child { margin-top: 0; }
.admin-body .form-card { max-width: 560px; }
.temp-password { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--text-lg); letter-spacing: 0.05em; user-select: all; }

.proof-card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-lg); padding: var(--space-4); margin-bottom: var(--space-3); }
.proof-card-pending { border-color: #f0b429; }
.proof-main { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.proof-main > div { flex: 1 1 280px; min-width: 0; }
.proof-main p { margin: 6px 0 0; overflow-wrap: anywhere; }
.proof-amount { font-size: var(--text-lg); margin-left: 6px; }
.proof-view { margin-top: var(--space-3); border-top: 1px solid #f1f5f9; padding-top: var(--space-2); }
.proof-view summary { cursor: pointer; font-weight: 600; font-size: var(--text-sm); color: var(--color-brand); }
.proof-view img { max-width: 100%; max-height: 640px; display: block; margin-top: var(--space-2); border: 1px solid #e5e7eb; border-radius: var(--radius-md); }
.proof-view iframe { width: 100%; height: 560px; border: 1px solid #e5e7eb; border-radius: var(--radius-md); margin-top: var(--space-2); }

@media (max-width: 860px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-sidebar-logo { padding: var(--space-3) var(--space-3) 0; }
  .admin-sidebar-nav { flex-direction: row; flex-wrap: wrap; padding: var(--space-2); }
  .admin-nav-link { padding: 8px 10px; }
  .admin-sidebar-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); }
  .admin-sidebar-user { margin: 0; }
  .admin-topbar { padding: var(--space-3); }
  .admin-body { padding: var(--space-3); }
  .proof-view iframe { height: 420px; }
}

/* Categories page */
.category-desc { font-size: var(--text-sm); color: var(--color-text-muted); margin: 8px 0 0; }
.category-num-card .link-list { margin-top: var(--space-2); }
.section-foot .btn { margin: 4px; }
/* The outline button sits on the hero photo, so it needs its own backing */
.hero .btn-outline { background: rgba(255,255,255,0.92); }
.hero .btn-outline:hover { background: var(--color-brand); }
