:root{--bdf-bg:#f5f7f9;--bdf-card:#fff;--bdf-text:#17202a;--bdf-muted:#687481;--bdf-line:#dfe5ea;--bdf-accent:#275f68;--bdf-accent2:#d8ece9;--bdf-danger:#b42318}*{box-sizing:border-box}.bdf-lifeos-shell,.bdf-auth,.bdf-ai-panel{max-width:1180px;margin:20px auto;color:var(--bdf-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.bdf-nav{display:flex;gap:8px;flex-wrap:wrap;padding:10px;background:#fff;border:1px solid var(--bdf-line);border-radius:16px;margin-bottom:18px}.bdf-nav a{text-decoration:none;color:var(--bdf-text);padding:9px 13px;border-radius:10px}.bdf-nav a:hover{background:var(--bdf-accent2)}.bdf-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:28px;border-radius:22px;background:linear-gradient(135deg,#eff7f6,#f7f8fa);border:1px solid var(--bdf-line);margin-bottom:20px}.bdf-hero h2{font-size:clamp(28px,4vw,44px);line-height:1.06;margin:5px 0 8px}.bdf-kicker,.bdf-label{display:block;text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:700;color:var(--bdf-accent)}.bdf-plan-badge{display:inline-flex;white-space:nowrap;background:var(--bdf-accent);color:#fff;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:700}.bdf-grid{display:grid;gap:16px;margin:16px 0}.bdf-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.bdf-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bdf-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.bdf-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.bdf-card,.bdf-auth{background:var(--bdf-card);border:1px solid var(--bdf-line);border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(20,40,50,.04)}.bdf-card h3{margin-top:0}.bdf-big{display:block;font-size:38px;margin:7px 0}.bdf-progress{height:8px;background:#e8edf0;border-radius:99px;overflow:hidden;margin:10px 0}.bdf-progress i{display:block;height:100%;background:var(--bdf-accent);border-radius:99px}.bdf-pillar strong{font-size:26px;display:block;margin-top:8px}.bdf-goal-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--bdf-line)}.bdf-goal-row small{display:block;color:var(--bdf-muted)}.bdf-actions{padding-left:22px}.bdf-actions li{margin:10px 0}.bdf-btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:11px;background:var(--bdf-accent);color:#fff!important;padding:11px 16px;text-decoration:none!important;font-weight:700;cursor:pointer}.bdf-btn-secondary{background:var(--bdf-accent2);color:var(--bdf-text)!important}.bdf-form label{display:block;font-weight:600;font-size:14px}.bdf-form input,.bdf-form select,.bdf-form textarea,.bdf-auth input{width:100%;margin-top:7px;background:#fff!important;color:#17202a!important;border:1px solid #ccd5db;border-radius:10px;padding:12px;min-height:44px}.bdf-check{display:flex!important;gap:10px;align-items:flex-start;margin:14px 0}.bdf-check input{width:auto!important;min-height:auto!important;margin-top:3px!important}.bdf-inline{display:flex;align-items:center;gap:12px}.bdf-link-danger{background:none;border:0;color:var(--bdf-danger);cursor:pointer}.bdf-current-plan{outline:2px solid var(--bdf-accent)}.bdf-price{display:block;font-size:26px;margin:10px 0}.bdf-chat{min-height:280px;max-height:540px;overflow:auto;background:#f3f6f7;border:1px solid var(--bdf-line);border-radius:18px;padding:18px}.bdf-message{max-width:82%;padding:13px 15px;border-radius:15px;margin:10px 0;line-height:1.55}.bdf-message.bot{background:#fff;border:1px solid var(--bdf-line)}.bdf-message.user{background:var(--bdf-accent);color:#fff;margin-left:auto}.bdf-message.error{background:#fff0ef;color:var(--bdf-danger)}.bdf-ai-form{display:flex;gap:10px;margin-top:12px}.bdf-ai-form textarea{flex:1;min-height:68px;border:1px solid var(--bdf-line);border-radius:12px;padding:12px}.bdf-disclaimer,.bdf-form p{color:var(--bdf-muted)}.bdf-notice.success{padding:12px;border-radius:10px;background:#e9f7ef;color:#1f6d43;margin-bottom:12px}@media(max-width:900px){.bdf-grid-4,.bdf-grid-5{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.bdf-grid-2,.bdf-grid-3,.bdf-grid-4,.bdf-grid-5{grid-template-columns:1fr}.bdf-hero{flex-direction:column}.bdf-ai-form{flex-direction:column}.bdf-message{max-width:95%}}

/* v1.0.1 field guidance */
.bdf-field{display:flex;flex-direction:column;gap:7px}
.bdf-field-title{font-weight:700;color:#18212f}
.bdf-field-help{display:block;color:#667085;font-size:12px;line-height:1.45;margin-top:1px}
.bdf-field input::placeholder,.bdf-field textarea::placeholder{color:#98a2b3;opacity:1}
.bdf-field input:invalid:not(:placeholder-shown){border-color:#d92d20}

/* v2.1.0 Month 1: Life Score */
.bdf-life-score-summary{display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:center;background:linear-gradient(135deg,#eef8f6,#fff);border:1px solid var(--bdf-line);border-radius:22px;padding:24px;margin:20px 0}
.bdf-score-ring{--score:0;width:150px;height:150px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--bdf-accent) calc(var(--score)*1%),#e3eaed 0);position:relative}
.bdf-score-ring:before{content:"";position:absolute;inset:13px;border-radius:50%;background:#fff}
.bdf-score-ring>div{position:relative;z-index:1;text-align:center}.bdf-score-ring strong{font-size:45px;line-height:1;display:block}.bdf-score-ring span{color:var(--bdf-muted);font-weight:700}
.bdf-score-copy h3{font-size:28px;margin:5px 0}.bdf-score-trend{display:inline-flex;background:#fff;border:1px solid var(--bdf-line);border-radius:999px;padding:7px 11px;font-size:13px;font-weight:700;margin:8px 0 15px}
.bdf-score-pillar small,.bdf-pillar small{color:var(--bdf-muted);display:block;line-height:1.4}.bdf-score-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.bdf-score-chip{background:var(--bdf-accent2);padding:6px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.bdf-factor-list{padding:0;margin:0;list-style:none}.bdf-factor-list li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--bdf-line)}.bdf-score-note{margin-top:18px}.bdf-locked-score{margin:18px 0}.bdf-score-page-head{margin-top:0}
@media(max-width:680px){.bdf-life-score-summary{grid-template-columns:1fr}.bdf-score-ring{width:130px;height:130px}.bdf-score-section-title{flex-direction:column}}

/* v2.2.0 Daily Dashboard */
.bdf-daily-hero{background:linear-gradient(135deg,#e9f6f3,#f7f8fb)}.bdf-streak{display:flex;flex-direction:column;align-items:center;min-width:120px;background:#fff;border:1px solid var(--bdf-line);border-radius:16px;padding:14px}.bdf-streak strong{font-size:32px}.bdf-streak span{font-size:12px;color:var(--bdf-muted)}.bdf-focus-title{display:block;font-size:18px;line-height:1.35;margin:10px 0}.bdf-blu-summary{display:block;width:100%;max-width:none;border:1px solid var(--bdf-line);border-top:5px solid var(--bdf-accent);margin:18px 0;padding:24px 28px;text-align:left;box-sizing:border-box}.bdf-blu-summary-inner{display:block;width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box}.bdf-blu-summary .bdf-kicker,.bdf-blu-summary h3,.bdf-blu-summary p,.bdf-blu-summary small{display:block;box-sizing:border-box}.bdf-blu-summary h3{margin:6px 0 12px}.bdf-blu-summary p{width:100%;line-height:1.7;margin:0 0 14px;overflow-wrap:anywhere}.bdf-blu-summary small{width:100%;color:var(--bdf-muted);line-height:1.45}.bdf-blu-summary-inner>*:first-child{margin-top:0}@media(max-width:640px){.bdf-blu-summary{padding:20px 18px}.bdf-blu-summary-inner{width:100%;margin:0}}.bdf-quick-actions{display:flex;gap:10px;flex-wrap:wrap}.bdf-daily-dashboard select,.bdf-daily-dashboard textarea{background:#fff!important;color:#17202a!important}

/* v2.3.0 Movement & Physical Activity */
.bdf-movement-card{display:flex;justify-content:space-between;gap:20px;align-items:center;border-left:5px solid var(--bdf-accent)}
.bdf-activity-list{display:flex;flex-direction:column}.bdf-activity-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:13px 0;border-bottom:1px solid var(--bdf-line)}.bdf-activity-row small{display:block;color:var(--bdf-muted);margin-top:3px}.bdf-activity-row>div:last-child{text-align:right}.bdf-activity-row form{justify-content:flex-end;margin-top:4px}
@media(max-width:680px){.bdf-movement-card,.bdf-activity-row{align-items:flex-start;flex-direction:column}.bdf-activity-row>div:last-child{text-align:left}.bdf-activity-row form{justify-content:flex-start}}
.bdf-plan-card{display:flex;flex-direction:column;align-items:stretch;min-height:285px}.bdf-plan-card p{flex:1}.bdf-plan-select{width:100%;margin-top:auto}.bdf-plan-select.is-selected,.bdf-plan-select:disabled{background:var(--bdf-accent);color:#fff!important;opacity:1;cursor:default}.bdf-plan-note{margin-top:18px}.bdf-current-plan{outline:3px solid var(--bdf-accent);box-shadow:0 12px 36px rgba(39,95,104,.16)}
/* v3.1.4 — smaller five-pillar score typography for reliable fit */
.bdf-grid-5{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.bdf-grid-5>.bdf-card,.bdf-score-pillar{min-width:0;width:100%;max-width:100%;overflow:hidden}
.bdf-score-pillar{display:flex;flex-direction:column;align-items:stretch}
.bdf-score-pillar>span,.bdf-pillar>span{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal;line-height:1.3}
.bdf-score-pillar strong,.bdf-pillar strong{display:block;max-width:100%;font-size:18px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:clip;margin-top:6px}
.bdf-score-pillar .bdf-progress,.bdf-pillar .bdf-progress{width:100%;max-width:100%;flex:0 0 auto}
.bdf-score-pillar small{max-width:100%;overflow-wrap:anywhere}
@media(max-width:1100px) and (min-width:901px){.bdf-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px) and (min-width:681px){.bdf-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.bdf-grid-5{grid-template-columns:1fr}.bdf-score-pillar strong,.bdf-pillar strong{font-size:18px}}

/* v3.1.4 pillar-card refinements */
.bdf-grid-5>.bdf-card{padding:16px 14px}
.bdf-grid-5>.bdf-card>span{font-size:13px;line-height:1.25}
.bdf-grid-5>.bdf-card small{font-size:12px;line-height:1.3}
@media(max-width:900px){.bdf-grid-5>.bdf-card{padding:16px}}

/* v3.1.5 — give three-digit pillar scores more room on the right */
.bdf-grid-5>.bdf-card.bdf-score-pillar,
.bdf-grid-5>.bdf-score-pillar,
.bdf-score-pillar{
  padding-left:12px;
  padding-right:8px;
}
.bdf-score-pillar strong,
.bdf-pillar strong{
  width:100%;
  max-width:none;
  padding:0 2px 0 0;
  margin-left:0;
  margin-right:0;
  text-align:left;
  font-size:17px;
  letter-spacing:-.25px;
  overflow:visible;
  white-space:nowrap;
}
.bdf-nav{align-items:center;justify-content:space-between;position:relative}.bdf-nav-links{display:flex;flex-wrap:wrap;gap:8px}.bdf-nav-links>a{text-decoration:none;color:var(--bdf-text);padding:9px 13px;border-radius:10px}.bdf-nav-links>a:hover{background:var(--bdf-accent2)}
.bdf-identity-menu{margin-left:auto;position:relative}.bdf-identity-menu summary{align-items:center;border:1px solid var(--bdf-line);border-radius:14px;cursor:pointer;display:flex;gap:10px;list-style:none;padding:6px 9px 6px 6px}.bdf-identity-menu summary::-webkit-details-marker{display:none}.bdf-identity-menu summary>span{display:grid;line-height:1.2}.bdf-identity-menu summary small{color:var(--bdf-muted);font-size:11px}.bdf-identity-menu summary>i{font-style:normal}.bdf-identity-menu-panel{background:#fff;border:1px solid var(--bdf-line);border-radius:14px;box-shadow:0 16px 40px rgba(20,40,50,.16);display:grid;min-width:230px;padding:8px;position:absolute;right:0;top:calc(100% + 7px);z-index:40}.bdf-identity-menu-panel a{border-radius:9px;color:var(--bdf-text);padding:10px 12px;text-decoration:none}.bdf-identity-menu-panel a:hover{background:var(--bdf-accent2)}
.bdf-combined-avatar{display:inline-block;flex:0 0 auto;height:var(--bdf-avatar-size,48px);position:relative;vertical-align:middle;width:var(--bdf-avatar-size,48px)}.bdf-combined-avatar .bdf-combined-avatar-identity,.bdf-identity-menu summary>.avatar{border-radius:50%;display:block;height:100%!important;object-fit:cover;width:100%!important}.bdf-combined-avatar-mood{background:#fff;border:2px solid #fff;border-radius:50%;bottom:-3px;box-shadow:0 3px 10px rgba(15,35,55,.18);height:40%!important;object-fit:cover;position:absolute;right:-3px;width:40%!important}
@media(max-width:760px){.bdf-nav{align-items:stretch}.bdf-nav-links{width:100%}.bdf-identity-menu{margin-left:0;width:100%}.bdf-identity-menu summary{justify-content:flex-start}.bdf-identity-menu-panel{left:0;right:auto;width:min(100%,300px)}}

/* v3.1.7: consistent page and card alignment; preserve readable form/body text. */
.bdf-lifeos-shell,.bdf-auth,.bdf-ai-panel{width:100%;max-width:1180px;margin-left:auto;margin-right:auto;min-width:0}
.bdf-lifeos-shell .bdf-dashboard,.bdf-lifeos-shell .bdf-grid,.bdf-lifeos-shell .bdf-hero,.bdf-lifeos-shell .bdf-card{min-width:0;max-width:100%;box-sizing:border-box}
.bdf-lifeos-shell .bdf-grid>*{min-width:0}
.bdf-lifeos-shell .bdf-hero>div:first-child{flex:1 1 0;min-width:0}
.bdf-lifeos-shell .bdf-hero h2,.bdf-lifeos-shell .bdf-hero .bdf-kicker,.bdf-lifeos-shell .bdf-hero p{text-align:center}
.bdf-lifeos-shell .bdf-hero{align-items:center;justify-content:center}
.bdf-lifeos-shell .bdf-hero>div:first-child{margin-inline:auto;text-align:center}
.bdf-lifeos-shell .bdf-hero .bdf-plan-badge,.bdf-lifeos-shell .bdf-hero .bdf-streak{flex:0 0 auto}
.bdf-lifeos-shell .bdf-card>h3,.bdf-lifeos-shell .bdf-card>.bdf-label,.bdf-lifeos-shell .bdf-card>.bdf-kicker{text-align:center}
.bdf-lifeos-shell .bdf-score-pillar,.bdf-lifeos-shell .bdf-pillar{align-items:center;text-align:center}
.bdf-lifeos-shell .bdf-score-pillar>span,.bdf-lifeos-shell .bdf-score-pillar>strong,.bdf-lifeos-shell .bdf-score-pillar>small,.bdf-lifeos-shell .bdf-pillar>span,.bdf-lifeos-shell .bdf-pillar>strong,.bdf-lifeos-shell .bdf-pillar>small{width:100%;text-align:center;min-width:0;overflow-wrap:normal}
.bdf-lifeos-shell .bdf-score-pillar strong,.bdf-lifeos-shell .bdf-pillar strong{font-size:clamp(14px,1.3vw,17px);letter-spacing:-.35px;white-space:nowrap;overflow:visible;padding:0;font-variant-numeric:tabular-nums}
.bdf-lifeos-shell .bdf-grid-5>.bdf-card.bdf-score-pillar{padding-inline:10px}
.bdf-lifeos-shell .bdf-blu-summary{width:100%;max-width:100%;margin-inline:0;padding:24px clamp(16px,3vw,32px)}
.bdf-lifeos-shell .bdf-blu-summary-inner{width:100%;max-width:100%;margin-inline:auto;text-align:left}
.bdf-lifeos-shell .bdf-blu-summary .bdf-kicker,.bdf-lifeos-shell .bdf-blu-summary h3{text-align:center}
.bdf-lifeos-shell .bdf-blu-summary p,.bdf-lifeos-shell .bdf-blu-summary small{text-align:left;max-width:100%}
.bdf-lifeos-shell .bdf-life-score-summary{grid-template-columns:auto minmax(0,1fr);justify-content:center}
.bdf-lifeos-shell .bdf-score-copy{min-width:0}
.bdf-lifeos-shell .bdf-score-section-title{align-items:center}
.bdf-lifeos-shell .bdf-form label,.bdf-lifeos-shell .bdf-form .bdf-field-help,.bdf-lifeos-shell .bdf-chat,.bdf-lifeos-shell .bdf-goal-row{text-align:left}
@media(max-width:900px){.bdf-lifeos-shell .bdf-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.bdf-lifeos-shell .bdf-grid-5,.bdf-lifeos-shell .bdf-life-score-summary{grid-template-columns:minmax(0,1fr)}.bdf-lifeos-shell .bdf-hero{flex-direction:column;text-align:center}.bdf-lifeos-shell .bdf-blu-summary{padding:20px 16px}.bdf-lifeos-shell .bdf-score-section-title{align-items:stretch}}

/* v3.1.8: targeted layout for Daily Check-In and Current Goals. */
.bdf-lifeos-shell .bdf-daily-bottom-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:100%;margin:20px auto;gap:20px;align-items:stretch;justify-items:stretch;}
.bdf-lifeos-shell .bdf-daily-bottom-grid>.bdf-card{width:100%;min-width:0;max-width:none;margin:0;justify-self:stretch;box-sizing:border-box;padding:clamp(16px,2.2vw,26px);display:flex;flex-direction:column;align-items:stretch;}
.bdf-lifeos-shell .bdf-daily-bottom-grid>.bdf-card>h3{text-align:center;width:100%;margin:0 0 18px;}
.bdf-lifeos-shell .bdf-daily-checkin-card .bdf-form{width:100%;min-width:0;max-width:none;margin:0;display:flex;flex-direction:column;gap:14px;}
.bdf-lifeos-shell .bdf-daily-checkin-card .bdf-form label{display:block;width:100%;min-width:0;max-width:100%;margin:0;text-align:left;}
.bdf-lifeos-shell .bdf-daily-checkin-card .bdf-form select,.bdf-lifeos-shell .bdf-daily-checkin-card .bdf-form textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:7px 0 0;}
.bdf-lifeos-shell .bdf-daily-checkin-card .bdf-form .bdf-btn{align-self:center;max-width:100%;margin-top:4px;}
.bdf-lifeos-shell .bdf-current-goals-card .bdf-goal-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;max-width:100%;min-width:0;margin:0;padding:14px 0;text-align:left;}
.bdf-lifeos-shell .bdf-current-goals-card .bdf-goal-row>div{min-width:0;overflow-wrap:anywhere;}
.bdf-lifeos-shell .bdf-current-goals-card .bdf-goal-row>span{white-space:nowrap;justify-self:end;font-variant-numeric:tabular-nums;}
.bdf-lifeos-shell .bdf-current-goals-card>.bdf-btn{align-self:center;margin-top:auto;max-width:100%;text-align:center;}
@media(max-width:760px){.bdf-lifeos-shell .bdf-daily-bottom-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px;}.bdf-lifeos-shell .bdf-daily-bottom-grid>.bdf-card{padding:18px;}}

/* v3.1.9: shared five-pillar card geometry and consistent content positions. */
.bdf-lifeos-shell .bdf-pillar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:16px;width:100%;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar{display:grid;grid-template-rows:minmax(44px,auto) 28px 12px minmax(42px,1fr);align-content:stretch;justify-items:stretch;gap:10px;min-width:0;width:100%;height:100%;padding:16px 12px!important;margin:0;text-align:center;overflow:hidden;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar>.bdf-pillar-label{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0;font-size:13px;line-height:1.25;font-weight:600;overflow-wrap:anywhere;text-align:center;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar>strong{display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:0;font-size:17px;line-height:28px;letter-spacing:-.35px;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;overflow:visible;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar>.bdf-progress{width:100%;height:8px;margin:2px 0;align-self:center;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar>.bdf-pillar-meta{display:flex;align-items:flex-start;justify-content:center;width:100%;min-width:0;margin:0;font-size:11px;line-height:1.35;overflow-wrap:anywhere;text-align:center;color:var(--bdf-muted);}
@media(max-width:1100px){.bdf-lifeos-shell .bdf-pillar-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.bdf-lifeos-shell .bdf-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.bdf-lifeos-shell .bdf-pillar-grid{grid-template-columns:minmax(0,1fr);}.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar{grid-template-rows:minmax(32px,auto) 28px 12px minmax(32px,auto);}}

/* v3.1.10: shared structural layout for both five-pillar sections. */
.bdf-lifeos-shell .bdf-pillar-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;width:100%!important;max-width:100%;margin:16px 0;align-items:stretch;justify-items:stretch;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar-tile{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-width:0!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:190px;margin:0!important;padding:16px 12px!important;overflow:hidden!important;gap:0!important;text-align:center!important;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar-tile>.bdf-pillar-label{display:flex!important;align-items:center;justify-content:center;flex:0 0 48px;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere!important;word-break:normal;text-align:center!important;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar-tile>strong{display:block!important;flex:0 0 auto;width:100%!important;min-width:0!important;max-width:100%!important;margin:8px 0!important;padding:0!important;font-size:16px!important;line-height:24px!important;letter-spacing:-.3px!important;white-space:nowrap!important;overflow:visible!important;text-align:center!important;font-variant-numeric:tabular-nums;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar-tile>.bdf-progress{flex:0 0 8px!important;width:100%!important;max-width:100%!important;height:8px!important;margin:6px 0 12px!important;overflow:hidden!important;}
.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar-tile>.bdf-pillar-meta{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important;word-break:normal;text-align:center!important;}
@media(max-width:1100px){.bdf-lifeos-shell .bdf-pillar-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:760px){.bdf-lifeos-shell .bdf-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:420px){.bdf-lifeos-shell .bdf-pillar-grid{grid-template-columns:minmax(0,1fr)!important;}.bdf-lifeos-shell .bdf-pillar-grid>.bdf-pillar-tile{min-height:160px;}}

/* v3.1.12: keep overall readiness assessment above, separate from pillar tiles. */
.bdf-lifeos-shell .bdf-score-page-head{display:flex;align-items:center;justify-content:center;gap:24px;width:100%;box-sizing:border-box;margin:0 0 24px;padding:24px;flex-wrap:wrap}
.bdf-lifeos-shell .bdf-score-page-head .bdf-score-copy{flex:1 1 300px;min-width:0;max-width:760px;text-align:center;margin-inline:auto}
.bdf-lifeos-shell .bdf-score-page-head .bdf-score-copy h3,.bdf-lifeos-shell .bdf-score-page-head .bdf-score-copy p{max-width:100%;margin-left:auto;margin-right:auto;text-align:center}
.bdf-lifeos-shell .bdf-score-page-head .bdf-score-trend{margin-inline:auto;text-align:center}
.bdf-lifeos-shell .bdf-score-page-head+.bdf-pillar-heading{clear:both;width:100%;margin:28px 0 14px;text-align:center}
@media(max-width:680px){.bdf-lifeos-shell .bdf-score-page-head{flex-direction:column;padding:20px 16px}.bdf-lifeos-shell .bdf-score-page-head .bdf-score-copy{flex:0 1 auto;width:100%}}

/* v3.1.13: readiness labels only; prevent collisions without changing card layout. */
.bdf-lifeos-shell .bdf-score-page-head .bdf-score-copy h3{display:block;position:static;height:auto!important;min-height:0!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:break-word;word-break:normal;margin:10px auto 14px!important;padding:0!important;}
.bdf-lifeos-shell .bdf-score-page-head .bdf-score-copy p{display:block;position:static;height:auto!important;min-height:0!important;line-height:1.6!important;white-space:normal!important;margin:0 auto 14px!important;clear:both;}
.bdf-lifeos-shell .bdf-score-section-title{min-width:0;flex-wrap:wrap;align-items:flex-start!important;row-gap:10px;}
.bdf-lifeos-shell .bdf-score-section-title>div{flex:1 1 150px;min-width:0;}
.bdf-lifeos-shell .bdf-score-section-title h3{height:auto!important;line-height:1.35!important;white-space:normal;margin:6px 0 0!important;}
.bdf-lifeos-shell .bdf-score-section-title .bdf-score-chip{display:inline-block;flex:0 1 auto;max-width:100%;width:auto;box-sizing:border-box;white-space:normal!important;overflow-wrap:break-word;line-height:1.4!important;text-align:center;margin:0;}
@media(max-width:680px){.bdf-lifeos-shell .bdf-score-section-title .bdf-score-chip{align-self:flex-start;}}

/* v3.3.0 Life Buddy: scoped, responsive additions; existing LifeOS layout unchanged. */
.bdf-lifeos-shell.bdf-buddy-shell .bdf-buddy-form,.bdf-lifeos-shell.bdf-buddy-shell .bdf-buddy-grid{margin-top:18px}
.bdf-lifeos-shell.bdf-buddy-shell .bdf-field{display:flex;flex-direction:column;min-width:0;gap:7px;margin-bottom:16px}
.bdf-lifeos-shell.bdf-buddy-shell textarea,.bdf-lifeos-shell.bdf-buddy-shell select{width:100%;max-width:100%;box-sizing:border-box;min-height:48px;line-height:1.5;white-space:pre-wrap}
.bdf-lifeos-shell.bdf-buddy-shell textarea{min-height:100px;resize:vertical}
.bdf-lifeos-shell.bdf-buddy-shell .bdf-buddy-entry{padding:15px 0;border-bottom:1px solid #dce5ec;overflow-wrap:anywhere}
.bdf-lifeos-shell.bdf-buddy-shell .bdf-buddy-entry small{display:block;margin:5px 0;color:#536575}
.bdf-lifeos-shell.bdf-buddy-shell .bdf-buddy-entry p{white-space:normal;overflow-wrap:anywhere}
.bdf-lifeos-shell.bdf-buddy-shell .bdf-card{min-width:0;box-sizing:border-box}
@media(max-width:720px){.bdf-lifeos-shell.bdf-buddy-shell .bdf-buddy-grid{display:grid;grid-template-columns:minmax(0,1fr)}}
