/* BeliTech shared component system. Keep semantic states and role permissions intact. */
:root{--bt-control-height:44px;--bt-control-radius:8px;--bt-card-radius:12px;--bt-dialog-radius:16px;--bt-section-gap:24px;--bt-page-width:1320px;--bt-form-width:800px;--bt-panel-padding:24px;--bt-shadow:0 2px 8px rgba(20,44,70,.04)}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-page,.bst-generic-page,.bst-auth-page,.bst-marketplace-root){font-family:'Manrope',system-ui,sans-serif}
/* Actions: apply only to actual action components, never calendar cells, tabs, or badges. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-ui-button,.bst-v2-primary,.bst-v2-secondary,.bst-auth-button,.bst-map-toggle,.bst-single-book-button,.bst-v2-return-link){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--bt-control-height)!important;border-radius:var(--bt-control-radius)!important;padding:10px 16px!important;font-size:14px!important;line-height:22px!important;font-weight:700!important;box-sizing:border-box;white-space:normal;text-align:center;text-decoration:none;box-shadow:none!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-ui-button--primary,.bst-v2-primary,.bst-auth-button,.bst-single-book-button){background:var(--bt-red)!important;border:1px solid var(--bt-red)!important;color:#fff!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-ui-button--primary,.bst-v2-primary,.bst-auth-button,.bst-single-book-button):hover{background:#ac2e33!important;border-color:#ac2e33!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-v2-secondary{border:1px solid var(--bst-control-edge)!important;background:#fff!important;color:var(--bt-navy)!important}
/* Fields keep native checkbox/radio/range/file behavior. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-form,.bst-auth-card,.bst-belitec-account,.bst-workspace-main,.bst-modal-card) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select,textarea){font:inherit;font-size:14px!important;line-height:22px!important;min-height:var(--bt-control-height)!important;border:1px solid var(--bst-control-edge)!important;border-radius:var(--bt-control-radius)!important;padding:10px 12px!important;box-sizing:border-box;min-width:0;max-width:100%;box-shadow:none!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-form,.bst-auth-card,.bst-belitec-account) textarea{min-height:120px!important;resize:vertical}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-form,.bst-auth-card,.bst-belitec-account,.bst-modal-card) :is(input,select,textarea)[readonly]{background:var(--bt-canvas)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-page,.bst-auth-page,.bst-marketplace-root,.bst-php-header,.bst-app-header) :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--bt-navy)!important;outline-offset:3px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-form-row,.bst-form-row){gap:16px!important}
/* Named panels share edges and depth; distinct information/status colors remain. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-overview-panel,.bst-v2-panel,.bst-v2-form,.bst-v2-info-panel,.bst-single-book-card,.bst-operator-card,.bst-v2-experience-card,.bst-v2-guide-hero){border:1px solid var(--bt-line)!important;border-radius:var(--bt-card-radius)!important;background:#fff;box-shadow:var(--bt-shadow)!important;min-width:0;box-sizing:border-box}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-form,.bst-v2-panel,.bst-v2-info-panel,.bst-single-book-card){padding:var(--bt-panel-padding)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-modal-card,.bst-auth-card){border-radius:var(--bt-dialog-radius)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-pagehead h1,.bst-operator-directory__hero h1,.bst-workspace-heading h1,.bst-auth-heading h1){font-size:32px!important;line-height:1.25!important;font-weight:800!important;color:var(--bt-navy)!important;overflow-wrap:anywhere}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-section-title,.bst-operator-directory__section-head h2){font-size:24px!important;line-height:1.3!important;font-weight:800!important;color:var(--bt-navy)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-workspace-heading,.bst-v2-pagehead,.bst-v2-return-row){margin-bottom:var(--bt-section-gap)!important}
/* Directory search has one field border rather than nested borders. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-operator-directory__search,.bst-operator-directory__filter){display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;padding:0 12px!important;border:1px solid var(--bst-control-edge)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important;min-width:0!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-operator-directory__search input,.bst-operator-directory__filter select){flex:1!important;min-width:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;height:42px!important;min-height:42px!important;padding:10px 0!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-operator-directory__search,.bst-operator-directory__filter):focus-within{outline:2px solid var(--bt-navy);outline-offset:2px}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-card--modern{display:flex!important;flex-direction:column!important;height:100%!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-card__modern-body{display:flex!important;flex:1!important;flex-direction:column!important;gap:16px!important;min-width:0}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-card__modern-footer{margin-top:auto!important;padding-top:16px!important;border-top:1px solid var(--bt-line)!important;gap:12px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-card__modern-head{min-height:120px!important;box-sizing:border-box}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-v2-experience-card{display:flex;flex-direction:column;height:100%}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-v2-experience-card>img{width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:cover!important;flex:none}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-v2-experience-card>div{padding:20px!important;flex:1;min-width:0}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-v2-experience-card h3{font-size:16px!important;line-height:24px!important;min-height:48px;overflow-wrap:anywhere}
/* Explicitly preserve compact form width; generic page shells remain full-width. */
@media(min-width:1024px){
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-v2-page>.bst-v2-shell.bst-v2-form-shell{width:calc(100% - 64px)!important;max-width:var(--bt-form-width)!important;margin:0 auto!important;box-sizing:border-box!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-workspace-main,.bst-explorer-workspace__main){padding:32px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-card-grid,.bst-v2-guide-grid,.bst-operator-grid){gap:24px!important;align-items:stretch!important}
}
@media(max-width:767px){
:root{--bt-panel-padding:20px;--bt-section-gap:20px}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-form-row,.bst-form-row){grid-template-columns:minmax(0,1fr)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-pagehead h1,.bst-operator-directory__hero h1,.bst-workspace-heading h1,.bst-auth-heading h1){font-size:26px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-auth-card{padding:20px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-card__modern-head{min-height:0!important}
}

body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-overview-panel__head{padding:24px 24px 16px!important;gap:16px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-overview-summary,.bst-overview-tier,.bst-overview-performance,.bst-overview-actions,.bst-overview-listings){padding-left:24px!important;padding-right:24px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-auth-alert,.bst-auth-note,.bst-auth-security,.bst-v2-success){border-radius:8px!important;line-height:1.6!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-workspace-main .bst-table-wrap{max-width:100%;overflow-x:auto}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-overview-panel .bst-table-wrap{width:calc(100% - 48px)!important;max-width:calc(100% - 48px)!important;margin:0 24px 24px!important}

/* Admin context is visible consistently on public PHP pages and Explorer. */
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview,
body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-public-preview{width:calc(100% - 64px)!important;max-width:1320px!important;margin:16px auto 20px!important;padding:0!important;box-sizing:border-box!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview .bst-admin-preview-bar__inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:42px!important;padding:10px 14px!important;border:1px solid var(--bt-line)!important;border-radius:8px!important;background:#fff!important;color:var(--bt-navy)!important;font-size:12px!important;line-height:20px!important;box-sizing:border-box!important;box-shadow:none!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview .bst-admin-preview-bar__inner>span{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview .dashicons{width:14px;height:14px;font-size:14px;line-height:14px}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview .bst-admin-preview-bar__inner>a{display:inline-flex!important;align-items:center!important;align-self:center!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--bt-navy)!important;font-size:12px!important;line-height:20px!important;font-weight:700!important;text-decoration:none!important;white-space:nowrap!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview~.bst-v2-page{padding-top:4px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-explorer-workspace__main .bst-public-preview{width:100%!important;margin-top:0!important}
@media(max-width:767px){
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview,
body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-public-preview{width:calc(100% - 32px)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-public-preview .bst-admin-preview-bar__inner{align-items:flex-start!important;gap:8px!important;flex-wrap:wrap!important}
}

/* 4.14.43 — subtle Belize cartographic background direction. */
:root{--bt-contours-left:url('../images/belitec-contours-left.svg');--bt-contours-right:url('../images/belitec-contours-right.svg')}
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-page,.bst-generic-page,.bst-v3-tool-page,.bst-single-listing),
body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-marketplace-root.bst-role-tourist{background-color:var(--bt-canvas)!important;background-image:radial-gradient(ellipse at 100% 0%,rgba(137,185,222,.18),transparent 58%),var(--bt-contours-left),var(--bt-contours-right)!important;background-position:right top,left top,right top!important;background-size:100% 680px,340px 696px,340px 696px!important;background-repeat:no-repeat,repeat-y,repeat-y!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-auth-page{background-color:var(--bt-canvas)!important;background-image:linear-gradient(rgba(243,246,249,.6),rgba(243,246,249,.6)),radial-gradient(ellipse at 100% 0%,rgba(137,185,222,.12),transparent 65%),var(--bt-contours-left),var(--bt-contours-right)!important;background-position:center,right top,left top,right top!important;background-size:100% 100%,100% 600px,280px 573px,280px 573px!important;background-repeat:no-repeat,no-repeat,repeat-y,repeat-y!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root :is(.bst-workspace,.bst-explorer-workspace){background-color:var(--bt-canvas)!important;background-image:radial-gradient(ellipse at 100% 0%,rgba(137,185,222,.08),transparent 60%)!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-directory .bst-operator-directory__hero--scenic{display:flex!important;align-items:center!important;min-height:210px!important;grid-template-columns:none!important;padding:36px!important;border:0!important;border-radius:12px!important;background-color:#244e65!important;background-image:linear-gradient(90deg,rgba(8,36,54,.76),rgba(8,36,54,.18)),url('../images/belitec-coastal-hero-wide.webp')!important;background-position:center,center 46%!important;background-size:cover!important;background-repeat:no-repeat!important;box-shadow:none!important;margin:0 0 16px!important;box-sizing:border-box!important;overflow:hidden}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-directory .bst-operator-directory__hero--scenic h1{font-size:36px!important;line-height:1.2!important;color:#fff!important;margin:0 0 12px!important;max-width:900px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-directory .bst-operator-directory__hero--scenic p{font-size:18px!important;line-height:1.5!important;color:#fff!important;margin:0!important;max-width:700px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-directory-facts{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 28px;padding:0 4px;color:var(--bt-muted);font-size:12px;line-height:20px}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-directory-facts strong{color:var(--bt-navy)}
@media(max-width:767px){
body:is(body,#belitec-desktop-scope):not(.wp-admin) :is(.bst-v2-page,.bst-generic-page,.bst-v3-tool-page,.bst-single-listing),
body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-marketplace-root.bst-role-tourist{background-size:100% 440px,160px 327px,160px 327px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-directory .bst-operator-directory__hero--scenic{padding:28px 20px!important;min-height:200px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-directory .bst-operator-directory__hero--scenic h1{font-size:28px!important}
body:is(body,#belitec-desktop-scope):not(.wp-admin) .bst-operator-directory .bst-operator-directory__hero--scenic p{font-size:15px!important}
}
