/* TNG CRM public widget */
.tngcrm-widget, .tngcrm-shell { --tc: #B85507; }
.tngcrm-widget, .tngcrm-card { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif; color: #231F20; font-size: 15px; line-height: 1.5; }
.tngcrm-widget *, .tngcrm-card * { box-sizing: border-box; }
.tngcrm-card { background: #fff; border: 1px solid #E8E5E2; border-radius: 14px; box-shadow: 0 1px 3px rgba(35,31,32,.06), 0 10px 30px rgba(35,31,32,.06); overflow: hidden; }
.is-embed .tngcrm-card { box-shadow: none; }
.tngcrm-split { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; min-height: 520px; }
.tngcrm-info { padding: 28px 26px; border-right: 1px solid #E8E5E2; position: relative; }
.tngcrm-info::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--tc); }
.tngcrm-logo { max-height: 60px; max-width: 220px; display: block; margin-bottom: 18px; }
.tngcrm-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--tc); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 18px; font-size: 16px; }
.tngcrm-eyebrow { margin: 0 0 4px; color: #6B6768; font-weight: 600; font-size: 13px; }
.tngcrm-info h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.25; letter-spacing: -.3px; color: #231F20; }
.tngcrm-facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; color: #4A4647; font-weight: 600; font-size: 14px; }
.tngcrm-facts li { display: flex; align-items: flex-start; gap: 10px; }
.tngcrm-facts svg { flex: none; margin-top: 2px; color: #6B6768; }
.tngcrm-facts li.is-strong { color: var(--tc); }
.tngcrm-facts li.is-strong svg { color: var(--tc); }
.tngcrm-intro { color: #4A4647; font-size: 14px; margin: 0; }
.tngcrm-main { padding: 28px 28px 24px; min-width: 0; }
.tngcrm-main h3 { margin: 0 0 18px; font-size: 18px; color: #231F20; }
.tngcrm-picker { display: flex; gap: 22px; align-items: flex-start; }
.tngcrm-cal { flex: 1 1 320px; max-width: 380px; min-height: 340px; position: relative; }
.tngcrm-cal.is-loading { opacity: .5; pointer-events: none; }
.tngcrm-cal.is-loading:empty, .tngcrm-cal.is-loading .tngcrm-spin { display: grid; place-items: center; }
.tngcrm-spin { width: 28px; height: 28px; border: 3px solid #E8E5E2; border-top-color: var(--tc); border-radius: 50%; animation: tngspin .8s linear infinite; margin: 120px auto; }
@keyframes tngspin { to { transform: rotate(360deg); } }
.tngcrm-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tngcrm-cal-head strong { font-size: 15px; }
.tngcrm-nav { width: 34px; height: 34px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--tc) 10%, #fff); color: var(--tc); display: grid; place-items: center; cursor: pointer; padding: 0; }
.tngcrm-nav:disabled { background: transparent; color: #D6D2CF; cursor: default; }
.tngcrm-week, .tngcrm-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tngcrm-week span { font-size: 11px; color: #6B6768; font-weight: 600; text-transform: uppercase; padding: 4px 0; }
.tngcrm-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: #A19D9E; font-size: 14px; cursor: default; font-family: inherit; padding: 0; position: relative; max-width: 46px; margin: 0 auto; width: 100%; }
.tngcrm-day.is-avail { background: color-mix(in srgb, var(--tc) 11%, #fff); color: var(--tc); font-weight: 700; cursor: pointer; }
.tngcrm-day.is-avail:hover { background: color-mix(in srgb, var(--tc) 22%, #fff); }
.tngcrm-day.is-sel { background: var(--tc) !important; color: #fff !important; }
.tngcrm-day.is-today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.tngcrm-day:focus-visible, .tngcrm-slot:focus-visible, .tngcrm-btn:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.tngcrm-tz { display: flex; align-items: center; gap: 6px; margin-top: 16px; color: #4A4647; font-size: 13px; }
.tngcrm-tz select { border: 0; background: transparent; font: inherit; color: #231F20; font-weight: 600; cursor: pointer; padding: 2px; max-width: 220px; }
.tngcrm-times { flex: 0 0 210px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.tngcrm-times.is-empty { color: #6B6768; font-size: 14px; padding-top: 48px; }
.tngcrm-times-head { margin: 4px 0 12px; font-weight: 600; font-size: 14px; color: #3A3637; }
.tngcrm-slots { display: flex; flex-direction: column; gap: 8px; }
.tngcrm-slot { height: 46px; border: 1px solid color-mix(in srgb, var(--tc) 45%, #fff); color: var(--tc); background: #fff; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit; transition: all .12s; }
.tngcrm-slot:hover { border-color: var(--tc); border-width: 2px; }
.tngcrm-slotwrap { display: flex; gap: 8px; }
.tngcrm-slotwrap .tngcrm-slot { flex: 1; min-width: 0; }
.tngcrm-slotwrap.is-sel .tngcrm-slot { background: #4A4647; border-color: #4A4647; color: #fff; border-width: 1px; }
.tngcrm-next { flex: 1; height: 46px; border: 0; background: var(--tc); color: #fff; font-weight: 700; border-radius: 8px; cursor: pointer; font-size: 15px; font-family: inherit; animation: tngin .15s ease; }
@keyframes tngin { from { opacity: 0; transform: translateX(-6px); } }
.tngcrm-back { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--tc); font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 10px; font-family: inherit; font-size: 14px; }
.tngcrm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tngcrm-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #3A3637; }
.tngcrm-grid label.is-full { grid-column: 1 / -1; }
.tngcrm-grid input, .tngcrm-grid select, .tngcrm-grid textarea { width: 100%; border: 1px solid #D6D2CF; border-radius: 8px; padding: 10px 12px; font: inherit; font-weight: 400; color: #231F20; background: #fff; }
.tngcrm-grid input:focus, .tngcrm-grid select:focus, .tngcrm-grid textarea:focus { outline: none; border-color: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent); }
.tngcrm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tngcrm-err { color: #b91c1c; font-size: 14px; min-height: 20px; margin: 10px 0 4px; }
.tngcrm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--tc); color: #fff !important; border: 0; border-radius: 24px; padding: 12px 26px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; font-family: inherit; }
.tngcrm-btn:disabled { opacity: .6; cursor: wait; }
.tngcrm-btn.is-ghost { background: #fff; color: var(--tc) !important; border: 1px solid color-mix(in srgb, var(--tc) 40%, #fff); }
.tngcrm-fine { color: #A19D9E; font-size: 12px; margin: 12px 0 0; }
.tngcrm-done { padding: 48px 28px; text-align: center; }
.tngcrm-tick { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; margin: 0 auto 16px; }
.tngcrm-done h2 { margin: 0 0 8px; font-size: 24px; color: #231F20; }
.tngcrm-done p { color: #4A4647; margin: 0 0 20px; }
.tngcrm-summary { list-style: none; padding: 18px 20px; margin: 0 auto 22px; max-width: 420px; text-align: left; border: 1px solid #E8E5E2; border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }
.tngcrm-summary li { display: flex; gap: 12px; color: #3A3637; font-size: 14px; }
.tngcrm-summary svg { flex: none; margin-top: 2px; color: #6B6768; }
.tngcrm-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tngcrm-widget.is-lead .tngcrm-split { min-height: 0; }

/* Manage booking page */
.tngcrm-manage { padding: 32px; max-width: 560px; margin: 0 auto; }
.tngcrm-manage h2 { margin: 0 0 18px; font-size: 22px; }
.tngcrm-manage .tngcrm-logo { margin-bottom: 14px; }
.tngcrm-dl { display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; margin: 0 0 22px; }
.tngcrm-dl dt { color: #6B6768; font-weight: 600; font-size: 14px; }
.tngcrm-dl dd { margin: 0; word-break: break-word; }
.tngcrm-pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; background: #FEF0E3; color: #9A4705; }
.tngcrm-pill.is-cancelled { background: #F4F2F0; color: #6B6768; }
.tngcrm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tngcrm-muted { color: #6B6768; font-size: 13px; margin-top: 14px; }
.tngcrm-ok { background: #dcfce7; color: #166534; padding: 10px 14px; border-radius: 8px; }
.tngcrm-manage .tngcrm-btn, .tngcrm-manage a.tngcrm-btn { background: var(--tc); }
.tngcrm-manage .tngcrm-btn.is-ghost { background: #fff; }
.tngcrm-card.tngcrm-manage h2:first-child { margin-top: 0; }

@media (max-width: 760px) {
  .tngcrm-split { grid-template-columns: 1fr; }
  .tngcrm-info { border-right: 0; border-bottom: 1px solid #E8E5E2; padding: 24px 20px 18px; }
  .tngcrm-info h2 { font-size: 21px; }
  .tngcrm-main { padding: 20px; }
  .tngcrm-picker { flex-direction: column; }
  .tngcrm-cal { max-width: none; width: 100%; min-height: 0; }
  .tngcrm-times { flex: none; width: 100%; max-height: none; }
  .tngcrm-grid { grid-template-columns: 1fr; }
  .tngcrm-shell.is-full .tngcrm-page { padding: 16px !important; }
}

/* Powered by TNG Solutions */
.tngcrm-powered { margin: 22px 0 0; text-align: center; max-width: none !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 12px; }
.tngcrm-powered a { display: inline-flex; align-items: center; gap: 8px; color: #6B6768; text-decoration: none; opacity: .85; transition: opacity .15s; }
.tngcrm-powered a:hover { opacity: 1; }
.tngcrm-powered img { height: 28px; width: auto; display: block; }

/* 1.3.0: meeting types, personal pages, questions, rescheduling */
.tngcrm-chooser { padding: 32px 30px; max-width: 640px; margin: 0 auto; position: relative; }
.tngcrm-chooser::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--tc); }
.tngcrm-chooser h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.3px; color: #231F20; }
.tngcrm-chooser.is-host { text-align: center; }
.tngcrm-chooser.is-host .tngcrm-events { text-align: left; }
.tngcrm-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 12px; border: 3px solid #fff; box-shadow: 0 0 0 1px #E8E5E2; }
.tngcrm-intro { color: #4A4647; }
.tngcrm-events { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.tngcrm-event { display: flex; align-items: center; gap: 14px; padding: 16px 18px 16px 20px; border: 1px solid #E8E5E2; border-left: 5px solid var(--ec, var(--tc)); border-radius: 10px; text-decoration: none !important; color: #231F20 !important; background: #fff; transition: border-color .12s, box-shadow .12s, transform .12s; }
.tngcrm-event:hover { border-color: var(--ec, var(--tc)); box-shadow: 0 6px 18px rgba(35,31,32,.08); transform: translateY(-1px); }
.tngcrm-event:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.tngcrm-event-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.tngcrm-event-body .tngcrm-eyebrow { margin: 0; font-size: 12px; }
.tngcrm-event strong { font-size: 16px; }
.tngcrm-event-meta { font-size: 13px; color: #6B6768; }
.tngcrm-event-desc { font-size: 13.5px; color: #4A4647; line-height: 1.45; }
.tngcrm-event-go { font-size: 28px; color: var(--ec, var(--tc)); line-height: 1; }
.tngcrm-host { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tngcrm-host img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tngcrm-host strong { display: block; font-size: 15px; color: #231F20; }
.tngcrm-host small { color: #6B6768; font-size: 13px; }
.tngcrm-back.is-link { text-decoration: none; margin-bottom: 14px; }
.tngcrm-facts li.is-old { color: #6B6768; }
.tngcrm-help { font-weight: 400; color: #6B6768; font-size: 12px; }
.tngcrm-choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; grid-column: 1 / -1; }
.tngcrm-choices legend { font-size: 13px; font-weight: 600; color: #3A3637; margin-bottom: 6px; padding: 0; }
.tngcrm-choice { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px !important; border: 1px solid #D6D2CF; border-radius: 8px; padding: 10px 12px; cursor: pointer; font-weight: 500 !important; }
.tngcrm-choice input { width: auto !important; margin: 0; accent-color: var(--tc); }
.tngcrm-choice span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tngcrm-choice small { flex-basis: 100%; color: #6B6768; font-weight: 400; margin-left: 24px; }
.tngcrm-choice:has(input:checked) { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 7%, #fff); }
.tngcrm-confirm { background: color-mix(in srgb, var(--tc) 8%, #fff); border-radius: 10px; padding: 12px 16px; color: #231F20; }
.tngcrm-cancel { margin-top: 18px; }
.tngcrm-cancel summary { cursor: pointer; color: #6B6768; font-size: 14px; }
.tngcrm-cancel form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.tngcrm-cancel label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.tngcrm-cancel textarea { border: 1px solid #D6D2CF; border-radius: 8px; padding: 10px 12px; font: inherit; }
.tngcrm-cancel .tngcrm-btn { align-self: flex-start; }
@media (max-width: 760px) {
  .tngcrm-chooser { padding: 26px 18px; }
}
