.marking-guide .article-hero { padding: clamp(26px, 4vw, 50px); }
.marking-guide .article-hero h1 { max-width: 1050px; line-height: 1.1; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.guide-actions .button { width: auto; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; text-align: center; text-decoration: none; color: #fff; background: #0867f2; border-color: #0867f2; }
.guide-actions > a:not(.button) { color: var(--blue-700); font-weight: 650; text-underline-offset: 4px; }
.article-cta .guide-actions .button { color: #0058d8; background: #fff; border-color: #fff; }
.article-cta .guide-actions > a:not(.button) { color: #d7e8fb; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.guide-meta li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); color: var(--muted); font-size: 13px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.guide-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--blue-050); }
.article .guide-card h3 { margin: 0 0 12px; }
.article .guide-card p:last-child, .article .guide-card ul:last-child { margin-bottom: 0; }
.guide-warning { margin: 24px 0; padding: 20px 24px; border: 1px solid #e5c999; border-left: 4px solid #b47719; border-radius: 10px; background: #fff9eb; color: #674713; line-height: 1.7; }
.guide-warning p:last-child { margin-bottom: 0; }
.guide-toc { margin: 22px 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--blue-050); }
.guide-toc ol, .guide-toc ul { margin-bottom: 0; }
.guide-toc strong { display: block; margin-bottom: 12px; }
.guide-table-wrap { max-width: 100%; overflow-x: auto; }
.guide-table-wrap table { min-width: 530px; }
.marking-guide .article { overflow-wrap: anywhere; }
.marking-guide .article-cta { background: linear-gradient(135deg, #0b3b76, #061a35); }
.marking-guide :is(h2, h3, section[id]) { scroll-margin-top: 24px; }
.marking-example { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: min(100%, 270px); min-height: 300px; margin: 20px auto; padding: 26px 18px; border: 1px solid #c9d7e6; border-radius: 10px; background: #fff; color: #18283e; box-shadow: 0 8px 20px #102b4c0d; text-align: center; }
.marking-example__code { display: grid; place-items: center; width: 130px; height: 130px; padding: 16px; border: 5px solid #223a53; border-top-style: dashed; border-right-style: dashed; background: #f3f7fb; font-weight: 750; line-height: 1.4; }
.marking-example__caption { max-width: 100%; font-family: ui-monospace, monospace; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.marking-example small { color: #617185; font-size: 11px; }
.marking-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; padding: 0 !important; list-style: none; counter-reset: marking-step; }
.article .marking-flow li { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--blue-050); counter-increment: marking-step; }
.marking-flow li::before { content: "0" counter(marking-step); display: block; margin-bottom: 16px; color: var(--blue-600); font-size: 24px; font-weight: 800; }
.marking-flow strong { display: block; margin-bottom: 8px; }
.marking-flow span { color: var(--muted); font-size: 14px; }
.marking-guide details { margin: 12px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; }
.marking-guide summary { cursor: pointer; font-weight: 700; line-height: 1.5; }
.marking-guide details p { margin: 14px 0 0; }
[data-theme="dark"] .guide-warning { color: #eed5a6; background: #30291d; border-color: #796238; }
@media (max-width: 700px) {
  .guide-grid, .marking-flow { grid-template-columns: 1fr; }
  .guide-card, .guide-toc, .guide-warning { padding: 18px; }
  .guide-actions { align-items: stretch; flex-direction: column; }
  .guide-actions .button { width: 100%; }
}
