/* One bounded conversation, shared by the selector and product card. */
.single-chat form .chat-input-label{display:block;margin-bottom:9px;color:#293d43;font-size:13px;font-weight:650;line-height:1.4}
:is(.single-history,#product-history).bag-conversation{box-sizing:border-box;height:320px;max-height:44dvh;min-height:220px;overflow-x:hidden;overflow-y:scroll;overscroll-behavior:contain;overflow-anchor:none;scroll-behavior:auto;scrollbar-width:auto;scrollbar-gutter:stable;scrollbar-color:#7b8991 #e7ebee;padding:16px 12px;margin-bottom:16px;border:1px solid #aeb9c0;border-radius:10px;background:#f6f7f8;color:#24323a;font-family:var(--font-sans,Arial,sans-serif);font-size:16px;line-height:1.6;white-space:normal;text-align:left}
:is(.single-history,#product-history).bag-conversation:empty{height:auto;min-height:0;max-height:none}
:is(.single-history,#product-history).bag-conversation:focus-visible{outline:2px solid #315c67;outline-offset:3px}
:is(.single-history,#product-history).bag-conversation .bag-message{box-sizing:border-box;min-width:0;margin:0 0 20px}
:is(.single-history,#product-history).bag-conversation .bag-message:last-child{margin-bottom:0}
:is(.single-history,#product-history).bag-conversation .bag-message--user{width:fit-content;max-width:92%;margin-left:auto}
:is(.single-history,#product-history).bag-conversation .bag-message--assistant{width:100%;max-width:100%;margin-right:auto}
:is(.single-history,#product-history).bag-conversation .bag-message__author{display:block;margin:0 2px 7px;color:#243e46;font-size:13px;font-weight:700;line-height:1.4}
:is(.single-history,#product-history).bag-conversation .bag-message--user .bag-message__author{text-align:right;color:#43515b}
:is(.single-history,#product-history).bag-conversation .bag-message__body{box-sizing:border-box;min-width:0;padding:14px 14px;border:2px solid #82939a;border-radius:9px;background:#fff;color:#23333c;font-size:16px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
:is(.single-history,#product-history).bag-conversation .bag-message--user .bag-message__body{border:1px solid #a6b0b9;background:#e9edf1;color:#24353f;font-weight:600}
:is(.single-history,#product-history).bag-conversation .bag-message__body p{margin:0;padding:0;color:inherit;font:inherit;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
:is(.single-history,#product-history).bag-conversation .bag-message__body p+p{margin-top:14px}
:is(.single-history,#product-history).bag-conversation .bag-message__body .bag-message__question{color:#183a45;font-weight:750}
:is(.single-history,#product-history).bag-conversation .bag-message__body p+.bag-message__question{padding-top:12px;border-top:1px solid #bdc8ce}
.single-chat form,#product-chat-form{border:2px solid #536d77;border-radius:10px;background:#fff;box-shadow:none}
.single-chat form:focus-within,#product-chat-form:focus-within{border-color:#164c59;outline:2px solid #164c5920;outline-offset:2px;box-shadow:none}
.product-chat-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}
.product-chat-toolbar button{border:0;padding:4px 0;background:transparent;color:#435b63;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:760px){:is(.single-history,#product-history).bag-conversation{height:280px;max-height:40dvh;min-height:200px;padding:12px 8px}:is(.single-history,#product-history).bag-conversation .bag-message{margin-bottom:22px}:is(.single-history,#product-history).bag-conversation .bag-message__body{padding:12px 11px}}

/* Compact choice controls keep the questions separate from their answers. */
.single-fields{gap:22px}
.single-fields legend{margin-bottom:13px;line-height:1.35}
.single-chat{margin-top:22px}
.single-send-row{margin-top:9px}
.material-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.material-choices .single-choice{white-space:normal;text-align:center;min-height:40px;padding:8px 10px}
.single-dots{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:fit-content;max-width:100%}
.single-dot{width:32px;height:32px;padding:4px}
.single-dot i{width:23px;height:23px}
.color-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:22px;margin-top:7px}
.single-fields .color-picker-footer output{margin:0;padding:0;background:none;border-radius:0;color:#29463a;font-size:13px;font-weight:600;line-height:1.4}
.single-fields .color-picker-footer output:empty{display:none}
.color-toggle{margin-left:auto;padding:3px 0;border:0;background:none;color:#405d53;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.single-fields .choice-help{display:block;width:fit-content;max-width:100%;margin-top:6px;padding:3px 0;border:0;background:none;color:#405d53;font-size:12px;line-height:1.4;text-align:left;text-decoration:underline;text-underline-offset:3px}
.single-fields .choice-help:hover{color:#183e31}
.chat-history-toggle{max-width:100%;padding:4px 0;border:0;background:none;color:#405d53;font-size:13px;line-height:1.5;text-align:left;text-decoration:underline;text-underline-offset:3px}
.chat-history-toggle:hover{color:#183e31}
.single-fields legend:focus-visible{outline:2px solid #315c67;outline-offset:3px}
.selection-context{margin:10px 0 0;color:#586b60;font-size:12px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
.selection-badge--suggested{background:#f4f5f3;color:#526159;border-color:#cbd2cb;font-weight:600}
.selection-badge--suggested:before{content:none}
.selection-badge--suggested small{font-size:12px;font-weight:400}
.single-choice.is-suggested{color:#405d53;background:#f9faf8;border:1px dashed #82968b}
.single-dot.is-suggested{border:1px dashed #82968b;box-shadow:none}
.delivery-note{max-width:340px;margin:10px auto 0;color:#627167;font-size:12px;line-height:1.5;text-align:center}
@media(max-width:760px){.single-fields{gap:23px}.single-fields legend{font-size:16px}.material-choices .single-choice{font-size:13px;min-height:48px}.single-dots{grid-template-columns:repeat(8,32px);gap:3px}.single-dot{width:32px;height:32px}}
@media(max-width:350px){.single-fields{gap:21px}.single-fields legend{margin-bottom:12px}:is(.single-history,#product-history).bag-conversation .bag-message{margin-bottom:20px}.material-choices{grid-template-columns:1fr}.material-choices .single-choice{min-height:40px}.single-dots{grid-template-columns:repeat(4,32px);gap:4px}}

/* The current question and the same product stay within reach as steps advance. */
.finder-section{--assistant-top:96px;--assistant-viewport-height:calc(100dvh - 112px);--assistant-log-height:280px}
.single-window{overflow:visible;align-items:stretch}
.single-controls{border-radius:11px 0 0 11px}
.single-stage{border-radius:0 11px 11px 0;align-self:stretch}
.single-preview{position:sticky;top:var(--assistant-top);height:auto;min-height:0;max-height:var(--assistant-viewport-height)}
.single-preview .one-bag-photo{height:clamp(120px,30dvh,245px)}
.single-preview #one-bag{padding-bottom:18px}
.single-preview .empty-preview{min-height:210px;padding:16px;text-align:center}
#single-history.bag-conversation{height:var(--assistant-log-height);max-height:var(--assistant-log-height);min-height:0}
.single-fields [data-step]{scroll-margin-top:calc(var(--assistant-top) + 12px)}
@media(max-width:760px){
 .single-stage{grid-row:1;position:relative;top:auto;z-index:auto;align-self:start;border-radius:11px 11px 0 0;border-bottom:1px solid #d6dfd5;box-shadow:none}
 .single-stage.is-empty{position:static;box-shadow:none}
 .single-stage .single-preview{position:static;max-height:none}
 .single-controls{grid-row:2;border:0;border-radius:0 0 11px 11px}
 .single-preview .stage-heading{padding:8px 12px 0;min-height:0}
 .single-preview #selection-summary{justify-content:flex-start;gap:4px}
 .single-preview .selection-badge{font-size:11px;line-height:1.25;padding:4px 6px;font-weight:600;animation:none}
 .single-preview .selection-badge small{font-size:10px}
 .single-preview .selection-context{font-size:11px;text-align:left;margin:5px 0 0}
 .single-preview #one-bag{flex-direction:row;align-items:center;gap:12px;padding:8px 12px 12px}
 .single-preview .one-bag-photo{flex:0 0 72px;width:72px;height:78px;min-width:0}
 .single-preview #one-bag figcaption{flex:1;min-width:0;padding:0;text-align:left}
 .single-preview #recommendation-caption{font-size:13px;margin:0 0 3px}
 .single-preview #recommended-name{font-size:11px;line-height:1.35;text-align:left;margin:0 0 3px}
 .single-preview #recommended-link{font-size:13px;text-align:left;padding:4px 0;min-height:26px;line-height:1.4}
 .single-preview .delivery-note{font-size:10px;text-align:left;margin:4px 0 0}
 .single-preview .empty-preview{min-height:0;padding:12px 16px;font-size:13px}
 .single-chat form{padding:10px 12px}
 .single-chat form .chat-input-label{margin-bottom:6px;font-size:12px}
 .single-chat textarea{min-height:42px}
 #single-history.bag-conversation{padding:10px 8px}
 .has-short-viewport .single-preview .stage-heading{display:none}
 .has-short-viewport .single-preview .one-bag-photo{flex-basis:48px;width:48px;height:52px}
 .has-short-viewport .single-preview #one-bag{padding:6px 12px;gap:10px}
 .has-short-viewport .single-preview #recommendation-caption,.has-short-viewport .single-preview .delivery-note{display:none}
}

/* One configured offer, beside the same recommended bag. */
.preview-quote{margin:14px auto 8px;color:#25463a}
.preview-quote .preview-price{display:flex;justify-content:center;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 6px}
.preview-price strong{font-size:27px;line-height:1.2;font-weight:650;letter-spacing:-.02em}
.preview-price span{font-size:15px;color:#52685d;white-space:nowrap}
#preview-price-config,#preview-price-terms{font-size:12px;line-height:1.5;margin:2px 0;color:#607167}
.preview-price-status{max-width:330px;margin:12px auto 6px;font-size:13px;line-height:1.5;color:#607167}
.preview-schedule{max-width:410px;margin:0 auto 12px;padding:0 20px;font-size:12px;line-height:1.5;text-align:center;color:#607167}
.single-preview .one-bag-photo{display:block;flex-shrink:0;height:clamp(100px,24dvh,215px)}
.single-preview #one-bag-image{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
@media(max-width:760px){
 .single-preview .one-bag-photo{height:78px}
 .single-preview .preview-quote{margin:7px 0 4px}
 .single-preview .preview-price{justify-content:flex-start;gap:7px;margin-bottom:3px}
 .single-preview .preview-price strong{font-size:20px}
 .single-preview .preview-price span{font-size:12px}
 .single-preview #preview-price-config,.single-preview #preview-price-terms{font-size:10px;line-height:1.35}
 .single-preview .preview-price-status{font-size:11px;margin:5px 0 3px}
 .single-preview .preview-schedule{font-size:11px;line-height:1.35;text-align:left;max-width:none;margin:0;padding:0 12px 10px}
 .has-short-viewport .single-preview #one-bag{gap:8px;padding-bottom:3px}
 .has-short-viewport .single-preview .preview-quote{margin:3px 0}
 .has-short-viewport .single-preview .preview-price strong{font-size:16px}
 .has-short-viewport .single-preview .preview-price span{font-size:10px}
 .has-short-viewport .single-preview .preview-schedule{font-size:10px;padding-bottom:6px}
}
@media(max-width:760px) and (max-height:520px){
 .single-chat form{padding:7px 10px}
 .single-chat form .chat-input-label{font-size:11px;margin-bottom:3px}
 .single-chat textarea{min-height:32px;height:32px;font-size:14px}
 .single-chat .single-send-row{margin-top:5px}
 .single-chat .single-send-row button{height:32px;width:32px;min-height:32px}
}
