* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff;
  background:
    linear-gradient(rgba(15,23,42,.78), rgba(15,23,42,.78)),
    url("/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.55;
}

a {
  color: inherit;
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.page.doc {
  margin-top: 32px;
  margin-bottom: 12px;
  padding: 34px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.page.site-header {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 18px;
}

.page.doc {
  margin-top: 0;
}

.hero {
  padding: 44px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,.20);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  color: #dcecff;
  background: rgba(45,125,246,.22);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 6px;
  font-weight: 700;
}

h1 {
  margin: 20px 0 12px;
  max-width: 760px;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

p {
  max-width: 760px;
  margin: 0 0 14px;
}

ul, ol {
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #1167c8;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tile {
  display: block;
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  text-decoration: none;
}

.tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.tile span {
  color: #d5d5d5;
}

.doc {
  padding: 30px 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.nav a {
  color: #dcecff;
  text-decoration: none;
  font-weight: 600;
}

.quick-actions {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

.page.quick-actions {
  margin-top: 0;
  margin-bottom: 32px;
  padding: 24px;
}

.quick-actions h2 {
  margin-top: 0;
}

.quick-actions-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-actions-links a {
  display: inline-flex;
  align-items: center;
  min-height: 70px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-left: 3px solid #8e98a8;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
  transition: background .2s, border-color .2s, transform .2s;
}

.quick-actions-links a::after {
  content: "↗";
  margin-left: auto;
  color: #a9d0ff;
  font-size: 18px;
}

.quick-actions-links a:hover {
  transform: translateY(-2px);
  background: rgba(45,125,246,.4);
  border-color: rgba(169,208,255,.85);
  border-left-color: #4ea1ff;
}

.quick-actions-links a.active {
  background: rgba(45,125,246,.4);
  border-color: rgba(169,208,255,.85);
  border-left-color: #4ea1ff;
}

@media (max-width:760px) {
  .quick-actions-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width:520px) {
  .quick-actions { padding: 18px; }
  .quick-actions-links { grid-template-columns: 1fr; }
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  text-align: left;
}

.table th {
  background: rgba(45,125,246,.22);
}

.muted {
  color: #d5d5d5;
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 24px, 980px);
    padding: 28px 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

}
