/* tg-platform.css — styles for tg-platform.js (meetings, toolbox, lawyers, credits).
   Uses the app theme tokens (--tg-*) so light, dark and executive themes all work. */

.tg-pl-overlay { position: fixed; inset: 0; z-index: 1000050; background: rgba(3, 7, 18, 0.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tg-pl-modal { width: 100%; max-height: calc(100vh - 32px); overflow: auto; background: var(--tg-card, #fff); color: var(--tg-text, #0f172a); border: 1px solid var(--tg-border, #e2e8f0); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); font-family: 'DM Sans', system-ui, sans-serif; }
.tg-pl-modal.tg-pl-dark { background: #0b1220; color: #e2e8f0; border-color: #1e293b; }
.tg-pl-mhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--tg-border, #e2e8f0); }
.tg-pl-dark .tg-pl-mhead { border-color: #1e293b; }
.tg-pl-mtitle { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; }
.tg-pl-msub, .tg-pl-muted { color: var(--tg-muted, #64748b); font-size: 12px; line-height: 1.45; }
.tg-pl-x { background: none; border: none; color: var(--tg-muted, #64748b); font-size: 20px; cursor: pointer; line-height: 1; }
.tg-pl-body { padding: 16px 20px 20px; }

.tg-pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--tg-border, #cbd5e1); background: var(--tg-surface, #f8fafc); color: var(--tg-text, #0f172a); font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; font-family: inherit; }
.tg-pl-btn:hover { filter: brightness(1.06); }
.tg-pl-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.tg-pl-primary { background: #44107a; border-color: #44107a; color: #fff; }
.tg-pl-teams { background: #6b2fb3; border-color: #6b2fb3; color: #fff; }
.tg-pl-gold { background: linear-gradient(135deg, #D8DCE2, #b8860b); border-color: #b8860b; color: #0b0f19; }
.tg-pl-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.tg-pl-block { width: 100%; padding: 11px; font-size: 13.5px; }
.tg-pl-icon { background: none; border: 1px solid var(--tg-border, #e2e8f0); color: var(--tg-text, #0f172a); border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 13px; flex-shrink: 0; }
.tg-pl-icon:disabled { opacity: 0.35; cursor: default; }
.tg-pl-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.tg-pl-form label, label.tg-pl-form { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--tg-muted, #64748b); margin-bottom: 10px; }
.tg-pl-form input, .tg-pl-form select, .tg-pl-form textarea, .tg-pl-input, .tg-pl-tbbar select { width: 100%; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--tg-border, #cbd5e1); background: var(--tg-surface, #fff); color: var(--tg-text, #0f172a); font-size: 13px; font-family: inherit; font-weight: 500; }
.tg-pl-dark .tg-pl-form input { background: #030712; border-color: #1e293b; color: #fff; }
.tg-pl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tg-pl-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tg-pl-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tg-muted, #64748b); margin: 10px 0 6px; }
.tg-pl-checks { display: flex; gap: 12px; flex-wrap: wrap; }
.tg-pl-check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; font-size: 12.5px !important; font-weight: 600 !important; color: var(--tg-text, #0f172a) !important; margin: 0 !important; }
.tg-pl-check input { width: auto !important; }

.tg-pl-section-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tg-muted, #64748b); margin: 4px 0 8px; }
.tg-pl-list { list-style: none; margin: 0 0 14px; padding: 0; }
.tg-pl-list li, .tg-pl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--tg-border, #e2e8f0); font-size: 12.5px; flex-wrap: wrap; }
.tg-pl-empty { padding: 18px; text-align: center; color: var(--tg-muted, #64748b); font-size: 12.5px; border: 1px dashed var(--tg-border, #cbd5e1); border-radius: 10px; }
.tg-pl-card { border: 1px solid var(--tg-border, #e2e8f0); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--tg-card, #fff); }
.tg-pl-tag { display: inline-block; background: #D8DCE2; color: #111; font-size: 9.5px; font-weight: 900; padding: 2px 7px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.tg-pl-pill { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 10px; background: rgba(90, 26, 158, 0.15); color: #5a1a9e; }
.tg-pl-pill.ok { background: rgba(5, 150, 105, 0.15); color: #059669; }

/* Credits */
.tg-pl-balance { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; color: #D8DCE2; margin-bottom: 12px; }
.tg-pl-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tg-pl-pack { position: relative; border: 1.5px solid var(--tg-border, #e2e8f0); background: var(--tg-surface, #f8fafc); color: var(--tg-text, #0f172a); border-radius: 12px; padding: 14px 8px; cursor: pointer; text-align: center; font-family: inherit; }
.tg-pl-pack.best { border-color: #D8DCE2; box-shadow: 0 0 0 3px rgba(216, 220, 226, 0.18); }
.tg-pl-pack .tg-pl-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.tg-pl-pack-name { font-size: 12px; font-weight: 700; color: var(--tg-muted, #64748b); }
.tg-pl-pack-credits { font-size: 20px; font-weight: 900; margin: 4px 0; }
.tg-pl-pack-price { font-size: 13px; font-weight: 800; color: #5a1a9e; }
.tg-pl-unlock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--tg-border, #e2e8f0); border-radius: 10px; padding: 12px 14px; }
.tg-pl-cost { font-size: 20px; font-weight: 900; color: #D8DCE2; white-space: nowrap; }
.tg-pl-paywall { text-align: center; padding: 48px 20px; border: 1px dashed var(--tg-border, #cbd5e1); border-radius: 16px; max-width: 560px; margin: 24px auto; }
.tg-pl-paywall h3 { font-family: 'Syne', sans-serif; font-size: 20px; margin: 10px 0 6px; }
.tg-pl-paywall p { margin-bottom: 16px; }

/* Meetings hub */
.tg-pl-hub { border: 1px solid var(--tg-border, #e2e8f0); border-radius: 14px; background: var(--tg-card, #fff); overflow: hidden; }
.tg-pl-hubhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--tg-border, #e2e8f0); }
.tg-pl-hubtitle { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; }
.tg-pl-hubbody { display: grid; grid-template-columns: 190px 1fr; min-height: 380px; }
.tg-pl-rail { border-right: 1px solid var(--tg-border, #e2e8f0); padding: 10px; display: flex; flex-direction: column; gap: 4px; background: var(--tg-surface, #f8fafc); }
.tg-pl-rail-btn { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; border: none; background: transparent; color: var(--tg-text, #0f172a); font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; font-family: inherit; }
.tg-pl-rail-btn.active { background: rgba(91, 95, 199, 0.16); color: #6b2fb3; }
.tg-pl-hubmain { padding: 16px; min-width: 0; }
.tg-pl-meeting { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--tg-border, #e2e8f0); border-left: 4px solid #6b2fb3; border-radius: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.tg-pl-meeting.live { border-left-color: #16a34a; box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15); }
.tg-pl-mdate { width: 46px; text-align: center; font-size: 10px; text-transform: uppercase; color: var(--tg-muted, #64748b); font-weight: 800; }
.tg-pl-mdate strong { display: block; font-size: 20px; color: var(--tg-text, #0f172a); }
.tg-pl-mname { font-weight: 800; font-size: 14px; }
.tg-pl-livepill { font-size: 10px; background: #16a34a; color: #fff; padding: 1px 7px; border-radius: 10px; margin-left: 6px; }
.tg-pl-invite { border: 1px solid var(--tg-border, #e2e8f0); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.tg-pl-linkbox input { width: 100%; margin: 10px 0 6px; padding: 9px 11px; border-radius: 8px; border: 1px solid #6b2fb3; background: rgba(91, 95, 199, 0.07); color: var(--tg-text, #0f172a); font-size: 12.5px; font-family: ui-monospace, monospace; }
.tg-pl-preview { position: relative; aspect-ratio: 16 / 9; background: #020617; border-radius: 12px; overflow: hidden; }
.tg-pl-preview video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
#tg-lobby-novideo { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: #94a3b8; font-size: 13px; }
.tg-pl-toggles { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.tg-pl-room { position: fixed; inset: 0; z-index: 1000060; background: #0b0f19; display: flex; flex-direction: column; }
.tg-pl-roombar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; color: #e2e8f0; border-bottom: 1px solid #1e293b; }
.tg-pl-room iframe { flex: 1; width: 100%; border: 0; }

/* Document toolbox */
.tg-pl-toolbox { border: 2px solid #5a1a9e; border-radius: 14px; padding: 18px; margin: 18px 0; background: var(--tg-card, #fff); }
.tg-pl-tbhead { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tg-pl-tbbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.tg-pl-tbbar select { width: auto; padding: 6px 8px; margin-left: 6px; }
.tg-pl-doclist { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow: auto; }
.tg-pl-docrow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--tg-border, #e2e8f0); border-radius: 9px; background: var(--tg-surface, #f8fafc); color: var(--tg-text, #0f172a); font-family: inherit; }
.tg-pl-docrow.sel { border-color: #5a1a9e; background: rgba(90, 26, 158, 0.08); }
.tg-pl-docrow input[type=checkbox] { width: 16px; height: 16px; accent-color: #44107a; flex-shrink: 0; }
.tg-pl-docicon { font-size: 18px; }
.tg-pl-docname { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-pl-tbfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tg-pl-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 10px; }
.tg-pl-result.ok { background: rgba(5, 150, 105, 0.1); border: 1px solid rgba(5, 150, 105, 0.4); }
.tg-pl-result.warn { background: rgba(217, 119, 6, 0.1); border: 1px solid rgba(217, 119, 6, 0.45); }

/* Lawyers: matcher, desk, status */
.tg-pl-lawtop { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 16px; margin-bottom: 20px; }
.tg-pl-matcher { border: 1px solid var(--tg-border, #e2e8f0); border-radius: 14px; padding: 16px; background: var(--tg-card, #fff); }
.tg-pl-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tg-pl-chip { padding: 7px 12px; border-radius: 18px; border: 1.5px solid var(--tg-border, #cbd5e1); background: var(--tg-surface, #fff); color: var(--tg-text, #0f172a); font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.tg-pl-chip.active { background: #44107a; border-color: #44107a; color: #fff; }
.tg-pl-matchlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.tg-pl-matchcard { border: 1px solid var(--tg-border, #e2e8f0); border-radius: 12px; padding: 12px; background: var(--tg-surface, #f8fafc); position: relative; min-width: 0; }
.tg-pl-desk { border: 1.5px solid rgba(90, 26, 158, 0.45); border-radius: 14px; background: var(--tg-card, #fff); display: flex; flex-direction: column; height: 100%; min-height: 460px; max-height: 620px; }
.tg-pl-deskhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; flex-wrap: wrap; }
.tg-pl-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }
.tg-pl-deskmsgs { flex: 1; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; }
.tg-pl-msg { max-width: 90%; align-self: flex-start; background: var(--tg-surface, #f1f5f9); border: 1px solid var(--tg-border, #e2e8f0); padding: 9px 12px; border-radius: 12px 12px 12px 3px; font-size: 12.5px; line-height: 1.5; }
.tg-pl-msg.me { align-self: flex-end; background: #44107a; color: #fff; border-color: #44107a; border-radius: 12px 12px 3px 12px; }
.tg-pl-msg.flag { border-color: #d97706; background: rgba(217, 119, 6, 0.08); }
.tg-pl-time { font-size: 10px; opacity: 0.6; margin-top: 4px; text-align: right; }
.tg-pl-deskinput { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--tg-border, #e2e8f0); }
.tg-pl-deskinput input { flex: 1; padding: 9px 12px; border-radius: 18px; border: 1px solid var(--tg-border, #cbd5e1); background: var(--tg-surface, #fff); color: var(--tg-text, #0f172a); font-size: 13px; font-family: inherit; }
.tg-pl-deskcases { padding: 4px 12px 12px; }

.tg-pl-statusrail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; }
.tg-pl-statusitem { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; color: var(--tg-text, #0f172a); font-size: 11px; font-weight: 700; max-width: 76px; font-family: inherit; }
.tg-pl-statusitem > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 76px; }
.tg-pl-ring { position: relative; padding: 3px; border-radius: 50%; border: 2.5px solid #94a3b8; display: inline-flex; }
.tg-pl-ring.unseen { border-color: #25d366; }
.tg-pl-ring.add { border-style: dashed; }
.tg-pl-plus { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%; background: #25d366; color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 14px; border: 2px solid var(--tg-card, #fff); }
.tg-pl-statusviewer { position: fixed; inset: 0; z-index: 1000070; background: #000; color: #fff; display: flex; flex-direction: column; }
.tg-pl-statusbars { display: flex; gap: 4px; padding: 10px 12px 0; }
.tg-pl-statusbars span { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; overflow: hidden; }
.tg-pl-statusbars span i { display: block; height: 100%; width: 0; background: #fff; }
.tg-pl-statusbars span.done i { width: 100%; }
.tg-pl-statushead { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.tg-pl-statushead .tg-pl-muted { color: #cbd5e1; }
.tg-pl-statusbody { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tg-pl-statusbody img, .tg-pl-statusbody video { max-width: 100%; max-height: 100%; object-fit: contain; }
.tg-pl-statustext { width: min(560px, 92vw); min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; font-size: 22px; font-weight: 700; line-height: 1.4; border-radius: 12px; white-space: pre-wrap; }
.tg-pl-statuscaption { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.55); padding: 8px 14px; border-radius: 10px; max-width: 90%; text-align: center; font-size: 14px; }
.tg-pl-tap { position: absolute; top: 0; bottom: 0; width: 30%; background: transparent; border: none; cursor: pointer; z-index: 2; }
.tg-pl-tap.left { left: 0; }
.tg-pl-tap.right { right: 0; }
.tg-pl-statusfoot { display: flex; gap: 8px; justify-content: center; padding: 14px; }
.tg-pl-statusfoot .tg-pl-btn:not(.tg-pl-primary) { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.tg-pl-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tg-pl-tabs .tg-pl-rail-btn { border: 1px solid var(--tg-border, #e2e8f0); }
.tg-pl-swatch { position: relative; width: 26px; height: 26px; border-radius: 50%; display: inline-block !important; cursor: pointer; margin: 0 !important; flex-shrink: 0; }
.tg-pl-swatch input { opacity: 0; position: absolute; inset: 0; width: 100% !important; height: 100%; margin: 0; cursor: pointer; }
.tg-pl-swatch:has(input:checked) { box-shadow: 0 0 0 3px var(--tg-card, #fff), 0 0 0 5px #5a1a9e; }

@media (max-width: 860px) {
  .tg-pl-lawtop { grid-template-columns: 1fr; }
  .tg-pl-hubbody { grid-template-columns: 1fr; }
  .tg-pl-rail { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--tg-border, #e2e8f0); }
  .tg-pl-grid3, .tg-pl-grid2, .tg-pl-packs { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Landing page (landing-page.js)
   --------------------------------------------------------------------------- */
body.tg-mode-landing { padding: 0; background: #040b1a; }
.tgl { min-height: 100vh; background: radial-gradient(1100px 520px at 70% -10%, rgba(107, 47, 179, 0.22), transparent 70%), radial-gradient(800px 420px at 0% 30%, rgba(34, 197, 94, 0.10), transparent 70%), #040b1a; color: #e2e8f0; font-family: 'DM Sans', system-ui, sans-serif; }
.tgl-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(4, 11, 26, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.tgl-brand { display: flex; align-items: center; gap: 10px; color: #f8fafc; text-decoration: none; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; }
.tgl-brand img { border-radius: 10px; }
.tgl-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tgl-nav a, .tgl-link { color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 600; background: none; border: none; cursor: pointer; font-family: inherit; }
.tgl-nav a:hover, .tgl-link:hover { color: #fff; }
.tgl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; padding: 9px 16px; font-size: 14px; font-weight: 800; cursor: pointer; border: 1px solid transparent; font-family: inherit; }
.tgl-lg { padding: 13px 22px; font-size: 15px; }
.tgl-primary { background: #5a1a9e; color: #fff; }
.tgl-primary:hover { background: #3a0d69; }
.tgl-ghost { background: transparent; color: #e2e8f0; border-color: rgba(148, 163, 184, 0.4); }
.tgl-google { background: #fff; color: #1f2937; border-color: #dadce0; }
.tgl-gold { background: linear-gradient(135deg, #D8DCE2, #b8860b); color: #0b0f19; }
.tgl-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.tgl-eyebrow { color: #4ade80; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.tgl-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: #f8fafc; letter-spacing: -0.02em; margin-bottom: 18px; }
.tgl-lead { font-size: 17px; line-height: 1.6; color: #94a3b8; max-width: 560px; margin-bottom: 26px; }
.tgl-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.tgl-guest { margin-top: 14px; display: inline-block; }
.tgl-welcome { margin-bottom: 14px; color: #cbd5e1; }
.tgl-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: #94a3b8; font-size: 13px; }
.tgl-art { display: flex; justify-content: center; }
.tgl-globe { width: min(440px, 88vw); height: auto; filter: drop-shadow(0 30px 60px rgba(90, 26, 158, 0.35)); }
.tgl-spin { animation: tgl-drift 14s linear infinite; }
@keyframes tgl-drift { from { transform: translateX(-60px); } to { transform: translateX(60px); } }
@media (prefers-reduced-motion: reduce) { .tgl-spin { animation: none; } .tgl-plane animateMotion { display: none; } }
.tgl-section { max-width: 1200px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 48px); }
.tgl-section h2 { font-family: 'Syne', sans-serif; font-size: clamp(24px, 3vw, 34px); color: #f8fafc; margin-bottom: 24px; }
.tgl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tgl-card { background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 16px; padding: 20px; }
.tgl-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tgl-icon { font-size: 26px; }
.tgl-tier { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 12px; background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.tgl-tier.pro { background: rgba(216, 220, 226, 0.16); color: #fbbf24; }
.tgl-card h3 { color: #f8fafc; font-size: 17px; margin-bottom: 6px; }
.tgl-card p { color: #94a3b8; font-size: 14px; line-height: 1.55; }
.tgl-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tgl-shot { margin: 0; background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 18px; overflow: hidden; }
.tgl-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tgl-shot figcaption { padding: 16px 18px; color: #94a3b8; font-size: 14px; line-height: 1.55; }
.tgl-shot figcaption strong { color: #f8fafc; }
.tgl-illustrative { margin-top: 12px; color: #64748b; font-size: 12px; }
.tgl-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tgl-plan { background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; }
.tgl-plan-hi { border-color: #5a1a9e; box-shadow: 0 0 0 1px #5a1a9e, 0 20px 50px rgba(90, 26, 158, 0.2); }
.tgl-plan-name { font-weight: 800; color: #cbd5e1; }
.tgl-price { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; color: #f8fafc; margin: 6px 0 14px; }
.tgl-price small { font-size: 14px; color: #94a3b8; }
.tgl-plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.tgl-plan li { padding: 7px 0; color: #cbd5e1; font-size: 14px; border-bottom: 1px dashed rgba(148, 163, 184, 0.16); }
.tgl-plan li::before { content: '✓ '; color: #4ade80; font-weight: 800; }
.tgl-footer { max-width: 1200px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 48px; color: #64748b; font-size: 12.5px; line-height: 1.6; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(148, 163, 184, 0.12); }
.tgl-transition { position: fixed; inset: 0; z-index: 1000100; background: rgba(4, 11, 26, 0.94); display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; }
.tgl-transition-card { text-align: center; color: #f8fafc; }
.tgl-transition-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin: 14px 0; }
.tgl-transition-bar { width: 220px; height: 5px; border-radius: 4px; background: #0f172a; overflow: hidden; margin: 0 auto; }
.tgl-transition-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5a1a9e, #4ade80); transition: width 0.55s ease; }
.tgl-transition.go .tgl-transition-bar i { width: 100%; }
body.tg-mode-landing #travelnsee-floating-widget { display: none !important; }
@media (max-width: 860px) {
  .tgl-hero { grid-template-columns: 1fr; }
  .tgl-nav .tgl-link { display: none; }
  .tgl-art { order: -1; }
  .tgl-pricing { grid-template-columns: 1fr; }
  .tgl-showcase { grid-template-columns: 1fr; }
  .tgl-nav a { display: none; }
}

/* Legal documents & consent gate */
.tg-pl-legal h4 { font-size: 14px; font-weight: 800; margin: 16px 0 6px; color: var(--tg-text, #0f172a); }
.tg-pl-legal p, .tg-pl-legal li { font-size: 13px; line-height: 1.6; color: var(--tg-text, #0f172a); opacity: 0.9; }
.tg-pl-legal ul { margin: 0; padding-left: 18px; }
.tg-pl-legal li { margin-bottom: 4px; }
.tg-pl-consent-points { margin: 0 0 16px; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.tg-pl-consent-row { align-items: flex-start !important; margin: 0 0 10px !important; line-height: 1.45; }
.tg-pl-consent-row input { margin-top: 3px; flex-shrink: 0; }
.tg-pl-consent-row a, .tg-pl-legal a { color: #5a1a9e; }
.tgl-legal-note { font-size: 12.5px; color: #94a3b8; margin-top: 12px; }
.tgl-legal-note a { color: #cbd5e1; }

/* Loading states: never show a blank screen while content loads */
.tg-skeleton { background: linear-gradient(90deg, rgba(148,163,184,.18) 25%, rgba(148,163,184,.32) 37%, rgba(148,163,184,.18) 63%); background-size: 400% 100%; animation: tg-shimmer 1.4s ease infinite; border-radius: 8px; }
.tg-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(68,16,122,.2); border-top-color: #44107A; border-radius: 50%; display: inline-block; animation: tg-spin .8s linear infinite; flex: none; }
@keyframes tg-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes tg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tg-skeleton, .tg-spinner { animation: none; } }

/* Bottom sheets on phones (ux-conventions.js, rule 14) */
.tg-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .tg-sheet-overlay { align-items: flex-end !important; padding: 0 !important; }
  .tg-sheet { width: 100% !important; max-width: 100% !important; max-height: 92vh !important; border-radius: 18px 18px 0 0 !important; margin: 0 !important; animation: tg-sheet-up .22s ease-out; }
  .tg-sheet-handle { width: 42px; height: 5px; border-radius: 3px; background: #c3c8d0; margin: 8px auto 2px; flex: none; cursor: grab; }
}
@keyframes tg-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tg-sheet { animation: none; } }

/* Portal greeting: warm serif with the brand spark (wave-portal.js) */
.tg-greeting {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #2a1745;
  font-variation-settings: 'opsz' 96;
}
.tg-greeting-mark {
  width: 0.9em;
  height: 0.9em;
  flex-shrink: 0;
  animation: tg-greet-spin 1.2s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes tg-greet-spin {
  from { transform: rotate(-90deg) scale(.4); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-greeting-mark { animation: none; }
}
