/* Captain Mack: one continuous page inside the panel, with both form actions together. */
html.h2c-sales-embedded main > .scene > #close{display:none!important}
html.h2c-single-section{width:100%;height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
html.h2c-single-section body{display:block;width:100%;height:auto!important;min-height:100%;overflow:visible!important;background:#073447}
html.h2c-single-section body > main{display:block!important;width:100%;height:auto!important;min-height:0!important;overflow:visible!important}
html.h2c-single-section main > .scene{position:relative;height:clamp(220px,66.667vw,380px);min-height:0!important;overflow:hidden}
html.h2c-single-section main > .scene video{width:100%;height:100%;object-fit:contain;object-position:center}
html.h2c-single-section main > footer{position:static!important;display:block;height:auto!important;min-height:0;max-height:none!important;overflow:visible!important;padding:10px max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#073447}
html.h2c-single-section footer > small{display:block;font-size:11px;line-height:1.4;margin:0 0 6px}
html.h2c-single-section .captain-intro{margin-bottom:8px}
html.h2c-single-section .captain-intro h1{font-size:22px!important;line-height:1.15!important}
html.h2c-single-section .captain-intro > p{font-size:14px;line-height:1.4;margin:5px 0}
html.h2c-single-section .captain-about summary{font-size:14px;padding:8px 10px}
html.h2c-single-section #h2c-contact-entry{gap:10px 16px;margin-top:10px}
html.h2c-single-section #h2c-contact-entry label{margin-bottom:6px}
html.h2c-single-section #h2c-contact-entry .h2c-entry-privacy{font-size:12px;line-height:1.4;margin:2px 0}
html.h2c-single-section #h2c-contact-entry .captain-start{display:flex;flex-direction:column;gap:10px;margin:0;max-width:none}
html.h2c-single-section #h2c-contact-entry #h2c-entry-start{position:static;min-height:48px;width:100%;margin:0}
#h2c-estimate-actions{position:static!important;inset:auto!important;display:block;box-sizing:border-box;width:100%;margin:0;padding:0;border:0;background:transparent;text-align:center;z-index:auto}
#h2c-estimate-actions p{max-width:900px;margin:6px auto 0;color:#e2f0f4;font:12px/1.4 system-ui,sans-serif;overflow-wrap:anywhere}
#h2c-estimate-actions [hidden]{display:none!important}
#h2c-handoff{margin:12px auto 0;padding:12px 0 0;border:0;border-top:1px solid #699daa;border-radius:0;background:transparent;text-align:left;max-width:900px;overflow-wrap:anywhere}
#h2c-handoff[hidden],#h2c-handoff [hidden]{display:none!important}
#h2c-handoff h2{font:700 18px/1.3 system-ui,sans-serif;margin:0 0 8px;color:#fff}
#h2c-handoff p{font:13px/1.5 system-ui,sans-serif;margin:8px 0;color:#e2f0f4}
#h2c-estimate-preview,#h2c-handoff-retry{display:block;box-sizing:border-box;min-height:48px;width:100%;margin:8px 0;padding:12px;border:1px solid #c3e8ec;border-radius:8px;background:#fff;color:#07485c;text-align:center;font:700 15px/1.4 system-ui,sans-serif;text-decoration:none;cursor:pointer}
#h2c-estimate-preview{max-width:900px;margin:0 auto;scroll-margin-block:12px}
#h2c-estimate-preview[aria-disabled="true"]{background:#dae6e9;color:#344e59;border-color:#94b2bd;cursor:not-allowed}
#h2c-estimate-actions a:focus-visible,#h2c-handoff a:focus-visible,#h2c-handoff button:focus-visible{outline:3px solid #f2c96d;outline-offset:3px}
@media(max-width:600px){html.h2c-single-section #h2c-contact-entry{grid-template-columns:minmax(0,1fr)}#h2c-handoff h2{font-size:16px}}
/* Compact controls leave room for the avatar without a second scrolling area. */
html.h2c-single-section .captain-intro h1{font-size:18px!important;line-height:1.2!important}
html.h2c-single-section .captain-intro > p{font-size:13px;line-height:1.35;margin:4px 0}
html.h2c-single-section .captain-about summary{font-size:13px;padding:6px 10px}
html.h2c-single-section .voice-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px;width:100%;max-width:520px;margin:8px auto}
html.h2c-single-section .voice-controls button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:44px;height:auto;margin:0;padding:6px 8px;border-radius:8px;font:600 12px/1.2 system-ui,sans-serif;white-space:normal;overflow-wrap:normal}
html.h2c-single-section #h2c-contact-entry .captain-start{align-items:center;gap:8px}
html.h2c-single-section #h2c-contact-entry #h2c-entry-start,html.h2c-single-section #h2c-estimate-preview,html.h2c-single-section #h2c-handoff-retry{display:flex;align-items:center;justify-content:center;width:min(100%,240px);min-height:44px;height:auto;margin:0 auto;padding:7px 14px;border-radius:8px;font:700 14px/1.25 system-ui,sans-serif}
html.h2c-single-section #h2c-contact-entry.h2c-contact-accepted #h2c-entry-start{display:none!important}
html.h2c-single-section #h2c-estimate-actions p{max-width:340px;font-size:11px;line-height:1.35;margin-top:5px}
html.h2c-single-section #status{font-size:12px;line-height:1.35;margin:6px auto}
html.h2c-single-section #fallback{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;font-size:12px;line-height:1.3;padding:4px 6px;border-radius:6px}
html.h2c-single-section #open-transcript{min-height:44px;max-width:100%;font-size:12px;line-height:1.25;padding:6px 12px;border-radius:8px}
@media(max-height:500px){html.h2c-single-section main > .scene{height:clamp(180px,50vw,280px)}}
