* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f3ea;
  color: #183c30;
  font:
    16px/1.6 Arial,
    sans-serif;
  --ink: #183c30;
  --photo: url("/themes/forest.jpg");
  --surface: #f6f3ea;
}
body[data-sector="optoelectronics"] {
  --ink: #163c54;
  --photo: url("/themes/fibre.jpg");
  --surface: #f1f6f8;
  background: var(--surface);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
label {
  touch-action: manipulation;
}
button {
  min-height: 44px;
  border: 1px solid #718a7d;
  background: white;
  color: var(--ink);
  padding: 10px 17px;
  border-radius: 8px;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #b36800;
  outline-offset: 3px;
}
h1,
h2 {
  font-family: Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 21px;
}
h4 {
  font-size: 18px;
}
.primary {
  background: var(--ink);
  color: white;
  font-weight: bold;
}
.danger {
  border-color: #8e4337;
  color: #75382e;
}
.brand {
  font-weight: bold;
  letter-spacing: 1.5px;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.6px;
  font-weight: normal;
}
#header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 20px max(24px, calc((100vw - 1160px) / 2));
}
.languages {
  display: flex;
  gap: 10px;
}
.languages button {
  border: 0;
  background: transparent;
}
.languages [aria-pressed="true"] {
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  font-weight: bold;
}
#app,
#footer,
#notice {
  max-width: 1160px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--ink);
  color: #fff;
  min-height: 465px;
}
.hero-copy {
  padding: 42px;
}
.hero-copy h1 {
  font-size: 42px;
  margin: 18px 0;
}
.hero-copy p {
  color: #e5ece7;
}
.hero-photo {
  background: var(--photo) center/cover;
  position: relative;
  min-height: 220px;
}
.circuit-detail {
  background: url("/themes/circuit.jpg") center/cover;
  width: 100px;
  height: 100px;
  position: absolute;
  right: 20px;
  top: 20px;
  border: 3px solid white;
  border-radius: 50%;
}
.tag {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.entry-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  margin: 36px 0;
}
.panel {
  background: #fff;
  border: 1px solid #cbd7ce;
  border-radius: 13px;
  padding: 27px;
  margin: 24px 0;
}
.panel > label,
.field {
  display: block;
}
.panel input[type="password"],
form > input[type="password"] {
  width: 100%;
  padding: 13px;
  border: 1px solid #627c6c;
  border-radius: 6px;
  margin: 9px 0 16px;
}
form > .primary {
  width: 100%;
}
.muted,
.small {
  color: #4d6357;
}
.small {
  font-size: 13px;
}
.rights {
  background: #e5ece3;
  padding: 20px;
  border-radius: 9px;
}
body[data-sector="optoelectronics"] .rights {
  background: #e2ecf1;
}
.ribbon {
  background-image: linear-gradient(90deg, #132f29e8, #0b253550), var(--photo);
  background-size: cover;
  background-position: center;
  padding: 22px 30px;
  color: white;
  border-radius: 0 0 12px 12px;
}
.ribbon h1 {
  margin: 8px 0;
  font-size: 30px;
}
.ribbon p {
  margin: 0;
  font-size: 14px;
}
.demo {
  background: #fff1c9;
  color: #554115;
  padding: 8px 15px;
  font-size: 12px;
}
.metrics {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 20px 0 8px;
}
progress {
  width: 100%;
  height: 7px;
  accent-color: var(--ink);
}
nav,
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
nav button[aria-current] {
  background: var(--ink);
  color: #fff;
}
.save-status {
  border-left: 3px solid var(--ink);
  padding-left: 12px;
  font-size: 13px;
}
.why {
  max-width: 850px;
}
.choice-fieldset {
  border: 0;
  padding: 0;
  margin: 16px 0;
}
.choice-fieldset legend {
  font-size: 14px;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  background: white;
  border: 1.5px solid #9eb3a7;
  border-radius: 10px;
  cursor: pointer;
  min-height: 86px;
}
.choice input {
  width: 19px;
  height: 19px;
  accent-color: var(--ink);
  margin: 0;
  flex-shrink: 0;
}
.choice svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  flex-shrink: 0;
}
.choice:has(input:checked) {
  border: 2px solid var(--ink);
  background: #e9f0e7;
  padding: 19.5px;
}
.choice:has(input:focus-visible) {
  outline: 3px solid #b36800;
  outline-offset: 3px;
}
.choice strong {
  font-size: 16px;
}
.function-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.function-index button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.source {
  border-left: 3px solid #93a891;
  padding: 13px 17px;
  background: #f2f5ef;
  font-size: 14px;
  overflow-wrap: anywhere;
}
a {
  color: var(--ink);
}
.country-map {
  width: 100%;
  max-height: 370px;
  background: #e5edf0;
  margin-top: 15px;
}
.country-map path {
  fill: #a6b7ac;
  stroke: white;
  stroke-width: 0.4;
  cursor: pointer;
}
.country-map .selected {
  fill: #214c3b;
}
.country-map .muted-country {
  opacity: 0.3;
}
.country-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0;
}
.country-list label,
.country-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  background: white;
  padding: 8px;
  border: 1px solid #ccd8d0;
  border-radius: 5px;
}
.country-list input,
.country-choice input {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
}
.review-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: #fff;
  border-bottom: 1px solid #cbd7cf;
  padding: 20px 24px;
  overflow-wrap: anywhere;
}
.review-row .source {
  grid-column: 1/-1;
}
.review-row button {
  align-self: start;
}
.review-row h3 {
  margin: 0;
}
.error {
  padding: 16px;
  background: #fae7e0;
  color: #712f24;
  border-left: 3px solid #8d4635;
}
#notice {
  padding: 14px;
  color: #713c24;
  position: sticky;
  bottom: 0;
  background: var(--surface);
}
#notice:empty {
  padding: 0;
}
#footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #c7d4c9;
  padding: 24px 0;
  margin-top: 40px;
  font-size: 12px;
}
.vendor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vendor {
  flex-wrap: wrap;
}
.vendor-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.vendor img {
  height: 22px;
  width: auto;
  max-width: 110px;
}
.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links button {
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  font-size: 12px;
}
dialog {
  max-width: 600px;
  border: 1px solid #91a79a;
  border-radius: 10px;
  padding: 28px;
  color: var(--ink);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field select {
  width: 100%;
  padding: 10px;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 1208px) {
  #app,
  #footer,
  #notice {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 720px) {
  #app,
  #footer,
  #notice {
    margin-left: 16px;
    margin-right: 16px;
  }
  #header {
    padding: 15px 16px;
  }
  .brand {
    font-size: 13px;
  }
  .languages {
    gap: 0;
  }
  .languages button {
    font-size: 14px;
    padding: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    grid-row: 1;
    min-height: 160px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero-copy h1 {
    font-size: 34px;
  }
  .entry-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 20px;
  }
  .choices,
  .function-index {
    grid-template-columns: 1fr;
  }
  .country-list {
    grid-template-columns: 1fr 1fr;
  }
  .review-row {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .ribbon {
    padding: 22px;
  }
  .ribbon h1 {
    font-size: 26px;
  }
  .metrics {
    font-size: 12px;
  }
  .actions button {
    flex: 1;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  #footer {
    align-items: flex-start;
  }
  .choice {
    padding: 17px;
  }
  .choice:has(input:checked) {
    padding: 16.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
.legal-page {
  max-width: 1000px !important;
}
.legal-page .panel {
  padding: 32px 40px;
}
.legal-page h2 {
  font-size: 25px;
  margin-top: 32px;
}
.legal-page p {
  max-width: 78ch;
}
.legal-page address {
  font-style: normal;
  overflow-wrap: anywhere;
}
.legal-nav {
  gap: 16px 24px;
}
.legal-nav a[aria-current] {
  font-weight: bold;
  text-underline-offset: 5px;
}
.legal-intro {
  font-size: 18px;
}
.legal-page li {
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.languages a {
  padding: 8px;
  color: var(--ink);
}
.languages a[aria-current] {
  font-weight: bold;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
@media (max-width: 720px) {
  .legal-page .panel {
    padding: 20px;
  }
  .legal-page h2 {
    font-size: 23px;
  }
}
