:root {
  color-scheme: light;
  --text: #202330;
  --muted: #626878;
  --accent: #5e6ad2;
  --line: #d5d8df;
  --paper: #fff;
  --surface: #f5f6f8;
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--surface);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--muted);
  text-underline-offset: 0.2em;
}
a:hover,
summary:hover {
  color: var(--text);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.auth {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 20px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(145, 153, 168, 0.14),
      transparent 34%
    ),
    linear-gradient(#fcfcfd, #f4f5f7);
}
.login {
  width: min(100%, 320px);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.login img {
  width: 190px;
  height: auto;
  max-width: 100%;
  margin-bottom: 12px;
}
h1 {
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}
form {
  width: 100%;
  display: grid;
  gap: 13px;
}
label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  text-align: left;
  font-weight: 500;
}
input,
button {
  font: inherit;
}
input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  padding: 8px 12px;
}
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
input[readonly] {
  background: var(--surface);
  color: var(--muted);
}
button {
  cursor: pointer;
  min-height: 38px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 550;
}
button:disabled {
  opacity: 0.65;
  cursor: default;
}
p[role="status"] {
  margin: 0;
  font-size: 13px;
}
p[role="status"]:empty {
  display: none;
}
header {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  gap: 16px;
}
header img {
  width: 84px;
  height: auto;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
header nav a {
  overflow-wrap: anywhere;
}
header form {
  width: auto;
}
.plain {
  background: transparent;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  padding: 4px;
}
.workspace {
  max-width: 1080px;
  margin: auto;
  padding: clamp(20px, 4vw, 48px);
}
.settings {
  max-width: 400px;
  display: grid;
  gap: 22px;
}
details {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
summary {
  cursor: pointer;
  font-weight: 550;
}
details form {
  margin-top: 16px;
}
