@charset "utf-8";

/************************************************************************************
*							REPORT - HEADER - INNER									*
*************************************************************************************/
#headers_wrapper {
	background-color: var(--lnb-white-color);
	border: 1px solid var(--lnb-blue-color);
	border-radius:
			var(--lnb-xxlight-border-radius)
			var(--lnb-xxlight-border-radius)
			var(--lnb-light-border-radius)
			var(--lnb-light-border-radius);
}
#change-report-btn {
	height: calc(1rem + 2 * 8px + 2 * 2px); /*font size + padding + border*/
}
#change-report-btn:hover {
	scale: 1.05;
}
#change-report-btn img {
	max-height: 100%; /* Prevents image from exceeding its container */
	width: auto;    /* Maintains aspect ratio */
	display: block;  /* Removes inline block behavior */
	object-fit: cover; /* Ensures it covers available space if needed */
	border-radius: var(--lnb-light-border-radius);
}
#report_header {
	background-color: var(--lnb-blue-color);
	border-color: var(--lnb-blue-color);
	color: var(--lnb-light-font-color);
	margin: 0;
	padding: 0.5rem 0;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-width: 1px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
@media only screen and (max-width: 40em) {
	#report_header {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	#report-header-title {
		order: 1;
		flex: 1 1 100%;
	}
	#report-header-left-btn, #report-header-right-btn {
		flex: 1 0 45%;
	}
}
#report_header .report-header-btn, .lb-menubar-menu-icon {
	background-color: var(--lnb-white-color);
	color: var(--lnb-blue-color);
	border-radius: var(--lnb-light-border-radius);
	border: 2px solid var(--lnb-white-color);
	padding: 8px 0;
	min-width: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
#report_header .report-header-btn-active {
	background-color: var(--lnb-orange-color);
	color: var(--lnb-white-color);
}
#report_header .report-header-btn:hover,
.lb-menubar-menu:hover .lb-menubar-menu-icon,
.lb-menubar-menu.touched .lb-menubar-menu-icon  {
	color: var(--lnb-white-color);
	background-color: var(--lnb-blue-color);
}
#report_header #lb_menubar_print {
	cursor: pointer;
}
#report_header #lb_mission_name,
#report_header #report-header-title {
	text-align: center;
}
#report_header #report-header-title {
	margin: 0 1rem;
	font-size: 1.3rem;
	font-weight: 600;
}
#report_header #lb_mission_name {
	margin-left: 15px;
	font-weight: 400;
}

/************************************************************************************
*							REPORT - SUB HEADER - INNER								*
*************************************************************************************/
#report_sub_header {
	background-color: var(--lnb-blue-color-20);
	border-color: var(--lnb-blue-color);
	color: var(--lnb-default-font-color);
	margin: 0;
	padding: 7px 30px;
	border-radius: var(--lnb-light-border-radius);
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	border-width: 1px;
	font-size: 12px;
	line-height: 18px;
}

/************************************************************************************
*							REPORT - SUB MENU - INNER								*
*************************************************************************************/
#report-header-left-btn, #report-header-right-btn {
	flex-shrink: 0;
	position: relative;
	gap: 10px;
}
#report-header-left-btn {
	padding-left: 1.5rem;
}
#report-header-right-btn {
	padding-right: 1.5rem;
}
.lb-menubar-menu {
	position: relative;
}
.lb-menubar-menu:hover .lb-menubar-submenu,
.lb-menubar-menu.touched .lb-menubar-submenu{
	display: block;
}
.lb-menubar-submenu {
	display:none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 200;
	color: var(--lnb-default-font-color);
	background-color: white;
	border-top: 0.5rem solid var(--lnb-blue-color);
	border-right: 1px solid var(--lnb-blue-color);
	border-left: 1px solid var(--lnb-blue-color);
	border-bottom: 1px solid var(--lnb-blue-color);
	border-bottom-left-radius: var(--lnb-light-border-radius);
	border-bottom-right-radius: var(--lnb-light-border-radius);
}
.lb-menubar-submenu .lb-a:last-child .lb-menubar-submenu-item {
	border-bottom-left-radius: var(--lnb-light-border-radius);
	border-bottom-right-radius: var(--lnb-light-border-radius);
}
.lb-menubar-submenu-item {
	padding: 0.3rem;
	display: flex;
	align-items: center;
	transition: background-color 0.3s;
	gap: 0.8rem;
	min-width: 200px;
}
.lb-menubar-submenu-item:hover {
	background-color: var(--lnb-blue-color-20);
}
.lb-menubar-submenu-icon {
	min-width: 1.5rem;
	font-size: 1.2rem;
	text-align: center;
}
.lb-menubar-submenu-text {
	text-align: left;
}

/**************************************************************************************************
                          Report
****************************************************************************************************/

#maincontent {
	min-height: calc(100vh - 52px);
}

.fa-layers-counter {
	background-color: var(--lnb-orange-color);
	font-style: normal;
}
#page-alerts {
	position: fixed;
	top : 90px;
	max-width: 1420px;
}
#lb_main_container {
	width: 100%;
	max-width: 1400px;
	padding-bottom: 100px;
}
#lb_report_container {
	margin: 0;
	padding: 0;
	background-color: var(--lnb-white-color);
	border-color: var(--lnb-white-color);
	color: var(--lnb-default-font-color);
}
#lb_report {
	width: 100%;
}

/* report part header no edition */
.lb_part_title_actions {
	background-color: var(--lnb-light-font-color);
	color: var(--lnb-default-font-color);
	font-size: 1.1rem;
	border-radius: var(--lnb-light-border-radius);
	padding: 7px 20px;
	border: 1px solid var(--lnb-grey-color);
	display: flex;
	gap: 0.5rem;
	align-items: baseline;
	margin-bottom: 2px;
}

.lb_part_title_actions .rp_icon .lb_show_assignment {
	display: flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0 12px;
	font-size: 0.9rem;
	color: var(--lnb-charcoal-grey-color);
}
.lb_part_title_actions .rp_icon .lb_show_assignment i {
	font-size: 1.2rem;
}
.lb_part_title_actions .rp_icon .lb_show_assignment i.fa-toggle-on {
	color: var(--lnb-blue-color);
}
.lb_part_title_actions .rp_icon .lb_show_assignment i.fa-toggle-off {
	color: var(--lnb-strong-grey-color);
}
.lb_part_title_actions .rp_icon {
	margin-left: auto;
	cursor: pointer;
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: end;
	padding-top: 2px;
}
.lb_part_title_actions .rp_icon .ld_import_icon {
	display: flex;
	position: relative;
}

/* report part header edition */
.lb_part_title_actions_edition {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lb_part_title_actions_edition .lb_part_title {
	width: 100%;
}
.lb_part_title_actions_edition .rp_edit_title {
	display: flex;
	gap: 5px;
	flex-grow: 1;
}
.lb_part_title_actions_edition .rp_input_title {
	flex-grow: 1;
}
.lb_part_title_actions_edition .rp_icon {
	margin: 0;
}


/**************************************************************************************************
                          RP
****************************************************************************************************/
.lb_report_part { 
	margin-top: 2px; 
	transition: opacity 0.5s linear;
}
.lb-report-part-handle {
	cursor: move;
}

.lnb-add-ld-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
}

.lnb-add-ld-btn.rp-add-ld-active {
	border-bottom: 2px solid var(--lnb-orange-color);
}


/*elements related to assignments*/
.lb_assignment {
	font-family: var(--lnb-font-text);
	font-size: 9pt;
	background-color: var(--lnb-blue-color-20);
	border: 1px solid var(--lnb-grey-color);
	border-radius: var(--lnb-light-border-radius);
}
.labdoc-assignment__content-wrapper, .lb_assignment__content { padding: 4px 10px 4px 13px; }
.lb_assignment p { margin: 7px 0; }
.lb_div_assignment { margin-bottom: 25px; }
.labdoc_assignment { margin: 0 20px 5px 15px;}
.labdoc_assignment__ro-edited { cursor: pointer; }
.labdoc_assignment__ro-edited, .lb_assignment__not-edited { overflow: auto; max-height: 152px; }
.lb_div_assignment, .labdoc_assignment { box-sizing: border-box;  }
.lb_div_assignment .ui-resizable-handle, .labdoc_assignment .ui-resizable-handle { 
	bottom: 0 !important;
	position: sticky !important;
	cursor: ns-resize !important;
	height: 5px;
}

.lb_div_assignment .ui-resizable-handle:hover, .labdoc_assignment .ui-resizable-handle:hover {
	background: #ddd;
}

.lb_assignment_close {
	color: #666;
	font-size: 16px;
	cursor: pointer;
	position: sticky;
	left: 98%;
	top: 7px;
	float: right;
	margin: 0 0 5px 10px;
	border: none;
	background: none;
}
.fa-layers{
	display: inline;
	cursor: pointer;
}


/**************************************************************************************************
                          LD
****************************************************************************************************/

.ld_name_actions {
	width: 100%;
	font-size: 14px;
	padding-bottom: 5px;
	padding-right: 10px;
	color: var(--lnb-charcoal-grey-color);
	line-height: 16px;
}

.ld_name_actions_header {
	display:flex;
	gap: 10px;
	align-items: baseline;
	padding-right: 5px;
}

.ld_name_actions .ld-diff-menu {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ld_name_actions .ld-diff-menu .ld-diff-date {
	margin-left: 5px;
}
.ld_name_actions .ld-diff-menu select {
	padding-left: 3px;
}

.ld_name_actions .ld-diff-menu .ld-diff-date {
	font-size: 12px;
	color: grey;
}
.ld_icon_name {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.ld_icon_name.edition {
	width: 95%;
}
.ld_icon_name img { 
	vertical-align: middle; 
}

/*add icon of a labdoc*/
.ld_draft {
	background-color: #f9fcc3;
}

.ui-state-default.labdoc_name{ cursor:move; }
td.ui-state-default{ background : none; border:none; font-weight: bold; color: #00C; }
.labdoc{ margin-bottom: 25px; }

.lb_show_hide_ld { width: 12px; text-align: center; cursor: pointer; }
.ld-draggable { cursor : move; }
.ld_icon_name .annotator-wrapper {
	display: inline-block;
}
.labdoc_name { font-size: 14px; }
.editable_ld_name {
	width: 100%;
	padding: 2px 8px;
	font-size: 13px;
	border: 1px solid darkgray;
	border-radius: var(--lnb-light-border-radius);
	margin: 0;
}
.editable_ld_name:hover {
	border: 1px solid var(--lnb-orange-color);
}
.editable_ld_name:focus {
	border: 1px solid var(--lnb-orange-color);
	outline: none;
}
.empty-name {
	color: #8C0000;
}
.labdoc_draft {
	padding-left: 8px;
	font-size: 12px;
}

.labdoc-shared.is-highlighted {
 	border: 2px dashed var(--lnb-strong-orange-color);
}
.labdoc-shared.is-highlighted + .labdoc-shared.is-highlighted { 
	transform: translateY(-2px);
}

.labdoc-student-permission {
	margin: 10px 0;
	padding-left: 10px;
}

.labdoc-broadcast-wrapper {
	background: var(--lnb-light-grey-color);
	padding: 1rem;
	margin-bottom: 1rem;
	display: flex;
	gap: 1rem;
	flex-direction: column;
}

.labdoc-broadcast-wrapper .labdoc-broadcast-line
{
	display: flex;
	gap: 1rem;
	align-items: baseline;
	width: 100%;
}
.labdoc-broadcast-wrapper .labdoc-broadcast-line-label {
	font-weight: 600;
	width: 13rem;
	text-align: right;
	flex-shrink: 0;
}
.labdoc-broadcast-wrapper .labdoc-broadcast-line .textarea-wrapper{
	flex-grow: 1;
	background: var(--lnb-white-color);
	padding: 2px;
	font-family: var(--lnb-font-text);
}
.labdoc-broadcast-wrapper .labdoc-broadcast-classes-wrapper {
	background: var(--lnb-white-color);
	padding: 0.5rem;
}
.labdoc-broadcast-wrapper .labdoc-broadcast-classes-title {
	font-weight: 600;
	margin-bottom: 0.5rem;
}
.labdoc-broadcast-wrapper .labdoc-broadcast-classes-item {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}
.labdoc-broadcast-wrapper .labdoc-broadcast-classes {
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}

.part_content { margin-top: 20px; }
.part_content > ul { padding-left: 0; min-height: 5px; }
.labdoc_content { margin-left: 15px; padding-bottom: 5px; font-size: 13px; font-family: var(--lnb-font-text); }
.labdoc_content.ld_drawing, .labdoc_content.ld_text { overflow-x: auto; }
.edited_labdoc_content{ margin-bottom: 16px; font-size: 12px; padding: 5px; font-family: var(--lnb-font-text);}
.edited_labdoc_content.labdoc-content-in-validation { pointer-events: none; opacity: 0.5; }
.edited_ld_procedure { border: 1px solid var(--lnb-grey-color); padding: 5px; }
table.labdoc_content{ font-size: 11px; border-collapse: collapse; }
.lb-ld-button { cursor: pointer; font-size: 16px;}

.comment_icon i.far {
	color: var(--lnb-green-color);
	font-size: 16px;
}

.lnb-ld-validate i {
	font-size: 16px;
}

/************************************************************************************
*								LD DROPDOWN MENU									*
*************************************************************************************/
.lb_ld_menu_btn {
	position: relative;
}
.lb_ld_menu_btn .lb-ld-menu-icon {
	padding: 0 15px 0 5px;
	font-size: 15px;
}
.lb_ld_menu_btn:hover .lb_ld_menu,
.lb_ld_menu_btn.touched .lb_ld_menu{
	display: block;
}
.lb_ld_menu {
	display: none;
	position : absolute;
	top: 0;
	background-color: var(--lnb-white-color);
	border: 1px solid var(--lnb-light-grey-color);
	border-radius: 4px;
	border-collapse: collapse;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	font-size: 13px;
	z-index: 90;
	overflow: hidden;
}
.lb_ld_menu.left-aligned {
	right: 0;
}
.lb_ld_menu:hover {
	display: block;
}
.lb_ld_menu tr {
	cursor: pointer;
}
.lb_ld_menu tr:hover {
	background-color: var(--lnb-light-grey-color);
}
.lb_ld_menu tr td {
	padding: 3px 7px;
}
.lb_ld_menu i {
	color: #666;
	font-size: 1.1rem;
}

.lnb_undoredo { display: flex; gap: 5px; align-items: center; flex-wrap: nowrap; }
.lnb_undoredo .lnb-icon-btn { color: var(--lnb-charcoal-grey-color); }
.lnb_undoredo .lnb-icon-btn.disabled { color: var(--lnb-light-grey-color); cursor: default; }

.edited_ld_text { height: 470px; }
.mce-content-body p { margin: 6px 0; }

/************************************************************************************
*								LD PASTILLE											*
*************************************************************************************/
.icon-with-badge {
	position: relative;
}

.badge {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 16px;
	height: 16px;
	background-color: var(--lnb-orange-color);
	color: var(--lnb-white-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px; /* Ajustez la taille de la police si nécessaire */
	font-weight: normal;
}
.ld_name_actions .badge i {
	color: var(--lnb-white-color) !important;
	font-size: 8px; /* Ajustez la taille de la police si nécessaire */
}
#widgets_column .badge {
	top: -4px;
	right: 2px;
}
#widgets_column.reduced .badge {
	top: -4px;
	right: -8px;
}

/************************************************************************************
*								WIDGETS										*
*************************************************************************************/

:root {
	--lnb-widget-column-border-color : var(--lnb-green-color-70);
	--lnb-widget-column-border-width : 1px;
}
.annotator-wrapper {
	white-space: normal;
}

/************************************************************************************
*								RESPONSIVE											*
*************************************************************************************
 *
 * Flexbox Grid: 
 * 	xs : Extra small (mobile phone)
 * 	sm : Small (tablet) / Min-width: 48em (768px)
 * 	md : Medium (little labtop) / Min-width: 64em (1024px)
 * 	lg : Large (labtop) / Min-width: 75em (1200px)
 * 	xl : Extra large (large screen labtop) / Min-width: 90em (1440px)
 **/

@media (max-width: 768px) {
	.lb_report_part {
		padding-left: 0;
	}
	.lb_part_title_actions {
		padding: 5px;
	}
	.lb_report_part:nth-child(1), 
	.lb_report_part:nth-child(2) {
		 margin-top: 0;
	 }
}

#report-affect-survey-widget [x-cloak] {
	display: none !important;
}
#report-end-task-affect-survey-widget [x-cloak] {
	display: none !important;
}

/* Affect survey — scoped adaptation of FGAI_Exp01-Maquette_fullscreen. */
#report-affect-survey-widget, #report-affect-survey-widget * {
	box-sizing: border-box;
}
#report-affect-survey-widget button {
	font-family: var(--lnb-font-text);
	cursor: pointer;
}
#report-affect-survey-widget button:focus-visible,
#report-affect-survey-widget textarea:focus-visible {
	outline: 2px solid #545966;
	outline-offset: 3px;
}
#report-affect-survey {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(460px, calc(100vw - 40px));
	max-width: none;
	max-height: calc(100vh - 40px);
	padding: 32px 28px 28px;
	border: none;
	border-radius: 20px;
	background: #fff;
	color: #14161b;
	font-family: var(--lnb-font-text);
	font-size: 15px;
	line-height: normal;
	text-align: left;
	box-shadow: 0 24px 60px -12px rgba(20, 22, 27, .28), 0 4px 14px -4px rgba(20, 22, 27, .12);
}
#report-affect-survey::backdrop {
	background: rgba(20, 22, 27, .5);
	backdrop-filter: blur(2px);
}
#report-affect-survey .report-affect-survey-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #8b909c;
	font-size: 20px;
	line-height: 1;
}
#report-affect-survey .report-affect-survey-close:hover {
	background: #f2f3f6;
	color: #14161b;
}
#report-affect-survey-title {
	margin: 4px 0 16px;
	font-family: var(--lnb-font-title);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	outline: none;
}
#report-affect-survey .report-affect-survey-lead {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}
#report-affect-survey .report-affect-survey-states {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
}
#report-affect-survey .report-affect-survey-state {
	border: 1.5px solid #e1e3e9;
	border-radius: 999px;
	padding: 9px 14px;
	background: #fff;
	color: #14161b;
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	transition: background .12s ease, opacity .12s ease;
}
#report-affect-survey .report-affect-survey-state:hover {
	border-color: #afb0b1;
	background: #f8f9f9;
}
#report-affect-survey .report-affect-survey-state.is-selected {
	border-color: #afb0b1;
	background: #afb0b1;
	color: #fff;
}
#report-affect-survey .report-affect-survey-state.is-dimmed {
	opacity: .42;
	color: #8b909c;
}
#report-affect-survey .report-affect-survey-state.is-dimmed:hover {
	opacity: .75;
}
#report-affect-survey .report-affect-survey-info {
	position: relative;
	display: inline-flex;
	align-items: center;
}
#report-affect-survey .report-affect-survey-info-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #8b909c;
	cursor: help;
}
#report-affect-survey .report-affect-survey-info-button .fa {
	font-size: 20px;
}
#report-affect-survey .report-affect-survey-info-button:hover {
	background: #f2f3f6;
	color: #14161b;
}
#report-affect-survey #tooltip_popup.report-affect-survey-tooltip {
	position: absolute;
}
#report-affect-survey #tooltip_popup.report-affect-survey-tooltip:popover-open {
	position: fixed;
	inset: auto;
	margin: 0;
	border: none;
}
#report-affect-survey.report-affect-survey-tooltip-open {
	overflow: visible;
}
#report-affect-survey .report-affect-survey-other {
	margin-top: 16px;
}
#report-affect-survey .report-affect-survey-other label {
	display: block;
	margin-bottom: 8px;
}
#report-affect-survey .report-affect-survey-other textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid #e1e3e9;
	border-radius: 8px;
	font: inherit;
	resize: vertical;
}
#report-affect-survey .report-affect-survey-coping-label {
	margin-top: 22px;
}
#report-affect-survey .report-affect-survey-scale-labels {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	color: #8b909c;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}
#report-affect-survey .report-affect-survey-scale {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 34px;
	cursor: pointer;
}
#report-affect-survey .report-affect-survey-scale.is-disabled {
	cursor: default;
}
#report-affect-survey .report-affect-survey-segments {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 22px;
	display: flex;
	border-radius: 999px;
	overflow: hidden;
	transform: translateY(-50%);
}
#report-affect-survey .report-affect-survey-segments span { flex: 1; }
#report-affect-survey .report-affect-survey-segments span:nth-child(1) { background: #dc2626; }
#report-affect-survey .report-affect-survey-segments span:nth-child(2) { background: #f97316; }
#report-affect-survey .report-affect-survey-segments span:nth-child(3) { background: #eadc08; }
#report-affect-survey .report-affect-survey-segments span:nth-child(4) { background: #84cc16; }
#report-affect-survey .report-affect-survey-segments span:nth-child(5) { background: #16a34a; }
#report-affect-survey .report-affect-survey-point {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 34px;
	border: none;
	padding: 0;
	border-radius: 999px;
	background: transparent;
}
#report-affect-survey .report-affect-survey-point-inner {
	width: 10px;
	height: 10px;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 1px 2px rgba(20, 22, 27, .18);
	transition: width .12s ease, height .12s ease, background .12s ease;
}
#report-affect-survey .report-affect-survey-point.is-selected .report-affect-survey-point-inner {
	width: 20px;
	height: 20px;
	border-color: #fff;
	background: #9aa0ac;
}
#report-affect-survey .report-affect-survey-point.is-selected .report-affect-survey-point-inner {
	background: var(--affect-survey-point-color);
	box-shadow: 0 2px 5px rgba(20, 22, 27, .3);
}
#report-affect-survey .report-affect-survey-save {
	width: 100%;
	margin-top: 22px;
	padding: 13px 16px;
	border: none;
	border-radius: 8px;
	background: #14161b;
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	line-height: normal;
}
#report-affect-survey .report-affect-survey-save:hover:not(:disabled) { opacity: .88; }
#report-affect-survey .report-affect-survey-error {
	margin-top: 16px;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.5;
}
#report-affect-survey .report-affect-survey-save:disabled {
	background: #d7d9e0;
	color: #8b909c;
	cursor: not-allowed;
}
#report-affect-survey-widget .report-affect-survey-launcher {
	position: fixed;
	right: 24px;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	z-index: 9997;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 1.5px solid #e1e3e9;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 32px -12px rgba(20, 22, 27, .35), 0 4px 10px -3px rgba(20, 22, 27, .2);
	transition: opacity .15s ease, transform .15s ease;
}
#report-affect-survey-widget .report-affect-survey-launcher svg {
	width: 52px;
	height: 52px;
}
#report-affect-survey-widget .report-affect-survey-launcher:hover { transform: translateY(-2px); }
#report-affect-survey-widget .report-affect-survey-launcher.is-hidden {
	opacity: 0;
	pointer-events: none;
}
#report-affect-survey-widget .report-affect-survey-launcher-tooltip {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	padding: 7px 12px;
	border-radius: 8px;
	background: #14161b;
	color: #fff;
	font-size: 13px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
}
#report-affect-survey-widget .report-affect-survey-launcher:hover .report-affect-survey-launcher-tooltip,
#report-affect-survey-widget .report-affect-survey-launcher:focus-visible .report-affect-survey-launcher-tooltip { opacity: 1; }

/* End-of-task Affect Survey — perceived challenge and competence. */
#report-end-task-affect-survey-widget,
#report-end-task-affect-survey-widget * {
	box-sizing: border-box;
}
#report-end-task-affect-survey-widget button,
#report-end-task-affect-survey-widget input {
	font-family: var(--lnb-font-text);
}
#report-end-task-affect-survey-widget button:focus-visible,
#report-end-task-affect-survey-widget input:focus-visible {
	outline: 2px solid #545966;
	outline-offset: 3px;
}
#report-end-task-affect-survey {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(460px, calc(100vw - 40px));
	max-width: none;
	max-height: calc(100vh - 40px);
	padding: 32px 28px 28px;
	border: none;
	border-radius: 20px;
	background: #fff;
	color: #14161b;
	font-family: var(--lnb-font-text);
	font-size: 15px;
	line-height: normal;
	text-align: left;
	box-shadow: 0 24px 60px -12px rgba(20, 22, 27, .28), 0 4px 14px -4px rgba(20, 22, 27, .12);
}
#report-end-task-affect-survey::backdrop {
	background: rgba(20, 22, 27, .5);
	backdrop-filter: blur(2px);
}
#report-end-task-affect-survey-title {
	margin: 4px 0 20px;
	font-family: var(--lnb-font-title);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	outline: none;
}
#report-end-task-affect-survey .report-end-task-affect-survey-scale + .report-end-task-affect-survey-scale {
	margin-top: 24px;
}
#report-end-task-affect-survey .report-end-task-affect-survey-scale label {
	display: block;
	margin-bottom: 14px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}
#report-end-task-affect-survey .report-end-task-affect-survey-scale-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
	color: #8b909c;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}
#report-end-task-affect-survey .report-end-task-affect-survey-scale-header strong {
	color: #8b909c;
	font-size: 14px;
	text-align: center;
}
#report-end-task-affect-survey .report-end-task-affect-survey-scale-header strong.is-touched {
	color: #14161b;
}
#report-end-task-affect-survey .report-end-task-affect-survey-scale-header span:last-child {
	text-align: right;
}
#report-end-task-affect-survey input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 6px;
	margin: 0;
	border-radius: 999px;
	background: #d7d9e0;
	cursor: pointer;
}
#report-end-task-affect-survey input[type="range"].is-touched {
	background: linear-gradient(to right, #14161b 0%, #14161b var(--affect-survey-progress), #d7d9e0 var(--affect-survey-progress));
}
#report-end-task-affect-survey input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #9aa0ac;
	box-shadow: 0 0 0 1px #cbced7;
}
#report-end-task-affect-survey input[type="range"].is-touched::-webkit-slider-thumb {
	background: #14161b;
	box-shadow: 0 0 0 1px #14161b;
}
#report-end-task-affect-survey input[type="range"]::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: #d7d9e0;
}
#report-end-task-affect-survey input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #9aa0ac;
	box-shadow: 0 0 0 1px #cbced7;
}
#report-end-task-affect-survey input[type="range"].is-touched::-moz-range-thumb {
	background: #14161b;
	box-shadow: 0 0 0 1px #14161b;
}
#report-end-task-affect-survey input[type="range"].is-touched::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: #14161b;
}
#report-end-task-affect-survey input[type="range"]:disabled {
	cursor: wait;
}
#report-end-task-affect-survey .report-end-task-affect-survey-ticks {
	position: relative;
	height: 8px;
	margin-top: 7px;
	pointer-events: none;
}
#report-end-task-affect-survey .report-end-task-affect-survey-ticks span {
	position: absolute;
	top: 0;
	left: calc(11px + (100% - 22px) * (var(--affect-survey-tick) / 10));
	width: 2px;
	height: 5px;
	border-radius: 1px;
	background: #cbced7;
	transform: translateX(-50%);
}
#report-end-task-affect-survey .report-affect-survey-save {
	width: 100%;
	margin-top: 22px;
	padding: 13px 16px;
	border: none;
	border-radius: 8px;
	background: #14161b;
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}
#report-end-task-affect-survey .report-affect-survey-save:hover:not(:disabled) { opacity: .88; }
#report-end-task-affect-survey .report-affect-survey-save:disabled {
	background: #d7d9e0;
	color: #8b909c;
	cursor: not-allowed;
}
#report-end-task-affect-survey .report-affect-survey-error {
	margin-top: 16px;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 480px) {
	#report-affect-survey { padding: 26px 20px 22px; }
	#report-end-task-affect-survey { padding: 26px 20px 22px; }
	#report-affect-survey-widget .report-affect-survey-launcher {
		right: 16px;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	}
}
@media (prefers-reduced-motion: reduce) {
	#report-affect-survey-widget * { transition: none !important; }
}
@media print {
	#report-affect-survey-widget,
	#report-end-task-affect-survey-widget { display: none !important; }
}
