.wsp { --wsp-navy: #14374e; --wsp-blue: #205878; background: #f3f7fa; color: #234257; padding-bottom: 32px; }
.enterprise-site .wsp h1, .enterprise-site .wsp h2, .enterprise-site .wsp h3 { color: var(--wsp-navy); }
.enterprise-site .wsp h2 { font-size: 17px; margin: 0 0 16px; }
.enterprise-site .wsp h3 { font-size: 14px; }
.enterprise-site .wsp p { color: #516879; font-size: 13px; line-height: 2.1; }
.wsp-hero { position: relative; isolation: isolate; min-height: 260px; background: var(--wsp-navy); color: #fff; overflow: hidden; }
.wsp-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.wsp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(9 35 53 / 68%); }
.wsp-hero__content { padding-block: 32px 24px; }
.wsp-identity { display: flex; gap: 20px; align-items: center; }
.wsp-logo { width: 110px; height: 110px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border-radius: 6px; border: 1px solid #dfe8ee; color: var(--wsp-navy); font-size: 48px; padding: 12px; }
.wsp-logo img { width: 100%; height: 100%; object-fit: contain; }
.enterprise-site .wsp .wsp-hero h1 { color: #fff; font-size: 28px !important; margin: 0; }
.enterprise-site .wsp-hero p { color: #e5eef4; margin: 4px 0 12px; font-size: 15px; }
.wsp-verified { display: inline-flex; gap: 8px; align-items: center; padding: 5px 12px; border-radius: 5px; background: #d9faf3; color: #126b66; font-size: 11px; font-weight: 700; }
.wsp-hero__facts { display: flex; gap: 18px; margin: 28px 0 0; }
.wsp-hero__facts > div { position: relative; border-inline-end: 1px solid rgb(255 255 255 / 22%); padding-inline: 28px 18px; }
.wsp-hero__facts > div:last-child { border: 0; }
.wsp-hero__facts i { position: absolute; inset-inline-start: 0; top: 8px; font-size: 17px; }
.wsp-hero__facts dt { font-size: 10px; color: #d8e4ec; font-weight: 400; }
.wsp-hero__facts dd { margin: 3px 0 0; font-weight: 700; font-size: 12px; }
.wsp-teal { color: #a0e9d7; }
.wsp-caption { display: inline-block; margin-top: 16px; padding: 5px 12px; background: rgb(8 29 45 / 75%); border-radius: 4px; font-size: 10px; }
.wsp-actionbar { background: #fff; border-bottom: 1px solid #e1e9ef; padding: 12px 0; }
.wsp-actionbar > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wsp-actionbar .btn { min-width: 210px; }
.enterprise-site .wsp .wsp-contact-button { color: var(--wsp-navy); border: 1px solid #8ba2b2; background: #fff; }
.enterprise-site .wsp-contact-button:hover { background: #edf4f8; color: var(--wsp-navy); }
.enterprise-site .wsp-manage { color: var(--wsp-navy); background: #f0f5f8; border: 1px solid #dbe6ee; }
.wsp-share { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #dbe6ee; background: #fff; border-radius: 6px; color: var(--wsp-navy); margin-inline-start: auto; }
.wsp-tabs { display: flex; gap: 26px; border-bottom: 1px solid #dce6ed; overflow-x: auto; white-space: nowrap; padding-block: 0; }
.wsp-tabs a { display: block; padding: 15px 4px; font-size: 12px; font-weight: 700; color: var(--wsp-navy); border-bottom: 2px solid transparent; }
.wsp-tabs a:is(:hover, .is-active) { color: var(--wsp-blue); border-bottom-color: var(--wsp-blue); }
.wsp-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; padding-block: 18px; align-items: start; }
.wsp-main { grid-column: 2; grid-row: 1; min-width: 0; }
.wsp-sidebar { grid-column: 1; grid-row: 1; min-width: 0; }
.wsp-card { background: #fff; border: 1px solid #e1eaf0; border-radius: 6px; padding: 20px; margin-bottom: 12px; scroll-margin-top: 110px; }
.wsp-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wsp-section-heading h2 { margin: 0 0 14px; }
.wsp-about { display: flow-root; }
.wsp-about > img { float: right; width: 190px; max-width: 42%; height: 180px; object-fit: cover; border-radius: 5px; margin: 0 0 14px 20px; }
.wsp-about p { white-space: pre-line; margin: 0; }
.wsp-category { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; }
.wsp-category a, .wsp-text-link { color: var(--wsp-blue); font-size: 11px; font-weight: 700; }
.wsp-text-link { display: inline-flex; gap: 10px; align-items: center; border: 0; background: transparent; padding: 0; cursor: pointer; margin-top: 12px; }
.wsp-products { display: flex; flex-wrap: wrap; gap: 10px; }
.wsp-products span { display: flex; align-items: center; gap: 10px; border-radius: 24px; background: #edf5f9; padding: 8px 14px; font-size: 12px; }
.wsp-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wsp-capabilities > div { display: flex; flex-direction: column; align-items: center; gap: 12px; background: #f3f7fa; padding: 18px 10px; text-align: center; font-size: 12px; border-radius: 4px; }
.wsp-capabilities i { font-size: 24px; color: var(--wsp-navy); }
.wsp-certificates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wsp-certificates > div { display: flex; align-items: center; gap: 14px; padding: 15px; border-radius: 4px; background: #f3f7fa; }
.wsp-certificates > div > i { font-size: 28px; }
.wsp-certificates strong, .wsp-certificates span { display: block; font-size: 12px; }
.wsp-certificates span { color: #617988; font-size: 11px; }
.wsp-certificates a { font-size: 10px; color: var(--wsp-blue); }
.wsp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wsp-gallery button { border: 0; padding: 0; background: #eff4f7; cursor: pointer; border-radius: 5px; overflow: hidden; }
.wsp-gallery img { width: 100%; height: 120px; object-fit: cover; transition: transform .2s; }
.wsp-gallery button:hover img { transform: scale(1.04); }
.wsp-gallery .wsp-gallery-extra { display: none; }
.wsp-gallery.is-expanded .wsp-gallery-extra { display: block; }
.wsp-keyfacts, .wsp-hours { margin: 0; }
.wsp-keyfacts > div, .wsp-hours > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; font-size: 12px; }
.wsp-keyfacts > div:nth-child(odd) { background: #f5f8fa; }
.wsp-keyfacts dt, .wsp-hours dt { font-weight: 400; font-size: 11px; }
.wsp-keyfacts i { margin-inline-end: 8px; color: var(--wsp-navy); }
.wsp-keyfacts dd, .wsp-hours dd { margin: 0; font-weight: 700; }
.wsp-completeness { margin-top: 16px; padding: 14px; border: 1px solid #edf1f4; border-radius: 5px; background: #f7f9fb; font-size: 11px; }
.wsp-completeness > div { display: flex; justify-content: space-between; }
.wsp-completeness progress { display: block; width: 100%; height: 12px; border: 0; border-radius: 20px; background: #e0edf3; margin: 10px 0 16px; overflow: hidden; accent-color: #009d87; }
.wsp-completeness progress::-webkit-progress-bar { background: #e0edf3; border-radius: 20px; }
.wsp-completeness progress::-webkit-progress-value { background: #009d87; border-radius: 20px; }
.wsp-completeness > span, .wsp-completeness > bdi { display: block; text-align: right; }
.wsp-map { display: block; width: 100%; height: 160px; border: 0; border-radius: 5px; }
.wsp-map-empty { background: #edf4f8; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: 4px; }
.wsp-map-empty i { font-size: 26px; color: var(--brand-orange); }
.wsp-hours > div { border-bottom: 1px solid #edf1f4; padding-inline: 0; }
.enterprise-site .wsp .wsp-note { margin: 12px 0 0; padding: 12px; background: #f4f8fa; font-size: 11px; }
.enterprise-site .wsp .wsp-empty { color: #6b7d88; font-size: 12px; margin-bottom: 0; }
.wsp-mobile-bottom { display: none; }
.wsp-image-dialog, .wsp-contact-dialog { position: fixed; margin: auto; border: 0; border-radius: 10px; padding: 24px; width: min(560px, 94vw); max-height: 90dvh; color: #14374e; }
.wsp-image-dialog { width: min(1000px, 94vw); padding: 12px; background: #132e41; }
.wsp-image-dialog::backdrop, .wsp-contact-dialog::backdrop { background: rgb(6 21 34 / 75%); }
.wsp-image-dialog img { display: block; max-width: 100%; max-height: 80dvh; margin: auto; object-fit: contain; }
.wsp-image-dialog button, .wsp-contact-dialog [data-contact-close] { border: 0; border-radius: 6px; width: 36px; height: 36px; cursor: pointer; background: #edf4f8; font-size: 26px; color: #14374e; }
.wsp-image-dialog button { display: block; margin: 0 0 8px; }
.wsp-contact-dialog h2 { font-size: 17px; }
.wsp-contact-dialog label { display: block; margin: 12px 0; }
.wsp-contact-dialog .form-control { margin-top: 6px; }
.wsp-editor { max-width: 900px; margin: 32px auto; }
.wsp-editor .wsp-card { margin-top: 20px; }
.wsp-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wsp-editor label { display: block; }
.wsp-editor label small { display: block; color: #675f70; font-weight: 400; }
.wsp-editor .form-control { margin-top: 6px; }
.wsp-editor input[type=file] { display: block; width: 100%; margin: 10px 0; }
@media (max-width: 991.98px) {
    .wsp-layout { grid-template-columns: 280px minmax(0, 1fr); }
    .wsp-hero__facts { flex-wrap: wrap; gap: 18px 12px; }
    .wsp-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wsp-card { padding: 16px; }
}
@media (max-width: 767.98px) {
    .wsp { padding-bottom: 84px; }
    .wsp-hero { min-height: 0; }
    .wsp-hero__content { padding-block: 16px 14px; }
    .wsp-identity { gap: 12px; }
    .wsp-identity > div:last-child, .wsp-identity .wp-name h1 { min-width: 0; }
    .wsp-identity > div:last-child { flex: 1; }
    .wsp-contact-desktop { display: none; }
    .wsp-logo { width: 56px; height: 56px; font-size: 26px; padding: 6px; }
    .enterprise-site .wsp .wsp-hero h1 { font-size: 17px !important; line-height: 1.55; }
    .enterprise-site .wsp-hero p { font-size: 11px; line-height: 1.6; margin: 4px 0 7px; }
    .wsp-verified { font-size: 9px; padding: 4px 8px; }
    .wsp-hero__facts { gap: 0; margin-top: 10px; }
    .wsp-hero__facts > div { flex-basis: auto; padding-inline: 18px 0; border: 0; }
    .wsp-hero__facts > div:not(:first-child), .wsp-hero__facts dt, .wsp-caption { display: none; }
    .wsp-hero__facts i { top: 3px; font-size: 12px; }
    .wsp-hero__facts dt { font-size: 9px; }
    .wsp-hero__facts dd { font-size: 10px; }
    .wsp-actionbar { padding-block: 8px; }
    .wsp-actionbar > div { gap: 6px; }
    .wsp-actionbar .btn { min-width: 0; flex: 1; font-size: 10px; padding: 10px 8px; white-space: nowrap; }
    .enterprise-site .wsp .wsp-actionbar .wsp-manage { flex: 0 0 36px; min-width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; font-size: 0; }
    .wsp-actionbar .wsp-manage i { font-size: 12px; }
    .wsp-share { margin-inline-start: 0; width: 36px; height: 36px; flex-shrink: 0; }
    #profileShareStatus:empty { display: none; }
    .wsp-tabs { gap: 18px; }
    .wsp-tabs a { font-size: 11px; padding-block: 11px; }
    .wsp-layout { display: block; padding-top: 12px; }
    .wsp-about > img { width: 130px; height: 160px; margin-left: 12px; }
    .enterprise-site .wsp p { font-size: 12px; }
    .wsp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wsp-gallery img { height: 110px; }
    .wsp-certificates { gap: 8px; }
    .wsp-certificates > div { padding: 12px 8px; gap: 8px; }
    .wsp-certificates strong { font-size: 11px; }
    .wsp-mobile-bottom { display: flex; position: fixed; inset: auto 0 0; z-index: 1190; justify-content: space-around; background: #fff; border-top: 1px solid #dce6ee; padding: 10px 8px max(10px, env(safe-area-inset-bottom)); box-shadow: 0 -3px 16px rgb(20 55 78 / 6%); }
    .wsp-mobile-bottom a { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #234d68; font-size: 9px; }
    .wsp-mobile-bottom i { font-size: 19px; }
    .wsp-editor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .wsp-layout { display: flex; flex-direction: column; gap: 0; }
    .wsp-main, .wsp-sidebar { display: contents; }
    .wsp-layout > div > section, .wsp-layout > aside > section { width: 100%; }
    #profile-about { order: 1; }
    #profile-keyfacts { order: 2; }
    #profile-products { order: 3; }
    #profile-capabilities { order: 4; }
    #profile-certificates { order: 5; }
    #profile-gallery { order: 6; }
    #profile-location { order: 7; }
    #profile-hours { order: 8; }
    #profile-contact { order: 9; }
    #profile-reviews { order: 10; }
    body:has(.wsp) { padding-bottom: 70px; }
}
.wsp-portfolio-heading { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.wsp-portfolio-heading .btn { flex-shrink: 0; }
.wsp-portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wsp-portfolio-item { min-width: 0; border: 1px solid #e7e1ec; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.wsp-portfolio-item > img { width: 100%; height: 180px; object-fit: cover; }
.wsp-portfolio-placeholder { display: grid; place-items: center; height: 180px; background: #f3eff7; color: var(--brand-purple); font-size: 34px; }
.wsp-portfolio-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.wsp-editor .wsp-portfolio-body h3 { font-size: 18px; margin: 0; }
.enterprise-site .wsp-editor .wsp-portfolio-body p, .enterprise-site .wsp-editor .wsp-portfolio-heading p, .enterprise-site .wsp-editor .wsp-portfolio-empty p { display: block; text-align: right; margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.wsp-portfolio-status { align-self: flex-start; padding: 4px 8px; background: #f3eff7; color: #59436d; font-size: 10px; border-radius: 4px; }
.wsp-portfolio-status--denied { background: #fff0ea; color: #b8401c; }
.wsp-portfolio-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.wsp-portfolio-empty { padding: 24px; border: 1px dashed #e2d5ef; border-radius: 8px; display: flex; gap: 12px; align-items: center; color: #675f70; }
.wsp-portfolio-preview { display: block; max-width: 100%; max-height: 220px; margin-top: 16px; border-radius: 6px; }
@media (max-width: 575.98px) { .wsp-portfolio-grid { grid-template-columns: 1fr; } .wsp-portfolio-heading { flex-direction: column; } }
