/* Lantern Trips preview: the demo CRM's look in Lantern's colours, plus the
   pilot bar, the locked screens and the plan editor's cover picker. */
:root { --sans: 'Inter', system-ui, sans-serif; --script: 'DM Serif Display', Georgia, serif; --night: #14213D; --amber: #F0A431; --bar: 44px; }
body { padding-top: var(--bar); }
.side { top: var(--bar); height: calc(100vh - var(--bar)); }
.top { top: var(--bar); }
.notes { top: calc(var(--bar) + 76px); }
.ask { top: calc(var(--bar) + 64px); }
.brand img { height: 44px; }
.page-head h1 .script { font-size: 34px; }
.me-av { width: 34px; height: 34px; font-size: 14px; background: var(--amber); color: var(--night); }
.by { color: var(--ink-2); }
a.by:hover { color: var(--brand-text); }

/* ---------- the pilot bar (hidden in ?shot mode, for the /partners product shots) */
body.shot { --bar: 0px; }
body.shot .pilot-bar { display: none; }
.pilot-bar { position: fixed; inset: 0 0 auto 0; height: var(--bar); z-index: 70; display: flex; align-items: center; gap: 18px; padding: 0 16px 0 20px; background: radial-gradient(600px 80px at 72% 0, rgba(240,164,49,.28), transparent 70%), var(--night); color: #fff; font-size: 13px; }
.pb-demo { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.pb-demo i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240,164,49,.25); animation: pulse 1.8s infinite; }
.pb-offer { margin-left: auto; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.pb-offer b { color: var(--amber); font-variant-numeric: tabular-nums; }
.pb-join { height: 30px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--amber); color: var(--night); font-weight: 700; white-space: nowrap; box-shadow: 0 0 24px rgba(240,164,49,.45); }
.pb-join:hover { filter: brightness(1.06); }
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 16px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); }
.pips i.on { background: var(--amber); }

/* ---------- locked nav and screens */
.nav a.locked::after { content: ''; margin-left: auto; width: 14px; height: 14px; flex: none; opacity: .55; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7' rx='2' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7' rx='2' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.lock-i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--night); color: var(--amber); flex: none; }
.lock-i svg { width: 16px; height: 16px; }
.lock-wrap { position: relative; min-height: 620px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.ghost { position: absolute; inset: 0; padding: 24px; filter: blur(3.5px); opacity: .9; pointer-events: none; user-select: none; }
.lock-wrap::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 48%, rgba(255,255,255,.6), rgba(255,255,255,0)); pointer-events: none; }
.lock-wrap .lock-card { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); background: #fff; border-radius: 20px; padding: 26px 26px 22px; box-shadow: 0 30px 80px rgba(20,33,61,.22), 0 0 0 1px rgba(20,33,61,.06); }
.lock-card { display: flex; flex-direction: column; gap: 12px; }
.lock-card h2 { font-size: 21px; line-height: 28px; font-weight: 700; }
.lock-card > p { color: var(--ink-2); font-size: 14px; }
.lock-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.lock-card li { display: flex; gap: 8px; align-items: center; }
.lock-card li svg { width: 13px; height: 13px; color: var(--good); flex: none; }
.lock-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.lock-acts .btn.cta { background: var(--amber); border-color: var(--amber); color: var(--night); }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--night); color: #fff; }
.offer b { color: var(--amber); font-variant-numeric: tabular-nums; }
.of-slots { display: flex; align-items: center; gap: 8px; }
.pilot-card { position: relative; width: min(560px, 100%); }
.pilot-card .x { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--tile); font-size: 20px; cursor: pointer; }

/* the blurred stand-ins */
.gb { display: block; height: 10px; border-radius: 5px; background: #B7C4D3; margin: 6px 0; }
.gb.amber { background: #F6CF8E; }
.gb.green { background: #A9DCC0; }
.gb.chip { height: 18px; border-radius: 6px; background: var(--brand-tint); }
.g-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.g-col { display: flex; flex-direction: column; gap: 10px; background: var(--tile); border-radius: 14px; padding: 12px; }
.g-col > b { font-size: 13px; }
.g-card { background: #fff; border-radius: 10px; padding: 10px 12px; }
.g-card span { display: flex; gap: 8px; }
.g-table { display: flex; flex-direction: column; }
.g-row { display: grid; grid-template-columns: 30px 3fr 2fr 1fr 1fr; gap: 16px; align-items: center; padding: 14px 6px; border-top: 1px solid var(--line); }
.g-row .gb { width: auto !important; }
.g-av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); }
.g-table.short .g-row:nth-child(n+5) { display: none; }
.g-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.g-day { min-height: 104px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 8px; font-size: 12px; }
.g-charts, .g-stats { display: grid; gap: 16px; }
.g-charts { grid-template-columns: 1fr 1fr; }
.g-charts .g-table { grid-column: 1 / -1; }
.g-chart { height: 220px; display: flex; align-items: flex-end; gap: 10px; padding: 18px; background: var(--tile); border-radius: 14px; }
.g-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--brand-line); }
.g-chart i.amber { background: #F6CF8E; }
.g-app { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.g-phone { height: 520px; border-radius: 36px; border: 10px solid #1D2433; padding: 22px 14px; display: flex; flex-direction: column; gap: 10px; background: #EFE7DD; }
.g-msg { width: 78%; background: #fff; border-radius: 12px; padding: 6px 10px; }
.g-msg.r { align-self: flex-end; background: #DCF3E3; }
.g-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; }
.g-stats .g-table { grid-column: 1 / -1; }
.g-stat { background: var(--tile); border-radius: 12px; padding: 14px; }

/* ---------- home: the rest of the console */
.full-console > header { align-items: center; gap: 16px; flex-wrap: wrap; }
.fc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.fc { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--tile); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.fc:hover { border-color: var(--amber); transform: translateY(-2px); }
.fc b { font-size: 14px; }
.fc > span:last-child { font-size: 12.5px; color: var(--ink-2); }
.fc .lock-i { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- plans: cover picker, locked box */
.ps-side > header b { display: block; font-size: 15px; }
.ps-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ps-covers button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 3 / 2; background: none; }
.ps-covers button.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-tint); }
.ps-covers img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-box { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--tile); cursor: pointer; font: inherit; font-size: 13px; color: var(--ink-2); }
.lk-box b { display: block; color: var(--ink); font-size: 13.5px; }
.lk-box:hover { border-color: var(--amber); }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 4px 0 2px; vertical-align: 0; }
.btn svg { width: 13px; height: 13px; }

@media (max-width: 1180px) {
  .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pb-demo { display: none; }
  .pb-offer { margin-left: 0; }
}
@media (max-width: 760px) {
  :root { --bar: 52px; }
  .pilot-bar { gap: 10px; padding: 0 10px; font-size: 12px; }
  .pb-offer > span:nth-of-type(2) { display: none; }
  .pb-join { height: 32px; padding: 0 12px; }
  .lock-wrap { min-height: 640px; }
  .g-app { grid-template-columns: 1fr; }
  .fc-grid { grid-template-columns: 1fr; }
}
