:root {
  --black: #0b0b0c;
  --panel: #111113;
  --paper: #ece8df;
  --muted: #98948c;
  --line: #302f2c;
  --accent: #9b1c25;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--black);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  min-height: 100vh;
}

.portal {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 46% 54%;
}

.brand-panel {
  background:
    linear-gradient(rgba(7,7,8,.91), rgba(7,7,8,.96)),
    radial-gradient(circle at 25% 25%, #28282b, #080809 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px;
  border-right: 1px solid #242426;
}

.brand-content {
  width: 100%;
  max-width: 520px;
}

.eyebrow,
.section-number,
label,
.security-note,
.confidential {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .18em;
}

.eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 30px;
}

.brand-content h1 {
  margin: 0;
  font-size: clamp(55px, 7vw, 105px);
  line-height: .83;
  font-weight: 400;
  letter-spacing: -.055em;
}

.rule {
  width: 65px;
  height: 2px;
  background: var(--accent);
  margin: 38px 0 30px;
}

.manuscript-label {
  font-size: 14px;
  letter-spacing: .11em;
}

.brand-copy {
  max-width: 390px;
  color: #aaa69e;
  line-height: 1.7;
  font-size: 15px;
  margin-top: 28px;
}

.confidential {
  margin-top: 50px;
  font-size: 9px;
  color: #686660;
}

.login-panel {
  background: var(--panel);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
}

.login-box {
  width: 100%;
  max-width: 460px;
}

.mobile-brand {
  display: none;
}

.section-number {
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 24px;
}

.login-box h2 {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 400;
}

.intro {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 42px;
}

label {
  display: block;
  font-size: 9px;
  color: #aaa69e;
  margin: 22px 0 9px;
}

input {
  width: 100%;
  height: 52px;
  border: 1px solid #343438;
  background: #0c0c0e;
  color: white;
  padding: 0 15px;
  font-size: 16px;
  outline: none;
  border-radius: 2px;
}

input:focus {
  border-color: #716e68;
}

button {
  width: 100%;
  height: 54px;
  margin-top: 30px;
  border: 0;
  border-radius: 2px;
  background: var(--paper);
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: white;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

.message {
  min-height: 24px;
  margin-top: 18px;
  color: #c86565;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.security-note {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 22px;
  font-size: 9px;
  color: #77746e;
}

.security-note span {
  color: #47805c;
  margin-right: 6px;
}

.legal {
  margin-top: 22px;
  color: #65625d;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .portal {
    display: block;
  }

  .brand-panel {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 35px 25px;
  }

  .mobile-brand {
    display: block;
    font-size: 18px;
    margin-bottom: 70px;
    letter-spacing: .08em;
  }

  .login-box h2 {
    font-size: 36px;
  }
}

/* ============================================================
   PUBLIC RECORD // RESPONSE WORKSTATION
   ============================================================ */

.public-responder{
  margin-top:1rem;
  border-top:1px solid #332f29;
  padding-top:1rem;
}

.public-responder summary{
  cursor:pointer;
  font-size:.58rem;
  font-weight:700;
  letter-spacing:.14em;
}

.public-responder-body{
  margin-top:1rem;
  padding:1rem;
  border:1px solid #332f29;
}

.public-responder-recipient,
.public-response-note,
.public-response-empty{
  margin-bottom:1rem;
  font-size:.55rem;
  letter-spacing:.1em;
  opacity:.65;
}

.public-responder label{
  display:block;
  margin:1rem 0;
  font-size:.55rem;
  letter-spacing:.12em;
}

.public-responder input,
.public-responder textarea{
  display:block;
  width:100%;
  margin-top:.5rem;
  padding:.75rem;
  border:1px solid #332f29;
  background:#090b0a;
  color:inherit;
  font:inherit;
}

.public-responder textarea{
  min-height:130px;
  resize:vertical;
}

.public-response-history{
  margin-top:1.25rem;
}

.public-response-history-item{
  padding:1rem 0;
  border-top:1px solid #332f29;
}

.public-response-history-head{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.6rem;
  font-size:.52rem;
  letter-spacing:.1em;
}

.public-response-subject{
  margin-bottom:.5rem;
  font-weight:700;
}

.public-response-body{
  white-space:pre-wrap;
  line-height:1.6;
}
