/* Experience Planner presentation. Loaded only by the authorised staging preview.
   Core UI supplies colours, typography, buttons and the continuous Heritage frame. */
.ddb-v3-preview .ddb-experience-v3 { max-width:1320px; margin-inline:auto; padding:24px; color:var(--ui-color-text); font-family:var(--ui-font-sans); }
.ddb-experience-v3 *, .v3-sheet * { box-sizing:border-box; }
.ddb-experience-v3 svg { flex-shrink:0; }
.ddb-experience-v3 button { cursor:pointer; font-family:var(--ui-font-sans); }
.ddb-experience-v3 button:disabled { cursor:default; }
.ddb-experience-v3 :is(button,a,input,select):focus-visible,.v3-sheet :is(button,a,input,select):focus-visible { outline:2px solid var(--ui-color-focus); outline-offset:4px; }
.ddb-experience-v3 .v3-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.ddb-experience-v3 .v3-header h1 { font-family:var(--ui-font-display); font-size:34px; line-height:1.1; margin:4px 0 0; font-weight:400; }
.ddb-experience-v3 .v3-heading-dot { color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-eyebrow,.v3-sheet .v3-eyebrow { display:block; font-size:11px; font-weight:700; letter-spacing:.13em; color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-header__actions { display:flex; align-items:center; gap:14px; }
.ddb-experience-v3 .v3-save-state { color:var(--ui-color-text-muted); font-size:13px; }
.ddb-experience-v3 .ddb-preferences { display:block; padding:0; background:none; margin:0 0 14px; border:0; }
.ddb-experience-v3 .v3-preferences-trigger { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; width:100%; min-height:48px; padding:10px 14px; border:1px solid var(--ui-color-border); border-radius:12px; background:var(--ui-color-surface-2); color:var(--ui-color-text); text-align:left; font-size:14px; }
.ddb-experience-v3 .v3-preferences-trigger span:last-child { margin-left:auto; color:var(--ui-color-primary); font-size:24px; }
.ddb-experience-v3 .v3-workspace { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px; align-items:start; }
.ddb-experience-v3 :is(.v3-discover,.v3-day) { min-width:0; background:var(--ui-color-surface); border:1px solid var(--ui-color-border); border-radius:14px; padding:22px; }
.ddb-experience-v3 .v3-day { position:static; }
.ddb-experience-v3 .v3-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.ddb-experience-v3 .v3-panel-heading h2 { font-family:var(--ui-font-display); font-size:25px; font-weight:400; line-height:1.16; margin:0; }
.ddb-experience-v3 .v3-panel-heading h2 em { color:var(--ui-color-primary); font-weight:400; }
.ddb-experience-v3 .v3-count { display:inline-grid; place-items:center; min-width:28px; height:28px; padding:3px; border:1px solid var(--ui-color-border); border-radius:50%; color:var(--ui-color-primary); font-family:var(--ui-font-sans); font-size:14px; vertical-align:middle; }
.ddb-experience-v3 .v3-day-meta { display:flex; flex-wrap:wrap; gap:18px; padding:8px 0; margin-bottom:10px; border-block:1px solid var(--ui-color-border); font-size:13px; }
.ddb-experience-v3 .v3-day-meta span { display:flex; align-items:center; gap:7px; }
.ddb-experience-v3 .v3-day-meta svg { color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-desktop-action { display:grid; gap:12px; padding:16px; border:1px solid color-mix(in srgb,var(--ui-color-primary) 38%,transparent); border-radius:10px; background:color-mix(in srgb,var(--ui-color-primary) 7%,var(--ui-color-surface-2)); margin-bottom:16px; }
.ddb-experience-v3 .v3-price { display:grid; gap:4px; min-width:0; }
.ddb-experience-v3 .v3-price>span { color:var(--ui-color-text-muted); font-size:13px; }
.ddb-experience-v3 .v3-price>strong { font-family:var(--ui-font-display); font-size:30px; line-height:1.2; font-weight:400; }
.ddb-experience-v3 .v3-price>small { color:var(--ui-color-text-muted); font-size:12px; line-height:1.5; }
.ddb-experience-v3 .v3-attention { width:100%; display:flex; gap:12px; align-items:center; text-align:left; padding:14px; border:1px solid color-mix(in srgb,var(--ui-color-primary) 38%,transparent); border-radius:10px; background:color-mix(in srgb,var(--ui-color-primary) 7%,var(--ui-color-surface)); color:var(--ui-color-text); margin-bottom:16px; }
.ddb-experience-v3 .v3-attention>svg { color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-attention>span { display:grid; gap:4px; flex:1; min-width:0; font-size:13px; line-height:1.45; }
.ddb-experience-v3 .v3-attention>span>span { color:var(--ui-color-text-muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ddb-experience-v3 .v3-timeline { margin:0; padding:0; list-style:none; display:grid; gap:12px; }
.ddb-experience-v3 .v3-timeline>li { display:grid; grid-template-columns:48px minmax(0,1fr); gap:11px; position:relative; }
.ddb-experience-v3 .v3-stop-time { padding-top:18px; font-size:12px; font-weight:700; color:var(--ui-color-primary); position:relative; }
.ddb-experience-v3 .v3-stop-time>span { display:block; position:absolute; top:21px; right:-9px; width:7px; height:7px; border:1px solid var(--ui-color-primary); border-radius:50%; background:var(--ui-color-surface); z-index:1; }
.ddb-experience-v3 .v3-timeline>li:not(:last-child)::before { content:''; position:absolute; left:54px; top:24px; bottom:-35px; width:1px; background:var(--ui-color-border); }
.ddb-experience-v3 .v3-stop { display:flex; gap:10px; align-items:center; min-width:0; width:100%; padding:12px; color:var(--ui-color-text); text-align:left; background:var(--ui-color-surface-2); border:1px solid var(--ui-color-border); border-radius:9px; transition:border-color 160ms ease; }
.ddb-experience-v3 .v3-stop:hover { border-color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-stop img,.ddb-experience-v3 .v3-stop-icon { width:52px; height:60px; object-fit:cover; flex:0 0 52px; border-radius:4px; }
.ddb-experience-v3 .v3-stop-icon { display:grid; place-items:center; color:var(--ui-color-primary); background:var(--ui-color-surface-3); }
.ddb-experience-v3 .v3-stop-copy { display:grid; gap:3px; min-width:0; flex:1; }
.ddb-experience-v3 .v3-stop-copy strong { font-size:14px; line-height:1.3; font-weight:700; overflow-wrap:anywhere; }
.ddb-experience-v3 .v3-stop-copy>span { font-size:12px; color:var(--ui-color-text-muted); }
.ddb-experience-v3 .v3-stop-copy small { font-size:12px; line-height:1.3; color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-stop-price { flex:0 0 auto; align-self:flex-start; font-size:13px; white-space:nowrap; color:var(--ui-color-text); }
.ddb-experience-v3 .v3-stop>svg { color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-stop,.ddb-experience-v3 .v3-stop-copy strong { white-space:normal; }
.ddb-experience-v3 .v3-concept-note { font-size:12px; line-height:1.5; color:var(--ui-color-text-muted); margin:16px 0 0; }
.ddb-experience-v3 .v3-empty { padding:36px 8px; text-align:center; color:var(--ui-color-text-muted); }
.ddb-experience-v3 .v3-empty>svg { color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-empty h3 { font-family:var(--ui-font-display); font-size:26px; color:var(--ui-color-text); }
.ddb-experience-v3 .v3-empty p { font-size:15px; line-height:1.5; }
.ddb-experience-v3 :is(.v3-switch,.v3-dock) { display:none; }
.ddb-v3-preview .ddb-royal-nav-host { display:none; }
.ddb-v3-preview #ddb-agent-widget-v3 .ddb-launcher { display:none; }
.ddb-experience-v3 .sbdp-activity-carousel { padding:0; }
.ddb-experience-v3 .sbdp-activity-ribbon { padding:0 0 18px; border:0; }
.ddb-experience-v3 .ddb-category-chips { display:flex; flex-wrap:wrap; gap:6px; overflow:visible; max-height:none; padding-bottom:0; }
.ddb-experience-v3 .ddb-category-chips .ui-btn { min-height:44px; padding:7px 10px; font-size:12px; }
.ddb-experience-v3 .sbdp-filter-chip { min-height:44px; background:var(--ui-color-surface-2); color:var(--ui-color-text-muted); border:1px solid var(--ui-color-border); }
.ddb-experience-v3 .sbdp-activity-carousel__pager { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:16px; font-size:12px; }
.ddb-experience-v3 .v3-error { padding:14px; border:1px solid var(--ui-color-danger); border-radius:9px; background:var(--ui-color-surface); }
.ddb-v3-preview .ddb-planner-dialog.v3-sheet { width:min(640px,calc(100vw - 32px)); max-height:calc(100dvh - 48px); margin:auto; padding:22px; overflow:auto; border:1px solid var(--ui-color-border); border-radius:16px; background:var(--ui-color-surface-2); color:var(--ui-color-text); }
.ddb-v3-preview .v3-sheet::backdrop { background:color-mix(in srgb,var(--ui-color-bg) 72%,transparent); backdrop-filter:blur(5px); }
.ddb-v3-preview .v3-sheet .ddb-planner-dialog__header { position:sticky; top:-22px; z-index:2; padding:12px 0; background:var(--ui-color-surface-2); display:flex; align-items:center; gap:12px; justify-content:space-between; }
.ddb-v3-preview .v3-sheet h2 { font-family:var(--ui-font-display); font-size:28px; font-weight:400; }
.ddb-v3-preview .v3-sheet .ddb-planner-dialog__header button { min-width:44px; min-height:44px; }
.ddb-v3-preview .v3-sheet :is(input,select) { min-height:44px; max-width:100%; }
.ddb-v3-preview .v3-menu { display:grid; gap:10px; }
.ddb-v3-preview .v3-notices article { padding:16px 0; border-bottom:1px solid var(--ui-color-border); }
.ddb-v3-preview .v3-route p { color:var(--ui-color-text-muted); font-size:14px; line-height:1.5; }
.ddb-v3-preview .v3-route ol { list-style:none; padding:0; margin:16px 0; display:grid; gap:12px; }
.ddb-v3-preview .v3-route li { display:flex; gap:12px; align-items:flex-start; padding:12px; background:var(--ui-color-surface); border-radius:8px; }
.ddb-v3-preview .v3-route li>span { display:grid; place-items:center; flex:0 0 26px; height:26px; border:1px solid var(--ui-color-border); border-radius:50%; color:var(--ui-color-primary); }
.ddb-v3-preview .v3-route [data-ddb-day-map] { height:320px; min-height:240px; border-radius:10px; overflow:hidden; }
.ddb-v3-preview .v3-product-detail { display:grid; gap:12px; }
.ddb-v3-preview .v3-product-detail img { width:100%; max-height:220px; object-fit:cover; }
.ddb-v3-preview .v3-product-detail p { margin:0; line-height:1.5; }
/* Desktop: keep the commercial action in the viewport, not above the programme.
   The existing runtime-owned action, disabled state and price projection remain intact. */
@media(min-width:1024px) {
  .ddb-v3-preview .ddb-experience-v3 { padding-bottom:104px; }
  /* Match the existing shell (100vw - 24px, 8px padding), 1320px workspace, 24px gutters and 1.15:1 columns. */
  .ddb-experience-v3 .v3-desktop-action {
    position:fixed; top:auto; left:auto;
    right:calc((100% - min(100vw - 40px,1320px)) / 2 + 24px); bottom:max(24px,env(safe-area-inset-bottom));
    z-index:var(--ui-z-header,40); width:calc((min(100vw - 40px,1320px) - 68px) / 2.15);
    display:grid; margin:0; max-height:calc(100dvh - 48px); overflow-y:auto;
    box-shadow:0 8px 28px color-mix(in srgb,var(--ui-color-bg) 40%,transparent);
  }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-desktop-action > .ui-btn {
    position:relative; inset:auto; width:100%; min-height:52px;
    margin:0; white-space:normal; line-height:1.4;
  }
  .ddb-v3-preview .elementor-location-footer { padding-bottom:240px; }
  .ddb-v3-preview:has(dialog[open]) .v3-desktop-action,
  .ddb-v3-preview:has(#ddb-agent-widget-v3 .ddb-open) .v3-desktop-action {
    visibility:hidden; pointer-events:none;
  }
}
@media(max-width:1023px){
  .ddb-v3-preview .ddb-experience-v3 { padding:18px 14px calc(130px + env(safe-area-inset-bottom)); }
  .ddb-experience-v3 .v3-header h1 { font-size:32px; }
  .ddb-experience-v3 .v3-header { align-items:center; margin-bottom:10px; }
  .ddb-experience-v3 .v3-header__actions { gap:8px; }
  .ddb-experience-v3 .v3-save-state { max-width:115px; font-size:11px; text-align:right; line-height:1.35; }
  .ddb-experience-v3 .v3-eyebrow { font-size:10px; }
  .ddb-experience-v3 .v3-preferences-trigger { min-height:48px; gap:4px 8px; padding:8px 10px; font-size:12px; border-radius:10px; }
  .ddb-experience-v3 .v3-preferences-trigger span { white-space:nowrap; }
  .ddb-experience-v3 .ddb-preferences { margin-bottom:12px; }
  .ddb-experience-v3 .v3-switch { display:none; }
  .ddb-experience-v3 .v3-switch button { flex:1; min-height:42px; padding:8px; border:0; border-radius:7px; color:var(--ui-color-text-muted); background:transparent; font-size:14px; }
  .ddb-experience-v3 .v3-switch [aria-pressed="true"] { color:var(--ui-color-primary-contrast); background:var(--ui-color-primary); font-weight:700; }
  .ddb-experience-v3 .v3-workspace { display:block; }
  .ddb-experience-v3[data-view="day"] .v3-discover,.ddb-experience-v3[data-view="discover"] .v3-day { display:none; }
  .ddb-experience-v3 :is(.v3-discover,.v3-day) { position:static; padding:16px; border-radius:12px; }
  .ddb-experience-v3 .v3-panel-heading h2 { font-size:23px; }
  .ddb-experience-v3 .v3-day .v3-panel-heading { float:right; margin:0; }
  .ddb-experience-v3 .v3-day .v3-panel-heading .ui-btn { min-height:44px; padding:6px 9px; }
  .ddb-experience-v3 .v3-day .v3-panel-heading h2 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .ddb-experience-v3 .v3-day-meta { min-height:44px; gap:8px; margin-bottom:8px; padding:5px 0; border-top:0; }
  .ddb-experience-v3 .v3-attention { padding:12px; gap:9px; margin-bottom:12px; }
  .ddb-experience-v3 .v3-timeline>li { grid-template-columns:44px minmax(0,1fr); gap:8px; }
  .ddb-experience-v3 .v3-stop-time { font-size:12px; }
  .ddb-experience-v3 .v3-stop-time>span { right:-7px; width:6px; height:6px; }
  .ddb-experience-v3 .v3-timeline>li:not(:last-child)::before { left:47px; }
  .ddb-experience-v3 .v3-stop { padding:10px; gap:8px; }
  .ddb-experience-v3 .v3-stop img,.ddb-experience-v3 .v3-stop-icon { width:44px; height:52px; flex-basis:44px; }
  .ddb-experience-v3 .v3-stop-copy strong { font-size:13px; }
  .ddb-experience-v3 .v3-stop-copy small { font-size:11px; }
  .ddb-experience-v3 .v3-desktop-action { display:none; }
  .ddb-experience-v3 .v3-dock { display:grid; grid-template-columns:minmax(48px,.7fr) minmax(58px,.9fr) minmax(120px,2fr); gap:4px; position:fixed; bottom:max(8px,env(safe-area-inset-bottom)); left:max(8px,env(safe-area-inset-left)); right:max(8px,env(safe-area-inset-right)); z-index:var(--ui-z-header,40); border:1px solid color-mix(in srgb,var(--ui-color-primary) 60%,var(--ui-color-border)); border-radius:16px; padding:6px; background:var(--ui-color-surface-2); box-shadow:0 8px 30px color-mix(in srgb,var(--ui-color-bg) 50%,transparent); }
  .ddb-experience-v3 .v3-dock>button { min-height:62px; padding:6px 4px; border:0; background:transparent; color:var(--ui-color-text-muted); font-size:11px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; border-radius:10px; }
  .ddb-experience-v3 .v3-dock>button[aria-pressed="true"] { color:var(--ui-color-primary); }
  .ddb-experience-v3 .v3-dock>.v3-dock-primary { display:grid; grid-template-columns:minmax(0,1fr) 18px; text-align:left; align-content:center; gap:3px 5px; padding:9px 12px; background:var(--ui-color-primary); color:var(--ui-color-primary-contrast); }
  .ddb-experience-v3 .v3-dock-primary>span { font-size:12px; font-weight:700; }
  .ddb-experience-v3 .v3-dock-primary>strong { grid-column:1; font-family:var(--ui-font-display); font-size:19px; font-weight:400; }
  .ddb-experience-v3 .v3-dock-primary>svg { grid-column:2; grid-row:1 / 3; }
  .ddb-experience-v3 .v3-dock-primary:disabled { opacity:.65; }
  .ddb-experience-v3 .v3-dock-readonly { padding:12px; text-align:center; font-size:12px; }
  .ddb-v3-preview:has(dialog[open]) .v3-dock,.ddb-experience-v3:has(input:focus,select:focus,textarea:focus) .v3-dock { visibility:hidden; pointer-events:none; }
  .ddb-v3-preview:has(#ddb-agent-widget-v3 .ddb-open) .v3-dock { visibility:hidden; pointer-events:none; }
  .ddb-v3-preview .ddb-planner-dialog.v3-sheet { width:100%; max-width:100%; max-height:88dvh; margin:auto 0 0; border-radius:20px 20px 0 0; padding:18px 18px calc(20px + env(safe-area-inset-bottom)); }
  .ddb-v3-preview .v3-sheet .ddb-planner-dialog__header { top:-18px; }
}
@media(max-width:374px){
  .ddb-experience-v3 .v3-header__actions { align-items:flex-end; }
  .ddb-experience-v3 .v3-save-state { max-width:95px; font-size:10px; }
  .ddb-experience-v3 .v3-stop img,.ddb-experience-v3 .v3-stop-icon { display:none; }
  .ddb-experience-v3 .v3-preferences-trigger { font-size:11px; }
}
@media(prefers-reduced-motion:reduce){.ddb-experience-v3 *,.v3-sheet *{animation:none;transition:none;scroll-behavior:auto}}
@media print{
  .ddb-v3-preview .v3-dock,.ddb-v3-preview .v3-switch,.ddb-v3-preview .v3-discover,.ddb-v3-preview .v3-desktop-action,.ddb-v3-preview .v3-header__actions { display:none; }
  .ddb-v3-preview .ddb-experience-v3 .v3-day { display:block; position:static; overflow:visible; max-height:none; }
  .ddb-v3-preview .v3-workspace { display:block; }
  .ddb-v3-preview .v3-timeline>li { break-inside:avoid; }
}

.ddb-v3-preview .v3-sheet #ddb-spot-visits-heading { display:none; }

.ddb-v3-preview .v3-intake-review { display:grid; gap:14px; }
.ddb-v3-preview .v3-intake-review ol { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.ddb-v3-preview .v3-intake-review li { display:grid; grid-template-columns:60px minmax(0,1fr); gap:12px; padding:10px 0; border-bottom:1px solid var(--ui-color-border); }
.ddb-v3-preview .v3-intake-review time { color:var(--ui-color-primary); }
.ddb-v3-preview .v3-intake-review p { margin:0; line-height:1.5; }
.ddb-v3-preview .v3-intake-price { display:grid; gap:6px; padding:16px; border:1px solid var(--ui-color-border); border-radius:10px; background:var(--ui-color-surface); }
.ddb-v3-preview .v3-intake-price strong { font:400 32px var(--ui-font-display); }
.ddb-v3-preview .v3-intake-price :is(span,small) { color:var(--ui-color-text-muted); }

/* Shared V3 timeline: explicit end time and canonical travel evidence. */
.ddb-experience-v3 .v3-stop-time { display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-height:44px; min-width:0; width:100%; padding:18px 0 0; background:none; border:0; text-align:left; }
.ddb-experience-v3 .v3-stop-time small { font-size:10px; line-height:1; font-weight:400; color:var(--ui-color-text-muted); }
.ddb-experience-v3 .v3-connection { grid-column:2; min-width:0; color:var(--ui-color-text-muted); font-size:12px; }
.ddb-experience-v3 .v3-connection summary { display:flex; align-items:center; gap:7px; min-height:44px; padding:5px 0; cursor:pointer; list-style:none; }
.ddb-experience-v3 .v3-connection summary::-webkit-details-marker { display:none; }
.ddb-experience-v3 .v3-connection summary>svg { flex-shrink:0; color:var(--ui-color-primary); }
.ddb-experience-v3 .v3-connection-hint { margin-left:auto; text-decoration:underline; font-size:12px; }
.ddb-experience-v3 .v3-connection>div { padding:0 0 8px; }
.ddb-experience-v3 .v3-connection p { font-size:12px; line-height:1.5; margin:0 0 6px; }
.ddb-experience-v3 .v3-connection button { min-height:44px; text-align:left; padding:6px 0; background:none; border:0; color:var(--ui-color-primary); text-decoration:underline; white-space:normal; }
.ddb-experience-v3 .v3-connection summary:focus-visible { outline:2px solid var(--ui-color-focus); outline-offset:4px; }
.ddb-experience-v3 :is(.v3-discover,.v3-day) { scroll-margin-top:120px; }

/* Compact planner card variant. Keep the shared continuous frame and button skin.
   This consumer scope intentionally outranks the general Heritage marketing scale. */
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .sbdp-activity-carousel__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }

/* V3 discovery presentation: ten scannable cards in two columns. */
@media (min-width:768px) {
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ui-listing-card.ddb-activity-card {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:150px minmax(0,1fr) auto;
    grid-template-areas:"media media" "content content" "details actions";
    gap:0 8px;
    min-height:270px;
    padding:0;
    overflow:hidden;
    border-radius:12px;
    background:var(--ui-color-surface-2);
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__media {
    grid-area:media; width:100%; height:150px; aspect-ratio:auto; background:var(--ui-color-surface-3);
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__overlay {
    grid-area:media; position:relative; z-index:1; width:100%; height:0; padding:10px;
    display:flex; justify-content:space-between; background:none; pointer-events:none;
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__top-left { display:block; }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__content {
    grid-area:content; min-width:0; padding:12px 14px 8px;
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__title {
    color:var(--ui-color-text); font-size:18px; line-height:1.25;
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__context {
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; overflow:hidden;
    margin:3px 0; color:var(--ui-color-text-muted); font-size:12px; line-height:1.4;
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__action-row {
    grid-area:actions; display:flex; flex-direction:column; align-items:flex-end;
    justify-content:end; padding:0 14px 14px 0; gap:4px;
  }
  html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .v3-details-button {
    grid-area:details; width:auto; margin:0 0 14px 14px; justify-self:start; align-self:end;
  }
}
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ui-listing-card.ddb-activity-card { display:grid; grid-template-columns:80px minmax(0,1fr); grid-template-areas:"media content" "media meta" "details actions"; gap:6px 12px; align-content:start; min-height:0; min-width:0; margin:0; padding:16px; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__media { grid-area:media; width:80px; height:80px; min-height:0; aspect-ratio:1; align-self:start; overflow:hidden; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__image { width:100%; height:100%; object-fit:cover; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__content { grid-area:content; gap:0; padding:0; min-width:0; width:auto; flex:none; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__title { margin:0 0 4px; font:400 18px/1.25 var(--ui-font-display); color:var(--ddb-card-ink); letter-spacing:normal; word-break:normal; overflow-wrap:normal; hyphens:none; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__context { display:none; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__booking { font-size:12px; line-height:1.4; color:var(--ddb-card-muted); }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__overlay { grid-area:meta; position:static; inset:auto; width:auto; height:auto; padding:0; display:flex; align-items:center; gap:6px; background:none; pointer-events:none; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__top-left { display:none; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__top-right { position:static; margin:0; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__duration-chip { min-height:0; padding:0; border:0; border-radius:0; background:none; color:var(--ddb-card-muted); font:400 12px/1.4 var(--ui-font-sans); box-shadow:none; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__action-row { grid-area:actions; display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; width:auto; margin:0; padding:0; gap:4px 10px; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__price { display:grid; gap:1px; color:var(--ddb-card-ink); font:600 13px/1.35 var(--ui-font-sans); }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__price-prefix { font-size:11px; font-weight:400; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__cta { width:auto; min-width:112px; max-width:100%; min-height:44px; height:auto; flex:0 0 auto; padding:8px 12px; font-size:13px; line-height:1.3; white-space:nowrap; text-align:center; }
html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .v3-details-button { grid-area:details; width:80px; min-height:44px; padding:4px 0; margin:0; align-self:end; background:none; border:0; text-align:center; text-decoration:underline; font-size:12px; line-height:1.4; color:var(--ddb-card-muted); }
@media(max-width:767px) {
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ui-listing-card.ddb-activity-card { padding:14px; gap:5px 10px; grid-template-columns:72px minmax(0,1fr); }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__media { width:72px; height:76px; }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__title { font-size:17px; }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .v3-details-button { width:72px; }
}

/* On the smallest phones, give long Dutch product names the full card width. */
@media(max-width:374px) {
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ui-listing-card.ddb-activity-card { grid-template-columns:56px minmax(0,1fr); grid-template-areas:"content content" "media meta" "details actions"; }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__media { width:56px; height:48px; }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .ddb-activity-card__overlay { align-self:center; }
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .v3-details-button { width:56px; }
}

/* Reviewed chat advice: presentation only; the planner remains the state owner. */
.ddb-experience-v3 .v3-chat-handoff { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; padding:16px; border:1px solid var(--ui-color-primary); border-radius:12px; background:var(--ui-color-surface); }
.ddb-experience-v3 .v3-chat-handoff strong { font-size:16px; }
.ddb-experience-v3 .v3-chat-handoff p { margin:4px 0 0; font-size:14px; line-height:1.5; color:var(--ui-color-text-muted); }
.v3-handoff-sheet .v3-handoff-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.v3-handoff-sheet .v3-handoff-fields label { min-width:0; }
.v3-handoff-sheet .v3-handoff-fields input { width:100%; min-width:0; min-height:48px; }
.v3-handoff-sheet .v3-handoff-summary { display:flex; flex-wrap:wrap; gap:12px 24px; margin:0; }
.v3-handoff-sheet .v3-handoff-summary dt { font-size:13px; color:var(--ui-color-text-muted); }
.v3-handoff-sheet .v3-handoff-summary dd { margin:4px 0 0; font-size:15px; }
.v3-handoff-sheet .v3-handoff-note { padding:12px; border-left:2px solid var(--ui-color-primary); background:var(--ui-color-surface-2); }
.v3-handoff-sheet .v3-handoff-actions { display:grid; gap:10px; }
.v3-handoff-sheet .v3-handoff-actions button { min-height:48px; white-space:normal; line-height:1.4; }
html body.ddb-premium-runtime .v3-handoff-sheet .ddb-preference-form .v3-handoff-date { width:100%; max-width:100%; white-space:normal; line-height:1.4; }
@media(max-width:374px) { .v3-handoff-sheet .v3-handoff-fields { grid-template-columns:minmax(0,1fr); } }

/* V3 preference summary and discover controls. The existing inputs own all state. */
.ddb-experience-v3 .v3-preferences-trigger {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) auto;
  align-items:center;
  gap:10px;
  text-align:left;
}
.ddb-experience-v3 .v3-preference-value {
  display:grid;
  gap:4px;
  min-width:0;
  padding:4px 12px;
  border-right:1px solid var(--ui-color-border);
}
.ddb-experience-v3 .v3-preference-value small {
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ui-color-text-muted);
}
.ddb-experience-v3 .v3-preference-value strong {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  line-height:1.35;
  font-weight:600;
  color:var(--ui-color-text);
}
.ddb-experience-v3 .v3-preferences-trigger .v3-preference-edit {
  margin:0;
  white-space:nowrap;
  font-size:13px;
  font-weight:700;
  color:var(--ui-color-primary);
}
.ddb-experience-v3 .v3-preferences-trigger span.v3-preference-edit {
  font-size:13px;
  color:var(--ui-color-text);
}
.ddb-experience-v3 .v3-filter-row {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:12px 0;
}
.ddb-experience-v3 .v3-filter-row .sbdp-filter-select { display:block; min-width:0; }
.ddb-experience-v3 .v3-filter-row select {
  width:100%;
  min-width:0;
  min-height:44px;
  padding:8px 10px;
  border:1px solid var(--ui-color-border);
  border-radius:9px;
  background:var(--ui-color-surface-2);
  color:var(--ui-color-text);
  font:13px var(--ui-font-sans);
}
@media(max-width:1023px) {
  .ddb-experience-v3 .v3-preferences-trigger { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ddb-experience-v3 .v3-preference-value:nth-child(2) { border-right:0; }
  .ddb-experience-v3 .v3-preferences-trigger .v3-preference-edit { grid-column:1 / -1; padding:2px 12px; }
}
@media(max-width:767px) {
  html body.ddb-premium-runtime .ddb-experience-v3 .v3-discover .sbdp-activity-carousel__grid {
    grid-template-columns:minmax(0,1fr);
  }
  .ddb-experience-v3 .v3-filter-row { display:none; }
  .ddb-experience-v3 .v3-preference-value { padding:4px 6px; }
  .ddb-experience-v3 .v3-preference-value strong { font-size:12px; }
}

/* The planner card consumes Core UI theme colours, including dark mode. */
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ui-listing-card.ddb-activity-card {
  background:var(--ui-color-surface);
  color:inherit;
}
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__content,
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__price,
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__title {
  color:inherit;
}
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__price-prefix,
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__booking,
html body.ddb-premium-runtime #sbdp-day-planner-root .ddb-experience-v3 .v3-discover .ddb-activity-card__context {
  color:inherit;
  opacity:.72;
}

/* Planner shell refinement. Shared Core UI remains the theme and token source. */
.ddb-v3-preview .ddb-experience-v3 { max-width:1440px; }
.ddb-experience-v3 .v3-workspace { grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); }
.ddb-experience-v3 :is(.v3-discover,.v3-day) {
  border-radius:16px;
  box-shadow:0 12px 32px color-mix(in srgb,var(--ui-color-bg) 25%,transparent);
}
.ddb-experience-v3 .v3-preferences-trigger {
  min-height:60px; padding:12px 16px; border-radius:14px;
}
.ddb-experience-v3 .v3-stop { border-radius:12px; padding:14px; }
.ddb-experience-v3 .v3-panel-heading { margin-bottom:16px; }
.ddb-experience-v3 .sbdp-activity-carousel__pager { padding-top:12px; border-top:1px solid var(--ui-color-border); }
@media(min-width:1024px) {
  .ddb-v3-preview .ddb-experience-v3 { padding-bottom:24px; }
  .ddb-experience-v3 .v3-desktop-action {
    position:static; inset:auto; z-index:auto; width:100%; max-height:none;
    overflow:visible; margin:0 0 16px; box-shadow:none;
  }
}
@media(max-width:1023px) {
  .ddb-experience-v3 .v3-workspace { display:block; }
  .ddb-v3-preview .ddb-experience-v3 { padding-bottom:18px; }
  .ddb-experience-v3 .v3-day .v3-panel-heading { float:none; margin-bottom:10px; }
  .ddb-experience-v3 .v3-day .v3-panel-heading h2 {
    position:static; width:auto; height:auto; padding:0; margin:0;
    overflow:visible; clip-path:none; white-space:normal;
  }
  .ddb-experience-v3 .v3-dock {
    position:static; inset:auto; z-index:auto; width:100%; margin-top:16px;
  }
}
