html { font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; background: #DADADA; padding: 1rem;  }

body { max-width: 1250px; margin: 0 auto; background: white; }

h1 { font-family: serif; color: #9A0C46; margin: 1rem 0; }

a { color: #9A0C46; text-decoration: none; }

hr { border: none; border-top: 1px solid #9D9D9D; }

nav { min-height: 1.5cm;  background: #9D9D9D; display: flex; align-items: center; padding: 0 0.5rem; }

footer { min-height: 2cm;  background: #9D9D9D; color: #9A0C46; flex-direction: column;  }

/* justify-content: center; align-items: center; display: flex; } */

nav h1 { flex: auto; margin: 0; }

nav h1 a, footer a, footer span { padding: 0.25rem 0.5rem; }

nav ul  { display: flex; list-style: none; margin: 0; padding: 0; }

nav ul li a, nav ul li span, header .action { text-decoration: none; display: block; padding: 0.5rem; }

.content { padding: 0 1rem 1rem; }
.content > header, h1[class=hr] { border-bottom: 1px solid #9D9D9D; display: flex; align-items: flex-end; }
.content > header h1, h1[class=hr] { flex: auto; margin: 1rem 0 0.25rem 0; }
.flash { margin: 1em 0; padding: 1em; background: #cae6f6; border: 1px solid #377ba8; }
.post > header { display: flex; align-items: flex-end; font-size: 0.85em; }
.post > header > div:first-of-type { flex: auto; }
.post > header h1, h1[class=hr] { font-size: 1.5em; margin-bottom: 0; }
.post .about { color: slategray; font-style: italic; }
.post .body { white-space: pre-line; }
.content:last-child { margin-bottom: 0; }
.content form { margin: 1em 0; display: flex; flex-direction: column; }
/*.content label { font-weight: bold; margin-bottom: 0.5em; } */
.content input, .content textarea { margin-bottom: 0.2em; }
.content textarea { min-height: 12em; resize: vertical; }

/* css for list in table*/
.list_errors {
  color: #9A0C46;
  margin: 0;
  padding-left: 15px;
}

/* css for tooltip in form*/
.tooltip{
	/*float:right;*/
	background:#575757;
	border-radius:20px;
	margin-top:4px;
	padding:0px 7px;
	font-size:0.75em;
	color:#FFFFFF;
	font-weight:700;
	font-family:Arial, Helvetica, sans-serif;
}
/* help boxes of the "?" icons only (class "tooltip"): other elements with an
   aria-label (outline sidebar, funding logo) showed it as a box (Dec 2026) */
.tooltip[aria-label] {
	position: relative;
}
.tooltip[aria-label]:after {
	content: attr(aria-label);
	display: none;
	position: absolute;
	bottom: 50%;
	left: 50%;
	z-index: 5000;
	pointer-events: none;
	padding: 8px 8px 8px 8px;
	white-space: nowrap;
	text-decoration: none;
	text-indent: 0;
	overflow: visible;
	font-weight: normal;
	font-size:1.20em;
	color: #fff;
	background-color: #FFFFFF;
	border: 1px solid #9d9d9c;
	color:#666666;
	max-width:300px;
	min-width:200px;
	height:auto;
	white-space:normal;
	line-height:1.25;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}

.tooltip[aria-label]:after {
	right:50%;
	left: auto;
}
.tooltip[aria-label]:hover:after, .tooltip[aria-label]:focus:after {
	display: block;
}

.star_required_field { 
	color: #9A0C46;
	text-decoration: none;
}

/* scroll to top*/
#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #f3d8dd;
    color: #575757;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}
#back2Top:hover {
    background-color: #9d9d9d;
    color: #9A0C46;
}


/*https://webdesign.tutsplus.com/tutorials/how-to-build-a-responsive-multi-level-sticky-footer-with-flexbox--cms-33341*/
.ft_main {
    padding: 0rem 0rem;
    display: flex;
    flex-wrap: wrap;
	justify-content: space-evenly;
}
.ft_main_item {
    padding: 0rem;
    min-width: 10rem /*200px*/;

}
.ft_main_item_pad {
    padding: 3rem;
    min-width: 12.5rem /*200px*/;
}
/* @media only screen and (min-width: 29.8125rem ) { */
    /* .ft_main { */
        /* justify-content: space-around; */
    /* } */
/* } */
/* @media only screen and (min-width: 77.5rem ) { */
    /* .ft_main { */
        /* justify-content: space-evenly; */
    /* } */
/* } */

#toc_container {
background: #f9f9f9 none repeat scroll 0 0;
border: 1px solid #DADADA;
display: table;
/* margin-bottom: 1em; */
padding: 10px;
width: auto; 
margin-right: 1em;
}
.toc_title {
font-weight: 700;
font-size: 105%;
text-align: center;
}
/* #toc_container li, #toc_container ul, #toc_container ul li{list-style: outside none none !important;} */
#toc_container li, #toc_container ul, #toc_container ul li{list-style-type: circle;} 


input.danger { color: #cc2f2e; }

input[type=submit] { align-self: start; min-width: 10em; padding: 10px 10px;
        margin: 15px 10%;
        cursor: pointer;
        position: relative;
		font-size: 0.9em;
	}

#contact_form input[type=submit] {
        display: block;
		margin: 15px auto;
	}

@media only screen and (max-width: 800px) {
	.box_img_small {
		width: 100%;
	}
}

@media only screen and (min-width: 800px) {
	.box_img_small {
		width: 100%;
	}
}

img {
  width: 100%;
  height: 100%;
}

/* specific css when printing as pdf */
@page { size: A4; margin: 0.5cm; }
@media print {
	
	html, body, div, form {
        height: auto;
        font-size: 100%;
    }
	
    nav, footer { display: none }
	.box_img_small {
		width: 100%;
	}
	
	/* the following is necessary in order for WeasyPrint to display values in forms, see https://weasyprint.readthedocs.io/en/latest/tips-tricks.html#display-forms */
	input[type=text], input[type=checkbox], textarea, option[selected] {
		background: #eee;
		border: 0.01em solid;
		display: block;
		margin: 0.2em 0;
	}

	[disabled] {
		opacity: 0.3;
	}

	input[type=text] {
	height: 1.2em;
	width: 8em;
	}

	input[type=text]::before {
	  content: attr(value);
	  padding: 0.2em;
	}

	input[type=radio], input[type=checkbox] {
	  box-sizing: border-box;
	  background-clip: content-box;
	  height: 1em;
	  padding: 0.1em;
	  width: 1em;
	}

	input[checked] {
	  background-color: #9A0C46;
	}

	input[type=radio] {
	  border-radius: 100%;
	}

	/*textarea {
	  font-family: monospace;
	  padding: 0.5em;
	  width: 20em;
	}*/
}

/* Loading overlay for long-running calculation */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.8);
  z-index: 9999;
  display: none; /* overridden by inline style when shown */
  align-items: center;
  justify-content: center;
}

#loading-overlay .loading-box {
  background: #fff;
  border: 1px solid #aaa;
  padding: 20px 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 400px;
  font-size: 0.95em;
}

#loading-overlay .progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  margin-top: 10px;
  border-radius: 4px;
  overflow: hidden;
}

#loading-overlay .progress-bar-fill {
  width: 0;
  height: 100%;
  background: #9A0C46; /* adapt to your accent color */
  transition: width 0.2s linear;
}



/* ------------------------------------------------------------------------
   Small screens (phones), Dec 2026: before, the menu and the input fields
   ran out of the screen, which also made the charts too wide.
   ------------------------------------------------------------------------ */
nav { flex-wrap: wrap; }
nav ul { flex-wrap: wrap; }
.tooltip { cursor: help; }
.tooltip:focus { outline: 2px solid #9A0C46; outline-offset: 1px; }

@media only screen and (max-width: 700px) {
	html { padding: 0; }
	/* never scroll sideways on a phone (long SVG chart titles) */
	/* "clip" where supported: "hidden" would break the sticky outline bar */
	html, body { overflow-x: hidden; overflow-x: clip; }
	.content { padding: 0 0.75rem 1rem; }
	nav h1 { font-size: 1.6em; }
	/* each form row: "label ... ?" on one line, "field  unit" on the next */
	#planning table, #planning tbody { display: block; width: auto; }
	#planning tr { display: grid; grid-template-columns: 1fr auto; column-gap: 0.5rem;
		grid-template-areas: "label help" "input unit"; margin-bottom: 0.5rem; }
	#planning td:empty { display: none; }
	#planning td { padding: 0; }
	#planning tr > td:nth-child(2) { grid-area: label; }
	#planning tr > td:nth-child(3) { grid-area: help; justify-self: end; }
	#planning tr > td:nth-child(5) { grid-area: input; }
	#planning tr > td:nth-child(7) { grid-area: unit; align-self: center; white-space: nowrap; }
	#planning input[type=text], #planning input[type=number], #planning select {
		width: 100%; box-sizing: border-box; font-size: 16px;
	}
	/* help text: keep inside the screen */
	.tooltip[aria-label]:after { max-width: 70vw; min-width: 0; width: 70vw; }
	.tooltip[aria-label]:after { right: auto; left: 0; }
	/* tables and charts never wider than the screen */
	.content table { max-width: 100%; }
	.plotly-graph-div, .js-plotly-plot { max-width: 100%; }
	/* long chart titles (SVG text) must not widen the page; they are
	   shortened/wrapped for small screens in py2html (website item 6) */
	.plotly-graph-div { overflow: hidden; }
}


/* collapsible "Optionale Angaben" (website item 5) */
details.optional > summary { cursor: pointer; list-style: none; margin: 1rem 0 0.5rem; }
details.optional > summary::-webkit-details-marker { display: none; }
details.optional > summary h2 { display: inline; margin: 0; }
details.optional > summary h2::before { content: "▸ "; color: #9A0C46; }
details.optional[open] > summary h2::before { content: "▾ "; }
details.optional > summary .summary_hint { display: block; font-size: 0.9em; color: #666; margin-top: 0.2rem; }
/* the turbine variant is chosen in the closed section: say so up front */
details.optional > summary .summary_turbine { display: inline-block; margin-top: 0.4rem; padding: 0.2rem 0.6rem;
	border-left: 3px solid #9A0C46; background: #f8e8ef; color: #9A0C46; font-weight: 600; font-size: 0.95em; }


/* bar charts split into single charts (web_charts.py): two per row on wide
   screens, one per row on phones */
.chart_grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem 1.5rem; }
@media only screen and (min-width: 900px) {
	.chart_grid { grid-template-columns: 1fr 1fr; }
	/* a bar chart that is not split takes the full width (it had half) */
	.chart_grid.chart_single { grid-template-columns: 1fr; }
}
.chart_cell { min-width: 0; }

/* same page width with and without vertical scrollbar (the short
   "Kontakt" page shifted sideways compared with the other pages) */
html { scrollbar-gutter: stable; }

/* ==========================================================================
   Look of the website and the PDF (website items 4 and 7, Dec 2026).
   University colour #9A0C46 as accent, calm grey lines, sans-serif headings.
   ========================================================================== */
:root { --accent: #9A0C46; --accent-soft: #f8e8ef; --text: #222; --muted: #666;
	--line: #e3e3e3; --bg: #f3f4f6; --card: #ffffff; }
h1, h2, h3 { font-family: inherit; letter-spacing: -0.01em; }
h1 { font-weight: 650; }
h2 { font-weight: 600; color: var(--text); }

/* "Ergebnisse auf einen Blick" */
#summary { margin: 1rem 0 1.5rem; }
.summary_scroll { overflow-x: auto; }
.summary_table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
.summary_table th, .summary_table td { padding: 0.45rem 0.6rem; border-bottom: 1px solid #ddd; text-align: right; white-space: nowrap; }
.summary_table thead th { background: #f3f3f3; vertical-align: bottom; white-space: normal; font-weight: 600; }
.summary_table thead th span { font-weight: normal; color: var(--muted); font-size: 0.9em; }
.summary_table th[scope=row], .summary_table thead th:first-child { text-align: left; white-space: normal; }
.summary_table tr.ref { color: #555; background: #fafafa; }
.summary_table td.best { font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.summary_note { font-size: 0.85em; color: var(--muted); }

/* outline of the results ("Inhalt", _toc.html) */
#toc_container.toc { display: block; background: #fafafa; border: 1px solid var(--line); border-radius: 6px; padding: 0.75rem 1rem; margin: 0 0 1rem; }
#toc_container.toc .toc_title { text-align: left; margin: 0 0 0.4rem; font-size: 0.8em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
#toc_container.toc ul, #toc_container.toc li { list-style: none; margin: 0; padding: 0; }
#toc_container.toc .toc_short { display: none; }
#toc_container.toc .toc_sub { padding-left: 0.8rem; }
#toc_container.toc a { color: var(--text); }
.toc_back { margin: 0.6rem 0 0; font-size: 0.9em; }
#toc_container.toc .toc_back a { color: var(--accent); }

@media screen {
	html { background: var(--bg); color: var(--text); line-height: 1.5; }
	/* no "overflow" on body: without an overflow on html, the browser applies
	   the body's value to the whole window, and "hidden" switched scrolling
	   off (live bug 2 Dec 2026). Rounded corners on the header and footer
	   instead. */
	body { background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-radius: 6px; }

	/* header: white with a coloured line instead of the grey bar */
	nav { background: var(--card); border-top: 4px solid var(--accent); border-bottom: 1px solid var(--line); min-height: 0; padding: 0.4rem 1rem; border-radius: 6px 6px 0 0; }
	nav h1 { font-size: 1.5em; }
	nav h1 a { color: var(--accent); }
	nav ul li a { color: var(--text); border-radius: 4px; }
	nav ul li a:hover { background: var(--accent-soft); color: var(--accent); }

	/* form sections as boxes */
	#planning .sub1 { border: 1px solid var(--line); border-radius: 6px; padding: 0.5rem 1rem 0.75rem; margin-bottom: 1rem; background: #fcfcfd; }
	#planning input[type=text], #planning input[type=number], #planning select {
		border: 1px solid #c8c8c8; border-radius: 4px; padding: 0.35rem 0.5rem; background: #fff; }
	#planning input[type=text]:focus, #planning select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }

	/* main button in the university colour */
	input[type=submit] { background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 0.7rem 1.4rem; font-size: 1em; cursor: pointer; }
	input[type=submit]:hover { filter: brightness(1.1); }

	/* footer: light and compact (one row on a PC) */
	footer { background: #f7f7f8; border-top: 1px solid var(--line); color: var(--muted); min-height: 0; border-radius: 0 0 6px 6px; }
	footer a { color: var(--accent); }
	.ft_bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
		gap: 0.75rem 2rem; padding: 0.75rem 1.5rem; font-size: 0.9em; }
	.ft_bar a, .ft_bar span { padding: 0; }
	.ft_sep { margin: 0 0.4rem; color: #aaa; }
	.ft_funding { display: flex; align-items: center; gap: 0.9rem; }
	/* funding logo: well readable (was 120 px in the first compact version) */
	.ft_funding object { display: block; width: 170px; height: auto; }
	.ft_projects { display: flex; flex-direction: column; font-size: 0.85em; line-height: 1.5; }
	@media (max-width: 700px) {
		.ft_bar { flex-direction: column; text-align: center; padding: 1rem 0.75rem; }
	}

	/* outline: links react, the section on the screen is highlighted (toc.js) */
	#toc_container.toc a { display: block; padding: 0.2rem 0.5rem; border-radius: 4px; line-height: 1.3; }
	#toc_container.toc .toc_sub a { font-size: 0.9em; color: var(--muted); }
	#toc_container.toc a:hover { background: var(--accent-soft); color: var(--accent); }
	#toc_container.toc a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
	#toc_container.toc a.active_parent { color: var(--accent); }
	h2[id], h3[id], #summary { scroll-margin-top: 1rem; }
}

/* "Berechnen" with a short hint next to it, no box around it */
.content form .submit_row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 1.25rem 0 1.5rem; }
.submit_row input[type=submit] { margin: 0; }
.submit_hint { margin: 0; max-width: 34rem; font-size: 0.9em; color: var(--muted); }

/* buttons above the results: PDF report (pdf_export.js) and "löschen" */
.results_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0.75rem 0 0.5rem; }
.content .results_actions form { display: block; margin: 0; }
.results_actions input[type=submit], .results_actions button { margin: 0; min-width: 0; }
button.btn_primary, button.toc_pdf { background: var(--accent); color: #fff; border: 0; border-radius: 6px;
	font: inherit; cursor: pointer; }
button.btn_primary { padding: 0.7rem 1.4rem; font-size: 1em; }
button.btn_primary:hover, button.toc_pdf:hover { filter: brightness(1.1); }
button.btn_primary:disabled, button.toc_pdf:disabled { opacity: 0.6; cursor: wait; }
.results_actions input[type=submit].btn_secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.pdf_status { flex-basis: 100%; margin: 0; font-size: 0.9em; color: var(--muted); }
.pdf_status:empty { display: none; }
button.toc_pdf { display: block; width: 100%; margin-top: 0.6rem; padding: 0.45rem 0.6rem; font-size: 0.92em; }
@media only screen and (max-width: 700px) {
	.results_actions form, button.btn_primary { width: 100%; }
}

/* PC: outline as a left sidebar that stays in place while scrolling */
@media screen and (min-width: 1000px) {
	.results_layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: start; }
	#toc_container.toc { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; margin: 1rem 0 0; font-size: 0.92em; }
	.results_main > #summary:first-child { margin-top: 0.5rem; }
	/* the sidebar replaces the "back to top" button on a PC ("↑ Angaben
	   ändern", outline); phones keep it (scroll2top.js sets display inline) */
	#back2Top { display: none !important; }
}

/* tablets and phones: outline as a bar at the top of the window, swipe
   sideways; the variants are reached through their section entry */
@media screen and (max-width: 999px) {
	#toc_container.toc { position: sticky; top: 0; z-index: 50; margin: 0.5rem -1rem 1rem; padding: 0.45rem 1rem;
		border-width: 0 0 1px; border-radius: 0; background: rgba(255,255,255,0.97); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
	#toc_container.toc .toc_title, #toc_container.toc .toc_sub, .toc_back, #toc_container.toc .toc_full,
	button.toc_pdf { display: none; }   /* phones: PDF button above the results */
	#toc_container.toc .toc_short { display: inline; }
	#toc_container.toc .toc_list { position: relative; display: flex; gap: 0.4rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	#toc_container.toc .toc_list::-webkit-scrollbar { display: none; }
	#toc_container.toc .toc_list a { display: inline-block; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9em; background: #fff; }
	#toc_container.toc a.active, #toc_container.toc a.active_parent { box-shadow: none; background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
	h2[id], h3[id], #summary { scroll-margin-top: 3.5rem; }
}
@media only screen and (max-width: 700px) {
	#toc_container.toc { margin-left: -0.75rem; margin-right: -0.75rem; padding-left: 0.75rem; padding-right: 0.75rem; }
	input[type=submit] { margin-left: 0; width: 100%; white-space: normal; }
	.summary_table th[scope=row] { position: sticky; left: 0; background: #fff; min-width: 7.5rem; }
}

/* --------------------------------------------------------------------------
   PDF (WeasyPrint, print media): same look as the website, A4 pages with a
   header line, page numbers and an outline with page numbers.
   -------------------------------------------------------------------------- */
@page {
	size: A4; margin: 1.8cm 1.6cm 1.7cm;
	/* the two boxes share the full width, so their lines join into one */
	@top-left { content: "GDRMAGoGreen · Vorplanungstool"; width: 45%; color: #9A0C46; font-size: 8.5pt; font-weight: 600;
		vertical-align: bottom; padding-bottom: 4pt; border-bottom: 1.5pt solid #9A0C46; }
	@top-right { content: string(section); width: 55%; text-align: right; color: #666; font-size: 8.5pt;
		vertical-align: bottom; padding-bottom: 4pt; border-bottom: 1.5pt solid #9A0C46; }
	@bottom-left { content: element(pdffooter); vertical-align: top; padding-top: 4pt; }
	@bottom-right { content: "Seite " counter(page) " von " counter(pages); color: #666; font-size: 8.5pt;
		vertical-align: top; padding-top: 4pt; }
}
.pdf_footer { display: none; }
@media print {
	html { background: #fff; padding: 0; color: #222; font-size: 10pt; line-height: 1.4; }
	body { max-width: none; }
	.content { padding: 0; }
	.pdf_footer { display: block; position: running(pdffooter); color: #666; font-size: 8pt; }
	.content > header, h1[class=hr] { border-bottom: 1.5pt solid #9A0C46; }
	h1 { color: #9A0C46; font-size: 20pt; }
	h1[class=hr] { font-size: 16pt; margin-top: 18pt; }
	h2 { color: #9A0C46; font-size: 14pt; margin: 18pt 0 6pt; padding-bottom: 3pt; border-bottom: 0.75pt solid #e3e3e3;
		break-after: avoid; string-set: section content(text); }
	h3 { font-size: 11.5pt; margin: 12pt 0 4pt; break-after: avoid; }
	h4 { font-size: 10pt; color: #666; margin: 8pt 0 2pt; break-after: avoid; }
	hr { border-top: 0.75pt solid #e3e3e3; }
	a { color: #9A0C46; }
	svg, img { break-inside: avoid; }
	/* bar charts as on the website: single charts, two per row
	   (py2html.plotly_pdf_from_dict) */
	.chart_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6pt 14pt; margin: 6pt 0 10pt; }
	.chart_grid.chart_single { grid-template-columns: 1fr; }
	.chart_cell { break-inside: avoid; }
	.chart_cell svg { width: 100%; height: auto; }
	/* other charts: exported at 850 px, scaled to the text width */
	.chart_full { margin: 6pt 0 8pt; break-inside: avoid; }
	.chart_full svg { width: 100%; height: auto; }

	/* outline with page numbers */
	#toc_container.toc { background: #fafafa; padding: 8pt 12pt; margin: 12pt 0 16pt; break-inside: avoid; }
	#toc_container.toc .toc_title { color: #9A0C46; font-size: 9pt; }
	#toc_container.toc li { margin: 2pt 0; }
	#toc_container.toc .toc_sub { font-size: 0.92em; }
	#toc_container.toc .toc_sub a { color: #666; }
	#toc_container.toc .toc_list a::after { content: leader(".") target-counter(attr(href), page); color: #666; }

	/* summary and the table of inputs */
	#summary, .summary_table { break-inside: avoid; }
	.summary_table { font-size: 8.5pt; }
	.summary_table th, .summary_table td { padding: 3pt 5pt; }
	table.input_summary { border-collapse: collapse; width: 100%; font-size: 9pt; }
	table.input_summary th { text-align: left; background: #f3f3f3; padding: 4pt 6pt; color: #222; }
	table.input_summary td { padding: 2.5pt 6pt; border-bottom: 0.5pt solid #e3e3e3; }
	table.input_summary td:first-child { width: 55%; }
}
