/* Business settings: new independent management surface, not a reskin of Business Hub. */
.hbs-screen{--hbs-ink:#24221f;--hbs-soft:#756f69;--hbs-border:#e8e2db;--hbs-orange:#e86d28;
  background:#f8f6f2;color:var(--hbs-ink);min-height:100dvh;padding:0 0 calc(88px + env(safe-area-inset-bottom));}
.hbs-screen *{box-sizing:border-box}
.hbs-screen button{font:inherit;cursor:pointer}
.hbs-screen button:focus-visible,.hbs-screen summary:focus-visible{outline:3px solid #f28847;outline-offset:3px}
.hbs-container{max-width:820px;padding:0 18px 36px;margin:0 auto}
.hbs-top{display:flex;align-items:center;gap:12px;padding:20px 0 19px}
.hbs-top-back{display:grid;place-items:center;flex:none;width:45px;height:45px;background:#fff;border:1px solid var(--hbs-border);
  border-radius:15px;color:#3e3832;box-shadow:0 2px 10px #3a302010}
.hbs-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px}
.hbs-icon svg{width:100%;height:100%}
.hbs-top-copy{flex:1;min-width:0}
.hbs-kicker{font-size:10px;letter-spacing:.13em;color:#a9663e;font-weight:850;line-height:1.4}
.hbs-top h1{font-size:22px;font-weight:850;letter-spacing:-.04em;line-height:1.15;margin:3px 0 0}
.hbs-top-page{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:13px;background:#fff;border:1px solid var(--hbs-border);
  color:#413b37;font-size:12px;font-weight:760}
.hbs-top-page .hbs-icon{width:18px;height:18px}
.hbs-identity{background:radial-gradient(circle at 96% 0%,#765039 0%,transparent 40%),linear-gradient(133deg,#25211f,#46342b);
  border:1px solid #4d3e36;border-radius:24px;overflow:hidden;color:#fff;box-shadow:0 13px 30px #241b1220}
.hbs-identity-main{display:flex;gap:15px;align-items:center;padding:23px 22px 21px}
.hbs-avatar{width:65px;height:65px;border-radius:18px;border:2px solid #ffffff4d;object-fit:cover;background:#eae5de;flex:none}
.hbs-identity-copy{min-width:0;flex:1}
.hbs-identity-overline{display:block;color:#f7b890;letter-spacing:.15em;font-size:10px;font-weight:760;margin-bottom:6px}
.hbs-identity h2{font-size:clamp(22px,4vw,27px);letter-spacing:-.04em;font-weight:850;line-height:1.18;margin:0 0 6px;overflow-wrap:anywhere}
.hbs-identity-copy p{font-size:12px;color:#e4d4ca;line-height:1.4;margin:0}
.hbs-identity-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 21px;border-top:1px solid #ffffff24;
  background:#00000020}
.hbs-indicator{display:inline-flex;gap:7px;align-items:center;font-weight:720;font-size:11px}
.hbs-indicator:before{content:'';width:7px;height:7px;border-radius:50%;background:#9fe5b9;box-shadow:0 0 0 3px #9fe5b930}
.hbs-role{font-size:11px;color:#ddc6b8}
.hbs-store,.hib-business-page .hbs-public-store{margin-top:16px;display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-height:88px;padding:17px 19px;
  background:linear-gradient(110deg,#f77832,#de5e23);border:1px solid #d96121;border-radius:20px;color:#fff;box-shadow:0 7px 20px #e56b272c;
  transition:transform .15s ease,box-shadow .15s ease}
.hbs-store:active,.hib-business-page .hbs-public-store:active{transform:scale(.99)}
.hbs-store-icon,.hib-business-page .hbs-public-store .hbs-store-icon{width:36px;height:36px;padding:6px;border-radius:11px;background:#ffffff25}
.hbs-store-icon svg,.hib-business-page .hbs-public-store .hbs-store-icon svg{width:25px;height:25px}
.hbs-store-copy,.hib-business-page .hbs-public-store .hbs-store-copy{display:grid;gap:4px;flex:1;min-width:0}
.hbs-store-copy strong,.hib-business-page .hbs-public-store .hbs-store-copy strong{font-size:16px;font-weight:850;letter-spacing:-.02em}
.hbs-store-copy small,.hib-business-page .hbs-public-store .hbs-store-copy small{font-size:11px;font-weight:570;color:#fff4e9;line-height:1.4}
.hbs-store-arrow,.hib-business-page .hbs-public-store .hbs-store-arrow{width:22px;height:22px}
.hbs-section-intro{font-size:12px;line-height:1.55;color:var(--hbs-soft);margin:16px 3px 25px}
.hbs-group{margin:0 0 25px}
.hbs-group-heading{display:flex;flex-direction:column;gap:4px;margin:0 4px 11px}
.hbs-group-heading h2{font-size:17px;font-weight:850;letter-spacing:-.025em;margin:0}
.hbs-list{background:#fff;border:1px solid var(--hbs-border);border-radius:19px;overflow:hidden;box-shadow:0 3px 14px #2f22110a}
.hbs-row{width:100%;display:flex;align-items:center;gap:13px;padding:17px 16px;border:0;background:#fff;min-height:81px;text-align:left;color:var(--hbs-ink)}
.hbs-row+.hbs-row{border-top:1px solid #f0ebe6}
.hbs-row-action:active{background:#fcf3eb}
.hbs-row-glyph{width:42px;height:42px;border-radius:14px;color:#a95f36;background:#fbf1e9}
.hbs-row-glyph svg{width:21px;height:21px}
.hbs-row-copy{display:grid;flex:1;min-width:0;gap:5px}
.hbs-row-copy strong{font-size:14px;line-height:1.25;font-weight:795}
.hbs-row-copy small{font-size:11px;line-height:1.45;color:var(--hbs-soft);overflow-wrap:anywhere}
.hbs-row-chevron{width:18px;height:18px;color:#a99b90}
.hbs-row-badge{padding:5px 7px;border-radius:8px;font-size:10px;color:#8c8179;background:#f5f2ef;font-weight:720;white-space:nowrap}
.hbs-benefit{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:13px;border:1px solid #eecda9;
  border-radius:20px;padding:20px 18px;background:linear-gradient(130deg,#fff6ea,#fffdf9);box-shadow:0 3px 14px #a77d3c0d}
.hbs-benefit-icon{width:42px;height:42px;border-radius:14px;background:#ffe7cd;color:#c15f21}
.hbs-benefit-icon svg{width:23px;height:23px}
.hbs-benefit-copy{min-width:0;display:grid;gap:8px}
.hbs-benefit-badge{font-size:9px;font-weight:900;color:#bb5b22;letter-spacing:.12em}
.hbs-benefit-copy strong{font-size:15px;font-weight:830;line-height:1.3;letter-spacing:-.02em}
.hbs-benefit-copy p{font-size:12px;color:#806a5a;line-height:1.5;margin:0}
.hbs-benefit-action{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:6px;
  background:#fff;border:1px solid #ead4bc;border-radius:12px;color:#a44d1c;
  padding:11px 13px;font-size:12px;font-weight:830;text-align:left;margin-top:2px}
.hbs-benefit-action .hbs-icon{width:17px;height:17px}
.hbs-benefit-note{grid-column:2;color:#997562;font-size:11px;margin:0}
.hbs-legacy{border:1px solid var(--hbs-border);border-radius:17px;background:#fff;overflow:hidden}
.hbs-legacy-summary{display:flex;gap:11px;align-items:center;min-height:73px;padding:15px;cursor:pointer;list-style:none}
.hbs-legacy-summary::-webkit-details-marker{display:none}
.hbs-legacy-summary>.hbs-icon:first-child{background:#f5efea;border-radius:12px;width:39px;height:39px;color:#8a6a51}
.hbs-legacy-summary-copy{display:grid;gap:4px;flex:1;min-width:0}
.hbs-legacy-summary-copy strong{font-size:13px;line-height:1.3}
.hbs-legacy-summary-copy small{font-size:11px;color:var(--hbs-soft);line-height:1.4}
.hbs-pending{display:grid;place-items:center;background:#fae4d4;color:#a44e1c;border-radius:999px;min-width:22px;height:22px;font-size:11px;font-weight:850}
.hbs-legacy-chevron{width:17px;height:17px;transition:transform .15s ease}
.hbs-legacy[open] .hbs-legacy-chevron{transform:rotate(90deg)}
.hbs-legacy-body{padding:8px 15px 16px;border-top:1px solid var(--hbs-border)}
.hbs-muted{font-size:11px;line-height:1.5;color:var(--hbs-soft);margin:7px 2px 13px}
.hbs-history{padding:13px 0;border-top:1px solid #eee9e4}
.hbs-history h3,.hbs-slot-actions h3{font-size:12px;color:#514940;margin:0 0 9px;font-weight:800}
.hbs-history-item{padding:11px 12px;background:#fbfaf8;border:1px solid #eee9e4;border-radius:12px;margin:8px 0}
.hbs-history-item-head{display:flex;align-items:start;justify-content:space-between;gap:9px}
.hbs-history-item-head strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.hbs-status{font-size:10px;color:#9c592f;background:#f8e7d9;border-radius:20px;padding:4px 7px;white-space:nowrap}
.hbs-history-item p{font-size:11px;color:#655d56;margin:5px 0 0;line-height:1.4;overflow-wrap:anywhere}
.hbs-history-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.hbs-small-action{padding:8px 11px;border:1px solid #d8cbc0;background:#fff;border-radius:9px;font-size:11px;font-weight:750}
.hbs-small-action.is-primary{background:#f27630;color:#fff;border-color:#e56d2d}
.hbs-empty{font-size:11px;color:var(--hbs-soft);margin:3px 0}
.hbs-slot-actions{padding:14px 0;display:flex;flex-wrap:wrap;gap:8px}
.hbs-slot-actions h3{width:100%}
.hbs-slot-button{padding:9px 11px;max-width:100%;background:#fff;border:1px solid var(--hbs-border);border-radius:9px;font-size:11px;font-weight:740;overflow-wrap:anywhere}
.hbs-footer{text-align:center;color:#a49a92;font-size:10px;padding:15px 0}
@media(max-width:390px){
 .hbs-container{padding:0 13px 27px}
 .hbs-top{padding:14px 0 17px;gap:9px}
 .hbs-top h1{font-size:20px}
 .hbs-top-back{width:42px;height:42px;border-radius:12px}
 .hbs-top-page{padding:9px 10px}
 .hbs-identity-main{padding:20px 16px 19px;gap:12px}
 .hbs-avatar{width:56px;height:56px}
 .hbs-identity-foot{padding:11px 16px}
 .hbs-row{padding:15px 13px}
 .hbs-store,.hib-business-page .hbs-public-store{padding:15px}
 .hbs-benefit{padding:16px 13px;gap:10px}
}
@media(min-width:700px){
 .hbs-container{padding:0 30px 50px}
 .hbs-top{padding:28px 0 22px}
 .hbs-identity-main{padding:29px 27px}
 .hbs-group{margin-bottom:28px}
}
@media(prefers-reduced-motion:reduce){.hbs-store,.hbs-legacy-chevron{transition:none}}

/* Commerce ships a separate stylesheet; preserve its native button behavior,
   but normalize icon sizing/colors and button typography to the shared Store. */
.hib-business-page .hbs-public-store{font:inherit}
.hib-business-page .hbs-public-store .hbs-store-icon{flex:0 0 36px;color:#fff}
.hib-business-page .hbs-public-store .hbs-store-arrow{color:#fff;font-size:inherit;flex:none}

/* Destructive actions stay behind a collapsed advanced Settings control. */
.hbs-advanced{border:1px solid var(--hbs-border);border-radius:14px;background:#fff;overflow:hidden}
.hbs-advanced-summary{padding:15px 16px;cursor:pointer;font-size:12px;font-weight:750;color:#6b6158}
.hbs-advanced-copy{padding:0 16px;margin:0 0 12px;color:var(--hbs-soft);font-size:11px;line-height:1.5}
.hbs-advanced-delete{margin:0 16px 16px;padding:10px 13px;border:1px solid #e9baba;border-radius:10px;background:#fff8f8;color:#b53c3c;font-size:12px;font-weight:800}
.hbs-advanced-delete:focus-visible{outline:3px solid #f36c16;outline-offset:3px}

/* Compact shared Business taxonomy: one adaptive, keyboard-accessible pill grid.
   Used by Business Only, Rider + Business and the dedicated categories editor. */
.business-setup-form .business-service-grid,
.hib-taxonomy-editor .business-service-grid,
#org-form .business-service-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;min-width:0}
.business-service-grid .hb-taxonomy-group{min-width:0;margin:0}
.business-service-grid .business-taxonomy-group-label,
.business-setup-form .business-service-grid .business-taxonomy-group-label,
.hib-taxonomy-editor .business-service-grid .business-taxonomy-group-label{
  display:block;margin:0 0 7px;font-size:11px;letter-spacing:.035em;line-height:1.35;
  font-weight:780;color:#7e6b5e
}
.business-service-grid .hb-taxonomy-chip-list{display:flex;flex-wrap:wrap;gap:7px;min-width:0}
.business-service-grid .hb-taxonomy-chip-list .business-service-option,
.business-setup-form .business-service-grid .business-service-option,
.hib-taxonomy-editor .business-service-grid .business-service-option{
  position:relative;display:inline-flex;align-items:center;flex:0 1 auto;
  width:auto;max-width:100%;min-width:0;min-height:36px;margin:0;padding:8px 12px;
  border:1px solid #ded4ca;border-radius:999px;background:#fffaf5;color:#453d37;
  font-size:12px;line-height:1.3;font-weight:670;gap:6px;cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease
}
.business-service-grid .business-service-option::before{
  content:'+';display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;
  border-radius:50%;background:#ece4dc;color:#7d6b5a;font-size:14px;font-weight:760
}
.business-service-grid .business-service-option:has(input:checked)::before{content:'✓';background:#bc662e;color:#fff;font-size:11px}
.business-service-grid .business-service-option:has(input:checked){background:#fff0e2;border-color:#d79560;color:#783d1e}
.business-service-grid .business-service-option:has(input:focus-visible){outline:2px solid #e87830;outline-offset:2px}
.business-service-grid .business-service-option input[type="checkbox"],
.business-setup-form .business-service-grid .business-service-option input[type="checkbox"],
.hib-taxonomy-editor .business-service-grid .business-service-option input[type="checkbox"]{
  position:absolute;opacity:0;width:1px!important;height:1px!important;min-width:0;
  margin:0!important;padding:0!important;pointer-events:none
}
.business-service-grid .business-service-option>span{flex:0 1 auto;min-width:0;overflow-wrap:anywhere}
.business-service-grid .business-service-option[hidden],.business-service-grid .hb-taxonomy-group[hidden]{display:none!important}
.hib-taxonomy-editor .hb-taxonomy-search-label{display:block;font-size:12px;font-weight:730;color:#635349;margin:8px 0 6px}
.hib-taxonomy-editor #hib-taxonomy-search{box-sizing:border-box;width:100%;min-height:42px;border-radius:12px;
  border:1px solid #d9ccc2;background:#fff;color:#302923;padding:9px 12px;margin-bottom:12px}
.hib-taxonomy-editor .hb-taxonomy-no-results{font-size:12px;color:#826d5b;padding:8px 0}
.hib-taxonomy-editor [data-hb-taxonomy-count]{float:right;color:#a45d36;font-weight:740}
.business-native-onboarding .business-setup-form .business-service-grid .business-service-option{
  background:#282525;border-color:#51453e;color:#f4e9e1
}
.business-native-onboarding .business-setup-form .business-service-grid .business-service-option:has(input:checked){
  background:#5c3828;border-color:#e78c4c;color:#fff
}
@media(max-width:380px){
  .business-service-grid .hb-taxonomy-chip-list{gap:6px}
  .business-setup-form .business-service-grid .business-service-option,
  .hib-taxonomy-editor .business-service-grid .business-service-option{padding:7px 10px;font-size:11px;min-height:34px}
}
@media(prefers-reduced-motion:reduce){.business-service-grid .business-service-option{transition:none}}

/* Business collaborators, consistent with the shared dialog sheet. */
.hbs-team-dialog{width:min(95vw,570px);max-height:min(88dvh,760px);overflow:auto}
.hbs-team-content{padding:clamp(18px,4vw,28px);display:grid;gap:20px}
.hbs-team-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}
.hbs-team-head h2{font-size:23px;line-height:1.2;margin:3px 0 6px;color:#29221e}
.hbs-team-head p{font-size:12px;line-height:1.5;color:#78695e;margin:0}
.hbs-team-close{width:44px;height:44px;flex:none;border:0;border-radius:13px;
  background:#f0e9e2;color:#3b2a22;cursor:pointer;font-size:27px}
.hbs-team-current,.hbs-team-add{min-width:0}
.hbs-team-current h3,.hbs-team-add h3{font-size:14px;margin:0 0 10px;font-weight:820;color:#39302b}
.hbs-team-person{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;border-top:1px solid #eee5dc}
.hbs-team-person-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:12px;
  display:grid;place-items:center;background:#fbe8d8;color:#a5572f;font-weight:800}
.hbs-team-person-copy{display:grid;gap:4px;min-width:0;flex:1}
.hbs-team-person-copy strong{font-size:13px;font-weight:780;color:#312922;overflow-wrap:anywhere}
.hbs-team-person-copy small{font-size:11px;color:#806f63}
.hbs-team-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:center;width:100%;padding-left:48px}
.hbs-team-role{min-height:37px;min-width:115px;max-width:170px;padding:6px 11px;
  border:1px solid #decfc1;border-radius:11px;background:#fff;color:#33271f;font-size:12px}
.hbs-team-remove{min-height:37px;border:1px solid #e5cac5;border-radius:11px;
  padding:6px 13px;color:#9f4132;background:#fff8f5;font-size:12px;cursor:pointer}
.hbs-team-add{border:1px solid #eee1d5;border-radius:16px;background:#fdf9f5;padding:17px}
.hbs-team-add>label{display:block;font-size:12px;font-weight:760;color:#5b483a;margin-bottom:7px}
.hbs-team-search{display:flex;gap:7px;min-width:0}
.hbs-team-search input{min-width:0;flex:1;min-height:42px;border:1px solid #decfc1;
  border-radius:11px;padding:8px 11px;font-size:13px;background:#fff}
.hbs-team-search button,.hbs-team-add-button{min-height:40px;border:0;
  border-radius:11px;padding:8px 12px;background:#a95a31;color:#fff;
  font-size:12px;font-weight:750;cursor:pointer}
.hbs-team-search-item{display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  padding:11px 0;border-bottom:1px solid #eadfd4}
.hbs-team-search-item .hbs-team-person-copy{flex:1 1 135px}
.hbs-team-search-item .hbs-team-role{min-width:105px}
.hbs-team-hint,.hbs-team-status{margin:9px 0 0;font-size:11px;line-height:1.5;color:#796b5f}
.hbs-team-status{min-height:15px;margin:0}
.hbs-team-dialog button:focus-visible,.hbs-team-dialog select:focus-visible,
.hbs-team-dialog input:focus-visible{outline:2px solid #d9763f;outline-offset:2px}
.hbs-team-dialog button:disabled{opacity:.5;cursor:wait}


/* Business Settings dialogs share the same spacious, mobile-first canvas as
   "Informazioni e contatti". Scoped so onboarding dialogs stay unchanged. */
.hib-taxonomy-dialog.hbs-settings-modal{
  box-sizing:border-box;width:min(96vw,880px);max-width:880px;
  max-height:min(93dvh,930px);overflow-y:auto;overscroll-behavior:contain;
  border:1px solid #e7ddd4;border-radius:24px;background:#fffaf6;
  box-shadow:0 28px 82px #16110b46;
}
.hib-taxonomy-dialog.hbs-settings-modal .hib-taxonomy-editor{
  padding:clamp(18px,3vw,32px);gap:17px;
}
.hib-taxonomy-dialog.hbs-settings-modal .hib-taxonomy-editor fieldset{
  max-height:min(43dvh,490px);
}
.hib-taxonomy-dialog.hbs-settings-modal .hib-taxonomy-editor .business-service-grid{
  grid-template-columns:repeat(auto-fit,minmax(148px,1fr));
}
.hib-taxonomy-dialog.hbs-settings-modal .hib-taxonomy-actions{
  position:sticky;bottom:0;z-index:1;padding:13px 0 2px;
  background:linear-gradient(#fffaf6e9,#fffaf6 28%);
}
.hib-taxonomy-dialog.hbs-settings-modal .hib-benefit-standalone{
  grid-template-columns:minmax(0,1fr);
}
.hbs-team-dialog.hbs-settings-modal{overflow:hidden;}
.hbs-team-dialog .hbs-team-content{padding:clamp(17px,3vw,30px);gap:18px;
  max-height:min(92dvh,920px);overflow:auto;overscroll-behavior:contain;}
.hbs-team-dialog .hbs-team-head{padding:0 0 16px;border-bottom:1px solid #ebdfd3;}
.hbs-team-dialog .hbs-team-head h2{font-size:clamp(23px,3vw,28px);letter-spacing:-.035em;}
.hbs-team-dialog .hbs-team-head p{font-size:13px;}
.hbs-team-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
.hbs-team-section-head h3{font-size:16px;margin:0;color:#38281e;}
.hbs-team-section-head p{font-size:12px;margin:3px 0 0;color:#847266;}
.hbs-team-count{display:grid;place-items:center;min-width:34px;min-height:30px;
  border-radius:12px;background:#f9eadf;color:#ab5422;font-size:13px;font-weight:800;}
.hbs-team-current,.hbs-team-add{border:1px solid #eadfd4;border-radius:18px;
  padding:clamp(13px,2vw,20px);background:#fff;min-width:0;}
.hbs-team-active-list,.hbs-team-results{
  min-height:70px;max-height:295px;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#d7bca8 transparent;padding-right:4px;}
.hbs-team-person,.hbs-team-search-item{
  display:flex;align-items:center;flex-wrap:wrap;gap:11px;
  padding:12px 4px;border-top:1px solid #f0e7df;}
.hbs-team-person:first-child,.hbs-team-search-item:first-child{border-top:0;}
.hbs-team-person-avatar{width:44px;height:44px;flex:0 0 44px;
  border-radius:14px;object-fit:cover;object-position:center;
  border:1px solid #e6d5c6;background:#fbe8d8;}
.hbs-team-person-fallback{display:grid;place-items:center;color:#a5572f;font-size:16px;font-weight:800;}
.hbs-team-person-copy strong{font-size:13px;line-height:1.35;}
.hbs-team-active-badge{font-size:10px;white-space:nowrap;font-weight:750;
  color:#28744a;background:#e7f5eb;padding:5px 9px;border-radius:999px;}
.hbs-team-controls{width:100%;padding-left:55px;justify-content:flex-end;}
.hbs-team-add{background:#fffcf9;}
.hbs-team-add>label{font-size:13px;}
.hbs-team-search input{flex:1;min-height:46px;font-size:13px;}
.hbs-team-search-help{margin:7px 0 14px;color:#85756b;font-size:11px;line-height:1.5;}
.hbs-team-result-head{display:flex;align-items:center;justify-content:space-between;
  border-top:1px solid #ecdfd5;padding:13px 2px 8px;}
.hbs-team-result-head h4{margin:0;font-size:12px;color:#514236;}
.hbs-team-result-head span{font-size:12px;color:#996447;font-weight:780;}
.hbs-team-search-actions{display:flex;align-items:center;gap:7px;min-width:0;}
.hbs-team-empty{margin:0;padding:16px 4px;color:#85766a;font-size:12px;line-height:1.5;}
.hbs-team-search-status{min-height:15px;color:#8b4b2a;font-size:12px;margin:6px 0;}
.hbs-team-notice{margin:11px 0 0;border:1px solid #f0d7c2;border-radius:13px;
  background:#fff5eb;color:#70523f;padding:12px 13px;line-height:1.5;font-size:12px;}
.hbs-team-notice strong{color:#b55a27;}
.hbs-team-dialog .hbs-team-close{background:#f2ebe4;}
.hbs-team-dialog .hbs-team-status{min-height:18px;color:#764f35;}
@media(min-width:770px){
  .hbs-team-dialog .hbs-team-content{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-content:start;}
  .hbs-team-dialog .hbs-team-head,.hbs-team-dialog .hbs-team-status{grid-column:1/-1;}
  .hbs-team-dialog .hbs-team-current,.hbs-team-dialog .hbs-team-add{height:100%;}
  .hbs-team-dialog .hbs-team-active-list,.hbs-team-dialog .hbs-team-results{max-height:330px;}
}
@media(max-width:600px){
  .hib-taxonomy-dialog.hbs-settings-modal{width:100vw;max-width:100vw;max-height:96dvh;
    margin:auto 0 0;border-radius:22px 22px 0 0;}
  .hbs-team-dialog .hbs-team-content{padding:18px 15px calc(22px + env(safe-area-inset-bottom));}
  .hbs-team-dialog .hbs-team-current,.hbs-team-dialog .hbs-team-add{padding:14px;}
  .hbs-team-dialog .hbs-team-active-list,.hbs-team-dialog .hbs-team-results{max-height:245px;}
  .hbs-team-search-actions{width:100%;padding-left:55px;}
  .hbs-team-search-actions .hbs-team-role{flex:1;}
  .hbs-team-search-actions .hbs-team-add-button{flex:1;}
  .hib-taxonomy-dialog.hbs-settings-modal .hib-taxonomy-editor .business-service-grid{
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));}
}
@media(max-width:370px){
  .hbs-team-dialog .hbs-team-search{flex-direction:column;}
  .hbs-team-search button{width:100%;}
}


/* Provisional Stripe Live activation dialog shared by both Business account types. */
.hbs-stripe-dialog{box-sizing:border-box;width:min(92vw,460px);max-height:92dvh;overflow:auto;
  margin:auto;border:1px solid #e7d9cd;border-radius:22px;background:#fffaf6;color:#29221c;padding:0;
  box-shadow:0 24px 78px #100b0747}
.hbs-stripe-dialog::backdrop{background:#110c088a}
.hbs-stripe-content{padding:clamp(20px,4vw,30px);display:grid;gap:13px}
.hbs-stripe-content h2{font-size:23px;font-weight:850;margin:0;letter-spacing:-.025em}
.hbs-stripe-content p{font-size:13px;line-height:1.55;margin:0}
.hbs-stripe-live{justify-self:start;border-radius:7px;background:#f6e8da;color:#a05223;
  padding:5px 8px;font-size:10px;letter-spacing:.08em;font-weight:850}
.hbs-stripe-status{border-radius:12px;background:#f3eee7;padding:13px;color:#5b4e43}
.hbs-stripe-status.hbs-stripe-error{background:#fff0ea;color:#a33e29}
.hbs-stripe-content a{color:#a95523;font-size:12px;font-weight:750;text-decoration:underline}
.hbs-stripe-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5}
.hbs-stripe-consent[hidden]{display:none}
.hbs-stripe-consent input{width:18px;height:18px;flex:none;accent-color:#e86d28}
.hbs-stripe-actions{display:flex;flex-wrap:wrap;gap:9px}
.hbs-stripe-actions button{min-height:44px;padding:10px 15px;border:1px solid #e1d7cf;
  border-radius:12px;font-size:12px;font-weight:780;cursor:pointer}
.hbs-stripe-start{background:#e86d28;color:#fff;border-color:#d96427!important}
.hbs-stripe-start:disabled{opacity:.55;cursor:not-allowed}
.hbs-stripe-close{background:#fff;color:#55483e}
.hbs-stripe-actions button:focus-visible{outline:3px solid #e86d28;outline-offset:2px}
@media(max-width:520px){.hbs-stripe-dialog{width:min(100vw,460px);max-height:95dvh;border-radius:22px 22px 0 0;margin:auto 0 0}}

.hbs-logo-reminder{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:15px;margin:0 0 18px;border:1px solid #eed0ba;border-radius:15px;
  background:linear-gradient(125deg,#fff8f1,#fffefd)}
.hbs-logo-reminder-copy{min-width:0}
.hbs-logo-reminder-copy strong{display:block;font-size:13px;color:#6c3820}
.hbs-logo-reminder-copy p{margin:5px 0 0;font-size:12px;line-height:1.45;color:#816c5c}
.hbs-logo-reminder-action{flex:none;min-height:42px;padding:9px 12px;border:0;
  border-radius:11px;background:#e76d28;color:white;font-size:12px;font-weight:800;cursor:pointer}
.hbs-logo-reminder-action:focus-visible{outline:3px solid #e76d28;outline-offset:2px}
@media(max-width:560px){.hbs-logo-reminder{align-items:stretch;flex-direction:column}.hbs-logo-reminder-action{width:100%}}
