:root {
  color-scheme: light;
  --ink: #111c35;
  --muted: #526176;
  --blue: #284de4;
  --deep: #182c67;
  --line: #dfe5ed;
  --wash: #f4f6fa;
  --radius: 16px;
  --measure: 1264px;
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #7996ff;
  outline-offset: 3px;
}
button {
  border: 0;
  background: transparent;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
img {
  max-width: 100%;
}
.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.wrap {
  width: min(calc(100% - 88px), var(--measure));
  margin: auto;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 50;
  background: #fff;
  color: var(--blue);
  padding: 10px 15px;
}
.skip:focus {
  top: 8px;
}
#site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 15;
}
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 38px;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.brand img {
  width: 70px;
  height: 36px;
  object-fit: contain;
}
.brand .wordmark {
  display: block;
}
.auth-brand {
  display: block;
  width: 88px;
  height: auto;
  margin-bottom: 22px;
}
.contact-list {
  margin: 0;
}
.contact-list > div {
  display: grid;
  grid-template-columns: minmax(80px, 0.5fr) 1.5fr;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list > div:last-child {
  border: 0;
}
.contact-list dt {
  color: var(--muted);
}
.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.form-card > h2 {
  font-size: 21px;
  margin-bottom: 10px;
}
.nav {
  display: flex;
  gap: 26px;
  align-items: center;
  height: 100%;
}
.nav > a,
.nav > details > summary {
  font-size: 14px;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  height: 80px;
  cursor: pointer;
  list-style: none;
}
.nav > a[aria-current="page"],
.nav > details.current > summary,
.nav > a:hover,
.nav > details > summary:hover {
  color: var(--blue);
}
.nav > a[aria-current="page"]:after,
.nav > details.current > summary:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}
details > summary::-webkit-details-marker {
  display: none;
}
.nav details {
  position: relative;
}
.nav-pop {
  position: absolute;
  top: calc(100% - 5px);
  left: -18px;
  min-width: 190px;
  padding: 7px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 26px #14213b12;
}
.nav-pop a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
}
.nav-pop a:hover,
.nav-pop a:focus {
  background: var(--wash);
}
.nav-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 42px;
  background: transparent;
  color: var(--ink);
  border-radius: 8px;
}
.icon-btn:hover {
  background: var(--wash);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 20px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.5;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
  text-align: center;
}
.btn.primary {
  color: white;
  background: var(--blue);
}
.btn.primary:hover {
  background: #1738bc;
}
.btn.ghost {
  border-color: #cbd4e3;
  color: var(--ink);
  background: #fff;
}
.btn.ghost:hover {
  background: #f3f5fa;
  border-color: #98aac8;
}
.btn.danger {
  color: #9b2e40;
  border-color: #dfc1c7;
}
.btn.small {
  min-height: 38px;
  padding: 7px 14px;
}
.menu-toggle,
.mobile-nav {
  display: none;
}
main {
  min-height: 62vh;
}
main:focus {
  outline: 0;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  min-height: clamp(335px, 29vw, 445px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero-copy {
  width: 58%;
  padding: 48px 0;
  pointer-events: auto;
}
.hero h1 {
  font-size: clamp(36px, 3.65vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.06em;
  font-weight: 780;
}
.hero p {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.8;
  color: #3c4960;
  margin: 18px 0 27px;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 41%;
  z-index: 0;
  mask-image: linear-gradient(90deg, transparent, #000 27%);
}
.hero-art {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 50%;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  gap: 0;
}
.shortcut {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  padding: 4px 18px;
  border-left: 1px solid var(--line);
  min-height: 58px;
}
.shortcut:first-child {
  border-left: 0;
  padding-left: 3px;
}
.shortcut:last-child {
  padding-right: 0;
}
.short-icon {
  width: 32px;
  height: 43px;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.shortcut strong {
  font-size: 16px;
  display: block;
  line-height: 1.6;
}
.shortcut small {
  color: var(--muted);
  font-size: 12px;
  display: block;
}
.shortcut:hover strong {
  color: var(--blue);
}
.home-events {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.home-content {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(270px, 1fr);
  gap: 34px;
  padding: 45px 0 30px;
  align-items: start;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.section-head h2,
.section-title {
  font-size: clamp(24px, 2.15vw, 33px);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.text-link,
.back {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--blue);
}
.text-link:hover,
.back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feed {
  border-top: 1px solid var(--line);
}
.thumb {
  width: clamp(96px, 9.5vw, 152px);
  height: 77px;
  object-fit: cover;
  border-radius: 7px;
  flex: none;
}
.feed-item {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.feed-item:hover h3,
.card:hover h3 {
  color: var(--blue);
}
.feed-item h3 {
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.feed-item p,
.card p,
.hint,
.description {
  color: var(--muted);
}
.feed-item p,
.card p {
  font-size: 14px;
  line-height: 1.7;
}
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}
.meta .category {
  color: #2543a3;
  background: #edf2ff;
  border-radius: 4px;
  padding: 1px 7px;
  font-weight: 600;
}
.tool-panel {
  border-radius: var(--radius);
  background: #142342;
  color: white;
  padding: 25px 27px;
}
.tool-panel h2 {
  font-size: 23px;
  letter-spacing: -0.04em;
  line-height: 1.4;
}
.tool-panel .section-head {
  margin-bottom: 9px;
}
.tool-panel .text-link {
  color: #dfebff;
}
.tool-panel .tool-line {
  padding: 13px 0;
}
.tool-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ffffff2e;
  font-size: 14px;
  font-weight: 550;
}
.tool-line span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.tool-line:last-child {
  border-bottom: 0;
}
.tool-line:hover {
  color: #aec5ff;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 10px 0 55px;
}
.site-foot {
  background: #f5f7fb;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.foot-inner {
  min-height: 102px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.foot-inner .brand {
  font-size: 19px;
}
.foot-inner .brand img {
  width: 59px;
  height: 30px;
}
.foot-nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
.foot-nav a,
.foot-inner small {
  font-size: 13px;
  color: var(--muted);
}
.foot-nav a:hover {
  color: var(--blue);
}
.page {
  padding-top: 45px;
  padding-bottom: 44px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.page h1,
.auth h1 {
  font-size: clamp(33px, 3.4vw, 52px);
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -0.055em;
}
.page-head p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 58ch;
}
.filterbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}
.chip.active,
.chip[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 4px #1a34551a;
  color: var(--blue);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #cbd6e5;
  border-radius: 8px;
  padding: 0 10px;
  max-width: 100%;
  min-height: 40px;
}
.search-box input {
  border: 0;
  outline: 0;
  min-width: 0;
  background: transparent;
  width: 100%;
  height: 40px;
  font-size: 14px;
}
.search-box:focus-within {
  outline: 2px solid #8299ff;
}
.search-box button {
  padding: 6px;
  display: grid;
  place-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 22px 23px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}
a.card {
  transition:
    transform 0.2s,
    border-color 0.2s;
}
a.card:hover {
  border-color: #8da5df;
  transform: translateY(-2px);
}
.card h3 {
  font-size: 19px;
  line-height: 1.45;
}
.card .meta {
  margin-bottom: 2px;
}
.card .text-link {
  margin-top: auto;
  padding-top: 13px;
}
.empty {
  padding: 31px 15px;
  border: 1px dashed #cbd4e3;
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: #fafbfd;
}
.empty p {
  margin: 6px 0 8px;
}
.empty .btn {
  margin-top: 6px;
}
.back {
  margin-bottom: 18px;
}
.back > .icon {
  transform: rotate(180deg);
}
.readable {
  max-width: 830px;
  margin-inline: auto;
}
.readable h1 {
  margin-bottom: 15px;
}
.readable .lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  margin: 14px 0;
}
.body-text {
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.95;
}
.article-body {
  padding: 23px 0;
  border-top: 1px solid var(--line);
  margin-top: 21px;
}
.info-strip {
  padding: 16px 18px;
  background: var(--wash);
  border-radius: 10px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 18px 0;
  color: var(--muted);
}
.article-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.wide-search {
  max-width: 600px;
  margin: 0 0 20px;
}
.auth {
  max-width: 465px;
  margin: 50px auto 65px;
  padding: 0 20px;
}
.auth h1 {
  font-size: 34px;
  margin-bottom: 8px;
}
.auth .hint {
  margin-bottom: 22px;
}
.auth form,
.form-card form,
.entry-form {
  display: grid;
  gap: 16px;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  max-width: 750px;
}
.field {
  display: grid;
  gap: 6px;
}
.field > span {
  font-weight: 650;
  font-size: 14px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #bac7d9;
  border-radius: 7px;
  background: white;
  font-size: 16px;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #6f88ee;
}
.form-error {
  color: #a12838;
  background: #fff1f1;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.form-foot a {
  color: var(--blue);
}
.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form-card .btn {
  justify-self: start;
}
.form-card .intro {
  margin-bottom: 16px;
}
.account-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 27px;
  align-items: start;
}
.account-nav {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: grid;
  gap: 2px;
}
.account-nav a,
.account-nav button {
  display: block;
  text-align: left;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 600;
}
.account-nav a.active,
.account-nav a:hover,
.account-nav button:hover {
  color: var(--blue);
  background: white;
}
.block + .block {
  margin-top: 28px;
}
.block h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.record {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.record strong {
  display: block;
}
.record small {
  color: var(--muted);
}
.record .actions {
  justify-content: flex-end;
}
.record a:hover {
  color: var(--blue);
}
.status {
  padding: 2px 8px;
  border-radius: 6px;
  color: #314866;
  background: #edf2f8;
  font-size: 12px;
}
.status.published,
.status.approved {
  background: #e4f5ee;
  color: #186447;
}
#notice {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(25px, env(safe-area-inset-bottom));
  z-index: 50;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 10px 17px;
  box-shadow: 0 8px 28px #101f3730;
  max-width: 90vw;
  width: max-content;
  font-size: 14px;
}
#notice:empty {
  display: none;
}
.loading {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: min(430px, 90vw);
  padding: 23px 25px;
  color: var(--ink);
}
dialog::backdrop {
  background: #14234266;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 16px;
  }
  .nav {
    gap: 16px;
  }
  .wrap {
    width: calc(100% - 56px);
  }
  .shortcut {
    padding-inline: 15px;
  }
  .home-content {
    gap: 22px;
  }
  .nav-actions {
    gap: 5px;
  }
  .nav > a,
  .nav > details > summary {
    font-size: 13px;
  }
}
@media (max-width: 880px) {
  .header-inner {
    height: 65px;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .mobile-nav {
    display: grid;
    border-top: 1px solid var(--line);
    padding: 10px 24px 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .mobile-nav a {
    display: block;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
  }
  .mobile-nav a:hover,
  .mobile-nav a.active {
    background: var(--wash);
    color: var(--blue);
  }
  .hero-inner {
    min-height: 320px;
  }
  .short-icon {
    width: 37px;
    height: 37px;
  }
  .shortcut {
    gap: 10px;
  }
  .shortcut small {
    display: none;
  }
  .home-content {
    grid-template-columns: minmax(0, 1.6fr) minmax(215px, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-panel {
    padding: 18px 21px;
  }
  .foot-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px 25px;
    padding-block: 22px;
  }
  .account-grid {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 15px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: 60px;
  }
  .brand {
    gap: 7px;
    font-size: 21px;
  }
  .brand img {
    width: 50px;
    height: 27px;
  }
  .nav-actions {
    gap: 3px;
  }
  .nav-actions > .btn {
    min-height: 35px;
    padding: 6px 11px;
  }
  .nav-actions > .icon-btn {
    width: 32px;
  }
  .mobile-nav {
    padding-inline: 12px;
  }
  .hero-inner {
    min-height: 305px;
    align-items: flex-start;
  }
  .hero-copy {
    padding: 28px 0 115px;
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(28px, 6.8vw, 38px);
    letter-spacing: -0.05em;
  }
  .hero p {
    max-width: 90%;
    font-size: 14px;
    margin: 10px 0 15px;
  }
  .desktop-br {
    display: none;
  }
  .hero .btn {
    padding: 8px 13px;
    min-height: 39px;
    gap: 6px;
  }
  .hero-media {
    inset: 44% 0 0 19%;
    mask-image: linear-gradient(133deg, transparent 8%, #000 53%);
  }
  .hero-art {
    object-position: 50% 55%;
  }
  .shortcuts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 14px 0;
    gap: 0;
  }
  .shortcut {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
    padding: 0 !important;
    border: 0;
    min-height: 48px;
  }
  .shortcut strong {
    font-size: 12px;
  }
  .shortcut small {
    display: none;
  }
  .short-icon {
    width: 27px;
    height: 27px;
  }
  .short-icon svg {
    width: 21px;
    height: 21px;
  }
  .home-events {
    border: 0;
    padding: 0;
  }
  .thumb {
    width: 86px;
    height: 66px;
  }
  .feed-item {
    gap: 12px;
  }
  .feed-item:has(.thumb) p {
    display: none;
  }
  .home-content {
    grid-template-columns: 1fr;
    padding: 23px 0;
    gap: 23px;
  }
  .section-head {
    margin-bottom: 13px;
  }
  .feed-item {
    padding: 14px 0;
  }
  .feed-item h3 {
    font-size: 17px;
  }
  .duo,
  .grid,
  .grid.two,
  .split-fields {
    grid-template-columns: 1fr;
  }
  .duo {
    padding-bottom: 26px;
    gap: 23px;
  }
  .page {
    padding: 25px 0;
  }
  .page-head {
    display: grid;
    gap: 13px;
    margin-bottom: 18px;
  }
  .page-head .btn {
    justify-self: start;
  }
  .page h1 {
    font-size: 32px;
  }
  .filterbar {
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(0, 1fr);
    padding: 9px;
  }
  .search-box {
    width: 100%;
  }
  .card {
    padding: 17px 18px;
  }
  .account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .account-nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .account-nav a,
  .account-nav button {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 13px;
  }
  .form-card {
    padding: 17px;
  }
  .auth {
    margin: 30px auto;
  }
  .form-foot {
    font-size: 14px;
  }
  .foot-nav {
    gap: 12px 18px;
  }
  .foot-inner {
    display: grid;
    gap: 14px;
  }
  .foot-inner small {
    font-size: 12px;
  }
  .record {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tool-panel .tool-line {
    padding: 10px 0;
  }
  .description {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
    animation: none !important;
  }
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pager span {
  color: var(--muted);
  font-size: 14px;
}
