.document-shell { min-height: 100vh; background: #f7f4fa; }
.document-header { background: linear-gradient(135deg, #510087, #3e006f); color: #fff; }
.document-header .topbar { justify-content: center; position: relative; }
.document-back { position: absolute; left: 16px; }
.document-main { width: min(100%, 760px); margin: 0 auto; padding: 28px 20px 36px; color: #271a31; }
.document-kicker { margin: 0 0 8px; color: #a64b00; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.document-main h1 { margin: 0; color: #500087; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; }
.document-intro { margin: 10px 0 20px; color: #62556a; line-height: 1.5; }
.document-notice { padding: 16px; border: 1px solid #f1c493; border-left: 4px solid #ed7900; border-radius: 12px; background: #fff5e9; color: #5e3208; line-height: 1.5; }
.document-notice p { margin: 6px 0 0; }
.document-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.document-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; border: 1px solid #dec8e9; border-radius: 10px; background: #fff; color: #630082; font-weight: 700; text-decoration: none; }
.document-card { margin: 12px 0; padding: 20px; border: 1px solid #ebe1ef; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px #5000870a; }
.document-card h2 { margin: 0 0 10px; color: #500087; font-size: 18px; line-height: 1.3; }
.document-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.document-card p:last-child { margin-bottom: 0; }
.document-card a { color: #68008a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.document-main a:focus-visible, .document-header a:focus-visible { outline: 3px solid #f68500; outline-offset: 3px; }
@media (max-width: 430px) { .document-main { padding: 24px 14px 30px; } .document-card { padding: 16px; } .document-links a { flex: 1 1 auto; justify-content: center; text-align: center; } }
