@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
* {
  box-sizing: border-box;
  animation: fadeIn 1s ease;
}
html {
  overflow-y: scroll;
  overflow-x: hidden;
}
body {
  background-color: #aaa;
  color: #111;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
body.chat-mode {
  height: 100vh;
  overflow: hidden;
}
h1 {
  font-family: "Cambria", serif;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 0.5px;
  margin: 12px 0 6px 0;
  padding: 0;
}
h2 {
  font-size: 22px;
  font-family: "Cambria", serif;
  color: #200055;
  font-weight: bold;
  margin: 10px 0;
}
h3 {
  font-size: 18px;
  font-family: "Cambria", serif;
  font-weight: bold;
  color: #200055;
  margin: 12px 0 4px 0;
}
details {
  padding: 0 0 2px 0;
}
summary {
  font-size: 22px;
  font-family: "Cambria", serif;
  color: #3f00ab;
  font-weight: bold;
  padding: 8px 0;
  cursor: pointer;
  margin: 0;
  text-shadow: 1px 2px 5px #ccc;
}
#top-summary {
  margin-top: 15px;
}
ol, ul {
  margin-top: 8px;
  margin-bottom: 0;
}
li {
  margin-top: 0;
  margin-bottom: 8px;
}
li:last-child {
  margin-bottom: 0;
}
a {
  text-decoration: none;
  padding: 0 2px;
  box-sizing: border-box;
  color: #3f00ab;
}
a:hover,
summary:hover {
  color: #ff0060;
}
p {
  margin: 0 0 10px 0;
  padding: 0;
}
hr {
  border: none;
  border-top: 1px solid #3f00ab;
  height: 0;
  margin: 20px 0;
}
#white {
  color: #fff;
}
#gray {
  color: #3f00ab;
  width: fit-content;
}
#white:hover {
  color: #b2ff00;
}
#gray:hover {
  color: #ff0060;
}
.page-title {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0;
  margin: 6px auto;
}
.header-logo {
  height: 75px;
  width: auto;
  margin: 0;
  padding: 0 2px 0 0;
}
.page-title h1 {
  color: #fff;
  margin: 0;
}
.norman {
  font-weight: bold;
  color: #3F00AB;
  font-size: 36px;
}
.page-title .subtitle {
  color: #fff;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  margin: 0 0 0 5px;
  font-weight: bold;
}
.about-container {
  border: 10px solid #bbb;
  border-radius: 85px;
  padding: 0;
  margin: 0 auto;
  width: 65%;
}
.about {
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: #f0eeee;
  border: 8px solid #777;
  border-radius: 75px;
}
.about p,
.about ol,
.about ul,
.about li {
  color: #111;
  line-height: 1.4;
}
.about-p {
  padding: 0;
  text-align: justify;
}
.disclaimer {
  background-color: #B2FF00;
  border-radius: 20px;
  padding: 9px 17px 8px 17px !important;
  margin: 15px 0 30px 0;
  text-align: justify;
  font-size: 15px;
  color: #000 !important;
}
.disclaimer-about {
  background-color: #B2FF00;
  border-radius: 20px;
  padding: 9px 17px 8px 17px !important;
  margin: 15px;
  text-align: justify;
  font-size: 15px;
  color: #000 !important;
}
.hidden {
	display: none !important;
}
#main-content {
  margin: 0 auto;
  width: 100%;
}
label {
  color: #111;
  display: block;
  margin: 20px 0 0 0;
  line-height: 1.4;
  font-size: 16px;
  padding: 0;
}
label .req {
	color: #ff0060;
}
.first-label {
  margin-top: 3px !important;
}
.hint {
  color: #200055 !important;
  display: block;
  font-size: 15px;
  font-style: italic;
  margin: 2px 0;
  padding: 0;
}
.end-hint {
  color: #200055 !important;
  display: block;
  font-size: 15px;
  font-style: italic;
  margin: 15px 0;
  padding: 0;
}
.chat-hint {
  color: #200055 !important;
  display: block;
  font-size: 15px;
  font-style: italic;
  margin: 8px auto 0 auto;
  padding: 0;
  text-align: left;
  width: fit-content;
}
.about-hint {
  color: #200055 !important;
  display: block;
  font-size: 15px;
  font-style: italic;
  margin: 10px auto 20px auto;
  padding: 0;
  text-align: left;
  width: fit-content;
}
.symbol {
  font-size: 20px;
  padding: 0;
  margin: 0;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 0;
  color: #111;
  font-family: "Roboto", system-ui, sans-serif;
  margin-top: 5px;
  padding: 0.5rem;
  width: 100%;
}
input[type="file"]::file-selector-button {
  cursor: pointer;
  margin: 6px 6px 6px 0;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border-color: #B2FF00;
  outline: none;
}
textarea {
  min-height: 130px;
  resize: none;
}
input::placeholder {
  color: #aaa;
  font-size: 10pt;
}
.checkbox-label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
}
.checkbox-label input[type="checkbox"] {
  cursor: pointer;
  flex-shrink: 0;
  width: auto;
}
.checkbox-content {
  flex: 1;
}
.begin {
  text-align: center;
  margin: 30px auto 0 auto;
  padding: 0;
  font-weight: bold;
  font-size: 17px;
  font-style: italic;
  color: #200055 !important;
}
.end {
  text-align: center;
  margin: 20px auto 0 auto;
  padding: 0;
  font-weight: bold;
  font-size: 17px;
  font-style: italic;
  color: #200055 !important;
}
.footer {
  background-color: #eee;
  color: #200055;
  padding: 5px 0 6px 0;
  margin: 15px auto 0 auto;
  width: 100%;
  font-size: 14px;
  text-align: center;
}
button,
.msg.done a,
.msg.agent a.resume-link {
  background-color: #B2FF00;
  border-radius: 6px;
  box-shadow: 2px 2px 6px #999;
  border-bottom: 5px solid #91cf02;
  border-left: 5px solid #91cf02;
  border-top: 1px solid #91cf02;
  border-right: none;
  color: #200055;
  cursor: pointer;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 15px;
  font-weight: bold;
  height: 32px;
  margin: 20px 0;
  min-width: 125px;
  padding: 3px 8px;
  box-sizing: border-box;
  letter-spacing: 0.5px;
  text-align: center;
}
button:not(:disabled):hover,
.msg.done a:hover,
.msg.agent a.resume-link:hover,
#restart-btn-end:hover {
  border-top: 3px solid #91cf02;
  border-left: 5px solid #91cf02;
  border-bottom: 3px solid #91cf02;
  border-right: none;
  box-sizing: border-box;
}
button:disabled {
  background-color: #ddd;
  border-color: #bbb;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
}
.button-container {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
#submit-btn {
  font-size: 18px;
  height: 40px;
}
#end-chat-btn,
#restart-btn {
  background-color: #ff0060;
  border-radius: 6px;
  box-shadow: 2px 2px 6px #999;
  border-bottom: 5px solid #ae0345;
  border-left: 5px solid #ae0345;
  border-top: 1px solid #ae0345;
  border-right: none;
  color: #fff;
  cursor: pointer;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 15px;
  font-weight: bold;
  height: 32px;
  margin: 15px 0;
  min-width: 125px;
  padding: 0 8px 12px 8px;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: 1px
}
#end-chat-btn:hover,
#restart-btn:hover {
  border-top: 3px solid #ae0345;
  border-left: 5px solid #ae0345;
  border-bottom: 3px solid #ae0345;
  border-right: none;
  box-sizing: border-box;
}
#restart-btn-end {
  background-color: #B2FF00;
  border-radius: 6px;
  box-shadow: 2px 2px 6px #999;
  border-bottom: 5px solid #91cf02;
  border-left: 5px solid #91cf02;
  border-top: 1px solid #91cf02;
  border-right: none;
  color: #200055;
  cursor: pointer;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 15px;
  font-weight: bold;
  height: 32px;
  margin: 15px 0;
  min-width: 125px;
  padding: 0 8px 12px 8px;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: 1px
}
.return-link {
  text-align: center;
  margin: 10px auto 5px auto;
  font-weight: 600;
  font-family: "Cambria", serif;
  font-size: 18px;
}
.gem-left {
  width: 20px;
  height: auto;
  transform: rotate(-14deg);
  margin-bottom: -3px;
}
.gem-right {
  width: 20px;
  height: auto;
  transform: rotate(14deg);
  margin-bottom: -3px;
}
body.chat-mode .about-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-bottom: 10px;
}
body.chat-mode .about {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
#chat {
  flex: 1;
  margin-top: 0.5rem;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
#answer-area {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-bottom: 0.5rem;
}
#answer-area textarea {
  background: #fff;
  flex: 1;
  margin-top: 0;
  min-height: 110px;
}
#answer-area button {
  align-self: flex-end;
  height: auto;
  margin-top: 0;
  margin-bottom: 5px;
  min-width: 80px;
  padding: 6px;
  font-size: 17px;
}
#answer-area textarea:disabled {
	cursor: not-allowed; opacity: 0.5; resize: none;
}
#answer-area button:disabled {
	cursor: not-allowed; opacity: 0.5;
}
.msg {
  line-height: 1.4;
  padding: 0.75rem 1rem;
  white-space: pre-wrap;
  box-sizing: border-box;
  margin: 20px 10px;
  animation: unset;
}
.msg.agent, .msg.done,
.msg.agent p, .msg.done p {
	white-space: normal;
  color: #111;
}
.msg.agent {
  background: #e9d9ff;
  border: 3px solid #e2d0ff;
  border-radius: 15px;
  box-sizing: border-box;
  width: 90%;
  margin-right: auto;
}
.msg.user {
  background: #e2ffa0;
  border: 3px solid #cfff61;
  border-radius: 15px;
  box-sizing: border-box;
  width: 90%;
  margin-left: auto;
  color: #111;
}
.msg.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.status-content {
  display: contents;
}
.status-text {
  flex: 1;
  color: #200055;
  padding: 10px 0;
  font-size: 18px;
  text-shadow: 1px 2px 3px #ccc;
  margin: 0 0 0 -2px;
}
.status-tip {
  width: 100%;
  color: #3f00ab;
  font-size: 16px;
  padding: 0;
  margin: -4px 0 0 0;
}
.sparkle {
  color: #ff0060;
  font-size: 22px;
}
.loader {
  width: 48px;
  height: 40px;
  position: relative;
  display: inline-block;
  margin: 0 -2px 0 0;
  padding: 0;
}
.loader::before {
  content: '';
  left: 0;
  top: 0;
  position: absolute;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><path fill='%23200055' fill-rule='evenodd' transform='rotate(45 18 18)' d='M29,16 L34,16 L34,20 L29,20 L27.2,24.4 L30.7,27.9 L27.9,30.7 L24.4,27.2 L20,29 L20,34 L16,34 L16,29 L11.6,27.2 L8.1,30.7 L5.3,27.9 L8.8,24.4 L7,20 L2,20 L2,16 L7,16 L8.8,11.6 L5.3,8.1 L8.1,5.3 L11.6,8.8 L16,7 L16,2 L20,2 L20,7 L24.4,8.8 L27.9,5.3 L30.7,8.1 L27.2,11.6 L29,16 Z M18,14 a4,4 0 0,1 0,8 a4,4 0 0,1 0,-8 Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  will-change: transform;
  animation: rotationBack 3.5s linear infinite;
}
.loader::after {
  content: '';
  left: 20px;
  top: 12px;
  position: absolute;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23200055' fill-rule='evenodd' transform='rotate(45 12 12)' d='M19,10.5 L22,10.5 L22,13.5 L19,13.5 L16.8,17.3 L18.3,19.9 L15.7,21.4 L14.2,18.8 L9.8,18.8 L8.3,21.4 L5.7,19.9 L7.2,17.3 L5,13.5 L2,13.5 L2,10.5 L5,10.5 L7.2,6.7 L5.7,4.1 L8.3,2.6 L9.8,5.2 L14.2,5.2 L15.7,2.6 L18.3,4.1 L16.8,6.7 L19,10.5 Z M12,9 a3,3 0 0,1 0,6 a3,3 0 0,1 0,-6 Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  will-change: transform;
  animation: rotationBack 3.5s linear infinite reverse;
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}  
.msg.done a,
.msg.agent a.resume-link {
  display: block;
  width: fit-content;
  text-decoration: none;
  box-sizing: border-box;
}
.msg.agent a.resume-link {
	margin-left: 0;
  height: 40px !important;
  padding: 8px;
}
.msg.error {
	background: #f8d7da; border-left: 3px solid #f5c6cb; color: #721c24;
}
.msg p:first-child {
	margin-top: 0;
}
.msg > *:last-child {
	margin-bottom: 0;
}
.msg ul, .msg ol {
	margin: 0.3rem 0; padding-left: 1.5rem;
}
.msg li {
	margin: 0;
}
.msg h1, .msg h2, .msg h3 {
	font-size: 1.05em; margin: 0.5rem 0 0.25rem;
}
.msg hr {
	margin: 0.5rem 0;
}
.msg p {
	margin: 0 0 0.25rem;
}
