/* Trust Systems — shared connected demo hub (examples only).
   Namespaced .tsdh-* so it never collides with a build's own styles. */
.tsdh{box-sizing:border-box;max-width:1120px;margin:28px auto;padding:24px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:20px;color:#111827;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.55}
.tsdh *,.tsdh *::before,.tsdh *::after{box-sizing:border-box}
.tsdh :focus-visible{outline:3px solid #2563EB;outline-offset:2px;border-radius:6px}
.tsdh-head h2{font-size:clamp(1.4rem,3vw,1.9rem);line-height:1.2;margin:0 0 8px;letter-spacing:-.02em}
.tsdh-disclaimer{font-weight:700;font-size:14px;background:#111827;color:#fff;border-radius:10px;padding:9px 12px;margin:0 0 8px}
.tsdh-plan-note{font-size:13.5px;color:#475569;margin:0 0 6px}
.tsdh-session-line{font-size:14px;font-weight:700;color:#0A2547;background:#EFF6FF;border:1px solid #BFDBFE;border-radius:10px;padding:9px 12px;margin:12px 0 16px}
.tsdh-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.tsdh-tab{border:2px solid #CBD5E1;background:#fff;color:#111827;border-radius:999px;padding:10px 18px;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.tsdh-tab:hover{border-color:#2563EB}
.tsdh-tab[aria-selected="true"]{background:#0A2547;border-color:#0A2547;color:#fff}
.tsdh-panel{background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:20px}
.tsdh-panel h3{margin:0 0 6px;font-size:1.15rem}
.tsdh-panel .tsdh-sub{color:#5B6B7F;font-size:14.5px;margin:0 0 14px}
.tsdh label{display:block;font-weight:700;font-size:14px;margin:12px 0 5px}
.tsdh input[type="text"],.tsdh input[type="tel"],.tsdh select{width:100%;border:1px solid #CBD5E1;border-radius:10px;padding:11px 12px;font:inherit;font-size:15px;background:#fff;color:#111827}
.tsdh fieldset{border:0;padding:0;margin:14px 0}
.tsdh legend{font-weight:800;font-size:14px;margin-bottom:8px;padding:0}
.tsdh-slot-list{display:flex;flex-direction:column;gap:8px}
.tsdh-slot{display:flex;gap:10px;align-items:flex-start;border:1.5px solid #CBD5E1;border-radius:12px;padding:10px 12px;cursor:pointer;font-weight:600;font-size:14.5px;margin:0}
.tsdh-slot input{margin-top:3px;flex:none}
.tsdh-slot--afterhours{border-style:dashed;background:#FFFBEB}
.tsdh-submit{width:100%;background:#2563EB;color:#fff;border:0;border-radius:999px;padding:13px 20px;font:inherit;font-weight:800;font-size:15.5px;cursor:pointer;margin-top:16px}
.tsdh-submit:hover{background:#1D4ED8}
/* Outcome region — booked (green) vs callback (amber) vs chat inquiry (blue) are deliberately distinct */
.tsdh-outcome{border-radius:14px;padding:18px;margin-top:18px;border:2px solid #CBD5E1;background:#fff}
.tsdh-outcome h3{margin:0 0 8px;font-size:1.2rem}
.tsdh-outcome dl{margin:8px 0;font-size:14.5px}
.tsdh-outcome dl div{display:flex;justify-content:space-between;gap:14px;padding:5px 0;border-bottom:1px dashed rgba(0,0,0,.14)}
.tsdh-outcome dl dt{color:#475569}.tsdh-outcome dl dd{font-weight:700;text-align:right;margin:0}
.tsdh-outcome p{margin:8px 0 0;font-size:14.5px}
.tsdh-outcome--booked{border-color:#16A34A;background:#ECFDF5}
.tsdh-outcome--booked h3{color:#065F46}
.tsdh-outcome--callback{border-color:#D97706;background:#FFFBEB}
.tsdh-outcome--callback h3{color:#92400E}
.tsdh-outcome--inquiry{border-color:#2563EB;background:#EFF6FF}
.tsdh-outcome--inquiry h3{color:#1E3A8A}
.tsdh-ref{display:inline-block;background:#0A2547;color:#fff;font-weight:800;border-radius:8px;padding:2px 9px}
/* Chat */
.tsdh-chat-log{display:flex;flex-direction:column;gap:9px;background:#F8FBFF;border:1px solid #E2E8F0;border-radius:14px;padding:14px;min-height:150px;max-height:340px;overflow:auto}
.tsdh-msg{max-width:88%;padding:10px 13px;border-radius:14px;font-size:14.5px;line-height:1.5}
.tsdh-msg--bot{background:#fff;border:1px solid #E2E8F0;border-bottom-left-radius:4px;align-self:flex-start}
.tsdh-msg--user{background:#2563EB;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.tsdh-chat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.tsdh-chat-chip{border:1.5px solid #CBD5E1;background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-weight:700;font-size:14px;cursor:pointer}
.tsdh-chat-chip:hover{border-color:#2563EB}
.tsdh-chat-chip--help{background:#0A2547;border-color:#0A2547;color:#fff}
.tsdh-chat-form{display:flex;gap:8px;flex-wrap:wrap}
.tsdh-chat-form input{flex:1;min-width:180px}
.tsdh-chat-send{background:#2563EB;color:#fff;border:0;border-radius:999px;padding:11px 20px;font:inherit;font-weight:800;cursor:pointer}
.tsdh-chat-send:hover{background:#1D4ED8}
.tsdh-chat-collect{border:1.5px dashed #2563EB;border-radius:14px;padding:16px;margin-top:14px;background:#EFF6FF}
/* Receptionist */
.tsdh-rec-note{background:#EFF6FF;border:1px solid #BFDBFE;border-radius:10px;padding:11px 13px;font-size:14.5px;font-weight:600}
/* Owner view */
.tsdh-owner-toggle-row{display:flex;align-items:center;gap:12px;margin-top:22px;border-top:1px solid #E2E8F0;padding-top:18px}
.tsdh-owner-toggle-row label{margin:0;font-size:15px}
.tsdh-owner-toggle{width:22px;height:22px;accent-color:#0A2547;flex:none;cursor:pointer}
.tsdh-owner-view{margin-top:14px;display:flex;flex-direction:column;gap:16px}
.tsdh-owner-card{background:#0B1220;color:#E5EDF7;border-radius:16px;padding:18px;border:4px solid #1E293B}
.tsdh-owner-card h3{color:#8EC2FF;margin:0 0 6px;font-size:13px;letter-spacing:.05em;text-transform:uppercase}
.tsdh-owner-card .tsdh-owner-title{font-size:17px;font-weight:800;color:#fff;margin:0 0 8px}
.tsdh-owner-card dl{font-size:14px;margin:0}
.tsdh-owner-card dl div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #1E293B}
.tsdh-owner-card dt{color:#94A3B8}.tsdh-owner-card dd{font-weight:700;text-align:right;margin:0}
.tsdh-status-pill{display:inline-block;border-radius:999px;padding:3px 11px;font-size:12.5px;font-weight:800;background:#2563EB;color:#fff}
.tsdh-status-pill--booked{background:#16A34A;color:#fff}
.tsdh-status-pill--callback{background:#D97706;color:#fff}
.tsdh-email{background:#fff;border:1px solid #CBD5E1;border-radius:14px;overflow:hidden}
.tsdh-email h3{background:#F1F5F9;border-bottom:1px solid #E2E8F0;margin:0;padding:12px 16px;font-size:14px}
.tsdh-email-body{padding:14px 16px;font-size:14.5px;white-space:pre-wrap;word-break:break-word}
.tsdh-dashboard-link{display:inline-flex;align-items:center;justify-content:center;background:#0A2547;color:#fff;text-decoration:none;border-radius:999px;padding:12px 20px;font-weight:800;font-size:15px}
.tsdh-dashboard-link:hover{background:#12325f}
.tsdh-ledger{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:16px}
.tsdh-ledger h3{margin:0 0 8px;font-size:1rem}
.tsdh-ledger ul{list-style:none;margin:8px 0 0;padding:0;font-size:14.5px}
.tsdh-ledger li{padding:7px 0;border-bottom:1px dashed #E2E8F0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tsdh-empty{color:#5B6B7F;font-size:14.5px;margin:0}
/* Trust Systems consultation triggers (Pass 3) — namespaced, inline only.
   The invitation is a normal in-flow block inside the hub: never fixed,
   never an overlay, so it cannot cover mobile booking controls. */
.tsdh-consult-row{margin:12px 0 0}
.tsdh-consult-btn{background:#0A3D91;color:#fff;border:2px solid #0A3D91;border-radius:999px;padding:11px 20px;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.tsdh-consult-btn:hover{background:#08306E;border-color:#06B6D4}
.tsdh-consult-invite{margin-top:18px;background:#EFF6FF;border:2px solid #0A3D91;border-radius:14px;padding:16px 18px}
.tsdh-consult-invite[hidden]{display:none}
.tsdh-consult-invite p{margin:0;font-size:15px;color:#0A2547}
.tsdh-consult-invite-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.tsdh-consult-invite-primary{background:#0A3D91;color:#fff;border:0;border-radius:999px;padding:11px 18px;font:inherit;font-weight:800;font-size:14.5px;cursor:pointer}
.tsdh-consult-invite-primary:hover{background:#08306E}
.tsdh-consult-invite-dismiss{background:#fff;color:#0A3D91;border:2px solid #0A3D91;border-radius:999px;padding:10px 18px;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer}
.tsdh-consult-invite-dismiss:hover{background:#DBEAFE}
@media(max-width:560px){
  .tsdh-consult-invite-actions{flex-direction:column}
  .tsdh-consult-invite-primary,.tsdh-consult-invite-dismiss,.tsdh-consult-btn{width:100%}
}
@media(max-width:560px){
  .tsdh{padding:16px;margin:18px 10px;border-radius:16px}
  .tsdh-panel{padding:16px}
  .tsdh-tab{flex:1 1 100%;text-align:center}
  .tsdh-chat-form input{min-width:0}
  .tsdh-outcome dl div,.tsdh-owner-card dl div{flex-direction:column;gap:2px}
  .tsdh-outcome dl dd,.tsdh-owner-card dd{text-align:left}
}
