/* SPDX-License-Identifier: GPL-2.0-or-later */
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #152238;
  background: #f7f9fc;
  line-height: 1.65;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #1d4ed8;
  text-underline-offset: 3px;
}
header,
main,
footer {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e1e7ef;
}
header > a:first-child {
  font-size: 23px;
  font-weight: 700;
  color: #152238;
  text-decoration: none;
}
header span {
  color: #2563eb;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 12px 0 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
p {
  max-width: 80ch;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #52627a;
}
.intro {
  font-size: 18px;
  color: #52627a;
}
.scope {
  border-left: 3px solid #2563eb;
  background: #edf3ff;
  padding: 18px 22px;
  margin: 24px 0;
}
.scope strong {
  display: block;
}
.workspace {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  overflow: hidden;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid #e1e7ef;
}
.bar h2 {
  font-size: 15px;
  margin: 0;
}
.bar span {
  font-size: 13px;
  color: #14755d;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.columns > div {
  padding: 24px;
  min-width: 0;
}
.columns > div + div {
  border-left: 1px solid #e1e7ef;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
input {
  font: inherit;
  max-width: 100%;
  width: 100%;
  padding: 14px 0;
}
input::file-selector-button,
button,
.button {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  min-height: 44px;
  border: 1px solid #2563eb;
  border-radius: 7px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}
input::file-selector-button {
  margin-right: 10px;
}
.secondary,
#cancel {
  background: white;
  color: #1d4ed8;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
button:disabled {
  background: #edf1f6;
  color: #52627a;
  border-color: #e1e7ef;
  cursor: default;
}
.muted {
  font-size: 14px;
  color: #52627a;
}
#status {
  overflow-wrap: anywhere;
  color: #344866;
}
#status.error {
  color: #a52828;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
dl > div {
  min-width: 0;
}
dt {
  font-size: 12px;
  color: #52627a;
}
dd {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}
.notes {
  margin-top: 28px;
}
.notes p {
  color: #52627a;
}
.notes h2 {
  margin-top: 24px;
}
footer {
  border-top: 1px solid #e1e7ef;
  font-size: 13px;
  color: #52627a;
  margin-top: 28px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  header,
  main,
  footer {
    padding: 18px;
  }
  header {
    font-size: 13px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .columns > div {
    padding: 20px;
  }
  .columns > div + div {
    border-left: 0;
    border-top: 1px solid #e1e7ef;
  }
  .actions > * {
    width: 100%;
  }
  header > a:first-child {
    font-size: 19px;
  }
  .bar {
    padding: 14px;
  }
  dl {
    gap: 12px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
#selected-name {
  font-size: 14px;
  overflow-wrap: anywhere;
  min-width: 0;
}
