:root {
  font-family: Inter, Pretendard, system-ui, sans-serif;
  color: #17352f;
  background: #f3f6f4;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 74px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid #dce5df;
  background: #fff;
  gap: 24px;
}
.brand {
  font-size: 18px;
  font-weight: 750;
  color: #17352f;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  margin-left: 8px;
  color: #29856c;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.card {
  max-width: 620px;
  margin: 8vh auto;
  padding: 40px;
  background: white;
  border: 1px solid #dce5df;
  border-radius: 18px;
  box-shadow: 0 8px 36px #17352f08;
}
h1 {
  font-size: 36px;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin: 16px 0 24px;
}
.eyebrow {
  letter-spacing: 0.14em;
  font-size: 11px;
  color: #29856c;
  font-weight: 700;
}
p,
small {
  line-height: 1.7;
}
small {
  color: #6b7e75;
}
form {
  display: flex;
  gap: 10px;
  align-items: center;
}
#login {
  display: grid;
  margin: 26px 0;
}
label {
  font-size: 13px;
  font-weight: 600;
}
input,
select,
button {
  font: inherit;
  border-radius: 8px;
  border: 1px solid #cddbd3;
  padding: 10px 12px;
  background: white;
  color: inherit;
}
button {
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: #e9f2ec;
}
#login button {
  background: #20694f;
  color: white;
  border: 0;
  padding: 13px;
}
input:focus,
select:focus {
  outline: 2px solid #45a783;
  outline-offset: 1px;
}
.feature {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #e3ebe6;
}
.feature span {
  grid-column: 1/-1;
  font-size: 14px;
  color: #62786b;
}
code {
  font-size: 13px;
}
.toolbar {
  height: auto;
  min-height: 70px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 24px;
}
.toolbar #title {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.toolbar input,
.toolbar select,
.toolbar button {
  font-size: 12px;
  padding: 7px 9px;
}
#pageNumber {
  width: 50px;
}
#pageCount {
  font-size: 12px;
  white-space: nowrap;
}
#search {
  width: 145px;
}
#matches {
  font-size: 11px;
}
#logout {
  margin-left: auto;
}
.documentStatus {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #17352f;
  color: white;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  max-width: 90vw;
}
.documentStatus:empty {
  display: none;
}
#viewerContainer {
  position: absolute;
  inset: 90px 0 0;
  overflow: auto;
  background: #dce3df;
  outline: none;
}
#viewer {
  padding: 20px 0;
}
.pdfViewer .page {
  box-shadow: 0 3px 14px #0002;
}
@media (max-width: 1000px) {
  #viewerContainer {
    top: 132px;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar #title {
    max-width: 130px;
  }
  .brand {
    font-size: 15px;
  }
  #zoom {
    max-width: 105px;
  }
}
@media (max-width: 600px) {
  header {
    padding: 0 18px;
  }
  .card {
    margin: 24px 12px;
    padding: 26px;
  }
  h1 {
    font-size: 30px;
  }
  .toolbar .brand span,
  .toolbar #title {
    display: none;
  }
  .toolbar {
    padding: 10px;
  }
  .toolbar input {
    min-width: 0;
  }
  #viewerContainer {
    top: 132px;
  }
}
