:root {
  color-scheme: light;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #f5f6f1;
  color: #20251f;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: #1d5f68;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid #d9ded4;
  background: #ffffff;
}

.workspace {
  width: min(920px, calc(100% - 32px));
  margin: 72px auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5e6a5a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.05;
}

p {
  max-width: 640px;
  margin: 0;
  color: #485246;
  font-size: 1.08rem;
  line-height: 1.8;
}

code {
  border-radius: 4px;
  padding: 2px 5px;
  background: #e7ebe2;
}

.login-page {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(29, 95, 104, 0.14), transparent 42%),
    #f5f6f1;
}

.login-panel {
  width: min(360px, 100%);
  padding: 28px;
  border: 1px solid #d9ded4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(32, 37, 31, 0.08);
}

.login-panel h1 {
  margin-bottom: 24px;
  font-size: 2rem;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #485246;
  font-size: 0.9rem;
  font-weight: 700;
}

input {
  width: 100%;
  height: 44px;
  border: 1px solid #b9c2b2;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

input:focus {
  border-color: #1d5f68;
  outline: 3px solid rgba(29, 95, 104, 0.18);
}

button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: #1d5f68;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover {
  background: #174e55;
}

.error {
  min-height: 28px;
  margin: 8px 0 12px;
  color: #9b2c2c;
  font-size: 0.9rem;
  line-height: 1.4;
}
