#nsiteView {
  padding: 0 0 24px;
}

body.mode-nsite { background: #fff; }
body.mode-nsite .shell { width: 100%; margin: 0; }
body.mode-nsite .topbar { display: none; }
body.mode-nsite #nsiteView { height: 100vh; padding: 0; }

.published-page-frame {
  display: block;
  width: 100%;
  min-height: calc(100vh - 96px);
  border: 0;
  background: #fff;
}

body.mode-nsite .published-page-frame { width: 100vw; height: 100vh; min-height: 100vh; }

.legacy-links {
  display: flex;
  gap: 9px;
  padding: 0 22px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.legacy-links a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f5f5;
  padding: 0 12px;
  font-weight: 850;
}

.platform-logo {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.platform-logo.large {
  width: 112px;
  height: 112px;
  border-radius: 0;
  font-size: 2.2rem;
}

.platform-logo.instagram {
  background: radial-gradient(circle at 28% 108%, #feda75 0 18%, #fa7e1e 29%, #d62976 52%, #962fbf 76%, #4f5bd5 100%);
}

.platform-logo.facebook { background: #1877f2; font-family: Arial, sans-serif; font-size: 1.05rem; }
.platform-logo.facebook.large { font-size: 3.6rem; align-items: end; padding-bottom: 0; }
.platform-logo.tripadvisor { background: #00aa6c; color: #111; }
.platform-logo.google { background: #fff; color: #4285f4; border: 1px solid var(--line); }
.platform-logo.youtube { background: #ff0033; }
.platform-logo.tiktok { background: #111; text-shadow: 2px 0 #25f4ee, -2px 0 #fe2c55; }
.platform-logo.x { background: #111; }
.platform-logo.website { background: var(--mint); color: #0b2722; }

.advanced-panel {
  margin: 0 22px 18px;
  padding: 14px;
  border: 1px solid var(--jw-line);
  border-radius: var(--jw-radius-md);
  background: var(--jw-surface-sunken);
}

.form .advanced-panel {
  margin: 0;
  background: var(--jw-surface-sunken);
}

.advanced-panel summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 860;
}

.advanced-panel label {
  margin-top: 12px;
}

.advanced-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.public-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 5vw, 58px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.public-feature-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.public-feature-card span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.public-feature-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.public-feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}
.crm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.meta-item {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.meta-item:nth-child(2n) { border-right: 0; }

.meta-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.meta-value {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-list,
.gallery {
  display: grid;
  gap: 10px;
}
.mode-target .shell { width: 100%; }
.mode-target .topbar { display: none; }
.target-site { background: #eee7d2; color: #1d1712; }
.target-nav { position: sticky; top: 0; z-index: 20; min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 6vw, 88px); background: rgba(238,231,210,.9); border-bottom: 1px solid rgba(29,23,18,.14); backdrop-filter: blur(18px); }
.target-nav a { color: inherit; text-decoration: none; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.target-nav div { display: flex; gap: clamp(16px, 3vw, 42px); }
.target-wordmark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; }
.target-cover { min-height: calc(100svh - 72px); display: grid; grid-template-columns: minmax(300px,.86fr) minmax(420px,1.25fr); gap: clamp(28px, 6vw, 100px); align-items: center; padding: clamp(54px, 9vw, 130px) clamp(24px, 8vw, 130px); }
.target-cover-copy { display: grid; align-content: center; gap: 24px; }
.target-cover h1 { max-width: 660px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(4.2rem, 7.5vw, 9rem); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.target-cover .lead { max-width: 560px; color: #44392f; font-family: Georgia, serif; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.55; }
.target-cover-media { min-height: min(66vw, 680px); overflow: hidden; background: #d0c5a7; }
.target-cover-media img { width: 100%; height: 100%; min-height: min(66vw, 680px); object-fit: cover; display: block; }
.target-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; color: inherit; text-decoration: none; font-size: 1.4rem; }
.target-story { min-height: 88svh; display: grid; grid-template-columns: minmax(160px,.38fr) minmax(300px,1fr); gap: clamp(24px, 8vw, 140px); align-items: center; padding: clamp(80px, 12vw, 180px) clamp(24px, 10vw, 160px); background: #171511; color: #f3ecd8; }
.target-index { align-self: start; padding-top: 12px; font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.target-story h2, .target-claim h2 { max-width: 900px; margin: 0 0 28px; font-family: Georgia, serif; font-size: clamp(3.2rem, 7vw, 7.8rem); font-weight: 500; line-height: .92; letter-spacing: -.055em; }
.target-story div > p { max-width: 650px; margin-bottom: 34px; color: #c7beaa; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.6; }
.target-claim { min-height: 90svh; display: grid; grid-template-columns: 1fr minmax(260px,.4fr); gap: clamp(48px, 10vw, 160px); align-items: center; padding: clamp(80px, 12vw, 180px) clamp(24px, 10vw, 160px); }
.target-claim-copy > p:not(.target-index) { max-width: 700px; font-size: 1.15rem; line-height: 1.6; }
.target-claim .secret { margin: 32px 0; background: rgba(255,255,255,.42); }
.target-identity { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 8px 18px; font-size: .76rem; }
.target-identity span { color: #756a5d; font-weight: 800; text-transform: uppercase; }
.target-identity strong { overflow-wrap: anywhere; }
.target-qr { display: grid; gap: 14px; justify-items: center; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.target-qr img { width: min(280px, 100%); padding: 14px; background: #fff; }
