.bpts-mp-wrap{--mp-blue:#4353CC;--mp-ink:#0a0a0a;--mp-muted:#6d6d6d;--mp-line:#e5e7eb;--mp-soft:#f5f6f8;width:min(1320px,calc(100% - 32px));margin:40px auto 80px;color:var(--mp-ink);font-family:inherit}.bpts-mp-wrap *{box-sizing:border-box}.bpts-mp-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:38px;background:#0a0a0a;color:#fff;border-radius:18px}.bpts-mp-hero span,.bpts-mp-form-head span,.bpts-mp-section-head span{display:block;margin-bottom:8px;font-size:11px;font-weight:900;letter-spacing:.16em;color:#858585}.bpts-mp-hero h1,.bpts-mp-form-head h1,.bpts-mp-form-head h2,.bpts-mp-section-head h2{margin:0;line-height:1.06;letter-spacing:-.035em}.bpts-mp-hero h1{font-size:clamp(34px,5vw,60px);color:#fff}.bpts-mp-hero p{margin:12px 0 0;color:#cfcfcf}.bpts-mp-button{display:inline-flex;min-height:46px;padding:0 20px;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--mp-blue,#4353CC);color:#fff!important;font:inherit;font-weight:800;text-decoration:none!important;cursor:pointer}.bpts-mp-button.is-dark{background:#fff;color:#111!important}.bpts-mp-button.is-light{margin-left:8px;background:#eef0ff;color:var(--mp-blue)!important}.bpts-mp-button.is-full{width:100%;min-height:58px;font-size:16px}.bpts-mp-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 46px}.bpts-mp-stats article{padding:24px;border:1px solid var(--mp-line);border-radius:12px;background:#fff}.bpts-mp-stats strong{display:block;font-size:34px;line-height:1}.bpts-mp-stats span{display:block;margin-top:8px;color:var(--mp-muted)}.bpts-mp-section-head,.bpts-mp-form-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.bpts-mp-section-head a{color:#111;font-weight:800}.bpts-mp-section-head h2,.bpts-mp-form-head h2{font-size:32px}.bpts-mp-list{display:grid;gap:12px}.bpts-mp-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;border:1px solid var(--mp-line);border-radius:12px;background:#fff}.bpts-mp-row h3{margin:8px 0 5px;font-size:22px}.bpts-mp-row p{margin:4px 0;color:var(--mp-muted)}.bpts-mp-message{margin-top:12px!important;padding:12px;background:var(--mp-soft);border-radius:8px}.bpts-mp-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff5cc;color:#755b00;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.bpts-mp-status.is-confirmed{background:#dff8e9;color:#087a3c}.bpts-mp-status.is-declined,.bpts-mp-status.is-cancelled{background:#ffe6e3;color:#b42318}.bpts-mp-status-form{display:flex;align-items:center;gap:9px}.bpts-mp-status-form select,.bpts-mp-form input,.bpts-mp-form select,.bpts-mp-form textarea{width:100%;border:1px solid #d8dbe1;border-radius:8px;background:#fff;padding:12px 13px;font:inherit;color:#111;box-shadow:none;outline:none}.bpts-mp-status-form select{min-width:130px}.bpts-mp-form input:focus,.bpts-mp-form select:focus,.bpts-mp-form textarea:focus{border-color:var(--mp-blue);box-shadow:0 0 0 3px rgba(67,83,204,.12)}.bpts-mp-tabs{display:flex;gap:8px;margin:0 0 24px;padding-bottom:10px;border-bottom:1px solid var(--mp-line)}.bpts-mp-tabs button{padding:11px 17px;border:0;border-radius:8px;background:transparent;font:inherit;font-weight:800;cursor:pointer}.bpts-mp-tabs button.is-active{background:#111;color:#fff}.bpts-mp-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.bpts-mp-package{padding:24px;border:1px solid var(--mp-line);border-radius:12px;background:#fff}.bpts-mp-package>span{font-size:10px;font-weight:900;color:#777}.bpts-mp-package h3{margin:9px 0 4px;font-size:22px}.bpts-mp-package p{color:var(--mp-muted)}.bpts-mp-package>strong{display:block;margin:18px 0;font-size:28px}.bpts-mp-package>div{display:flex;align-items:center;gap:16px}.bpts-mp-package form{margin:0}.bpts-mp-link-danger{border:0;background:none;color:#b42318;font:inherit;font-weight:700;cursor:pointer}.bpts-mp-form{max-width:920px;margin:0 auto;padding:32px;border:1px solid var(--mp-line);border-radius:16px;background:#fff;box-shadow:0 18px 55px rgba(16,24,40,.07)}.bpts-mp-form.is-booking{margin-top:50px}.bpts-mp-form-head>strong{font-size:32px}.bpts-mp-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.bpts-mp-fields label{display:grid;gap:8px;font-weight:800}.bpts-mp-fields .is-wide{grid-column:1/-1}.bpts-mp-empty{padding:50px 24px;border:1px solid var(--mp-line);border-radius:14px;text-align:center;background:#fff}.bpts-mp-empty h2,.bpts-mp-empty h3{margin:0 0 10px}.bpts-mp-empty p{color:var(--mp-muted)}.bpts-mp-notice{margin:0 0 18px;padding:14px 16px;border-radius:8px;background:#e7f8ee;color:#087a3c;font-weight:700}.bpts-mp-notice.is-error{background:#ffe8e6;color:#b42318}@media(max-width:800px){.bpts-mp-wrap{width:min(100% - 20px,1320px);margin-top:20px}.bpts-mp-hero{align-items:flex-start;flex-direction:column;padding:26px}.bpts-mp-stats{grid-template-columns:1fr 1fr;margin-bottom:32px}.bpts-mp-stats article:last-child{grid-column:1/-1}.bpts-mp-row{align-items:flex-start;flex-direction:column}.bpts-mp-status-form{width:100%;flex-wrap:wrap}.bpts-mp-status-form select{flex:1}.bpts-mp-package-grid{grid-template-columns:1fr}.bpts-mp-form{padding:22px}.bpts-mp-fields{grid-template-columns:1fr}.bpts-mp-fields .is-wide{grid-column:auto}.bpts-mp-form-head{align-items:flex-start;flex-direction:column}.bpts-mp-tabs{overflow-x:auto}.bpts-mp-tabs button{white-space:nowrap}}


/* =========================================================
   v1.1.1 — MARKETPLACE THEME SHELL RESET
   Keep Marketplace pages full-width and remove theme-generated
   page titles / sidebars without affecting normal website pages.
   ========================================================= */
body.bpts-marketplace-screen .entry-header,
body.bpts-marketplace-screen .page-header,
body.bpts-marketplace-screen .page-title,
body.bpts-marketplace-screen .entry-title,
body.bpts-marketplace-screen .wp-block-post-title,
body.bpts-marketplace-screen .ast-page-title-bar,
body.bpts-marketplace-screen .ast-archive-description,
body.bpts-marketplace-screen .ct-page-title,
body.bpts-marketplace-screen .page-title-section,
body.bpts-marketplace-screen .titlebar,
body.bpts-marketplace-screen .page-heading {
    display: none !important;
}

body.bpts-marketplace-screen #secondary,
body.bpts-marketplace-screen .sidebar,
body.bpts-marketplace-screen .widget-area,
body.bpts-marketplace-screen .site-sidebar,
body.bpts-marketplace-screen .ast-right-sidebar,
body.bpts-marketplace-screen .ast-left-sidebar,
body.bpts-marketplace-screen aside[role="complementary"] {
    display: none !important;
}

body.bpts-marketplace-screen #primary,
body.bpts-marketplace-screen .content-area,
body.bpts-marketplace-screen .site-main,
body.bpts-marketplace-screen main.site-main {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
}

body.bpts-marketplace-screen #content,
body.bpts-marketplace-screen .site-content,
body.bpts-marketplace-screen .site-content > .container,
body.bpts-marketplace-screen .site-content > .ast-container,
body.bpts-marketplace-screen .ast-container,
body.bpts-marketplace-screen .content-container,
body.bpts-marketplace-screen .container.content-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.bpts-marketplace-screen .bpts-auth-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}


/* =========================================================
   v1.1.5 — REMOVE HEADER / FOOTER GAPS
   Marketplace pages sit flush against the site header/footer.
   Keep the existing horizontal content width.
   ========================================================= */
body.bpts-marketplace-screen #primary,
body.bpts-marketplace-screen .content-area,
body.bpts-marketplace-screen .site-main,
body.bpts-marketplace-screen main.site-main,
body.bpts-marketplace-screen #content,
body.bpts-marketplace-screen .site-content,
body.bpts-marketplace-screen .site-content > .container,
body.bpts-marketplace-screen .site-content > .ast-container,
body.bpts-marketplace-screen .ast-container,
body.bpts-marketplace-screen .content-container,
body.bpts-marketplace-screen .container.content-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.bpts-marketplace-screen .bpts-mp-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 800px) {
    body.bpts-marketplace-screen .bpts-mp-wrap {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}


/* =========================================================
   v1.1.6 — HARD RESET THEME TOP/BOTTOM SPACING
   Some themes put the gap on article/.entry-content rather than
   #primary or #content. Reset every common content wrapper only on
   BPTS Marketplace screens so the dashboard starts directly below
   the site header.
   ========================================================= */
body.bpts-marketplace-screen,
body.bpts-marketplace-screen #page,
body.bpts-marketplace-screen .site,
body.bpts-marketplace-screen #content,
body.bpts-marketplace-screen .site-content,
body.bpts-marketplace-screen #primary,
body.bpts-marketplace-screen .content-area,
body.bpts-marketplace-screen main,
body.bpts-marketplace-screen main.site-main,
body.bpts-marketplace-screen article.page,
body.bpts-marketplace-screen article.type-page,
body.bpts-marketplace-screen .hentry,
body.bpts-marketplace-screen .entry-content,
body.bpts-marketplace-screen .page-content,
body.bpts-marketplace-screen .inside-article,
body.bpts-marketplace-screen .site-main > article,
body.bpts-marketplace-screen .site-content > .container,
body.bpts-marketplace-screen .site-content > .ast-container,
body.bpts-marketplace-screen .ast-container,
body.bpts-marketplace-screen .content-container,
body.bpts-marketplace-screen .container.content-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.bpts-marketplace-screen .entry-content,
body.bpts-marketplace-screen .page-content,
body.bpts-marketplace-screen .inside-article,
body.bpts-marketplace-screen article.page,
body.bpts-marketplace-screen article.type-page {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
}

/* WordPress block themes can create spacing with block-gap margins. */
body.bpts-marketplace-screen .wp-site-blocks > main,
body.bpts-marketplace-screen .wp-site-blocks main > *,
body.bpts-marketplace-screen main > .wp-block-group,
body.bpts-marketplace-screen .entry-content > .bpts-mp-wrap:first-child,
body.bpts-marketplace-screen .entry-content > .bpts-auth-wrap:first-child {
    margin-block-start: 0 !important;
}

body.bpts-marketplace-screen .bpts-mp-wrap {
    margin-top: 0 !important;
}

/* Do not let an empty theme title/header placeholder keep vertical height. */
body.bpts-marketplace-screen .entry-header:empty,
body.bpts-marketplace-screen .page-header:empty,
body.bpts-marketplace-screen .page-title:empty {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   v1.1.7 — TRUE FULL-WIDTH TRAVELER + HOST DASHBOARDS
   Remove GeneratePress container limits on /my-account/ and
   /host-dashboard/ while leaving public Marketplace pages alone.
   ========================================================= */
body.bpts-dashboard-screen #page,
body.bpts-dashboard-screen #page.grid-container,
body.bpts-dashboard-screen .site.grid-container,
body.bpts-dashboard-screen #content,
body.bpts-dashboard-screen .site-content,
body.bpts-dashboard-screen #primary,
body.bpts-dashboard-screen .content-area,
body.bpts-dashboard-screen #main,
body.bpts-dashboard-screen .site-main,
body.bpts-dashboard-screen article.page,
body.bpts-dashboard-screen article.type-page,
body.bpts-dashboard-screen .inside-article,
body.bpts-dashboard-screen .entry-content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.bpts-dashboard-screen .site-content {
    display: block !important;
}

body.bpts-dashboard-screen #primary,
body.bpts-dashboard-screen .content-area {
    float: none !important;
    flex: 0 0 100% !important;
}

body.bpts-dashboard-screen #secondary,
body.bpts-dashboard-screen .widget-area,
body.bpts-dashboard-screen aside[role="complementary"] {
    display: none !important;
}

body.bpts-dashboard-screen .bpts-mp-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 24px 60px !important;
}

@media (max-width: 800px) {
    body.bpts-dashboard-screen .bpts-mp-wrap {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 12px 36px !important;
    }
}


/* =========================================================
   v1.1.8 — REMOVE DASHBOARD HORIZONTAL PAGE SCROLLBAR
   Keep the dashboards full width without allowing theme/container
   math to push the document a few pixels wider than the viewport.
   ========================================================= */
body.bpts-dashboard-screen {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body.bpts-dashboard-screen #page,
body.bpts-dashboard-screen .site,
body.bpts-dashboard-screen #content,
body.bpts-dashboard-screen .site-content,
body.bpts-dashboard-screen #primary,
body.bpts-dashboard-screen .content-area,
body.bpts-dashboard-screen #main,
body.bpts-dashboard-screen .site-main,
body.bpts-dashboard-screen article.page,
body.bpts-dashboard-screen article.type-page,
body.bpts-dashboard-screen .inside-article,
body.bpts-dashboard-screen .entry-content,
body.bpts-dashboard-screen .bpts-mp-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.bpts-dashboard-screen .bpts-mp-wrap > *,
body.bpts-dashboard-screen .bpts-mp-hero,
body.bpts-dashboard-screen .bpts-mp-stats,
body.bpts-dashboard-screen .bpts-mp-list,
body.bpts-dashboard-screen .bpts-mp-row,
body.bpts-dashboard-screen .bpts-mp-empty,
body.bpts-dashboard-screen .bpts-mp-package-grid,
body.bpts-dashboard-screen .bpts-mp-package {
    min-width: 0 !important;
    max-width: 100% !important;
}

body.bpts-dashboard-screen img,
body.bpts-dashboard-screen svg,
body.bpts-dashboard-screen video,
body.bpts-dashboard-screen iframe {
    max-width: 100% !important;
}


/* =========================================================
   v1.1.9 — HOST DASHBOARD PACKAGE ACTIONS
   Ensure Packages/Add package tabs stay visible even when the
   active theme applies global button colors, and add a prominent
   Add package action in the host dashboard hero.
   ========================================================= */
.bpts-mp-hero-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.bpts-mp-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
}

.bpts-mp-tabs button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 11px 17px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font: inherit !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.bpts-mp-tabs button:hover {
    background: #f1f2f5 !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

.bpts-mp-tabs button.is-active {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.bpts-mp-hero-actions [data-mp-open="editor"] {
    background: #4353CC !important;
    background-color: #4353CC !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 800px) {
    .bpts-mp-hero-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .bpts-mp-hero-actions .bpts-mp-button {
        flex: 1 1 auto !important;
    }
}

/* =========================================================
   v1.2.3 - Host room category + pricing builder
   ========================================================= */
.bpts-room-builder--frontend{
    margin-top:18px;
}
.bpts-room-builder--frontend .bpts-room-builder__rows{
    display:grid;
    gap:14px;
    margin-bottom:14px;
}
.bpts-room-builder--frontend .bpts-room-row{
    display:grid;
    grid-template-columns:1.2fr 1.5fr .7fr 1fr auto;
    gap:12px;
    align-items:end;
    padding:16px;
    border:1px solid #e4e7ec;
    border-radius:14px;
    background:#fff;
}
.bpts-room-builder--frontend .bpts-room-row label{
    display:grid;
    gap:7px;
    font-size:13px;
    font-weight:800;
}
.bpts-room-builder--frontend .bpts-room-row input,
.bpts-room-builder--frontend .bpts-room-row select{
    width:100%;
    min-height:46px;
    border:1px solid #d8dbe1;
    border-radius:8px;
    background:#fff;
}
.bpts-room-builder--frontend .bpts-room-remove{
    min-height:46px;
    padding:0 14px;
    border:1px solid #f0caca;
    border-radius:8px;
    background:#fff;
    color:#b42318;
    font-weight:800;
    cursor:pointer;
}
@media(max-width:900px){
    .bpts-room-builder--frontend .bpts-room-row{grid-template-columns:1fr 1fr}
    .bpts-room-builder--frontend .bpts-room-remove{grid-column:1/-1}
}
@media(max-width:600px){
    .bpts-room-builder--frontend .bpts-room-row{grid-template-columns:1fr}
    .bpts-room-builder--frontend .bpts-room-remove{grid-column:auto}
}


/* =========================================================
   v1.2.4 - Host booking confirmation controls
   Use explicit action buttons instead of a theme-sensitive select.
   ========================================================= */
.bpts-booking-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:10px !important;
    flex-wrap:wrap !important;
    min-width:260px !important;
}
.bpts-booking-action-form{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
}
.bpts-booking-action{
    appearance:none !important;
    -webkit-appearance:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:48px !important;
    padding:0 18px !important;
    border-radius:10px !important;
    font:inherit !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    cursor:pointer !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    white-space:nowrap !important;
}
.bpts-booking-action.is-confirm{
    border:1px solid #15803d !important;
    background:#15803d !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.bpts-booking-action.is-confirm:hover{
    background:#166534 !important;
    border-color:#166534 !important;
}
.bpts-booking-action.is-decline{
    border:1px solid #fecaca !important;
    background:#fff !important;
    color:#b42318 !important;
    -webkit-text-fill-color:#b42318 !important;
}
.bpts-booking-action.is-decline:hover{
    background:#fff1f0 !important;
}
.bpts-booking-action.is-cancel{
    border:1px solid #d0d5dd !important;
    background:#fff !important;
    color:#344054 !important;
    -webkit-text-fill-color:#344054 !important;
}
.bpts-booking-confirmed-note{
    display:inline-flex !important;
    align-items:center !important;
    min-height:42px !important;
    padding:0 14px !important;
    border-radius:999px !important;
    background:#dcfce7 !important;
    color:#166534 !important;
    font-weight:800 !important;
    white-space:nowrap !important;
}
@media(max-width:800px){
    .bpts-booking-actions{
        width:100% !important;
        min-width:0 !important;
        justify-content:flex-start !important;
    }
    .bpts-booking-action-form{
        flex:1 1 180px !important;
    }
    .bpts-booking-action{
        width:100% !important;
    }
}

/* =========================================================
   v1.2.6 — Reservation detail + private conversation
   Inspired by the marketplace inquiry pattern: summary + chat.
   ========================================================= */

.bpts-booking-open{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:14px;
    color:#4353CC !important;
    font-weight:800;
    text-decoration:none !important;
}
.bpts-booking-open:hover{text-decoration:underline !important}

.bpts-inquiry-wrap{
    --bpts-chat-blue:#4353CC;
    --bpts-chat-ink:#111318;
    --bpts-chat-muted:#6b7280;
    --bpts-chat-line:#e4e7ec;
    --bpts-chat-soft:#f6f7f9;
    width:min(100% - 40px,1500px);
    max-width:1500px;
    margin:0 auto;
    padding:24px 0 50px;
    color:var(--bpts-chat-ink);
}
.bpts-inquiry-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:14px;
    color:var(--bpts-chat-muted);
    font-size:13px;
}
.bpts-inquiry-topbar a{
    color:var(--bpts-chat-ink) !important;
    font-weight:800;
    text-decoration:none !important;
}
.bpts-inquiry-hero{
    min-height:220px;
    display:flex;
    align-items:flex-end;
    padding:34px 38px;
    border-radius:22px;
    overflow:hidden;
    background:linear-gradient(135deg,#090b10,#242a35);
    background-size:cover;
    background-position:center;
    color:#fff;
    box-sizing:border-box;
}
.bpts-inquiry-hero h1{
    margin:12px 0 6px;
    color:#fff !important;
    font-size:clamp(36px,5vw,58px);
    line-height:1;
    letter-spacing:-.04em;
}
.bpts-inquiry-hero p{margin:0;color:rgba(255,255,255,.82);font-size:16px}
.bpts-inquiry-hero .bpts-mp-status{background:#fff;color:#111}
.bpts-inquiry-hero .bpts-mp-status.is-confirmed{background:#dff8e9;color:#087a3c}
.bpts-inquiry-hero .bpts-mp-status.is-declined,
.bpts-inquiry-hero .bpts-mp-status.is-cancelled{background:#ffe6e3;color:#b42318}

.bpts-inquiry-layout{
    display:grid;
    grid-template-columns:minmax(360px,520px) minmax(0,1fr);
    gap:22px;
    margin-top:22px;
    align-items:start;
}
.bpts-inquiry-summary{display:grid;gap:16px}
.bpts-inquiry-panel,
.bpts-inquiry-chat{
    border:1px solid var(--bpts-chat-line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 16px 45px rgba(16,24,40,.055);
}
.bpts-inquiry-panel{padding:24px}
.bpts-inquiry-eyebrow{
    display:block;
    margin-bottom:8px;
    color:#7b8494;
    font-size:10px;
    font-weight:900;
    letter-spacing:.18em;
}
.bpts-inquiry-personline{display:flex;gap:14px;align-items:center}
.bpts-inquiry-personline img,
.bpts-inquiry-avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:50%;
}
.bpts-inquiry-avatar{display:flex;align-items:center;justify-content:center;background:#111;color:#fff}
.bpts-inquiry-personline h2{margin:0 0 3px;font-size:22px}
.bpts-inquiry-personline p{margin:0;color:var(--bpts-chat-muted)}
.bpts-inquiry-personline a{color:#4353CC !important;font-weight:700;text-decoration:none !important;word-break:break-all}

.bpts-inquiry-panel-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}
.bpts-inquiry-panel-head h2{margin:0;font-size:21px}
.bpts-inquiry-panel-head a{color:#4353CC !important;font-size:13px;font-weight:800;text-decoration:none !important}
.bpts-inquiry-package-title{margin:0 0 18px;font-size:17px;line-height:1.45}
.bpts-inquiry-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.bpts-inquiry-detail-grid>div{
    min-height:82px;
    padding:14px;
    border-radius:12px;
    background:var(--bpts-chat-soft);
    box-sizing:border-box;
}
.bpts-inquiry-detail-grid>div.is-wide{grid-column:1/-1}
.bpts-inquiry-detail-grid span{display:block;margin-bottom:7px;color:var(--bpts-chat-muted);font-size:12px}
.bpts-inquiry-detail-grid strong{font-size:14px;line-height:1.4}
.bpts-inquiry-price{font-size:23px !important}
.bpts-inquiry-status-actions{display:flex;flex-wrap:wrap;gap:9px}
.bpts-inquiry-status-actions form{margin:0}

.bpts-inquiry-chat{
    min-height:720px;
    display:grid;
    grid-template-rows:auto minmax(360px,1fr) auto;
    overflow:hidden;
}
.bpts-inquiry-chat-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    padding:22px 24px;
    border-bottom:1px solid var(--bpts-chat-line);
}
.bpts-inquiry-chat-head h2{margin:0;font-size:24px}
.bpts-inquiry-chat-lock{
    padding:7px 11px;
    border-radius:999px;
    background:#eff3ff;
    color:#4353CC;
    font-size:12px;
    font-weight:800;
}
.bpts-inquiry-thread{
    max-height:620px;
    overflow-y:auto;
    padding:24px;
    background:#fafbfc;
    scroll-behavior:smooth;
}
.bpts-inquiry-thread-empty{
    margin:80px auto;
    max-width:320px;
    text-align:center;
    color:var(--bpts-chat-muted);
}
.bpts-inquiry-thread-empty strong{display:block;color:#111;margin-bottom:6px}
.bpts-chat-message{display:flex;margin:0 0 16px}
.bpts-chat-message.is-mine{justify-content:flex-end}
.bpts-chat-message.is-theirs{justify-content:flex-start}
.bpts-chat-bubble{
    max-width:min(78%,680px);
    padding:13px 15px;
    border:1px solid #e1e5ec;
    border-radius:16px 16px 16px 5px;
    background:#fff;
    box-shadow:0 4px 12px rgba(16,24,40,.035);
}
.bpts-chat-message.is-mine .bpts-chat-bubble{
    border-color:#4353CC;
    border-radius:16px 16px 5px 16px;
    background:#4353CC;
    color:#fff;
}
.bpts-chat-meta{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:7px;font-size:11px}
.bpts-chat-meta span{color:#9098a7}
.bpts-chat-message.is-mine .bpts-chat-meta span{color:rgba(255,255,255,.72)}
.bpts-chat-bubble p{margin:0;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.bpts-chat-system{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
    margin:18px 0;
    color:#77808f;
    text-align:center;
    font-size:12px;
}
.bpts-chat-system span{padding:7px 12px;border:1px solid #e4e7ec;border-radius:999px;background:#fff}
.bpts-chat-system small{font-size:10px;color:#a0a6b0}

.bpts-inquiry-reply{
    padding:20px 22px 22px;
    border-top:1px solid var(--bpts-chat-line);
    background:#fff;
}
.bpts-inquiry-reply label{display:block;margin-bottom:9px;font-weight:800}
.bpts-inquiry-reply textarea{
    width:100%;
    min-height:118px;
    resize:vertical;
    padding:14px 15px;
    border:1px solid #d8dde7;
    border-radius:12px;
    outline:0;
    background:#fff;
    color:#111;
    font:inherit;
    box-shadow:none;
    box-sizing:border-box;
}
.bpts-inquiry-reply textarea:focus{border-color:#4353CC;box-shadow:0 0 0 3px rgba(67,83,204,.12)}
.bpts-inquiry-reply-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px}
.bpts-inquiry-reply-bottom small{max-width:540px;color:#7b8494;line-height:1.4}
.bpts-inquiry-reply button{
    min-height:44px;
    flex:0 0 auto;
    padding:0 22px;
    border:0;
    border-radius:10px;
    background:#4353CC;
    color:#fff;
    font:inherit;
    font-weight:900;
    cursor:pointer;
}
.bpts-inquiry-reply button:hover{opacity:.92}

.bpts-conversation-screen .entry-header,
.bpts-conversation-screen .entry-title,
.bpts-conversation-screen .page-header{display:none !important}
.bpts-conversation-screen #page,
.bpts-conversation-screen #primary,
.bpts-conversation-screen #main,
.bpts-conversation-screen .site-content,
.bpts-conversation-screen .content-area,
.bpts-conversation-screen .site-main,
.bpts-conversation-screen .inside-article,
.bpts-conversation-screen .entry-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

@media(max-width:980px){
    .bpts-inquiry-wrap{width:min(100% - 24px,1500px);padding-top:14px}
    .bpts-inquiry-layout{grid-template-columns:1fr}
    .bpts-inquiry-chat{min-height:620px}
}
@media(max-width:600px){
    .bpts-inquiry-wrap{width:100%;padding:0 0 22px}
    .bpts-inquiry-topbar{padding:12px 14px;margin:0}
    .bpts-inquiry-hero{min-height:190px;border-radius:0;padding:26px 18px}
    .bpts-inquiry-hero h1{font-size:36px}
    .bpts-inquiry-layout{gap:12px;margin:12px}
    .bpts-inquiry-panel{padding:18px}
    .bpts-inquiry-detail-grid{grid-template-columns:1fr 1fr}
    .bpts-inquiry-chat{min-height:560px;border-radius:16px}
    .bpts-inquiry-chat-head{padding:17px 16px}
    .bpts-inquiry-chat-head h2{font-size:20px}
    .bpts-inquiry-thread{padding:16px;max-height:520px}
    .bpts-chat-bubble{max-width:88%}
    .bpts-inquiry-reply{padding:16px}
    .bpts-inquiry-reply-bottom{align-items:stretch;flex-direction:column}
    .bpts-inquiry-reply button{width:100%}
}
