:root {
  color-scheme: light dark;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 24px;
  line-height: 1.5;
}
.container {
  max-width: 780px;
  margin: 0 auto;
}
h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}
.card {
  border: 1px solid #ccc3;
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0;
}
label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}
input[type="text"],
input[type="password"],
input[type="date"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc6;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.row-single {
  grid-template-columns: 1fr;
}
.mt-20 { margin-top: 20px; }
.mt-8 { margin-top: 8px; }
.mt-4 { margin-top: 4px; }
.row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #8884;
  cursor: pointer;
  background: #2b7;
  color: #fff;
  font-weight: 600;
}
button.secondary {
  background: #09f;
}
button.ghost {
  background: transparent;
  color: inherit;
  border-color: #8886;
}
.small {
  font-size: 0.9rem;
  color: #888;
}
pre {
  background: #0000000c;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
  max-height: 360px;
}
#session_status {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  display: block;
}
