/* Gun Milan */
.ashu-gunmilan .gm-sides { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) }
.ashu-gunmilan .gm-rashi { display: block; padding: 8px 10px; border-radius: 7px; background: var(--ashu-gold-soft); font-weight: 600 }
.ashu-gunmilan .gm-link { font: inherit; border: 0; background: none; color: var(--ashu-accent); text-decoration: underline; cursor: pointer; padding: 0 }
.ashu-gunmilan .gm-result { display: grid; gap: 12px }
.ashu-gunmilan .gm-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-radius: 12px; padding: 14px 18px; background: var(--ashu-surface); border: 2px solid var(--ashu-line) }
.ashu-gunmilan .gm-total b { font-size: 20px }
.ashu-gunmilan .gm-score { font-size: 44px; font-weight: 700; line-height: 1 }
.ashu-gunmilan .gm-of { color: var(--ashu-muted) }
.ashu-gunmilan .gm-total.is-great { border-color: #1c6b2c } .ashu-gunmilan .gm-total.is-great b { color: #1c6b2c }
.ashu-gunmilan .gm-total.is-good { border-color: #3d7a2a } .ashu-gunmilan .gm-total.is-good b { color: #3d7a2a }
.ashu-gunmilan .gm-total.is-ok { border-color: var(--ashu-gold) } .ashu-gunmilan .gm-total.is-ok b { color: var(--ashu-gold) }
.ashu-gunmilan .gm-total.is-low { border-color: var(--ashu-accent) } .ashu-gunmilan .gm-total.is-low b { color: var(--ashu-accent) }
.ashu-gunmilan .gm-table tr.gm-zero td { color: var(--ashu-accent) }
.ashu-gunmilan .gm-notes { background: var(--ashu-accent-soft); border-radius: 10px; padding: 10px 14px }
.ashu-gunmilan .gm-notes p { margin: 4px 0 }

/* the PDF report is laid out off-screen at a fixed width */
.ashu-gunmilan .gm-report-host { position: fixed; left: -10000px; top: 0; width: 760px; pointer-events: none }
.ashu-gunmilan .gm-report { width: 760px; padding: 40px 48px; background: #fff; color: #2b1a14; font-family: var(--ashu-f-body); font-size: 16px }
.ashu-gunmilan .gm-report h2 { font-family: var(--ashu-f-display); font-weight: 400; font-size: 34px; margin: 0; color: #b5281c }
.ashu-gunmilan .gm-report .gm-sub { margin: 0 0 16px; color: #6e5a50 }
.ashu-gunmilan .gm-report .gm-pair { width: 100%; border-collapse: collapse; margin-bottom: 14px }
.ashu-gunmilan .gm-report .gm-pair th, .ashu-gunmilan .gm-report .gm-pair td { border: 1px solid #e6d9cf; padding: 6px 10px; text-align: left }
.ashu-gunmilan .gm-report .gm-big { font-size: 20px; background: #fbf0d9; padding: 10px 14px; border-radius: 8px }
.ashu-gunmilan .gm-report .gm-item { border-bottom: 1px solid #e6d9cf; padding: 10px 0 }
.ashu-gunmilan .gm-report .gm-item h3 { margin: 0 0 4px; font-size: 19px; display: flex; justify-content: space-between }
.ashu-gunmilan .gm-report .gm-item p { margin: 2px 0 }
.ashu-gunmilan .gm-report .gm-foot { margin-top: 18px; font-size: 13px; color: #6e5a50 }
