:root {
  --jt-bg: #f8f9fa;
  --jt-surface: #ffffff;
  --jt-text: #202124;
  --jt-muted: #5f6368;
  --jt-border: #e0e3e7;
  --jt-accent: #1a73e8;
  --jt-accent-dark: #1558b0;
  --jt-soft: #eef4fd;
  --jt-radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--jt-text);
  background: var(--jt-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--jt-accent); }
.navbar-brand { font-weight: 750; letter-spacing: -.03em; }
.jt-shell { min-height: calc(100vh - 140px); }
.jt-container { max-width: 1180px; }
.jt-hero { padding: 4.5rem 0 3rem; }
.jt-hero h1 { font-size: clamp(2.1rem, 7vw, 4.5rem); letter-spacing: -.055em; line-height: .98; }
.jt-lead { max-width: 760px; color: var(--jt-muted); font-size: 1.1rem; }
.jt-surface {
  background: var(--jt-surface);
  border: 1px solid var(--jt-border);
  border-radius: var(--jt-radius);
}
.jt-card { height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
.jt-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(32,33,36,.08); }
.jt-zone-card { min-height: 104px; }
.jt-muted { color: var(--jt-muted); }
.jt-kicker { color: var(--jt-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.jt-section { padding: 2.25rem 0; }
.jt-searchbar { position: sticky; top: 66px; z-index: 20; background: rgba(248,249,250,.94); backdrop-filter: blur(8px); padding: .75rem 0; }
.jt-business-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--jt-border);
  border-radius: 14px;
}
.jt-public-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f3f4;
  border-radius: 14px;
}
.jt-locked {
  background: linear-gradient(140deg, #ffffff, var(--jt-soft));
  border: 1px dashed #b8c8df;
}
.jt-badge-premium { background: #fff3cd; color: #664d03; }
.jt-empty { padding: 3rem 1rem; text-align: center; color: var(--jt-muted); }
.jt-filter-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.jt-admin-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; }
.jt-admin-records { overflow-wrap: anywhere; }
#admin-content { min-width: 0; }
#records-form .form-control, #records-form .form-select { min-width: 0; }
.jt-expiry-input { max-width: 220px; min-width: 0; }
#admin-content :focus-visible { outline: 3px solid var(--jt-accent); outline-offset: 3px; }
.jt-admin-nav { position: sticky; top: 78px; align-self: start; }
.jt-table-wrap { overflow-x: auto; }
.jt-action-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.jt-form-section { padding: 1rem; border: 1px solid var(--jt-border); border-radius: 12px; margin-bottom: 1rem; background: #fff; }
.jt-subrow { border: 1px solid var(--jt-border); border-radius: 12px; padding: .8rem; margin-bottom: .75rem; background: #fbfcfd; }
.jt-sticky-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--jt-border); padding: .75rem; z-index: 10; }
.jt-link-list a { text-decoration: none; }
.jt-link-list a:hover { text-decoration: underline; }
.jt-cover-placeholder { display:grid; place-items:center; aspect-ratio:1; background:#f1f3f4; border-radius:14px; color:var(--jt-muted); }
.jt-status-dot { width:.55rem; height:.55rem; border-radius:50%; display:inline-block; background:#adb5bd; }
.jt-status-dot.active { background:#198754; }
.jt-footer { border-top: 1px solid var(--jt-border); background: #fff; }
.jt-toast { position: fixed; right: 1rem; bottom: 1rem; max-width: 420px; z-index: 1080; }
.jt-lightbox { border: none; border-radius: 16px; padding: 0; max-width: min(92vw, 780px); }
.jt-lightbox::backdrop { background: rgba(0,0,0,.72); }
.jt-lightbox img { width: 100%; max-height: 82vh; object-fit: contain; display:block; background:#fff; border-radius:16px; }
.jt-compact { font-size: .92rem; }

@media (max-width: 992px) {
  .jt-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jt-admin-grid { grid-template-columns: 1fr; }
  .jt-admin-nav { position: static; }
}

@media (max-width: 576px) {
  .jt-hero { padding: 2.75rem 0 2rem; }
  .jt-filter-grid { grid-template-columns: 1fr; }
  .jt-section { padding: 1.5rem 0; }
  .jt-searchbar { top: 58px; }
}
