/* Shared pre-footer component: visual source extracted unchanged from cars, 12 Nov 2026. */
.sp-ai-choice{font-family:ShellManrope,Manrope,Arial,sans-serif;width:100%;margin:0;color:#182b3c}
.sp-ai-choice *,.sp-ai-choice *::before,.sp-ai-choice *::after{box-sizing:border-box}
.sp-ai-choice .cars-wrap{width:min(1320px,calc(100% - 80px));margin-inline:auto}
.sp-ai-choice .cars-kicker{display:block;color:#0078c8;font-size:11px;font-weight:650;letter-spacing:.16em;text-transform:uppercase}
.sp-ai-choice h2{font-size:clamp(30px,3vw,44px);font-weight:450;line-height:1.14;letter-spacing:-.04em;margin:0 0 18px}
.sp-ai-choice p{line-height:1.75;color:#596776}
.sp-ai-choice .cars-action{display:flex;align-items:center;justify-content:space-between;gap:11px;min-height:48px;padding:10px 13px;border:1px solid #0078c8;background:#0078c8;color:#fff;font:600 12px/1.35 ShellManrope,Arial,sans-serif;text-decoration:none;cursor:pointer;text-align:left;border-radius:0}
.sp-ai-choice .cars-action:hover{background:#005f9f;border-color:#005f9f;color:#fff;box-shadow:0 8px 22px #031d3652;transform:translateY(-2px)}
.sp-ai-choice .cars-action:active{transform:translateY(0);box-shadow:none}
.sp-ai-choice .cars-action:focus-visible{outline:3px solid #fff;outline-offset:3px}
.sp-ai-choice{position:relative;isolation:isolate;overflow:hidden;scroll-margin-top:78px;padding:58px 0;background:radial-gradient(circle at 15% 38%,#1d85bb70,transparent 31%),linear-gradient(115deg,#152b3c 0%,#0a466c 58%,#0876b4 100%)}
.sp-ai-choice::before{content:'';position:absolute;z-index:-1;pointer-events:none;width:680px;height:680px;right:-180px;top:-430px;border:1px solid #ffffff42;border-radius:50%;box-shadow:0 0 0 72px #ffffff09,0 0 0 73px #ffffff30,0 0 0 146px #ffffff08,0 0 0 147px #ffffff20}
.sp-ai-choice .cars-kicker{color:#8fd7ff}
.sp-ai-choice h2{color:#fff}
.sp-ai-choice .cars-choice-copy p{color:#dcecf5}
.sp-ai-choice .cars-choice-layout{display:grid;grid-template-columns:minmax(260px,300px) minmax(0,1fr) minmax(320px,390px);gap:clamp(18px,3vw,42px);align-items:center}
.sp-ai-choice .cars-choice-copy p{max-width:470px;font-size:16px;margin:0}
.sp-ai-choice .cars-choice-brain{position:relative;align-self:center;display:grid;place-items:center;min-height:320px;background:radial-gradient(ellipse at 50% 48%,#76c9ff24,transparent 64%)}
.sp-ai-choice .cars-choice-brain img{position:relative;z-index:1;display:block;width:312px;max-width:none;height:auto;filter:drop-shadow(0 20px 16px #051f3f7a);animation:cars-choice-brain-float 5s ease-in-out infinite}
.sp-ai-choice .cars-choice-brain-shadow{position:absolute;bottom:16px;left:25%;width:50%;height:16px;border-radius:50%;background:#002b55;filter:blur(10px);opacity:.55;animation:cars-choice-brain-shadow 5s ease-in-out infinite}
.sp-ai-choice .cars-choice-layout form{display:grid;gap:12px;background:#fff;padding:25px;border:1px solid #9ad5f5;box-shadow:0 22px 52px #061b2a46}
.sp-ai-choice .cars-choice-layout label{display:block;font-size:13px;font-weight:650;color:#244052}
.sp-ai-choice .cars-choice-layout textarea{display:block;width:100%;min-height:145px;resize:vertical;padding:13px 14px;background:#f7fbfe;border:1px solid #cbdbe5;color:#1e3445;font:inherit;font-size:14px;line-height:1.55}
.sp-ai-choice .cars-choice-layout textarea:focus-visible{outline:2px solid #0078c8;outline-offset:2px}
.sp-ai-choice .cars-choice-layout textarea::placeholder{color:#718698}
.sp-ai-choice .cars-choice-hint{font-size:12px;color:#687a88;margin:0}
.sp-ai-choice .cars-choice-layout button{width:100%;margin-top:3px}
.sp-ai-choice .cars-form-status{min-height:0;margin:0;font-size:12px;color:#425f72}
.sp-ai-choice .cars-form-status:empty{display:none}
@keyframes cars-choice-brain-float{0%,100%{transform:translateY(5px)}50%{transform:translateY(-8px)}}
@keyframes cars-choice-brain-shadow{0%,100%{transform:scaleX(1);opacity:.55}50%{transform:scaleX(.8);opacity:.3}}
@media(prefers-reduced-motion:reduce){.sp-ai-choice .cars-choice-brain img,.sp-ai-choice .cars-choice-brain-shadow{animation:none}}
body[data-shell-site] .sp-ai-choice + footer[data-shared-shell]{margin-top:0}
@media(max-width:420px){
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-offer-button{gap:6px;min-width:0;padding:10px 12px;font-size:11px}
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-offer-button svg{width:18px;height:18px;flex:none}
}
.sp-ai-choice .cars-choice-layout .ai-choice-consent{display:grid;grid-template-columns:17px minmax(0,1fr);align-items:start;gap:9px;font-size:12px;line-height:1.55;font-weight:400;color:#536a7b}
.sp-ai-choice .ai-choice-consent input{width:17px;height:17px;margin:1px 0 0;accent-color:#753bc4}
@media(max-width:760px){.sp-ai-choice{padding:34px 0}.sp-ai-choice .cars-wrap{width:calc(100% - 40px)}.sp-ai-choice .cars-choice-layout{padding:0}}
@media(max-width:420px){.sp-ai-choice .cars-wrap{width:calc(100% - 32px)}}
@media(max-width:980px){.sp-ai-choice .cars-choice-layout{grid-template-columns:180px minmax(0,1fr);grid-template-areas:"brain copy" "form form";gap:20px 25px;align-items:center}.sp-ai-choice .cars-choice-brain{grid-area:brain;min-height:0}.sp-ai-choice .cars-choice-brain img{width:180px}.sp-ai-choice .cars-choice-brain-shadow{bottom:0}.sp-ai-choice .cars-choice-copy{grid-area:copy}.sp-ai-choice .cars-choice-layout form{grid-area:form}}
@media(max-width:560px){.sp-ai-choice .cars-choice-layout{grid-template-columns:1fr;grid-template-areas:"brain" "copy" "form";gap:14px}.sp-ai-choice .cars-choice-brain{width:170px;justify-self:center;min-height:170px}.sp-ai-choice .cars-choice-brain img{width:170px;max-width:none}.sp-ai-choice .cars-choice-copy h2{font-size:clamp(30px,8vw,38px);margin:7px 0 12px}.sp-ai-choice .cars-choice-copy p{font-size:14px;line-height:1.6}.sp-ai-choice .cars-choice-layout form{padding:20px;margin-top:8px}.sp-ai-choice .cars-choice-layout textarea{min-height:120px}}

/* Ski catalog pilot: the upper offer and pre-footer follow the approved car visual. */
body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match{
 position:relative;isolation:isolate;grid-template-columns:220px minmax(0,1fr) 250px;
 grid-template-areas:"symbol heading action" "symbol copy action";grid-template-rows:auto auto;
 gap:0 32px;align-items:center;min-height:230px;padding:20px 36px 20px 16px;
 background:linear-gradient(118deg,#15394e 0%,#0d4a69 56%,#0a5d80 100%);overflow:hidden
}
body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-brain{
 width:220px;height:190px;align-self:center;isolation:isolate;overflow:visible;
 background:radial-gradient(circle at 50% 46%,#83c9f428 0%,#83c9f40e 44%,transparent 72%);border:0
}
body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-brain::before{
 content:"";position:absolute;z-index:0;left:50%;top:47%;width:150px;height:150px;
 transform:translate(-50%,-50%);border:1px solid #b5e0f614;border-radius:50%;
 box-shadow:0 0 0 31px #b5e0f604,0 0 0 32px #b5e0f60b
}
body[data-page=catalog][data-shell-site=instructors] .ai-brain img{width:205px;height:205px;margin:0;object-fit:contain}
body[data-page=catalog][data-shell-site=instructors] .ai-brain-shadow{bottom:5px}
body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match h2{
 align-self:end;margin:0 0 8px;font-size:clamp(25px,2.5vw,34px);line-height:1.18
}
body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match p{
 align-self:start;margin:0;max-width:580px;font-size:15px;line-height:1.5;color:#dcecf5
}
body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-offer-button{align-self:center}
body[data-shell-site] .sp-ai-choice{
 padding:58px 0;background:linear-gradient(118deg,#15394e 0%,#0d4a69 56%,#0a5d80 100%)
}
body[data-shell-site] .sp-ai-choice::before{display:none}
body[data-shell-site] .sp-ai-choice .cars-choice-brain{
 isolation:isolate;background:radial-gradient(circle at 50% 47%,#83c9f426 0%,#83c9f40d 44%,transparent 72%)
}
body[data-shell-site] .sp-ai-choice .cars-choice-brain::before{
 content:"";position:absolute;z-index:0;left:50%;top:48%;width:200px;height:200px;
 transform:translate(-50%,-50%);pointer-events:none;border:1px solid #b5e0f614;border-radius:50%;
 box-shadow:0 0 0 37px #b5e0f604,0 0 0 38px #b5e0f60e,0 0 0 72px #b5e0f603,0 0 0 73px #b5e0f609
}
body[data-shell-site] .sp-ai-choice .cars-choice-copy p{line-height:1.5}
@media(min-width:981px){
 body[data-shell-site] .sp-ai-choice .cars-choice-copy{padding-left:clamp(24px,3vw,44px)}
}
@media(max-width:900px){
 body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match{
  grid-template-columns:150px minmax(0,1fr);grid-template-areas:"symbol heading" "symbol copy" "action action";
  gap:0 18px;padding:18px 22px 22px
 }
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-brain{width:150px;height:145px}
 body[data-page=catalog][data-shell-site=instructors] .ai-brain img{width:155px;height:155px}
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-offer-button{margin-top:12px}
}
@media(max-width:560px){
 body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match{
  grid-template-columns:105px minmax(0,1fr);gap:0 10px;min-height:0;
  margin-top:22px;padding:16px;background:linear-gradient(145deg,#15394e 0%,#0d4a69 56%,#0a5d80 100%)
 }
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-brain{width:105px;height:120px}
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-brain::before{
  width:88px;height:88px;box-shadow:0 0 0 19px #b5e0f604,0 0 0 20px #b5e0f60b
 }
 body[data-page=catalog][data-shell-site=instructors] .ai-brain img{width:115px;height:115px;margin-left:-5px}
 body[data-page=catalog][data-shell-site=instructors] .ai-brain-shadow{bottom:0;height:7px}
 body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match h2{font-size:20px;line-height:1.18;margin:0 0 6px}
 body[data-page=catalog][data-shell-site=instructors] .ai-offer.ai-match p{font-size:12px;line-height:1.45}
 body[data-page=catalog][data-shell-site=instructors] .ai-match .ai-offer-button{min-height:46px;margin-top:12px}
 body[data-shell-site] .sp-ai-choice{padding:26px 0;background:linear-gradient(145deg,#15394e 0%,#0d4a69 56%,#0a5d80 100%)}
 body[data-shell-site] .sp-ai-choice .cars-choice-layout{
  grid-template-columns:1fr;grid-template-areas:"brain" "kicker" "heading" "copy" "form";gap:5px;align-items:center
 }
 body[data-shell-site] .sp-ai-choice .cars-choice-copy{display:contents}
 body[data-shell-site] .sp-ai-choice .cars-kicker{display:block;grid-area:kicker;margin:0}
 body[data-shell-site] .sp-ai-choice .cars-choice-copy h2{
  grid-area:heading;align-self:start;font-size:28px;line-height:1.12;margin:0
 }
 body[data-shell-site] .sp-ai-choice .cars-choice-copy p{
  grid-area:copy;margin:4px 0 0;font-size:14px;line-height:1.5
 }
 body[data-shell-site] .sp-ai-choice .cars-choice-brain{
  grid-area:brain;width:247px;min-height:215px;justify-self:center
 }
 body[data-shell-site] .sp-ai-choice .cars-choice-brain::before{
  top:47%;width:160px;height:160px;box-shadow:0 0 0 30px #b5e0f604,0 0 0 31px #b5e0f60e,0 0 0 58px #b5e0f603,0 0 0 59px #b5e0f609
 }
 body[data-shell-site] .sp-ai-choice .cars-choice-brain img{width:205px}
 body[data-shell-site] .sp-ai-choice .cars-choice-brain-shadow{height:9px;bottom:0;filter:blur(6px)}
 body[data-shell-site] .sp-ai-choice .cars-choice-layout form{
  grid-area:form;margin:12px 0 0;padding:20px;gap:14px
 }
 body[data-shell-site] .sp-ai-choice .cars-choice-layout textarea{min-height:108px;height:108px}
 body[data-shell-site] .sp-ai-choice .cars-choice-hint{display:none}
}

/* One button geometry for every shared AI block, including link-only bath cards. */
body[data-shell-site] .sp-ai-choice .cars-action{
 display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:50px;padding:10px 13px;
 font:600 12px/1.35 ShellManrope,Manrope,Arial,sans-serif;text-align:left
}
body[data-shell-site] .sp-ai-choice .cars-action::before{
 content:"";display:block;flex:none;width:26px;height:26px;background:center/contain no-repeat
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.25'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m12 5 2 5 5 2-5 2-2 5-2-5-5-2 5-2Z'/%3E%3C/svg%3E")
}
body[data-shell-site] .sp-ai-choice .cars-action::after{
 content:"";display:block;flex:none;width:28px;height:24px;margin-left:auto;background:center/contain no-repeat
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='none' stroke='%23fff' stroke-width='1.3'%3E%3Cpath d='M2 12h27m-7-7 7 7-7 7'/%3E%3C/svg%3E")
}
body[data-shell-site] .sp-ai-choice .cars-action>.ai-choice-button-icon,
body[data-shell-site] .sp-ai-choice .cars-action>.ai-choice-button-arrow,
body[data-shell-site] .sp-ai-choice .cars-action>span[aria-hidden="true"]{display:none}
body[data-shell-site] .sp-ai-choice .ai-choice-consent input[type="checkbox"]{accent-color:#737c83}
body.kids-site[data-shell-site]>.sp-ai-choice{width:calc(100% + 16px);margin-left:-8px;margin-right:-8px}

/* Final form rhythm: the same consent and button spacing in every section. */
body[data-shell-site] .sp-ai-choice .cars-choice-layout form{gap:12px!important}
body[data-shell-site] .sp-ai-choice :is(.ai-choice-consent,.cars-choice-consent){
 display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;align-items:start!important;
 gap:9px!important;margin:0!important;padding:0!important;font-size:11px!important;line-height:1.45!important;
 font-weight:400!important;color:#61717f!important
}
body[data-shell-site] .sp-ai-choice :is(.ai-choice-consent,.cars-choice-consent) input[type="checkbox"]{
 -webkit-appearance:checkbox!important;appearance:auto!important;box-sizing:border-box!important;flex:none!important;
 width:17px!important;min-width:17px!important;max-width:17px!important;height:17px!important;min-height:17px!important;
 max-height:17px!important;margin:1px 0 0!important;padding:0!important;accent-color:#737c83!important;opacity:1!important
}
body[data-shell-site] .sp-ai-choice .cars-choice-hint:empty{display:none!important}
body[data-shell-site] .sp-ai-choice .cars-action{margin-top:0!important}
