/* Customer support prototype. Every rule is scoped to .dncf-proto-widget. */
.dncf-proto-widget {
	--dncf-proto-blue: #0f4c9a;
	--dncf-proto-navy: #082b5d;
	--dncf-proto-orange: #ff3c20;
	--dncf-proto-orange-hover: #e7351d;
	--dncf-proto-line: #e4e7ec;
	--dncf-proto-muted: #667085;
	--dncf-launcher-panel-offset: calc(var(--dncf-launcher-height, 30px) + 13px);
	position: fixed;
	right: var(--dncf-widget-right, 22px);
	bottom: var(--dncf-widget-bottom, 22px);
	z-index: 99990;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #101828;
}
.dncf-proto-widget.is-embedded { position: relative; right: auto; bottom: auto; min-height: 690px; }
.dncf-proto-widget *, .dncf-proto-widget *::before, .dncf-proto-widget *::after { box-sizing: border-box; }
.dncf-proto-launcher { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 8px 14px 8px 9px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--dncf-proto-orange), #ff684f); box-shadow: 0 12px 30px rgba(169, 32, 17, .28); color: #fff; cursor: pointer; font: inherit; font-weight: 800; }
.dncf-proto-launcher-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 21px; }
.dncf-proto-launcher em { padding: 3px 6px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 8px; font-style: normal; letter-spacing: .08em; }
/* v2.1.6: launcher presentation only. Voice/chat/ticket behaviour remains unchanged. */
.dncf-proto-widget.is-launcher-compact-badge .dncf-proto-launcher {
	height: var(--dncf-launcher-height, 30px);
	min-height: var(--dncf-launcher-height, 30px);
	padding: 0 10px;
	gap: 6px;
	border: 1px solid rgba(15, 23, 42, .14);
	border-radius: 7px;
	background: linear-gradient(135deg, var(--dncf-proto-orange), #ff684f);
	box-shadow: 0 2px 8px rgba(2, 8, 23, .18);
	font-size: 12px;
	line-height: 1;
}
.dncf-proto-widget.is-launcher-compact-badge .dncf-proto-launcher-icon {
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: rgba(255,255,255,.16);
	font-size: 13px;
	line-height: 1;
}
.dncf-proto-widget.is-launcher-compact-badge .dncf-proto-launcher em { display: none; }
.dncf-proto-widget.is-launcher-square .dncf-proto-launcher {
	width: var(--dncf-launcher-height, 30px);
	height: var(--dncf-launcher-height, 30px);
	min-height: var(--dncf-launcher-height, 30px);
	padding: 0;
	border: 1px solid rgba(15, 23, 42, .14);
	border-radius: 7px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--dncf-proto-orange), #ff684f);
	box-shadow: 0 2px 8px rgba(2, 8, 23, .18);
}
.dncf-proto-widget.is-launcher-square .dncf-proto-launcher > span:not(.dncf-proto-launcher-icon),
.dncf-proto-widget.is-launcher-square .dncf-proto-launcher em { display: none; }
.dncf-proto-widget.is-launcher-square .dncf-proto-launcher-icon {
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	font-size: clamp(14px, calc(var(--dncf-launcher-height, 30px) * .5), 25px);
	line-height: 1;
}
.dncf-proto-widget.is-launcher-pill { --dncf-launcher-panel-offset: calc(max(44px, var(--dncf-launcher-height, 54px)) + 13px); }
.dncf-proto-widget.is-launcher-pill .dncf-proto-launcher { min-height: max(44px, var(--dncf-launcher-height, 54px)); }
.dncf-proto-widget:not(.is-embedded) .dncf-proto-launcher:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(2, 8, 23, .22); }
.dncf-proto-widget:not(.is-embedded) .dncf-proto-launcher:focus-visible { outline: 3px solid rgba(255,60,32,.32); outline-offset: 3px; }
.dncf-proto-panel { position: absolute; right: 0; bottom: var(--dncf-launcher-panel-offset, 43px); width: min(390px, calc(100vw - 28px)); max-height: min(720px, calc(100vh - 105px)); overflow: hidden auto; border: 1px solid #d9dee8; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(16, 24, 40, .25); }
.dncf-proto-widget.is-embedded .dncf-proto-panel { position: relative; right: auto; bottom: auto; margin: 0 auto; }
.dncf-proto-widget.is-embedded .dncf-proto-launcher { margin: 0 auto 12px; }
.dncf-proto-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; background: linear-gradient(130deg, var(--dncf-proto-navy), var(--dncf-proto-blue)); color: #fff; }
.dncf-proto-panel-header > div { display: flex; align-items: center; gap: 10px; }
.dncf-proto-panel-header > div > span:last-child { display: flex; flex-direction: column; }
.dncf-proto-panel-header strong { font-size: 14px; }
.dncf-proto-panel-header small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #cfddf3; font-size: 10px; }
.dncf-proto-panel-header small i { width: 7px; height: 7px; border-radius: 50%; background: #32d583; }
.dncf-proto-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 11px; background: rgba(255,255,255,.12); font-weight: 900; }
.dncf-proto-panel-header button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 26px; line-height: 1; }
.dncf-proto-disclosure { padding: 8px 13px; background: #fff4e8; border-bottom: 1px solid #fedf89; color: #7a2e0e; font-size: 10px; line-height: 1.4; }
.dncf-proto-disclosure.is-live { border-bottom-color: #a6e5c8; background: #ecfdf3; color: #05603a; }
.dncf-proto-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; border-bottom: 1px solid var(--dncf-proto-line); }
.dncf-proto-tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--dncf-proto-muted); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.dncf-proto-tabs button.is-active { border-bottom-color: var(--dncf-proto-orange); color: var(--dncf-proto-navy); }
.dncf-proto-tabs button em { padding: 2px 4px; border-radius: 999px; background: #dcfae6; color: #067647; font-size: 7px; font-style: normal; letter-spacing: .05em; }
.dncf-proto-channel { padding: 16px; }
.dncf-proto-welcome { text-align: center; }
.dncf-proto-welcome > span { font-size: 29px; }
.dncf-proto-welcome h3, .dncf-proto-call-hero h3, .dncf-proto-ticket-card h3 { margin: 5px 0; font-size: 17px; }
.dncf-proto-welcome p, .dncf-proto-call-hero p, .dncf-proto-ticket-card p { margin: 0; color: var(--dncf-proto-muted); font-size: 11px; line-height: 1.55; }
.dncf-proto-field { display: grid; gap: 5px; margin-top: 14px; color: #344054; font-size: 11px; font-weight: 700; }
.dncf-proto-field select, .dncf-proto-field input, .dncf-proto-field textarea { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: #101828; font: inherit; font-size: 11px; }
.dncf-proto-field textarea { resize: vertical; }
.dncf-proto-field input[readonly] { background: #f2f4f7; color: #475467; }
.dncf-proto-identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 9px; }
.dncf-proto-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.dncf-proto-start-chat { width: 100%; min-height: 42px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--dncf-proto-orange), #ff684f); color: #fff; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.dncf-proto-start-chat:hover, .dncf-proto-start-chat:focus { background: var(--dncf-proto-orange-hover); }
.dncf-proto-start-chat:disabled { cursor: wait; opacity: .65; }
.dncf-proto-chat-error { margin: 8px 0 0; padding: 8px; border-radius: 8px; background: #fff0ee; color: #b42318; font-size: 10px; line-height: 1.4; }
.dncf-proto-chat-state { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding: 9px 10px; border: 1px solid #abefc6; border-radius: 10px; background: #ecfdf3; color: #05603a; font-size: 9px; }
.dncf-proto-chat-state > span { display: flex; align-items: flex-start; gap: 6px; }
.dncf-proto-chat-state i { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 3px; border-radius: 50%; background: #12b76a; }
.dncf-proto-chat-state small { color: #087a55; text-align: right; }
.dncf-proto-chat-thread time { display: block; margin-top: 3px; color: #98a2b3; font-size: 8px; }
.dncf-proto-chat-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; color: var(--dncf-proto-muted); font-size: 9px; }
.dncf-proto-chat-footer button { border: 0; background: transparent; color: #b42318; cursor: pointer; font: inherit; font-size: 9px; font-weight: 700; }
.dncf-proto-message-box button:disabled, .dncf-proto-chat-footer button:disabled { cursor: not-allowed; opacity: .45; }
.dncf-proto-chat-thread { min-height: 110px; max-height: 175px; margin-top: 12px; padding: 11px; overflow-y: auto; border-radius: 12px; background: #f5f7fb; }
.dncf-proto-chat-thread article { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 8px; }
.dncf-proto-chat-thread article.is-customer { flex-direction: row-reverse; }
.dncf-proto-chat-thread article > span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; background: #dbe7ff; color: var(--dncf-proto-blue); font-size: 8px; font-weight: 900; }
.dncf-proto-chat-thread article p { max-width: 78%; margin: 0; padding: 8px 9px; border: 1px solid #e4e7ec; border-radius: 4px 11px 11px; background: #fff; color: #344054; font-size: 10px; line-height: 1.45; }
.dncf-proto-chat-thread article.is-customer p { border-color: #d7e4ff; border-radius: 11px 4px 11px 11px; background: #edf3ff; }
.dncf-proto-chat-thread .dncf-chat-receipt { display: block; min-height: 13px; margin-top: 3px; color: #667085; font-size: 10px; font-weight: 800; line-height: 1; text-align: right; }
.dncf-proto-chat-thread .dncf-chat-receipt-marks { display: inline; width: auto; height: auto; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: -2px; }
.dncf-proto-chat-thread .dncf-chat-receipt[data-state="read"] { color: var(--dncf-proto-orange); }
.dncf-proto-chat-thread .dncf-chat-receipt[data-state="failed"] { color: #b42318; }
.dncf-proto-typing { min-height: 18px; margin: 4px 11px 2px; color: #475467; font-size: 9px; font-weight: 700; line-height: 18px; opacity: 0; transition: opacity .15s ease; }
.dncf-proto-typing.is-visible { opacity: 1; }
.dncf-chat-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.dncf-proto-consent { display: flex; align-items: flex-start; gap: 7px; margin: 11px 0 8px; color: var(--dncf-proto-muted); font-size: 9px; line-height: 1.35; }
.dncf-proto-consent input { margin: 1px 0 0; }
.dncf-proto-message-box { display: grid; grid-template-columns: 1fr 40px; gap: 7px; }
.dncf-proto-message-box textarea { width: 100%; resize: none; border: 1px solid #d0d5dd; border-radius: 10px; padding: 8px; font: inherit; font-size: 11px; }
.dncf-proto-message-box button { border: 0; border-radius: 10px; background: var(--dncf-proto-orange); color: #fff; cursor: pointer; font-size: 17px; }
.dncf-proto-message-box button:not(:disabled):hover, .dncf-proto-message-box button:not(:disabled):focus { background: var(--dncf-proto-orange-hover); }
.dncf-proto-call-hero { display: flex; align-items: center; flex-direction: column; text-align: center; }
.dncf-proto-call-ring { display: grid; place-items: center; width: 72px; height: 72px; margin: 8px 0; border-radius: 50%; background: #edf3ff; color: var(--dncf-proto-blue); font-size: 30px; }
.dncf-proto-call-ring.is-active { animation: dncf-proto-pulse 1.5s infinite; background: #eafaf3; color: #087a55; }
.dncf-proto-call-hero strong { margin-top: 14px; font-size: 12px; }
.dncf-proto-call-hero time { margin: 4px 0 15px; color: var(--dncf-proto-muted); font-size: 22px; font-variant-numeric: tabular-nums; }
.dncf-proto-call-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.dncf-proto-call-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; border-radius: 10px; background: var(--dncf-proto-orange); color: #fff; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.dncf-proto-call-actions button:not(:disabled):not(.is-danger):hover, .dncf-proto-call-actions button:not(:disabled):not(.is-danger):focus { background: var(--dncf-proto-orange-hover); }
.dncf-proto-call-actions button.is-danger { width: 76px; background: #d92d20; }
.dncf-proto-call-actions button:disabled { cursor: not-allowed; opacity: .45; }
.dncf-proto-emergency-note { margin: 10px 0 0; padding: 9px 10px; border: 1px solid #fedf89; border-radius: 9px; background: #fffaeb; color: #7a2e0e; font-size: 10px; line-height: 1.45; }
.dncf-proto-ivr-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; padding: 12px; border-radius: 11px; background: #f7f9fc; font-size: 10px; }
.dncf-proto-ivr-preview strong { grid-column: 1 / -1; }
.dncf-proto-ticket-card { padding: 18px; border: 1px solid #d9e8df; border-radius: 13px; background: #f2fbf6; text-align: center; }
.dncf-proto-ticket-card > span { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto; border-radius: 50%; background: #d1fadf; color: #087a55; font-size: 20px; }
.dncf-proto-ticket-card a { display: inline-flex; margin-top: 12px; color: var(--dncf-proto-blue); font-size: 11px; font-weight: 800; text-decoration: none; }
.dncf-proto-ticket-features { display: grid; gap: 7px; margin: 14px 0 0; padding: 0; color: #344054; font-size: 10px; list-style: none; }
@keyframes dncf-proto-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(8,122,85,.22); } 50% { box-shadow: 0 0 0 13px rgba(8,122,85,0); } }
@media (max-width: 600px) { .dncf-proto-widget { right: min(var(--dncf-widget-right, 14px), 24px); bottom: min(var(--dncf-widget-bottom, 14px), 24px); } .dncf-proto-panel { bottom: var(--dncf-launcher-panel-offset, 43px); max-height: calc(100vh - 95px); } .dncf-proto-widget.is-launcher-pill .dncf-proto-launcher > span:not(.dncf-proto-launcher-icon) { display: none; } .dncf-proto-identity-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dncf-proto-call-ring.is-active { animation: none; } .dncf-proto-typing { transition: none; } }

/* Digitnet company-colour controls — scoped to the customer support widget. */
.dncf-proto-widget input[type="checkbox"],
.dncf-proto-widget input[type="radio"],
.dncf-proto-widget input[type="range"],
.dncf-proto-widget progress {
	accent-color: var(--dncf-proto-orange);
}
.dncf-proto-widget progress {
	overflow: hidden;
	border: 0;
	border-radius: 999px;
	background: #eef1f5;
}
.dncf-proto-widget progress::-webkit-progress-bar { background: #eef1f5; }
.dncf-proto-widget progress::-webkit-progress-value { background: var(--dncf-proto-orange); }
.dncf-proto-widget progress::-moz-progress-bar { background: var(--dncf-proto-orange); }

/* v1.7.0 authoritative customer-call context. */
.dncf-proto-call-context { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: -4px 0 12px; padding: 10px; border: 1px solid #e4e7ec; border-radius: 12px; background: #f8fafc; }
.dncf-proto-call-context[hidden] { display: none !important; }
.dncf-proto-call-context span { min-width: 0; }
.dncf-proto-call-context small { display: block; margin-bottom: 3px; color: var(--dncf-proto-muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dncf-proto-call-context strong { display: block; overflow: hidden; color: #101828; font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 390px) { .dncf-proto-call-context { grid-template-columns: 1fr; } }

/* v1.7.1 public Contact-page support panel. */
.dncf-proto-widget.is-customer-support {
	width: 100%;
	min-height: 0;
	margin: 28px 0;
}
.dncf-proto-widget.is-customer-support .dncf-proto-launcher { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dncf-proto-widget.is-customer-support .dncf-proto-panel { width: min(920px, 100%); max-height: none; overflow: visible; border-radius: 18px; box-shadow: 0 18px 45px rgba(16,24,40,.12); }
.dncf-proto-widget.is-customer-support [data-dncf-widget-close] { display: none; }
.dncf-proto-widget.is-customer-support .dncf-proto-channel { min-height: 310px; padding: 22px; }
.dncf-proto-widget.is-customer-support .dncf-proto-tabs button:disabled { cursor: not-allowed; opacity: .45; }
.dncf-proto-widget .dncf-proto-unavailable { display: grid; place-items: center; min-height: 240px; padding: 28px; border: 1px dashed #d0d5dd; border-radius: 14px; background: #f8fafc; text-align: center; }
.dncf-proto-widget .dncf-proto-unavailable-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #edf3ff; color: var(--dncf-proto-blue); }
.dncf-proto-widget .dncf-proto-unavailable-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dncf-proto-widget .dncf-proto-unavailable h3 { margin: 12px 0 6px; font-size: 18px; }
.dncf-proto-widget .dncf-proto-unavailable p { max-width: 520px; margin: 0; color: var(--dncf-proto-muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 600px) {
	.dncf-proto-widget.is-customer-support { right: auto; bottom: auto; margin: 20px 0; }
	.dncf-proto-widget.is-customer-support .dncf-proto-panel { max-height: none; }
	.dncf-proto-widget.is-customer-support .dncf-proto-channel { min-height: 0; padding: 16px; }
}

/* v1.7.2 fail-safe embedded panel and live WebRTC IVR controls. */
.dncf-proto-widget.is-embedded { min-height: 0; width: 100%; }
.dncf-proto-widget.is-embedded > .dncf-proto-launcher { display: none; }
.dncf-proto-widget.is-embedded > .dncf-proto-panel { display: block; width: min(100%, 760px); max-height: none; overflow: visible; }
.dncf-proto-ivr-controls { margin: 12px 0; padding: 12px; border: 1px solid #d7e4ff; border-radius: 12px; background: #f7f9ff; }
.dncf-proto-ivr-controls > strong { display: block; margin-bottom: 8px; color: var(--dncf-proto-navy); font-size: 11px; }
.dncf-proto-ivr-controls > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.dncf-proto-ivr-controls button { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 9px; border: 1px solid #c9d8f2; border-radius: 10px; background: #fff; color: #183b6b; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; text-align: left; }
.dncf-proto-ivr-controls button b { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 8px; background: var(--dncf-proto-orange); color: #fff; font-size: 12px; }
.dncf-proto-ivr-controls button:not(:disabled):hover,
.dncf-proto-ivr-controls button:not(:disabled):focus { border-color: var(--dncf-proto-orange); box-shadow: 0 0 0 2px rgba(255,60,32,.12); }
.dncf-proto-ivr-controls button:disabled { cursor: not-allowed; opacity: .48; }
.dncf-proto-ivr-controls button.is-selected { border-color: #12b76a; background: #ecfdf3; color: #05603a; }
.dncf-proto-ivr-controls > small { display: block; margin-top: 8px; color: var(--dncf-proto-muted); font-size: 9px; line-height: 1.4; }
@media (max-width: 480px) {
	.dncf-proto-ivr-controls > div { grid-template-columns: 1fr; }
}

/* v1.7.5 customer-call acceptance checkpoints. */
.dncf-proto-call-trace { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin: 12px 0; padding: 0; list-style: none; }
.dncf-proto-call-trace li { display: flex; align-items: flex-start; gap: 7px; min-width: 0; padding: 8px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; }
.dncf-proto-call-trace li > span { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #f2f4f7; color: #667085; font-size: 9px; font-weight: 900; }
.dncf-proto-call-trace li div { min-width: 0; }
.dncf-proto-call-trace strong,.dncf-proto-call-trace small { display: block; overflow-wrap: anywhere; }
.dncf-proto-call-trace strong { color: #344054; font-size: 9px; line-height: 1.25; }
.dncf-proto-call-trace small { margin-top: 2px; color: #667085; font-size: 8px; line-height: 1.3; }
.dncf-proto-call-trace li.is-pending { border-color: #fedf89; background: #fffaeb; }
.dncf-proto-call-trace li.is-pending > span { background: #f79009; color: #fff; }
.dncf-proto-call-trace li.is-pass { border-color: #abefc6; background: #ecfdf3; }
.dncf-proto-call-trace li.is-pass > span { background: #079455; color: #fff; }
.dncf-proto-call-trace li.is-fail { border-color: #fecdca; background: #fef3f2; }
.dncf-proto-call-trace li.is-fail > span { background: #d92d20; color: #fff; }
@media (max-width: 520px) { .dncf-proto-call-trace { grid-template-columns: repeat(2,minmax(0,1fr)); } }
