/* EUDR role form /eudr-role - overrides of css/eudr.css (do not change eudr.css; owner rule 19 Nov 2026) */

/* "What to watch out for" is a numbered chapter now: first box aligned with the chapter heading */
#eudrResult .eudrSec_warning .eudrSecList > .eudrCallout:first-child { margin-top: 0; }

/* preliminary result: what would apply if the role is confirmed - numbered list inside one box */
#eudrResult .eudrCalloutList { margin: 10px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.55; }
#eudrResult .eudrCalloutList li { margin: 6px 0 0; }

/* country lists: no A, B, C... counter (the key cell is not rendered), flag first (owner 20 Nov 2026) */
.eudrDoc .eudrOpt.eudrOptCountry { grid-template-columns: auto minmax(0, 1fr) 28px; padding-left: 6px; }
.eudrDoc .eudrOpt.eudrOptCountry .eudrFlag, .eudrDoc .eudrOpt.eudrOptCountry .eudrIso { margin-right: 14px; }
@media (max-width: 820px) {
	.eudrDoc .eudrOpt.eudrOptCountry { grid-template-columns: auto minmax(0, 1fr) 22px; }
}

/* EUDR landing /eudr-guide: call-to-action button in bright orange (owner 23 Nov 2026); dark text keeps AA contrast */
.eudrLp2 .eudrBStatsCta { background: #ff8c00; color: var(--eb-ink) !important; }
.eudrLp2 .eudrBStatsCta:hover { background: #ffa31a; }

/* EUDR landing /eudr-guide: "assess my role" buttons (hero + roles section) in vivid green (owner 23 Nov 2026); white text AA contrast; the FAQ ghost button stays as is */
.eudrLpBtn:not(.eudrLpBtnGhost), .eudrLp2 .eudrBBtn:not(.eudrBBtnDark):not(.eudrBBtnWide) { background: #138a3f; border-color: #138a3f; color: #fff !important; }
.eudrLpBtn:not(.eudrLpBtnGhost):hover, .eudrLp2 .eudrBBtn:not(.eudrBBtnDark):not(.eudrBBtnWide):hover { background: #0e6f31; border-color: #0e6f31; }

/* EUDR tool teaser dialog on /eudr-guide and /eudr-role (owner 25 Nov 2026; look from Claude Design "EUDR Modal", 650 px).
   The site styles bare button/label/a globally, so every rule here is scoped with .eudrTt and resets what leaks in. */
.eudrTt { width: calc(100% - 32px); max-width: 650px; padding: 0; border: 0; border-radius: 14px; background: #fff; color: #3a332c; box-shadow: 0 20px 50px rgba(40, 28, 15, .25); overflow: auto; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); text-align: left; }
.eudrTt::backdrop { background: rgba(34, 22, 8, .55); }
.eudrTt[open] { animation: eudrTtIn .35s ease-out; }
.eudrTt:focus { outline: 0; }
.eudrTt :focus-visible { outline: 3px solid #0d50ff; outline-offset: 2px; }
.eudrTt .eudrTtX { position: absolute; top: 13px; right: 13px; z-index: 2; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 54px; height: 54px; min-width: 0; margin: 0; padding: 0; border: 3px solid #fff; border-radius: 50%; background: #a8321a; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.eudrTt .eudrTtX:hover { background: #8a2815; }
.eudrTtArt { background: #efe6d8; }
.eudrTtArt img { display: block; width: 100%; height: auto; aspect-ratio: 650 / 256; }
.eudrTtBody { padding: 28px 32px 32px; }
.eudrTtStep1, .eudrTtStep2, .eudrTtStep3, .eudrTtForm { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.eudrTtStep1[hidden], .eudrTtStep2[hidden], .eudrTtStep3[hidden] { display: none; }
.eudrTtHead { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.eudrTt p { margin: 0; }
.eudrTt .eudrTtPill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #d4801f; color: #2b2520; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
.eudrTt .eudrTtPill.eudrTtPillOk { background: #3d6b35; color: #fff; }
.eudrTt .eudrTtTitle { margin: 0; padding: 0; color: #5a3d1c; font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; text-wrap: pretty; }
.eudrTt .eudrTtTitle:focus { outline: 0; }
.eudrTt .eudrTtLead strong { overflow-wrap: anywhere; word-break: break-word; }
.eudrTt .eudrTtLead { color: #3a332c; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.eudrTt .eudrTtListH { margin: 0 0 -10px; color: #8a6a45; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.eudrTt .eudrTtList { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eudrTt .eudrTtList li { display: flex; gap: 10px; margin: 0; padding: 0; color: #2b2520; font-size: 16px; line-height: 1.4; }
.eudrTt .eudrTtList li::before { content: "\2713"; flex: 0 0 auto; color: #3d6b35; font-weight: 700; }
.eudrTt .eudrTtActions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 4px; }
.eudrTt button.eudrTtBtn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: auto; min-width: 0; max-width: none; height: 52px; margin: 0; padding: 0 28px; border: 0; border-radius: 8px; background: #3d6b35; box-shadow: none; transform: none; color: #fff; font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: 0; text-decoration: none; text-transform: none; cursor: pointer; }
.eudrTt button.eudrTtBtn:hover { background: #2f5629; color: #fff; }
.eudrTt button.eudrTtBtn[type="submit"] { background: #bd0000; }
.eudrTt button.eudrTtBtn[type="submit"]:hover { background: #8f0000; }
.eudrTt button.eudrTtLater { width: auto; min-height: 44px; margin: 0; padding: 8px 4px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #5a3d1c; font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: 0; text-decoration: underline; text-transform: none; cursor: pointer; }
.eudrTt button.eudrTtLater:hover, .eudrTt button.eudrTtLater:focus { background: none; box-shadow: none; color: #3d6b35; }
.eudrTtGrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.eudrTtFieldWide { grid-column: 1 / -1; }
.eudrTt .eudrTtField { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.eudrTt .eudrTtField label, .eudrTt .eudrTtField label:hover { margin: 0; color: #5a3d1c; font-size: 14px; font-weight: 500; text-decoration: none; text-transform: none; }
.eudrTt .eudrTtField input, .eudrTt .eudrTtField select { display: block; box-sizing: border-box; width: 100%; height: 48px; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid #cbbd9f; border-radius: 8px; background: #fff; box-shadow: none; color: #2b2520; font-family: inherit; font-size: 16px; }
.eudrTt .eudrTtField select { padding: 0 10px; }
.eudrTt .eudrTtField input::placeholder { color: #8c8173; }
.eudrTt .eudrTtField input:focus, .eudrTt .eudrTtField select:focus { border-color: #3d6b35; box-shadow: 0 0 0 3px rgba(61, 107, 53, .18); outline: 0; }
.eudrTt [aria-invalid="true"] { border-color: #a8321a !important; }
.eudrTtHp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eudrTt .eudrTtConsent { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 8px; background: #f6f2ea; }
.eudrTt .eudrTtCheck, .eudrTt .eudrTtCheck:hover { display: flex; min-height: 24px; align-items: flex-start; gap: 12px; margin: 0; color: #2b2520; font-size: 15px; font-weight: 400; line-height: 1.45; text-decoration: none; text-transform: none; cursor: pointer; }
.eudrTt .eudrTtCheck span { color: #2b2520; font-size: 15px; font-weight: 400; text-decoration: none; }
.eudrTt .eudrTtCheck input { flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: #3d6b35; cursor: pointer; }
.eudrTt .eudrTtInfo { padding-left: 32px; color: #6b5f52; font-size: 13px; line-height: 1.5; }
.eudrTt .eudrTtInfo, .eudrTt .eudrTtInfo a { font-size: 13px; font-weight: 400; line-height: 1.5; }
.eudrTt .eudrTtInfo a { color: #5a3d1c; text-decoration: underline; letter-spacing: 0; text-transform: none; }
.eudrTt .eudrTtErr { padding: 8px 12px; border-left: 4px solid #a8321a; background: #fdecec; color: #7a1d0e; font-size: 14px; font-weight: 700; }
.eudrTt .eudrTtErr[hidden] { display: none; }
@keyframes eudrTtIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
	.eudrTt { margin: auto 8px 8px; width: calc(100% - 16px); }
	.eudrTt .eudrTtX { top: 8px; right: 8px; width: 46px; height: 46px; border-width: 2px; }
	.eudrTtBody { padding: 20px 18px 24px; }
	.eudrTt .eudrTtTitle { font-size: 24px; }
	.eudrTt .eudrTtLead { font-size: 16px; }
	.eudrTtGrid { grid-template-columns: minmax(0, 1fr); }
	.eudrTt .eudrTtActions { flex-direction: row; }
	.eudrTt button.eudrTtBtn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.eudrTt[open] { animation: none !important; }
}
/* permanent EUDR tool offer bar (owner 25 Nov 2026): one sentence + button, fixed at the bottom like the notice bar (JS lifts it above the notice bar); vertical orange gradient fading slightly to red at the bottom, red accents; dark text on the gradient, white on red (contrast >= 4.5:1) */
.eudrTtBar { position: fixed; left: var(--menuWidthClosed, 64px); right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; box-sizing: border-box; padding: 12px 24px; background: linear-gradient(180deg, #ffa31f 0%, #ff8a2b 50%, #f46a2f 100%); color: #2b2520; border-top: 4px solid #d62828; box-shadow: 0 -6px 20px rgba(214, 40, 40, .28); text-align: left; }
.eudrTtBar[hidden], html.show--consent .eudrTtBar { display: none; }
.eudrTtBar .eudrTtBarText { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: #2b2520; }
.eudrTtBar .eudrTtBarText strong { display: block; font-size: 17px; font-weight: 800; color: #2b2520; }
.eudrTtBar .eudrTtBarText span { display: block; font-size: 14px; font-weight: 600; color: #3a2a12; }
.eudrTtBar button { flex: 0 0 auto; min-height: 44px; margin: 0; padding: 0 24px; border: 0; border-radius: 8px; background: #8f0a14; color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,.28); }
.eudrTtBar button:hover { background: #6e0710; color: #fff; }
.eudrTtBar button:focus-visible { outline: 3px solid #2b2520; outline-offset: 2px; }
@media (max-width: 800px) {
	.eudrTtBar { left: 0; padding: 8px 16px 10px; gap: 8px; justify-content: flex-start; }
	.eudrTtBar .eudrTtBarText { font-size: 14px; flex: 1 1 60%; }
	.eudrTtBar .eudrTtBarText strong { font-size: 14px; line-height: 1.3; }
	.eudrTtBar .eudrTtBarText span { font-size: 13px; line-height: 1.3; }
	.eudrTtBar button { width: 100%; min-height: 42px; }
}
/* the bar sits BEHIND the side menu (menu z-index 60) so the menu that opens on hover is never covered; with the menu permanently open (>= 1920 px) the bar starts behind it */
@media screen and (min-width: 1920px) {
	.eudrTtBar { left: var(--menuWidthOpen, 260px); }
}
