/* TOP DUCK LABS — Apple-polished RealWork look (green, systems type) */
:root {
  --brand: #0c600f;
  --brand-dark: #084b0b;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --bg: #f5f5f7;
  --card: #ffffff;
  --line: #e4e7e4;
  --gold: #f1a91e;
  --purple: #7c5cff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(0, 0, 0, .06);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, .07), 0 18px 44px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.22, .8, .35, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.02em; font-weight: 700; }
.muted { color: var(--muted); }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px; border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 500;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand { font-size: 19px; font-weight: 700; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 999px; }
.site-header nav { display: flex; gap: 18px; align-items: center; }
.site-header nav a { color: var(--ink); font-weight: 500; }
.site-header nav a:hover { color: var(--brand); }
.nav-admin { padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; }

main { max-width: 1160px; margin: 0 auto; padding: 24px 20px 60px; }

.pw-hero { text-align: center; padding: 48px 10px 14px; }
.pw-hero h1 { font-size: clamp(30px, 4.5vw, 48px); color: var(--ink);
  letter-spacing: -.03em; }
.pw-hero p { font-size: 18px; color: var(--muted); max-width: 620px; margin: 6px auto 0; }

/* map */
.pw-map-wrap { position: relative; margin-top: 14px; }
.page-map { width: 100%; height: 520px; border-radius: var(--radius); box-shadow: var(--shadow); background: #e8efe8; }
.page-map.tall { height: 620px; }
.map-overlay-btn {
  position: absolute; top: 14px; right: 14px; z-index: 450;
  background: #fff; box-shadow: var(--shadow);
}
.powered-by { text-align: right; color: var(--muted); font-size: 12px; padding: 6px 4px; }
.powered-by b { color: #223; letter-spacing: .5px; }
.house-pin-inner { position: relative; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.pin-badge {
  position: absolute; top: -10px; right: -14px; background: #fff; border-radius: 999px;
  padding: 0 4px; font-size: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.3); white-space: nowrap;
}
.pin-badge b { color: #4285f4; font-weight: 700; }
.pin-badge i { color: var(--gold); font-style: normal; }

/* filters */
.filter-bar { display: flex; gap: 12px; align-items: center; margin: 14px 0 4px; flex-wrap: wrap; }
.filter-pill {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 9px 34px 9px 16px; font: inherit; font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231c2b22'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.filter-pill:first-child { background-color: var(--brand); color: #fff; border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffffff'/%3E%3C/svg%3E"); }

/* areas */
.areas h2 { margin-bottom: 6px; }
.area-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.area-links a { text-decoration: underline; font-size: 15px; padding: 2px 0; }

.section { margin-top: 30px; }
.empty { color: var(--muted); background: var(--card); border: 1px dashed var(--line);
  padding: 26px; border-radius: var(--radius); text-align: center; }

/* job cards */
.job-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-top: 14px;
}
.job-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: var(--ink); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); cursor: pointer;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.jc-media { position: relative; height: 210px; background: #eef4ee; overflow: hidden; }
.jc-media img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease); }
.job-card:hover .jc-media img { transform: scale(1.04); }
.job-card-ph { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.jc-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(255,255,255,.85); font-size: 18px; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.jc-prev { left: 8px; } .jc-next { right: 8px; }
.jc-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; }
.jc-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.55); }
.jc-dot.on { background: #fff; }
.jc-expand { position: absolute; bottom: 8px; right: 10px; color: #fff; font-size: 16px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.showcase-badge {
  position: absolute; top: 10px; left: 10px; background: var(--purple); color: #fff;
  border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.job-page .showcase-badge, .jm-text .showcase-badge { position: static; display: inline-block; margin-bottom: 6px; }
.job-card-body { padding: 12px 14px 14px; }
.jc-loc { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.jc-pin { min-width: 0; }
.jc-date { white-space: nowrap; }
.job-card-body h3 { font-size: 17px; margin: 8px 0 4px; }
.jc-desc { margin: 0 0 8px; color: var(--muted); font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.chip {
  display: inline-block; background: #e7f2e7; color: var(--brand-dark);
  border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600;
}
.meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.stars { color: var(--gold); letter-spacing: 1px; }
.gsrc { display: inline-block; background: #fff; border: 1px solid var(--line); color: #4285f4;
  font-weight: 700; border-radius: 4px; padding: 0 5px; font-size: 12px; }

/* modal ("sublayer") */
.jm-overlay {
  position: fixed; inset: 0; background: rgba(20, 24, 20, .45); z-index: 900;
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.jm-overlay.open { display: flex; }
.jm-dialog {
  background: #fff; border-radius: 22px; max-width: 980px; width: 100%;
  max-height: 88vh; overflow: hidden; position: relative; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lift);
  animation: jm-in .32s var(--ease);
}
@keyframes jm-in { from { opacity: 0; transform: scale(.96) translateY(10px); }
  to { opacity: 1; transform: none; } }
.jm-close {
  position: absolute; top: 10px; right: 12px; z-index: 5; border: none; background: rgba(255,255,255,.9);
  width: 34px; height: 34px; border-radius: 999px; font-size: 16px; cursor: pointer; box-shadow: var(--shadow);
}
.jm-body { display: grid; grid-template-columns: 1.1fr 1fr; overflow: auto; }
.jm-media { position: relative; background: #111; min-height: 320px; }
.jm-media img { width: 100%; height: 100%; object-fit: contain; display: block; max-height: 88vh; }
.jm-text { padding: 22px 24px; overflow: auto; }
.jm-text h2 { font-size: 22px; }
.jm-desc { white-space: pre-line; }
.jm-review { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.jm-owner-reply { background: #f0f6f0; border-left: 3px solid var(--brand); border-radius: 6px;
  padding: 8px 12px; margin-top: 8px; font-size: 14px; }
.jm-owner-reply p { margin: 4px 0 0; }
.jm-cta { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 780px) { .jm-body { grid-template-columns: 1fr; } .jm-media { min-height: 220px; } }

/* reviews strip */
.review-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review-card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.review-card p { margin: 8px 0; }
.review-card.inline { margin-top: 18px; max-width: 640px; }

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.job-page h1 { font-size: 30px; }
.job-desc { max-width: 720px; font-size: 17px; white-space: pre-line; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 18px 0; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }

/* admin + forms */
.pick-map { width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); background: #e8efe8; }
.map-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; }
.admin-page h1 { font-size: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.checkin-form, .settings-form { background: var(--card); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 6px; }
label.check input { width: auto; margin: 0; }
.svc-set { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 12px;
  columns: 2; }
.svc-set legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.hint { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; background: #fff;
}
textarea { resize: vertical; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn {
  display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 9px 20px; font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; margin-top: 6px; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.small { padding: 5px 12px; font-size: 13px; }
.social-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn .dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; background: #cbd5e1; margin-left: 6px; }
.social-btn .dot.on { background: #22a53c; }
.status-chip { border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.status-chip.posted { background: #e2f6e6; color: #116329; }
.status-chip.draft { background: #fef4dc; color: #8a6100; }
.status-chip.failed { background: #fde8e8; color: #a11a1a; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 16px 0 26px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stat-card .num { font-size: 30px; font-weight: 700; color: var(--brand-dark); }
.stat-card .lbl { color: var(--muted); font-size: 13px; }

table.admin-table { width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.admin-table th { background: #eef5ee; }

.copy-block { background: #f0f6f0; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px; font-family: Consolas, monospace; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
.review-hero { text-align: center; padding: 40px 10px; }
.star-picker { font-size: 42px; cursor: pointer; user-select: none; }
.star-picker span { color: #cbd5e1; transition: color .1s; }
.star-picker span.on { color: var(--gold); }

.site-footer {
  background: #10231a; color: #c9d9ce; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; padding: 34px 40px; margin-top: 50px;
}
.site-footer h4 { color: #fff; margin: 0 0 10px; }
.site-footer a { display: block; color: #9fc0aa; padding: 2px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .pw-hero h1 { font-size: 26px; }
  .page-map { height: 380px; }
  .site-header { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .site-header nav { flex-wrap: wrap; gap: 12px; }
  .svc-set { columns: 1; }
}

/* ------------------------------------------------ admin shell (dashboard) */
body.admin-shell { display: flex; min-height: 100vh; background: #f4f6f9; }
.a-side {
  width: 210px; flex-shrink: 0; background: #0f1b2d; color: #b9c7d8;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.a-logo { padding: 20px 18px; color: #fff; font-size: 15px; letter-spacing: .5px; }
.a-logo span { color: #7ea4d8; font-weight: 600; }
.a-nav { display: flex; flex-direction: column; margin-top: 6px; }
.a-nav a, .a-side-bottom a {
  color: #b9c7d8; padding: 11px 18px; font-weight: 500; font-size: 14.5px;
  border-left: 3px solid transparent;
}
.a-nav a:hover, .a-side-bottom a:hover { color: #fff; background: #16263c; }
.a-nav a.on { color: #fff; background: #1c2b44; border-left-color: #2f6bff; }
.a-side-bottom { margin-top: auto; padding-bottom: 14px; display: flex; flex-direction: column; }
.a-main { flex: 1; padding: 26px 30px 60px; max-width: 1400px; min-width: 0; }
.a-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
.a-head h1 { font-size: 26px; margin: 0; }
.a-search { display: flex; gap: 10px; flex: 1; min-width: 260px; }
.a-search input[type="search"] { max-width: 340px; margin: 0; }
.a-search select { width: auto; margin: 0; }
.btn.blue { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.btn.blue:hover { background: #1f56dd; }
.a-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 10px 0 18px; }
.a-tabs a { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .6px; padding: 8px 2px; border-bottom: 2px solid transparent; }
.a-tabs a.on { color: var(--ink); border-bottom-color: #2f6bff; }
.a-cols { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.f-rail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 20px; }
.f-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.f-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.f-row:hover { background: #f1f5f9; }
.f-row.on { background: #e9eef9; font-weight: 700; }
.f-count { color: var(--muted); font-size: 13px; }
.f-count.purple { background: var(--purple); color: #fff; border-radius: 999px; padding: 1px 10px; font-weight: 700; }
.f-form h4 { margin: 14px 0 4px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.f-form label { font-size: 13px; margin-bottom: 8px; }
.jrows { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jrow {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: 170px 1fr 230px; gap: 16px; padding: 14px;
}
.jrow.review-row { grid-template-columns: 1fr; }
.jrow-media { position: relative; height: 150px; border-radius: 8px; overflow: hidden; background: #eef2f6; display: block; }
.jrow-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jrow-ph { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.jrow-diamond { position: absolute; top: 8px; left: 8px; background: var(--purple); color: #fff; border-radius: 8px; padding: 2px 8px; font-size: 13px; }
.jrow-count { position: absolute; bottom: 6px; right: 8px; color: #fff; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.8); font-size: 13px; }
.jrow-main { min-width: 0; }
.jrow-top h3 { margin: 0 0 2px; font-size: 17px; }
.jrow-top h3 a { color: var(--ink); }
.jrow-loc { font-size: 13px; }
.jrow-desc { color: #3d4b57; font-size: 14px; margin: 8px 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jrow-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.label-chip { background: #eef1f5; border: 1px solid #dfe5ec; color: #37424e;
  border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .4px; }
.jrow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 13px; }
.grow { display: flex; align-items: center; gap: 5px; }
.jrow-comm { display: flex; gap: 6px; }
.comm { position: relative; font-size: 15px; }
.comm i { position: absolute; right: -7px; bottom: -3px; font-size: 9px; font-style: normal;
  background: #2f6bff; color: #fff; border-radius: 999px; padding: 0 2px; }
.jrow-strip { display: flex; gap: 5px; }
.jrow-strip img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.jrow-actions { display: flex; gap: 6px; margin-top: auto; }
.pager { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 14px 0; }

/* reviews page */
.avatar { display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; color: #fff; font-weight: 700; flex-shrink: 0; }
.avatar.sm { width: 24px; height: 24px; font-size: 12px; }
.rev-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rev-map { font-size: 13px; margin-top: 8px; }
.status-chip.scheduled { background: #e3ecff; color: #1f56dd; }

/* photo management */
.photo-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-cell { position: relative; }
.photo-cell img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; }
.photo-tools { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.photo-tools .media-cover { position: static; }

/* calendar */
.cal-nav { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
table.cal { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); table-layout: fixed; }
.cal th { background: #eef2f7; padding: 8px; font-size: 12px; color: var(--muted); }
.cal td { border: 1px solid #edf1f5; vertical-align: top; height: 96px; padding: 4px; }
.cal td.other { background: #fafbfc; color: #b6c0ca; }
.cal td.today .cal-day { background: #2f6bff; color: #fff; border-radius: 999px;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.cal-day { font-size: 13px; margin-bottom: 4px; }
.cal-post { display: flex; align-items: center; gap: 4px; background: #f0f4fa; border: 1px solid #dfe7f2;
  border-radius: 6px; padding: 2px 4px; font-size: 11px; color: var(--ink); margin-bottom: 3px; overflow: hidden; }
.cal-post img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.cal-post span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-post i { font-style: normal; margin-left: auto; color: #1877f2; font-weight: 700; }
.cal-post.posted { border-color: #bfe6c8; background: #ecf8ee; }
.cal-post.failed { border-color: #f3c1c1; background: #fdeeee; }

/* pulse */
.pulse-alerts .alert { border-left: 4px solid #e0a020; }
.theme-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.theme-box.neg h3 { color: #a11a1a; } .theme-box.pos h3 { color: #116329; }
.theme-box details { border-top: 1px solid var(--line); padding: 8px 0; }
.theme-box summary { cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; }

/* portfolio */
body.pf-body { background: #fff; }
.pf-head { display: flex; justify-content: space-between; align-items: center; gap: 14px;
  flex-wrap: wrap; padding: 12px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: #fff; z-index: 600; }
.pf-brand { display: flex; gap: 12px; align-items: center; }
.pf-logo { font-size: 30px; }
.pf-logo-img { width: 54px; height: 54px; object-fit: contain; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; padding: 3px; }

/* insights bar chart */
.bar-chart { display: flex; align-items: flex-end; gap: 34px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px 14px;
  box-shadow: var(--shadow); width: fit-content; min-width: 280px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar { width: 64px; background: var(--purple); border-radius: 8px 8px 0 0; min-height: 4px; }
.bar-col:first-child .bar { background: #c9ccd1; }
.bar-n { font-weight: 700; } .bar-lbl { color: var(--muted); font-size: 13px; }

/* calendar history chips */
.cal-post.job { border-color: #cfe6d2; background: #eef7ef; }
.cal-post.job i, .cal-post.review i { color: inherit; }
.cal-post.review { border-color: #f3e2b8; background: #fdf7e8; }
.pf-contact { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pf-contact a { color: var(--ink); font-size: 14px; }
.pf-contact .btn.primary { color: #fff; }
.pf-cols { display: grid; grid-template-columns: 210px 460px 1fr; gap: 0; height: calc(100vh - 71px); }
.pf-rail { padding: 18px; border-right: 1px solid var(--line); overflow-y: auto; }
.pf-rail h4 { margin: 14px 0 4px; font-size: 13px; color: var(--muted); text-transform: uppercase; }
.pf-list { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.pf-card { flex-direction: row; }
.pf-card .jc-media { width: 46%; flex-shrink: 0; height: auto; min-height: 170px; }
.pf-map { position: relative; }
@media (max-width: 1100px) {
  .pf-cols { grid-template-columns: 1fr; height: auto; }
  .pf-rail { border-right: none; border-bottom: 1px solid var(--line); }
  .pf-map { height: 420px; }
  .pf-card { flex-direction: column; }
  .pf-card .jc-media { width: 100%; height: 190px; }
}
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.media-cell { position: relative; height: 140px; border-radius: 8px; overflow: hidden; background: #eef2f6; }
.media-cell img { width: 100%; height: 100%; object-fit: cover; }
.media-cover { position: absolute; bottom: 6px; left: 6px; background: rgba(15,27,45,.85); color: #fff;
  font-size: 10px; border-radius: 6px; padding: 1px 7px; }
@media (max-width: 980px) {
  .a-cols { grid-template-columns: 1fr; }
  .jrow { grid-template-columns: 120px 1fr; }
  .jrow-right { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 700px) {
  body.admin-shell { flex-direction: column; }
  .a-side { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; overflow-x: auto; }
  .a-nav { flex-direction: row; margin: 0; }
  .a-side-bottom { margin: 0; flex-direction: row; padding: 0; }
  .a-main { padding: 18px 14px 50px; }
}

/* multi-service tag rows */
.job-card-body .meta { flex-wrap: wrap; gap: 6px; }
.job-card-body .chip { margin: 0; }
.chip.more { background: #eef2f5; color: var(--muted); }
.jm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.job-page .meta .chip { margin-left: 2px; }
