* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f3f4f6; color: #111827; }
.shell { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 60px; }
.hero { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: white; border-radius: 24px; padding: 28px; margin-bottom: 22px; box-shadow: 0 18px 50px rgba(15, 23, 42, .18); }
.hero h1 { margin: 10px 0 8px; font-size: clamp(28px, 5vw, 46px); line-height: 1.05; }
.hero p { margin: 0; color: #dbeafe; max-width: 760px; }
.badge { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.card { background: white; border: 1px solid #e5e7eb; border-radius: 22px; padding: 22px; box-shadow: 0 12px 35px rgba(15, 23, 42, .08); }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; color: #374151; margin-bottom: 16px; }
input, textarea, select { width: 100%; border: 1px solid #d1d5db; border-radius: 14px; padding: 12px 14px; font-size: 15px; font-family: inherit; background: #fff; color: #111827; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid #bfdbfe; border-color: #2563eb; }
button, .button { appearance: none; border: 0; border-radius: 14px; padding: 13px 18px; background: #1d4ed8; color: white; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button:hover, .button:hover { background: #1e40af; }
.button.secondary { background: #e5e7eb; color: #111827; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 16px; }
.alert { padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; }
.alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert.warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.doc-header { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid #e5e7eb; padding-bottom: 18px; margin-bottom: 18px; }
.doc-header h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); }
.meta { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px; padding: 14px; min-width: 240px; line-height: 1.8; }
section { margin: 24px 0; }
section h3 { margin: 0 0 10px; color: #111827; }
ul, ol { padding-left: 22px; }
li { margin: 8px 0; line-height: 1.55; }
.steps li { margin-bottom: 14px; }
.quiz > li { margin-bottom: 18px; }
.muted { color: #6b7280; }
@media (max-width: 760px) { .grid.two, .grid.three { grid-template-columns: 1fr; } .shell { width: min(100% - 18px, 1120px); padding-top: 12px; } .hero, .card { border-radius: 18px; padding: 18px; } }
@media print { body { background: white; } .no-print { display: none !important; } .shell { width: 100%; padding: 0; } .card { box-shadow: none; border: 0; border-radius: 0; } }
