/* NI Office v3.0.36 – high-contrast handover header and CVR customer details */
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-header,
.tke-v333-handover-modal .tke-service-handover-head.tke-v333-header {background:#17102f!important;color:#fff!important;opacity:1!important}
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-header h2,
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-header p,
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-header .tke-eyebrow{color:#fff!important;opacity:1!important;text-shadow:none!important}
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-header .tke-eyebrow{font-size:11px!important;letter-spacing:1.1px!important;color:#eee5ff!important}
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-header p{color:#eee8fa!important;line-height:1.5!important}
.tke-v333-handover-modal .tke-customer-info-dialog{width:min(680px,96%);max-height:min(85dvh,820px);display:flex;flex-direction:column}
.tke-v333-handover-modal .tke-customer-info-grid{overflow-y:auto;min-height:0;flex:1 1 auto;align-content:start}
.tke-v333-handover-modal .tke-customer-info-grid.tke-v336-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:18px 22px}
.tke-v333-handover-modal .tke-v336-customer-grid .tke-v336-cvr-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.tke-v333-handover-modal .tke-v336-customer-grid .tke-v336-cvr-row label{grid-column:auto}
.tke-v333-handover-modal .tke-v336-customer-grid label{min-width:0!important;grid-column:auto!important;color:#1b1835!important}
.tke-v333-handover-modal .tke-v336-customer-grid .tke-v336-wide{grid-column:1/-1!important}
.tke-v333-handover-modal .tke-v336-customer-grid input{width:100%;border:1px solid #d9d5e8;border-radius:9px;padding:11px 12px;min-height:42px;color:#1d1736;background:#fff}
.tke-v333-handover-modal .tke-v336-customer-grid input:focus{border-color:#7b2ae9;outline:2px solid #7b2ae933}
.tke-v333-handover-modal .tke-v336-cvr-button{white-space:nowrap;min-height:42px;padding:10px 16px!important;color:white!important;background:linear-gradient(110deg,#742be6,#bd35d8)!important;border:0!important;border-radius:9px!important;cursor:pointer;font-weight:800}
.tke-v333-handover-modal .tke-v336-cvr-button:disabled{opacity:.6;cursor:wait}
.tke-v333-handover-modal .tke-v336-cvr-status{grid-column:1/-1;font-size:12px;line-height:1.4;margin:-2px 0 2px;color:#62587a}
.tke-v333-handover-modal .tke-v336-cvr-status.is-error{color:#a92032!important;font-weight:700}
.tke-v333-handover-modal .tke-v336-cvr-status.is-success{color:#3f4163}
@media(max-width:650px){.tke-v333-handover-modal .tke-customer-info-grid.tke-v336-customer-grid{grid-template-columns:1fr;padding:14px}.tke-v333-handover-modal .tke-v336-customer-grid .tke-v336-cvr-row{grid-template-columns:1fr}.tke-v333-handover-modal .tke-v336-cvr-button{width:100%}.tke-v333-handover-modal .tke-customer-info-dialog{max-height:94dvh;width:min(98%,680px)}}

/* Build 33: override legacy global text-fill rules on dark surfaces. */
.tke-app-root .tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header,
.tke-app-root .tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header h2,
.tke-app-root .tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header p,
.tke-app-root .tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header .tke-eyebrow,
.tke-app-root .tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header .tke-v333-close,
.tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header h2,
.tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header p,
.tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header .tke-eyebrow,
.tke-v333-handover-modal .tke-v333-dialog .tke-service-handover-head.tke-v333-header .tke-v333-close{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
.tke-app-root .tke-v333-handover-modal .tke-v333-dialog .tke-v333-actions button.tke-btn.tke-btn-service,
.tke-v333-handover-modal .tke-v333-dialog .tke-v333-actions button.tke-btn.tke-btn-service,
.tke-app-root .tke-v224-handover-banner.is-sent a.tke-v224-handover-btn,
.tke-app-root .tke-v224-handover-banner.is-sent a.tke-v224-handover-btn span,
.tke-app-root .tke-v224-handover-banner.is-ready button.tke-v224-handover-btn:not(:disabled),
.tke-app-root .tke-v224-handover-banner.is-ready button.tke-v224-handover-btn:not(:disabled) span,
.tke-app-root .tke-page .tke-table a.tke-btn.secondary.ni333-open-handover,
.tke-app-root .tke-page .tke-table a.tke-btn.secondary.ni333-open-handover:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Explicit class also covers Service's standalone portal shell. */
.tke-page .tke-table a.tke-btn.secondary.ni333-open-handover,
.tke-page .tke-table a.tke-btn.secondary.ni333-open-handover:hover,
.tke-page .tke-table a.tke-btn.secondary.ni333-open-handover:focus-visible{color:#fff!important;-webkit-text-fill-color:#fff!important}
.tke-v224-handover-banner.is-sent a.tke-v224-handover-btn,
.tke-v224-handover-banner.is-sent a.tke-v224-handover-btn span{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Build 34: Service notification status and independently confirmed resend. */
.ni334-mail-card{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border:1px solid #e4d8f6;background:#fff;border-radius:12px;padding:13px 16px;margin:12px 0;color:#17102f}
.ni334-mail-card>div{display:grid;gap:4px;flex:1;min-width:190px;overflow-wrap:anywhere}.ni334-mail-card small{font-size:12px;color:#625b72}.ni334-mail-card form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ni334-mail-card label{font-size:12px}.ni334-mail-card input[type=checkbox]{width:auto!important}.tke-app-root .ni334-mail-card .tke-btn.tke-btn-primary,.ni334-mail-card .tke-btn.tke-btn-primary{color:#fff!important;-webkit-text-fill-color:#fff!important}.ni334-reload{flex:1 0 100%;font-size:12px}

/* Build 35: discrete destructive document actions, retain original file. */
.ni335-remove-file{display:inline-flex!important;margin:0!important;padding:0!important;align-items:center;width:auto!important}.tke-app-root .ni335-remove-file .ni335-remove-btn,.ni335-remove-file .ni335-remove-btn{color:#b91c1c!important;-webkit-text-fill-color:#b91c1c!important;background:#fff!important;border:1px solid #e8b6b6!important;min-height:32px;font-size:11px!important;white-space:nowrap}.ni335-file-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ni335-scan-launch{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ni335-scan-launch form{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ni335-scan-launch label{font-size:11px;display:grid;gap:3px}.ni335-scan-launch input{max-width:180px}.ni335-scan-launch .tke-btn-primary{color:#fff!important;-webkit-text-fill-color:#fff!important}
