/* Native-only seams around the exact frozen Agent47 views. */
.client-feedback.cf-integrated{min-width:0;max-width:100%}
.client-feedback :is(input,select,textarea){font-size:16px}
.cf-integrated .cf-work-top{margin-top:0}
.cf-integrated .cf-question-grid{display:grid;grid-template-columns:1fr;gap:18px}
.cf-integrated .cf-question-grid>.field{margin:0}
.cf-integrated .cf-question-grid .field>span{font-size:13px;font-weight:600;margin-bottom:6px}
.cf-integrated .cf-progress-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:16px 0}
.cf-integrated .cf-progress-filters>label:first-child{grid-column:1/-1}
.cf-integrated .cf-progress-filters label{margin:0;min-width:0}
.cf-integrated .cf-progress-filters select{width:100%;min-width:0}
.cf-integrated .cf-meal-picker{display:flex;gap:4px;overflow:auto;margin:0 0 17px}
.cf-integrated .cf-meal-picker>.cf-button{flex:none;min-width:58px;font-size:11px;padding:6px}
.cf-integrated .cf-meal-picker .selected{background:var(--image-soft);color:var(--image-text)}
.cf-integrated [hidden]{display:none!important}
.cf-integrated .cf-food-records label.field{margin:0 0 12px}
.cf-integrated .cf-food-records textarea{min-height:115px;resize:vertical}
.cf-integrated .cf-food-records .food-day-complete{font-size:12px;line-height:1.5;margin:12px 0}
.cf-integrated .diary-voice{margin:9px 0}
.cf-integrated .cf-complete-navigation{display:flex;flex-direction:column;gap:8px;margin-top:17px}
.cf-integrated .cf-feedback{margin-top:20px}
.cf-integrated .cf-feedback fieldset{border:0;padding:0;margin:13px 0}
.cf-integrated .cf-feedback legend{font-size:11px;color:var(--muted);margin-bottom:8px}
.cf-integrated .cf-feelings{display:flex;gap:6px;flex-wrap:wrap}
.cf-integrated .cf-feelings label{flex:1;min-width:85px;position:relative}
.cf-integrated .cf-feelings input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.cf-integrated .cf-feelings span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:7px 9px;border:1px solid var(--edge);background:var(--surface);border-radius:11px;font-size:12px}
.cf-integrated .cf-feelings input:checked+span{background:var(--image-soft);border-color:var(--image-border);color:var(--image-text)}
.cf-integrated .cf-feelings input:focus-visible+span{outline:3px solid var(--image-border);outline-offset:3px}
.cf-integrated .cf-feedback textarea{width:100%;min-height:72px}
.cf-integrated .cf-feedback-actions{display:flex;flex-direction:column;gap:8px}
.cf-integrated .cf-feedback-actions button{min-height:46px}
.cf-integrated .cf-feedback-saved{display:flex;align-items:center;gap:7px;font-size:12px;color:#42664e}
.cf-integrated .cf-feedback [data-cf-feedback-error]:empty{display:none}
.cf-integrated .cf-feedback [data-cf-feedback-error]:not(:empty){font-size:12px;color:var(--danger,#8b3328);margin:10px 0}
.cf-integrated .cf-save-meta.exercise-save-status{display:flex;min-height:20px}
.cf-integrated .cf-stepper>select{min-width:0;grid-column:1/-1;border:0;background:none;width:100%;padding:8px;font-size:15px}
.cf-save-receipt{display:flex;gap:9px;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:11px}
.cf-save-receipt>span{display:flex;align-items:center;gap:5px}
.cf-save-receipt .icon{width:14px;height:14px}
.cf-integrated.cf-integrated-chat .conversation-header{margin:0}
.cf-integrated.cf-integrated-chat .cf-chat-thread{padding:18px 15px;flex:1;overflow:auto;min-height:0}
.cf-integrated-chat .care-message.cf-bubble{max-width:90%;display:block;padding:10px 12px;font-size:13px}
.cf-integrated-chat .care-message.cf-bubble>.ad-coach-initial{display:none}
.cf-integrated-chat .care-message.cf-bubble>div{background:none;border:0;padding:0}
.cf-integrated-chat .cf-native-composer{flex:none;position:relative;bottom:auto;padding:10px 12px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--edge)}
.cf-integrated-chat .conversation-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
@media(max-width:430px){body[data-screen=preview] .view:has(.cf-integrated),body[data-screen=nutrition] .view:has(.cf-integrated),body[data-screen=meal] .view:has(.cf-integrated){padding-top:4px}}
@media(min-width:700px){.client-feedback.cf-integrated{max-width:720px;margin-inline:auto}.cf-integrated .cf-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-integrated .cf-question-grid>.wide{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.cf-save-receipt{scroll-behavior:auto}}
/* Confirmed native cascade seams from Agent47's normally served preflight. */
body.adaptive-client .client-feedback h2{font-family:UI,Arial,sans-serif;font-weight:650;font-style:normal}
body.adaptive-client .client-feedback .cf-section-heading>h2{font-size:18px;line-height:1.3}
body.adaptive-client .client-feedback .cf-sets-heading>h2{font-size:12px}
body.adaptive-client .client-feedback .cf-entry-heading>h2{font-size:13px}
body.adaptive-client .client-feedback .cf-next-title,body.adaptive-client .client-feedback .cf-current-plan h2{font-family:Athletic,Impact,sans-serif;font-weight:400}
body.adaptive-client .client-feedback .cf-exercise-copy>em{font-family:UI,Arial,sans-serif;font-style:normal}
body.adaptive-client .client-feedback .cf-stepper>input{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;height:100%;width:100%;min-width:0;font-size:21px;font-weight:650}
body.adaptive-client .client-feedback .cf-stepper>input:focus-visible{outline:2px solid var(--image-border);outline-offset:-3px}
body.adaptive-client[data-route="chat"] .cf-integrated-chat .care-message.cf-bubble>div{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;max-width:none;width:100%}
body.adaptive-client[data-route="chat"] .cf-integrated-chat .care-message.cf-bubble>.ad-coach-initial{display:none}
@media(max-width:430px){.cf-integrated .cf-progress-filters{grid-template-columns:minmax(0,1fr)}.cf-integrated .cf-progress-filters>label{grid-column:1/-1}}
