/* DQM4 strategy articles. Scoped to avoid changes to existing catalogue layouts. */
.sg-guide{max-width:1100px;margin:0 auto;color:#273344;line-height:1.85;overflow-wrap:anywhere}
.sg-guide [hidden]{display:none!important}
.sg-hero{padding:24px 28px;background:linear-gradient(120deg,#fffaf0,#eef6fa);border:1px solid #d8dfe7;border-radius:14px;border-top:4px solid #ba8b39}
.sg-hero h1{font-size:clamp(23px,3vw,32px);line-height:1.45;margin:8px 0 14px;color:#21394d}
.sg-hero p{margin:0;max-width:880px}.sg-eyebrow{font-size:13px;font-weight:700;color:#87641d;letter-spacing:.04em}
.sg-toc{display:flex;flex-wrap:wrap;gap:8px;padding:15px 0;margin:8px 0 12px}
.sg-toc a{padding:6px 12px;border:1px solid #d8dfe7;border-radius:7px;background:#fff;text-decoration:none;font-size:14px;font-weight:700}
.sg-guide a{color:#19628c}.sg-guide a:hover{text-decoration:underline}.sg-guide a:focus-visible,.sg-guide button:focus-visible,.sg-guide select:focus-visible,.sg-guide input:focus-visible,.sg-guide summary:focus-visible{outline:3px solid #c5952b;outline-offset:3px}
.sg-section{margin:26px 0 36px;scroll-margin-top:80px}.sg-section h2,.sg-next h2{font-size:23px;line-height:1.5;border-bottom:2px solid #d0dde7;padding:0 0 10px;margin:0 0 14px;color:#24445a}
.sg-section h3{font-size:19px;line-height:1.5;margin:22px 0 10px}.sg-section h4{font-size:14px;margin:16px 0 8px}.sg-section p{margin:10px 0 15px}
.sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sg-card{min-width:0;padding:20px;border:1px solid #d7dfe8;background:#fff;border-radius:12px;scroll-margin-top:80px}
.sg-card h3{margin:4px 0 10px}.sg-card p{font-size:15px;margin:10px 0 12px}.sg-card .sg-label{font-size:14px;font-weight:700}.sg-card .monster-inline-card{max-width:100%;white-space:normal;vertical-align:middle}.sg-card .monster-inline-card img{flex:0 0 38px;width:38px;height:38px}.sg-card h3 .monster-inline-card img{flex-basis:48px;width:48px;height:48px}
.sg-trait-lines{list-style:none;padding:0;margin:12px 0}.sg-trait-lines li{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:14px;padding:4px 0}.sg-condition{color:#536578;font-size:12px}
.sg-milestones{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.sg-milestones>span{display:inline-flex;align-items:center;gap:8px;border:1px solid #e0e6ec;background:#f6f9fb;border-radius:6px;padding:4px 8px;font-size:14px}.sg-milestones b{color:#875d15;white-space:nowrap}.sg-milestones small{font-size:11px;margin-left:2px}
.sg-link-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.sg-link-group .monster-inline-card{font-size:14px}.sg-skill-ref{display:inline-block;padding:4px 8px;background:#f5f8fa;border:1px solid #e2e7ec;border-radius:5px;font-size:14px}.sg-skill-ref b{font-size:12px;color:#536578;white-space:nowrap}
.sg-detail-link{font-size:14px!important;text-align:right}
.sg-table-wrap{overflow-x:auto;border:1px solid #d7dfe8;border-radius:9px;margin:12px 0 20px}.sg-table{width:100%;border-collapse:collapse;font-size:15px;background:#fff}.sg-table caption{text-align:left;background:#eaf1f6;padding:10px 12px;font-weight:700;color:#24445a}.sg-table th,.sg-table td{padding:11px 13px;text-align:left;border-bottom:1px solid #e1e6ec;vertical-align:top}.sg-table thead th{background:#eaf1f6;font-weight:700;white-space:nowrap}.sg-table tr:last-child td,.sg-table tr:last-child th{border-bottom:0}.sg-answer-table td:not(:last-child){white-space:nowrap}.sg-table tbody tr:nth-child(even){background:#fafcfd}
.sg-tool{border:1px solid #cbdce8;background:#eff6fa;border-radius:12px;padding:20px}.sg-fields{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}.sg-fields label{display:flex;flex:1 1 160px;min-width:0;flex-direction:column;font-size:14px;font-weight:700;gap:5px}.sg-fields select,.sg-fields input{max-width:100%;width:100%;height:46px;font:inherit;font-size:16px;border:1px solid #9eafbe;background:#fff;color:#273344;border-radius:6px;padding:7px 10px}.sg-result{padding:12px;background:#fff;border-left:4px solid #3b819e;color:#24445a;font-size:18px!important;font-weight:700;line-height:1.6}.sg-result.sg-error{border-color:#b74036;color:#8a2822}
.sg-card-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}.sg-mp{font-size:13px;display:inline-block;padding:4px 10px;background:#edf4f9;border-radius:6px;color:#24445a}.sg-ability-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sg-list{padding-left:24px}.sg-list li{padding:6px 0}
.sg-effect{padding:12px;background:#f6f8fa;border-left:3px solid #a2bacb}.sg-holders summary{cursor:pointer;padding:10px 0;font-size:14px;font-weight:700;min-height:44px}.sg-holder-list{list-style:none;padding:0;margin:6px 0}.sg-holder-list li{padding:7px 0;border-bottom:1px solid #e4eaf0}.sg-holder-list small{display:block;color:#536578;font-size:12px}.sg-holders h4{margin-top:10px}
.sg-route-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sg-route-nav a{display:flex;flex-direction:column;padding:10px 13px;border:1px solid #d8dfe7;background:#fff;border-radius:8px;font-weight:700;text-decoration:none}.sg-route-nav span{font-size:12px;font-weight:400;color:#5b6b7a}.sg-route{margin-bottom:20px}.sg-material{display:inline-flex;align-items:center;max-width:100%;gap:6px;background:#f6f8fa;border-radius:6px;padding:4px 8px}.sg-material b{font-size:13px;white-space:nowrap}.sg-route-steps{padding-left:24px}.sg-route-steps li{padding:12px 0;border-bottom:1px solid #e0e6ec}.sg-route-steps li::marker{font-weight:700;color:#956c28}.sg-route-step{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-weight:700}.sg-parents{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;max-width:100%}.sg-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sg-child small{font-size:12px;color:#617489;font-weight:400}.sg-done{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:6px;cursor:pointer;font-size:13px;color:#536578}.sg-done input{width:18px;height:18px;flex:0 0 18px}.sg-progress-line{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#24445a}.sg-progress-line button{font:inherit;border:1px solid #9eafbe;background:#fff;color:#24445a;border-radius:6px;padding:8px 12px;min-height:44px;cursor:pointer}.sg-small{font-size:13px;color:#536578}.sg-next{background:#f6f8fa;border:1px solid #dce4eb;border-radius:10px;padding:18px 20px;margin:24px 0}.sg-next h2{font-size:19px}
@media(max-width:700px){.sg-grid,.sg-ability-list{grid-template-columns:minmax(0,1fr)}.sg-hero{padding:20px 16px}.sg-hero p{font-size:15px}.sg-section h2{font-size:21px}.sg-card{padding:17px 15px}.sg-toc a{font-size:13px;min-height:44px;display:flex;align-items:center}.sg-fields label{flex:1 1 135px}.sg-tool{padding:16px 12px}.sg-table{font-size:14px}.sg-table th,.sg-table td{padding:9px 8px}.sg-answer-table{font-size:13px}.sg-answer-table th,.sg-answer-table td{padding:9px 5px}.sg-route-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-route-nav a{padding:10px;font-size:14px}.sg-route-step{display:block}.sg-child{margin-top:8px}.sg-route-steps{padding-left:20px}.sg-parents{gap:6px;font-size:14px}.sg-section p{font-size:15px}.sg-next{padding:16px}.sg-guide .monster-inline-card span{min-width:0}}
@media(prefers-reduced-motion:reduce){.sg-guide *{scroll-behavior:auto!important}}
@media(max-width:700px){.sg-guide [data-points-form] .sg-fields label{flex-basis:100%}}
