.auth-real {
  max-width: 1050px;
  margin: 65px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.auth-real h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -2px;
}
.auth-real .panel {
  padding: 32px;
}
.auth-real label {
  margin-top: 18px;
}
.auth-real button {
  width: 100%;
  margin-top: 20px;
}
.auth-real .brand {
  display: block;
  margin-bottom: 32px;
}
.auth-real .hero {
  min-height: 480px;
  display: block;
  padding: 36px;
}
.auth-real .hero:before {
  background: linear-gradient(180deg, #e6edf4 0%, #e6edf4d9 62%, #e6edf450);
}
.auth-real .hero h1 {
  max-width: 360px;
}
.runtime-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px 36px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.runtime-head > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.runtime-shell {
  max-width: 1450px;
  margin: auto;
  padding: 30px 32px;
}
.runtime-shell .panel {
  margin-bottom: 20px;
}
.runtime-shell form > label,
.runtime-shell form > .check {
  margin: 16px 0;
}
.runtime-shell .tabs {
  margin-top: 0;
}
.runtime-shell .progress {
  margin-bottom: 25px;
}
.runtime-shell .doc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.runtime-shell .doc-row > div:first-child {
  flex: 1;
  min-width: 170px;
}
.runtime-shell .doc-row small {
  display: block;
  color: var(--muted);
}
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.runtime-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.runtime-shell .status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.inline-message {
  border-radius: 10px;
  padding: 12px;
  background: #edf3fc;
  color: #284c80;
  margin-top: 18px;
}
.runtime-shell .stack {
  display: grid;
  gap: 16px;
}
.runtime-shell details {
  padding: 16px 0;
}
.runtime-shell summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.runtime-shell .body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.runtime-shell .card {
  display: block;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
}
.runtime-shell .board {
  grid-template-columns: repeat(9, 260px);
}
.runtime-shell .table-wrap a {
  white-space: normal;
}
.muted.small {
  font-size: 12px;
}
.runtime-empty {
  max-width: 650px;
  margin: 40px auto;
}
.runtime-shell input[type="file"] {
  padding: 10px;
}
.runtime-shell fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.runtime-shell fieldset[disabled] {
  opacity: 0.65;
}
.upload-note {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 780px) {
  .auth-real {
    grid-template-columns: 1fr;
    margin: 20px auto;
    gap: 20px;
  }
  .auth-real .hero {
    min-height: 240px;
  }
  .auth-real .hero h1 {
    font-size: 36px;
  }
  .auth-real .panel {
    padding: 24px;
  }
  .runtime-head {
    padding: 18px;
    align-items: flex-start;
  }
  .runtime-head .brand {
    font-size: 22px;
  }
  .runtime-head > div {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
  }
  .runtime-head .session-email {
    display: none;
  }
  .runtime-shell {
    padding: 24px 18px;
  }
  .upload-grid {
    grid-template-columns: 1fr;
  }
  .runtime-shell .fields {
    grid-template-columns: 1fr;
  }
}
@media print {
  .runtime-head,
  .runtime-nav,
  .tabs,
  button,
  form,
  .notice {
    display: none;
  }
  .runtime-shell {
    padding: 0;
  }
}
