/* GomoClinic user manuals (D63): screen and print (PDF) styles. */
:root { --m-ink: #1f2937; --m-muted: #6b7280; --m-brand: #405189; --m-accent: #0f766e; --m-line: #e5e7eb; --m-soft: #f3f6fb; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Poppins, Arial, sans-serif; color: var(--m-ink); background: #fff; line-height: 1.6; font-size: 15px; }
a { color: var(--m-brand); }
.m-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: var(--m-brand); color: #fff; position: sticky; top: 0; z-index: 5; }
.m-top a { color: #fff; text-decoration: none; }
.m-brand { font-weight: 700; font-size: 18px; }
.m-brand span { font-weight: 400; opacity: .8; margin-left: 6px; }
.m-wrap { max-width: 980px; margin: 0 auto; padding: 32px 20px 48px; }
.m-lead { font-size: 17px; color: #374151; }
.m-small { font-size: 13px; color: var(--m-muted); }
.m-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.m-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--m-line); border-radius: 10px; text-decoration: none; color: var(--m-ink); background: #fff; }
.m-card:hover { border-color: var(--m-brand); box-shadow: 0 4px 16px rgba(64, 81, 137, .12); }
.m-card i { font-size: 30px; color: var(--m-brand); }
.m-card strong { font-size: 18px; }
.m-card span { font-size: 14px; color: var(--m-muted); }
.m-card em { font-size: 12px; color: var(--m-accent); font-style: normal; }
.m-cover { padding: 28px 0 8px; border-bottom: 3px solid var(--m-brand); margin-bottom: 24px; }
.m-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--m-accent); font-weight: 600; }
.m-cover h1 { font-size: 40px; margin: 4px 0 8px; color: var(--m-brand); }
.m-actions { display: flex; gap: 10px; margin: 16px 0 8px; flex-wrap: wrap; }
.m-btn { display: inline-flex; gap: 6px; align-items: center; padding: 9px 16px; border-radius: 6px; background: var(--m-brand); color: #fff; text-decoration: none; font-weight: 500; }
.m-btn-light { background: var(--m-soft); color: var(--m-brand); }
.m-toc { background: var(--m-soft); border-radius: 10px; padding: 16px 24px; margin-bottom: 28px; }
.m-toc h2 { margin: 0 0 6px; font-size: 18px; }
.m-toc ol { margin: 0; padding-left: 22px; columns: 2; }
.m-chapter { padding-top: 12px; }
.m-chapter h2 { font-size: 26px; color: var(--m-brand); border-bottom: 1px solid var(--m-line); padding-bottom: 6px; margin-top: 32px; }
.m-chapter h2 span { display: inline-block; min-width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 50%; background: var(--m-brand); color: #fff; font-size: 18px; margin-right: 10px; }
.m-chapter h3 { font-size: 19px; margin: 26px 0 6px; }
.m-chapter ol li, .m-chapter ul li { margin-bottom: 4px; }
.m-shot { margin: 14px 0 22px; }
.m-shot img { width: 100%; border: 1px solid var(--m-line); border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.m-shot figcaption { font-size: 13px; color: var(--m-muted); margin-top: 6px; text-align: center; }
.m-tip, .m-warn { border-left: 4px solid var(--m-accent); background: #ecfdf5; padding: 10px 14px; border-radius: 6px; margin: 12px 0; font-size: 14px; }
.m-warn { border-color: #d97706; background: #fffbeb; }
.m-tip strong, .m-warn strong { display: block; }
.m-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 18px; }
.m-table th, .m-table td { border: 1px solid var(--m-line); padding: 7px 10px; text-align: left; vertical-align: top; }
.m-table th { background: var(--m-soft); }
kbd, .m-ui { font-family: inherit; background: var(--m-soft); border: 1px solid var(--m-line); border-radius: 4px; padding: 0 5px; font-size: .92em; white-space: nowrap; }
.m-foot { text-align: center; font-size: 12px; color: var(--m-muted); padding: 20px; border-top: 1px solid var(--m-line); }
@media (max-width: 640px) { .m-toc ol { columns: 1; } .m-cover h1 { font-size: 30px; } }
@media print {
	.no-print, .m-top { display: none !important; }
	body { font-size: 12px; }
	.m-wrap { max-width: none; padding: 0; }
	.m-cover { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
	.m-toc { break-after: page; }
	.m-chapter { break-before: page; }
	.m-shot { break-inside: avoid; }
	.m-chapter h3 { break-after: avoid; }
	a { color: inherit; text-decoration: none; }
}
