
/* Remove only the theme-generated duplicate page title on the installer page. */
body.bbath-instructions-page main > article > .entry-header,
body.bbath-instructions-page main > article > header.entry-header,
body.bbath-instructions-page .site-main > article > .entry-header,
body.bbath-instructions-page .site-main > article > header.entry-header,
body.bbath-instructions-page .entry-header > .entry-title,
body.bbath-instructions-page .page-header > .page-title,
body.bbath-instructions-page .wp-block-post-title{
  display:none!important;
}

body.bbath-instructions-page .entry-content{
  margin-top:0!important;
}

:root{
  --bbath-bg:#fffdfc;
  --bbath-soft:#faf3fc;
  --bbath-lav:#f4e7f8;
  --bbath-line:rgba(187,143,203,.28);
  --bbath-plum:#604665;
  --bbath-text:#3f3446;
  --bbath-muted:#786b7c;
  --bbath-shadow:0 18px 48px rgba(91,61,102,.10);
}

.bbath-page,
.bbath-page *{
  box-sizing:border-box;
}

.bbath-page{
  width:min(1040px,calc(100% - 32px));
  margin:0 auto;
  padding:68px 0 76px;
  color:var(--bbath-text);
  font-family:"Segoe UI",Inter,Arial,sans-serif;
}

.bbath-page-head{
  max-width:820px;
  margin:0 auto 34px;
  text-align:center;
}

.bbath-kicker{
  display:inline-block;
  margin:0 0 12px;
  color:#8b7292;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.bbath-page h1,
.bbath-modal h2,
.bbath-device-card h2{
  color:var(--bbath-plum);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  letter-spacing:-.035em;
}

.bbath-page h1{
  max-width:780px;
  margin:0 auto;
  font-size:clamp(40px,7vw,68px);
  line-height:1.06;
}

.bbath-page-head > p{
  max-width:760px;
  margin:18px auto 0;
  color:var(--bbath-text);
  font-size:18px;
  line-height:1.75;
}

.bbath-primary-button[hidden],
.bbath-header-button[hidden],
.bbath-floating-button[hidden]{
  display:none!important;
}

.bbath-primary-button,
.bbath-header-button,
.bbath-floating-button{
  appearance:none;
  border:1px solid var(--bbath-line);
  background:#fff;
  color:var(--bbath-plum);
  cursor:pointer;
  font:inherit;
  font-weight:650;
  text-decoration:none;
}

.bbath-primary-button{
  min-height:50px;
  margin-top:24px;
  padding:13px 22px;
  border-radius:16px;
  background:var(--bbath-lav);
  box-shadow:0 12px 30px rgba(91,61,102,.08);
}

.bbath-primary-button:hover,
.bbath-header-button:hover,
.bbath-floating-button:hover{
  background:#fff;
  box-shadow:0 16px 36px rgba(91,61,102,.12);
  transform:translateY(-1px);
}

.bbath-installed-message{
  margin-top:18px!important;
  padding:12px 15px;
  border:1px solid var(--bbath-line);
  border-radius:16px;
  background:#fff;
}

.bbath-device-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.bbath-device-card{
  padding:26px;
  border:1px solid var(--bbath-line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 34px rgba(91,61,102,.055);
}

.bbath-device-label{
  display:inline-flex;
  margin-bottom:12px;
  padding:6px 11px;
  border-radius:999px;
  background:var(--bbath-soft);
  color:#765a7d;
  font-size:12px;
  font-weight:700;
}

.bbath-device-card h2{
  margin:0 0 14px;
  font-size:30px;
  line-height:1.15;
}

.bbath-device-card ol{
  margin:0;
  padding-left:22px;
  color:var(--bbath-text);
}

.bbath-device-card li{
  margin:0 0 10px;
  padding-left:4px;
  font-size:16px;
  line-height:1.65;
}

.bbath-device-card p{
  margin:16px 0 0;
  color:var(--bbath-muted);
  font-size:15px;
  line-height:1.65;
}

.bbath-is-android .bbath-device-card[data-bbath-device-card="android"],
.bbath-is-ios .bbath-device-card[data-bbath-device-card="ios"]{
  border-color:rgba(160,104,181,.42);
  box-shadow:0 18px 44px rgba(91,61,102,.10);
}

.bbath-note{
  margin-top:18px;
  padding:18px 20px;
  border:1px solid var(--bbath-line);
  border-radius:20px;
  background:var(--bbath-soft);
  font-size:15.5px;
  line-height:1.7;
}

.bbath-header-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  background:var(--bbath-soft);
  font-size:12px;
  white-space:nowrap;
}

.bbath-floating-button{
  position:fixed;
  left:14px;
  bottom:calc(16px + env(safe-area-inset-bottom,0px));
  z-index:2147482000;
  display:none;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:10px 15px 10px 10px;
  border-radius:999px;
  box-shadow:var(--bbath-shadow);
  font-size:13px;
}

.bbath-floating-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  border-radius:50%;
  background:var(--bbath-lav);
  font-size:21px;
  font-weight:400;
  line-height:1;
}

.bbath-is-standalone .bbath-floating-button,
.bbath-is-standalone .bbath-header-button{
  display:none!important;
}

.bbath-modal[hidden]{
  display:none!important;
}

.bbath-modal{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  opacity:0;
  transition:opacity .18s ease;
}

.bbath-modal.is-open{
  opacity:1;
}

.bbath-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(43,32,47,.38);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}

.bbath-modal-panel{
  position:relative;
  z-index:2;
  width:min(620px,calc(100% - 22px));
  max-height:min(78vh,690px);
  overflow:auto;
  margin:0 0 12px;
  padding:28px 24px 24px;
  border:1px solid var(--bbath-line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 28px 80px rgba(43,32,47,.24);
  transform:translateY(22px);
  transition:transform .18s ease;
  outline:none;
}

.bbath-modal.is-open .bbath-modal-panel{
  transform:translateY(0);
}

.bbath-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border:1px solid var(--bbath-line);
  border-radius:50%;
  background:#fff;
  color:var(--bbath-plum);
  cursor:pointer;
  font-size:25px;
  line-height:1;
}

.bbath-modal h2{
  max-width:500px;
  margin:0 38px 20px 0;
  font-size:34px;
  line-height:1.08;
}

.bbath-modal-device{
  margin-top:12px;
  padding:16px 17px;
  border:1px solid var(--bbath-line);
  border-radius:18px;
  background:#fff;
}

.bbath-modal-device h3{
  margin:0 0 6px;
  color:var(--bbath-plum);
  font-size:17px;
}

.bbath-modal-device p{
  margin:0;
  color:var(--bbath-text);
  font-size:15px;
  line-height:1.62;
}

.bbath-is-android [data-bbath-modal-android],
.bbath-is-ios [data-bbath-modal-ios]{
  background:var(--bbath-soft);
  border-color:rgba(160,104,181,.42);
}

.bbath-modal-more{
  display:inline-flex;
  margin-top:18px;
  color:var(--bbath-plum)!important;
  font-weight:700;
  text-decoration:none!important;
}

body.bbath-modal-open{
  overflow:hidden;
}

@media (max-width:900px){
  .bbath-floating-button{
    display:inline-flex;
  }
}

@media (max-width:720px){
  .bbath-page{
    width:min(100% - 26px,1040px);
    padding:42px 0 54px;
  }

  .bbath-page h1{
    font-size:clamp(36px,11vw,52px);
  }

  .bbath-page-head > p{
    font-size:16.5px;
  }

  .bbath-device-grid{
    grid-template-columns:1fr;
  }

  .bbath-device-card{
    padding:21px 18px;
    border-radius:21px;
  }

  .bbath-device-card h2{
    font-size:27px;
  }

  .bbath-modal-panel{
    padding:25px 18px 20px;
    border-radius:24px;
  }

  .bbath-modal h2{
    font-size:29px;
  }
}

@media (prefers-reduced-motion:reduce){
  .bbath-primary-button,
  .bbath-header-button,
  .bbath-floating-button,
  .bbath-modal,
  .bbath-modal-panel{
    transition:none!important;
  }
}
/* Version 1.2 performance safety: no floating installer or modal is rendered. */
.bbath-floating-button,.bbath-modal{display:none!important}
