/* BIO.ONE R7.6.61 — AI-FIRST CUSTOMER HOME POLISH
   UI-only layer: puts the three core hair-AI actions before commercial content.
   Does not alter Chatbot/V1/V2/Salon/NPP/Push logic. */
.bioone-ai-first-home-r7660{padding:20px 0 12px;background:linear-gradient(180deg,#fffaf7 0%,#fff 100%)}
.bioone-ai-home-card-r7660{max-width:920px;margin:0 auto;padding:24px;border:1px solid rgba(125,81,66,.14);border-radius:28px;background:#fff;box-shadow:0 16px 48px rgba(83,55,45,.07)}
.bioone-ai-home-head-r7660{text-align:center;max-width:700px;margin:0 auto 18px}
.bioone-ai-home-kicker-r7660{display:inline-block;margin-bottom:8px;color:#8b5b49;font-size:12px;font-weight:900;letter-spacing:.11em}
.bioone-ai-home-head-r7660 h1{margin:0;color:#443431;font-size:clamp(25px,4.2vw,38px);line-height:1.14;letter-spacing:-.025em}
.bioone-ai-home-actions-r7660{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bioone-ai-home-action-r7660{appearance:none;-webkit-appearance:none;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;width:100%;min-height:94px;padding:15px 14px;border:1px solid rgba(125,81,66,.15);border-radius:20px;background:#fffaf8;color:#4e3b37;text-align:left;cursor:pointer;box-shadow:0 6px 18px rgba(91,61,49,.04);-webkit-tap-highlight-color:transparent;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.bioone-ai-home-action-r7660:hover{border-color:rgba(125,81,66,.34);box-shadow:0 10px 26px rgba(91,61,49,.08);background:#fff}
.bioone-ai-home-action-r7660:active{transform:scale(.988)}
.bioone-ai-home-icon-r7660{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#f4e9e3;font-size:21px}
.bioone-ai-home-action-r7660 span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}
.bioone-ai-home-action-r7660 strong{font-size:14px;line-height:1.25;color:#493632}
.bioone-ai-home-action-r7660 small{font-size:11px;line-height:1.4;color:#846f68;font-weight:600}
.bioone-ai-home-action-r7660 i{font-style:normal;color:#9b6b59;font-size:19px;font-weight:900}
.bioone-resume-card-r7660{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:14px 15px;border-radius:18px;background:#f8f3f0;border:1px solid rgba(125,81,66,.11)}
.bioone-resume-card-r7660.hidden{display:none!important}
.bioone-resume-copy-r7660{display:flex;min-width:0;flex-direction:column;gap:4px}
.bioone-resume-copy-r7660 span{font-size:9.5px;line-height:1.25;font-weight:900;letter-spacing:.08em;color:#8b5b49}
.bioone-resume-copy-r7660 strong{font-size:12px;line-height:1.42;color:#54413c;font-weight:750;overflow-wrap:anywhere}
#biooneResumeBtnR7660{appearance:none;-webkit-appearance:none;flex:0 0 auto;min-height:42px;padding:9px 13px;border:0;border-radius:999px;background:#8b5b49;color:#fff;font:inherit;font-size:11px;font-weight:900;cursor:pointer;-webkit-tap-highlight-color:transparent}
#biooneResumeBtnR7660:active{transform:scale(.985)}

/* New first-view gateway inside the existing Chatbot sheet. */
.bioone-first-gateway-r7660{display:flex;flex-direction:column;gap:10px;width:100%}
.bioone-first-gateway-r7660>strong{font-size:17px!important;line-height:1.34!important;color:#493733!important}
.bioone-first-gateway-actions-r7660{display:grid;grid-template-columns:1fr;gap:9px}
.bioone-first-gateway-action-r7660{appearance:none;-webkit-appearance:none;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:64px;padding:10px 11px;border:1px solid rgba(125,81,66,.14);border-radius:16px;background:#fff;color:#4e3b37;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bioone-first-gateway-action-r7660:active{transform:scale(.988)}
.bioone-first-gateway-action-r7660>i:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#f5eae5;font-style:normal;font-size:19px}
.bioone-first-gateway-action-r7660>span{display:flex;min-width:0;flex-direction:column;gap:2px}
.bioone-first-gateway-action-r7660 b{font-size:12.5px;line-height:1.28;color:#493632}
.bioone-first-gateway-action-r7660 small{font-size:10.5px;line-height:1.38;color:#806d67;font-weight:600}
.bioone-first-gateway-action-r7660>i:last-child{font-style:normal;color:#9c6a58;font-weight:900}
.bioone-quick-issue-head-r7660{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}
.bioone-quick-issue-head-r7660 strong{font-size:15px;color:#4f3d3c}
.bioone-quick-issue-back-r7660{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#8b5b49;font:inherit;font-size:10.5px;font-weight:850;padding:5px;cursor:pointer}

@media(max-width:720px){
  .bioone-ai-first-home-r7660{padding:12px 0 6px}
  .bioone-ai-home-card-r7660{padding:17px 14px;border-radius:22px}
  .bioone-ai-home-head-r7660{margin-bottom:13px}
  .bioone-ai-home-kicker-r7660{font-size:10px;margin-bottom:6px}
  .bioone-ai-home-head-r7660 h1{font-size:24px}
  .bioone-ai-home-actions-r7660{grid-template-columns:1fr;gap:8px}
  .bioone-ai-home-action-r7660{min-height:68px;padding:10px 11px;border-radius:17px}
  .bioone-ai-home-icon-r7660{width:39px;height:39px;border-radius:13px;font-size:19px}
  .bioone-ai-home-action-r7660 strong{font-size:13px}
  .bioone-ai-home-action-r7660 small{font-size:10.5px}
  .bioone-resume-card-r7660{align-items:stretch;flex-direction:column;gap:9px;padding:12px}
  #biooneResumeBtnR7660{align-self:flex-start;min-height:40px}
}
@media(max-width:350px){
  .bioone-ai-home-card-r7660{padding:14px 10px}
  .bioone-ai-home-head-r7660 h1{font-size:21px}
  .bioone-ai-home-action-r7660{grid-template-columns:36px 1fr auto;gap:8px}
  .bioone-ai-home-icon-r7660{width:36px;height:36px}
}
@media(prefers-reduced-motion:reduce){.bioone-ai-home-action-r7660,.bioone-first-gateway-action-r7660,#biooneResumeBtnR7660{transition:none!important}}


/* R7.6.61 — one clear AI entry on the customer home.
   Keep legacy advisor/FAB DOM alive for compatibility, but remove duplicate visual invitations. */
#hair-advisor{display:none!important}
#assistantFab{display:none!important}

/* Slightly tighter first screen so the next content is visibly discoverable without making touch targets small. */
@media(max-width:720px){
  .bioone-ai-first-home-r7660{padding:10px 0 4px}
  .bioone-ai-home-card-r7660{padding:15px 13px;border-radius:21px}
  .bioone-ai-home-head-r7660{margin-bottom:11px}
  .bioone-ai-home-actions-r7660{gap:7px}
  .bioone-ai-home-action-r7660{min-height:62px;padding:8px 10px;border-radius:16px}
  .bioone-ai-home-icon-r7660{width:36px;height:36px;border-radius:12px;font-size:18px}
  .bioone-ai-home-action-r7660 strong{font-size:12.75px}
  .bioone-ai-home-action-r7660 small{font-size:10.25px;line-height:1.34}
}
