:root{
	--bg: #0b2a2a;
	--panel: #0f3434;
	--ink: #e9f2f1;
	--muted: #b9c9c7;
	--rule: rgba(233,242,241,0.14);
	--accent: #7fd1c7;
	--link: #9fe6dc;
}

body{
	background: var(--bg);
	margin: 0;
	padding: 28px 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	font-size: 17px;
	color: var(--ink);
	line-height: 1.55;
}

#main{
	max-width: 760px;
	width: calc(100%-48px);
	margin: 0 auto;
	background: var(--panel);
	border: 1px solid var(--rule);
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);
	padding: 26px 22px;
}

img{
	width: 100%;
	border: 1px solid var(--rule);
}

h1,h2,h3{
	font-family: "Times New Roman", Times, serif;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0.9em 0 0.35em;
}

h1{
	margin-top:0;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 2.5em;
}

.subtitle{
	color: var(--muted);
	margin-top: 0.35em;
}

hr{
	border: 0;
	border-top: 1px solid var(--rule);
	margin: 1.4em 0;
}

a{
	color: var(--link);
	text-decoration: none;
	border-bottom: 1px solid rgba(159,230,220,0.35);
}
a:hover{
	border-bottom-color: rgba(159,230,220,0.85);
}
a.about{
	border-bottom: 0px;
}
a.about:hover{
	border-bottom: 1px solid;
	border-bottom-color: rgba(159,230,220,0.85);
}
#navigation{
	width:100%;
	margin: 24px 0 0 0;
	border: 1px solid var(--rule);
	background-color: var(--accent);	
	text-align:center;
	font-size:14px;
	padding:3px 0px;
}
#navigation a{
	color: var(--bg);
	padding: 0 6px;
}
#navigation .active{
	color: var(--bg);
	font-weight:600;
}

#navigation .sep{
	padding: 0 6px;
}

.smallprint{
	color: var(--muted);
	font-size: 0.9em;
}

.notice{
	border-left: 4px solid var(--accent);
	padding: 10px 12px;
	background: rgba(127,209,199,0.08);
	margin: 1em 0;
}

.help_widget{
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 320px;
	max-width: calc(100vw - 36px);
	background: #fff;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.18);
	z-index: 9999;
	font-family: inherit;
	overflow: hidden;
	color: #222;
}

.help_widget__header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: rgba(0,0,0,0.04);
	border-bottom: 1px solid rgba(0,0,0,0.08);
	color: #444;
}

.help_widget__title{
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.help_widget__close{
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	padding: 4px 8px;
	cursor: pointer;
	opacity: 0.6;
}
.help_widget__close:hover{ opacity: 1; }

.help_widget__body{
	padding: 12px;
}

.help_widget__status{
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 13px;
}

.help_widget__dot{
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d33;
	display: inline-block;
}

.help_widget__spinner{
	margin-top: 12px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid rgba(0,0,0,0.2);
	border-top-color: rgba(0,0,0,0.65);
	animation: waitspin 0.9s linear infinite;
}

.help_widget__lead{ margin: 0 0 4px; font-size: 13px; }
.help_widget__sub{ margin: 0 0 10px; font-size: 12px; opacity: 0.85; }

.help_widget__form{ margin-top: 8px; }
.help_widget__label{ display:block; font-size: 12px; margin-bottom: 6px; opacity: 0.8; }

.help_widget__input{
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 8px;
	font-size: 13px;
}

.help_widget__actions{
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
	gap: 8px;
}

.help_widget__submit,
.help_widget__retry{
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.04);
	cursor: pointer;
	font-size: 13px;
}

.help_widget__submit:hover,
.help_widget__retry:hover{
	background: rgba(0,0,0,0.07);
}

.help_widget__fineprint{
	margin-top: 10px;
	font-size: 11px;
	opacity: 0.65;
}

.help_widget__dot--warn{ background: #c90; }
.help_widget__dot--bad{ background: #d33; }

.help_widget__header_buttons{
	display:flex;
	gap: 4px;
	align-items:center;
}

.help_widget__min,
.help_widget__close{
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 0.6;
	padding: 4px 8px;
	font-size: 18px;
	line-height: 1;
}
.help_widget__min:hover,
.help_widget__close:hover{ opacity: 1; }

/* collapse body when minimized */
.help_widget.is-minimized .help_widget__body{
	display: none;
}

/* optional: make minimized widget less tall */
.help_widget.is-minimized{
	width: 220px; /* tweak */
}

.footer-help{
	font-size: 11px;
	opacity: 0.6;
	text-decoration: underline;
}
.footer-help:hover{ opacity: 1; }

[data-state="fail"] .help_widget__spinner{
	display: none;
}


@keyframes waitspin{
	to{ transform: rotate(360deg); }
}

/* optional: hide on tiny screens */
@media (max-width: 360px){
	.help_widget{ width: auto; left: 12px; right: 12px; }
}














