/* Keep the human handover form inside the same floating widget surface. */
.doiteasy-chat .de-panel-position.de-handoff-open{height:min(580px,calc(100dvh - 184px));max-height:calc(100dvh - 184px)}
.doiteasy-chat .de-human-contact{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden;background:var(--chat-panel,#fff);color:var(--chat-text,#0f172a);border:1px solid var(--chat-line,#d9e2e6);border-radius:3px;box-shadow:0 8px 26px rgba(35,65,52,.12);font-family:inherit;text-align:left}
.doiteasy-chat .de-human-contact>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-shrink:0;padding:16px;border-bottom:1px solid var(--chat-line,#d9e2e6);background:var(--chat-panel,#fff);color:var(--chat-text,#0f172a)}
.doiteasy-chat .de-human-contact>header>div{min-width:0;flex:1}.doiteasy-chat .de-human-contact h2{font-size:18px;line-height:1.3;font-weight:650;margin:0 0 7px;color:inherit}.doiteasy-chat .de-human-contact header p{font-size:12px;line-height:1.5;margin:0;color:var(--chat-muted,#475569)}
.doiteasy-chat .de-human-contact .de-human-close{display:grid;place-items:center;width:30px;height:30px;min-width:30px;min-height:30px;flex-shrink:0;padding:0;font-size:24px;line-height:1;border:1px solid var(--chat-line,#cbd5da);border-radius:3px;background:transparent;color:inherit;cursor:pointer}
.doiteasy-chat .de-human-contact form{display:flex;flex:1;flex-direction:column;min-height:0;overflow-y:auto;overscroll-behavior:contain;gap:12px;padding:14px 16px;margin:0;scrollbar-width:thin}
.doiteasy-chat .de-human-contact label{display:grid;gap:5px;min-width:0;margin:0;font-size:12px;line-height:1.4;font-weight:600;color:var(--chat-text,#183c31)}
.doiteasy-chat .de-human-contact :is(input,select){display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:37px;padding:8px 10px;margin:0;background:var(--chat-panel,#fff);color:var(--chat-text,#183c31);border:1px solid #82949e;border-radius:3px;font:inherit;font-size:13px;font-weight:400;line-height:1.4;box-shadow:none}
.doiteasy-chat .de-human-contact select{cursor:pointer}.doiteasy-chat .de-human-contact small{display:block;font-size:11px;font-weight:400;line-height:1.5;color:var(--chat-muted,#475569);margin:0}
.doiteasy-chat .de-human-contact :is(.de-human-submit,.de-human-cancel){display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;min-height:37px;padding:8px 12px;margin:0;border-radius:3px;border:1px solid #829b90;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer}
.doiteasy-chat .de-human-contact .de-human-submit{background:color-mix(in srgb,var(--chat-primary,#087752) 84%,#000);color:#fff;border-color:transparent}
.doiteasy-chat .de-human-contact .de-human-cancel{background:var(--chat-panel,#fff);color:var(--chat-text,#183c31)}
.doiteasy-chat .de-human-contact .de-human-cancel:hover,.doiteasy-chat .de-human-contact .de-human-close:hover{background:var(--chat-soft,#f1f5f3)}
.doiteasy-chat .de-human-contact .de-human-error{margin:0;padding:8px 10px;border:1px solid #d99c95;border-radius:3px;background:#fff1ee;color:#922d29;font-size:12px;line-height:1.5}
.doiteasy-chat .de-human-contact :is(button,input,select):focus-visible{outline:2px solid var(--chat-primary,#087752);outline-offset:2px}
@media(max-width:480px){.doiteasy-chat .de-human-contact>header{padding:13px}.doiteasy-chat .de-human-contact form{padding:12px 13px;gap:10px}.doiteasy-chat .de-human-contact h2{font-size:17px}}

/* Compact conditional intake, no inner form scrollbar. */
.doiteasy-chat .de-panel-position.de-handoff-open{height:auto!important;max-height:none!important;bottom:84px!important;width:min(420px,calc(100vw - 24px))!important}
.doiteasy-chat .de-human-contact{height:auto;overflow:visible;border-radius:3px}
.doiteasy-chat .de-human-contact>header{padding:12px 14px;gap:8px}
.doiteasy-chat .de-human-contact h2{font-size:17px;margin:0 0 4px}
.doiteasy-chat .de-human-contact header p{font-size:11px;line-height:1.4}
.doiteasy-chat .de-human-contact form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;overflow:visible;padding:12px 14px;flex:none}
.doiteasy-chat .de-human-contact label{font-size:11px;gap:4px;line-height:1.3}
.doiteasy-chat .de-human-contact :is(input,select){height:34px;padding:5px 8px;font-size:12px}
.doiteasy-chat .de-human-contact .de-human-wide{grid-column:1/-1}
.doiteasy-chat .de-human-contact small{font-size:10px;line-height:1.35}
.doiteasy-chat .de-human-contact :is(.de-human-submit,.de-human-cancel){min-height:34px;padding:6px 8px;font-size:11px}
.doiteasy-chat .de-human-contact .de-human-error{font-size:11px;padding:6px 8px;line-height:1.3}
@media(max-height:560px){.doiteasy-chat .de-panel-position.de-handoff-open{bottom:12px!important}.doiteasy-chat .de-human-contact>header{padding:8px 12px}.doiteasy-chat .de-human-contact form{padding:8px 12px;gap:7px 10px}.doiteasy-chat .de-human-contact header p{display:none}}
