:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #101d35;
  background: #f1f4f9;
  font-synthesis: none;
  line-height: 1.55;
  --ink: #101d35;
  --accent: #2563eb;
  --line: #cbd5e1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
.shell {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}
header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
header > a {
  margin-right: auto;
}
.logo {
  display: block;
  width: 190px;
  height: auto;
}
.badge {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}
header form {
  margin: 0;
}
main {
  min-height: 70vh;
}
.intro {
  padding: 64px 0 38px;
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 750;
  font-size: 0.73rem;
  color: #1d4ed8;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 24px;
  font-weight: 750;
}
h2 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin: 0 0 15px;
}
h3 {
  font-size: 1.65rem;
  letter-spacing: -0.035em;
  margin: 20px 0 9px;
}
p {
  margin: 0 0 18px;
}
.intro > p,
.intro > div > p:last-child {
  color: #475569;
  max-width: 520px;
  font-size: 1.05rem;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 30px;
}
.narrow {
  max-width: 480px;
  margin-bottom: 48px;
}
.columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.secondary {
  background: #e7edf8;
}
.secondary li {
  padding: 0 0 18px 5px;
}
ol {
  padding-left: 20px;
}
code {
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  margin: 18px 0 8px;
}
label span {
  font-weight: 400;
}
input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  border: 1px solid #94a3b8;
  border-radius: 5px;
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  margin-top: 7px;
}
input:focus {
  outline: 3px solid #2563eb88;
  outline-offset: 2px;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: #1d4ed8;
}
form > button {
  margin-top: 18px;
}
.outline {
  color: var(--ink);
  background: transparent;
}
.outline:hover {
  background: #dbe7ff;
}
.quiet {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 8px;
}
.hint,
.muted {
  font-size: 0.83rem;
  color: #475569;
}
.hint {
  margin: 10px 0;
}
.notice {
  border: 1px solid #60a5fa;
  background: #eff6ff;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 25px 0;
}
.error {
  background: #fff1f2;
  border-color: #fda4af;
}
.warning {
  color: #9a3412;
}
.dashboard {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.overview {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  border-left: 1px solid #94a3b8;
  padding-left: 35px;
  font-size: 0.85rem;
  color: #475569;
}
.overview strong {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.06em;
}
.dot {
  font-size: 0.74rem;
  margin-top: 16px;
}
.dot:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #15803d;
  margin-right: 7px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 22px;
}
.section-title h2 {
  margin: 0;
}
.section-title .hint {
  margin: 4px 0;
}
.section-title button {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-icon {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  border-radius: 6px;
  width: 60px;
  height: 60px;
  font-size: 2.6rem;
  line-height: 1;
}
.app-card {
  display: flex;
  flex-direction: column;
}
.app-card > p {
  color: #475569;
  max-width: 400px;
  min-height: 52px;
}
.version {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 10px 0 22px;
  font-size: 0.8rem;
  color: #475569;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.actions button {
  margin-top: 0;
}
details {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}
.check input {
  margin-top: 4px;
  accent-color: #1d4ed8;
}
.lower {
  margin-top: 24px;
}
.history {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 340px;
  overflow: auto;
}
.history li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.history strong {
  display: block;
  font-size: 0.88rem;
}
.history strong span {
  font-weight: 400;
}
.history time {
  font-size: 0.76rem;
  color: #475569;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 64px;
  font-size: 0.75rem;
  color: #475569;
}
.maker-credit {
  display: flex;
  align-items: center;
  gap: 10px;
}
.maker-credit img {
  display: block;
  width: 150px;
  height: auto;
}
:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}
@media (max-width: 720px) {
  .shell {
    padding: 0 20px;
  }
  header {
    flex-wrap: wrap;
    padding: 22px 0;
    gap: 10px;
  }
  .logo {
    width: 150px;
  }
  header .badge {
    display: none;
  }
  .intro {
    padding: 42px 0 28px;
  }
  .columns,
  .cards {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 24px;
  }
  .overview {
    display: none;
  }
  .section-title {
    align-items: flex-start;
  }
  .section-title button {
    font-size: 0.75rem;
    padding: 9px 12px;
  }
  .version {
    flex-wrap: wrap;
  }
  footer {
    flex-direction: column;
    gap: 5px;
  }
}

input[type="password"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

.main-nav { display:flex; align-items:center; gap:6px; }
.main-nav a { padding:9px 14px; border-radius:5px; font-size:.88rem; font-weight:650; text-decoration:none; color:#475569; }
.main-nav a:hover { background:#dbe7ff; color:#101d35; }
.main-nav a[aria-current="page"] { color:#ffffff; background:#101d35; }
.setup-facts { margin:24px 0; }
.setup-facts dt { color:#475569; font-size:.8rem; margin-top:16px; }
.setup-facts dd { margin:3px 0 0; font-weight:600; overflow-wrap:anywhere; }
.status-ok { color:#166534; background:#f0fdf4; border-color:#86efac; }
@media(max-width:720px) { .main-nav {order:3; flex-basis:100%; padding-top:10px;} header form {margin-left:auto;} }

select { display:block; width:100%; margin-top:7px; padding:12px 14px; border:1px solid #94a3b8; border-radius:5px; background:#fff; color:#101d35; font:inherit; }
