:root {
  --ink: #232a30;
  --copper: #cc4747;
  --bg: #f7f8f9;
  --surface: #ffffff;
  --muted: #5b6770;
  --border: #e3e7ea;
  --trust: #2e7d5b;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f7f8f9;
  color: #232a30;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: 68px;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #cc4747;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
}
.qm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.qm-wrap-wide {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.qm-main {
  min-height: 60vh;
}
.qm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
  background: rgba(247, 248, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e3e7ea;
}
.qm-brand {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #232a30;
  text-decoration: none;
}
.qm-brand b {
  color: #cc4747;
  font-weight: 800;
}
.qm-nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.qm-nav-links a {
  font-size: 0.9rem;
  color: #232a30;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 2px;
  transition: color .2s;
}
.qm-nav-links a:hover {
  color: #cc4747;
}
.qm-nav-cta {
  background: #cc4747;
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.qm-nav-cta:hover {
  background: #a93838;
}
.qm-page-head {
  padding: 52px 0 8px;
}
.qm-page-head h1 {
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #232a30;
  margin: 0 0 .35em;
  font-weight: 700;
}
.qm-page-head p {
  color: #5b6770;
  font-size: 1.06rem;
  margin: 0;
}
.qm-article {
  padding: 40px 0 64px;
}
.qm-article h1 {
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: .15em 0 .4em;
  font-weight: 700;
}
.qm-article h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 1.7em 0 .45em;
  font-weight: 700;
}
.qm-article h3 {
  font-size: 1.18rem;
  margin: 1.4em 0 .3em;
  font-weight: 600;
}
.qm-article p,
.qm-article li {
  color: #45535f;
  font-size: 1.05rem;
  line-height: 1.75;
}
.qm-article a {
  color: #cc4747;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qm-article img {
  border-radius: 16px;
  margin: 1.2em 0;
}
.qm-article blockquote {
  border-left: 3px solid #cc4747;
  margin: 1.4em 0;
  padding: .1em 0 .1em 20px;
  color: #5b6770;
}
.qm-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: .97rem;
}
.qm-article th,
.qm-article td {
  border: 1px solid #e3e7ea;
  padding: 10px 14px;
  text-align: left;
}
.qm-article th {
  background: #eef0f2;
}
.qm-meta {
  color: #8b94a0;
  font-size: .9rem;
}
.qm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  padding: 32px 0;
}
.qm-card {
  background: #ffffff;
  border: 1px solid #e3e7ea;
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.qm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(32, 38, 44, 0.08);
}
.qm-card h2,
.qm-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin: .4em 0 .35em;
}
.qm-card h2 a,
.qm-card h3 a {
  color: #232a30;
  text-decoration: none;
}
.qm-card p {
  color: #5b6770;
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 .8em;
}
.qm-btn {
  display: inline-block;
  background: #cc4747;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, transform .15s;
}
.qm-btn:hover {
  background: #a93838;
  transform: translateY(-1px);
}
.qm-btn-ghost {
  background: transparent;
  color: #232a30;
  border: 1.5px solid #e3e7ea;
}
.qm-btn-ghost:hover {
  background: #ffffff;
  border-color: #cc4747;
  color: #cc4747;
}
.qm-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: #2e7d5b;
  background: rgba(46, 125, 91, 0.08);
  border: 1px solid rgba(46, 125, 91, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}
.qm-pagination {
  padding: 24px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.qm-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid #e3e7ea;
  border-radius: 10px;
  color: #232a30;
  text-decoration: none;
}
.qm-pagination .current {
  background: #cc4747;
  color: #fff;
  border-color: #cc4747;
}
.qm-footer {
  background: #232a30;
  color: #cfd6dd;
  padding: 48px 32px;
  margin-top: 72px;
  margin-bottom: 0;
}
.qm-footer .qm-wrap-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.qm-footer a {
  color: #fff;
  text-decoration: none;
}
.qm-footer a:hover {
  color: #e08f8f;
}
.qm-notice {
  text-align: center;
  padding: 90px 0;
}
.admin-bar .qm-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .qm-nav {
    top: 46px;
  }
}
@media (max-width: 720px) {
  .qm-nav {
    padding: 0 18px;
  }
  .qm-nav-links {
    display: none;
  }
  .qm-page-head h1,
  .qm-article h1 {
    font-size: 1.85rem;
  }
}
.rj-credit {
  margin: 0;
  padding: 14px 24px;
  background: #1d2227;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: #7d8893;
}
.rj-credit__link {
  color: #97a2ad;
  text-decoration: none;
  transition: color 0.2s;
}
.rj-credit__link:hover {
  color: #e08f8f;
}
