/* Shared HG Affiliate components (pills, notices, filters, facts, history, action forms). Scoped .hga-c-*. */
.hga-c-notice{display:flex;align-items:center;gap:9px;margin:0 0 16px;padding:12px 15px;border-radius:10px;background:#ecf8f3;border:1px solid #bfe5d5;color:#1f6b52;font-size:12px;font-weight:650}
.hga-c-blocked{display:flex;align-items:center;gap:16px;padding:22px;background:#fff;border:1px solid #e4e9f2;border-left:4px solid #c9314f;border-radius:11px;margin-bottom:16px}
.hga-c-blocked>.dashicons{font-size:28px;width:28px;height:28px;color:#c9314f}
.hga-c-blocked>div{flex:1}.hga-c-blocked p{margin:5px 0 0;color:#7788a1;font-size:12px}
a.hga-c-metric{text-decoration:none;color:inherit;display:block;transition:box-shadow .15s,transform .15s}
a.hga-c-metric:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(13,36,87,.08)}
.hga-c-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px 12px}
.hga-c-filters a{padding:6px 10px;border-radius:999px;border:1px solid #e3e9f3;color:#526784;text-decoration:none;font-size:11px;font-weight:650;background:#fff}
.hga-c-filters a span{color:#9aabc1;margin-left:3px}
.hga-c-filters a.is-current{background:#162944;border-color:#162944;color:#fff}.hga-c-filters a.is-current span{color:#b9c7dc}
.hga-c-table td{padding:11px 16px;font-size:12px;color:#2d405c;vertical-align:middle}
.hga-c-table td small{display:block;color:#93a1b3;font-size:11px;margin-top:2px}
.hga-c-table code,.hga-c-facts code{background:#f3f6fb;padding:2px 6px;border-radius:5px;font-size:11px}
.hga-c-table .hga-btn{min-height:30px;padding:5px 11px}
.hga-c-name{font-weight:700;color:#162944;text-decoration:none}.hga-c-name:hover{color:#c9314f}
.hga-c-pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:10px;font-weight:720;white-space:nowrap;border:1px solid transparent}
.hga-c-pill--pending{background:#fcf3d9;color:#8a6100;border-color:#f0d78c}
.hga-c-pill--recommended{background:#eaf0fd;color:#2c4f9e;border-color:#c7d6f6}
.hga-c-pill--active{background:#e6f6ef;color:#1f6b52;border-color:#bfe5d5}
.hga-c-pill--suspended{background:#fdecef;color:#a3263f;border-color:#f6c9d2}
.hga-c-pill--declined,.hga-c-pill--expired{background:#f0f0f1;color:#646970;border-color:#dcdcde}
.hga-c-back{display:inline-block;margin:0 0 12px;color:#526784;text-decoration:none;font-size:12px;font-weight:650}
.hga-c-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#edf0f6;margin:0;border-top:1px solid #edf0f6}
.hga-c-facts>div{background:#fff;padding:13px 20px}
.hga-c-facts dt{font-size:10px;color:#7788a1;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.hga-c-facts dd{margin:5px 0 0;font-size:13px;color:#162944}
.hga-c-history{list-style:none;margin:0;padding:0 20px 18px}
.hga-c-history li{padding:11px 0 11px 16px;border-left:2px solid #e3e9f3;position:relative;font-size:12px}
.hga-c-history li::before{content:"";position:absolute;left:-5px;top:15px;width:8px;height:8px;border-radius:50%;background:#c9314f}
.hga-c-history li strong{display:block;color:#162944}.hga-c-history li span{font-size:11px}
.hga-c-history li p{margin:6px 0 0;padding:8px 10px;background:#f7f9fd;border-radius:7px;color:#50637e}
.hga-c-pad{padding:0 20px 18px;margin:0}
.hga-c-action{display:grid;gap:10px}
.hga-c-action .hga-btn{width:100%}
.hga-c-people{list-style:none;margin:0;padding:0 20px 14px}
.hga-c-people li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f6;font-size:12px}
.hga-c-people li small{display:block;color:#93a1b3;font-size:11px}
.hga-c-link{background:none;border:0;color:#a3263f;font-size:11px;font-weight:650;cursor:pointer;padding:0}
@media(max-width:610px){.hga-c-facts{grid-template-columns:1fr}.hga-c-blocked{flex-direction:column;align-items:flex-start}}
.hga-c-export{padding:0 20px 12px;margin:0}
.hga-c-link--neutral{color:#3158ad;display:inline-flex;align-items:center;gap:4px}
.hga-c-hint{margin:0;color:#7788a1;font-size:11px;line-height:1.5}
.hga-c-req{display:grid;gap:8px;border-top:1px solid #edf0f6;padding-top:12px}
.hga-c-req-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}
.hga-c-action .hga-checkbox-wrap{min-height:28px}
.hga-ui .hga-btn[disabled]{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.hga-c-pill--submitted,.hga-c-pill--info_requested{background:#fcf3d9;color:#8a6100;border-color:#f0d78c}
.hga-c-pill--under_review{background:#eaf0fd;color:#2c4f9e;border-color:#c7d6f6}
.hga-c-pill--approved{background:#e6f6ef;color:#1f6b52;border-color:#bfe5d5}
.hga-c-pill--rejected{background:#fdecef;color:#a3263f;border-color:#f6c9d2}
.hga-c-pill--withdrawn{background:#f0f0f1;color:#646970;border-color:#dcdcde}
.hga-c-text{margin:0;padding:0 20px 18px;font-size:12px;line-height:1.6;color:#2d405c;white-space:pre-wrap;overflow-wrap:anywhere}
.hga-c-callout{margin:0 20px 18px;padding:12px 14px;border-radius:9px;background:#fcf3d9;border:1px solid #f0d78c;color:#6b4c00;font-size:12px;line-height:1.55;white-space:pre-wrap}
.hga-c-pre{white-space:pre-wrap;overflow-wrap:anywhere}
.hga-c-qa{margin:0;padding:0 20px 18px;display:grid;gap:4px}
.hga-c-qa dt{font-size:11px;font-weight:700;color:#50637e;margin-top:8px}
.hga-c-qa dd{margin:0;font-size:12px;color:#2d405c;white-space:pre-wrap;overflow-wrap:anywhere}
.hga-tk-tabs{padding-top:16px}
.hga-tk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;padding:4px 20px 20px}
.hga-tk-card{display:grid;grid-template-rows:auto 1fr auto;gap:8px;padding:10px;border:1px solid #e3e9f3;border-radius:11px;background:#fff;color:inherit;text-decoration:none;transition:box-shadow .15s,transform .15s}
a.hga-tk-card:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(13,36,87,.08)}
.hga-tk-thumb{display:grid;place-items:center;aspect-ratio:16/10;border-radius:8px;background:#f3f6fb;overflow:hidden}
.hga-tk-thumb img{width:100%;height:100%;object-fit:cover}
.hga-tk-thumb .dashicons{font-size:34px;width:34px;height:34px;color:#93a1b3}
.hga-tk-meta strong{display:block;font-size:13px;color:#162944}
.hga-tk-meta small{display:block;margin-top:3px;font-size:11px;color:#7788a1}
.hga-tk-card .hga-c-pill{justify-self:start}
.hga-tk-caption{margin:0;padding:12px 14px;border-radius:9px;background:#f7f9fd;font-size:13px;line-height:1.6;color:#2d405c;white-space:pre-wrap;overflow-wrap:anywhere}
.hga-tk-preview-img,.hga-tk-preview-video{display:block;width:100%;height:auto;border-radius:8px;background:#0e1a31}
.hga-tk-file{display:flex;gap:6px;align-items:center;margin:0;font-size:12px;color:#2d405c;overflow-wrap:anywhere}
.hga-tk-desc{margin-top:10px}
.hga-tk-fieldset{border:0;margin:0;padding:0}
.hga-tk-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.hga-tk-actions .hga-btn{min-height:32px;padding:6px 10px}
@media(max-width:610px){.hga-tk-grid{grid-template-columns:1fr;padding:4px 12px 16px}}
.hga-agr-frame{display:block;width:100%;border:1px solid #e3e9f3;border-radius:10px;background:#fff}
.hga-agr-hash{display:block;font-size:10px;overflow-wrap:anywhere;max-width:100%}
.hga-lk-list{display:grid;gap:12px;padding:4px 20px 20px}
.hga-lk-item{display:grid;gap:10px;padding:14px;border:1px solid #e3e9f3;border-radius:11px;background:#fff}
.hga-lk-item.is-off{opacity:.7}
.hga-lk-main strong{display:block;font-size:13px;color:#162944}
.hga-lk-main small{display:block;font-size:11px;color:#7788a1;margin-top:2px}
.hga-lk-url{display:block;margin-top:6px;padding:6px 8px;border-radius:6px;background:#f3f6fb;font-size:11px;overflow-wrap:anywhere}
.hga-lk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.hga-lk-stats dt{font-size:10px;color:#7788a1;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.hga-lk-stats dd{margin:3px 0 0;font-size:14px;font-weight:700;color:#162944}
.hga-lk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hga-lk-actions form{margin:0 0 0 auto}
.hga-lk-actions .hga-btn{min-height:32px;padding:6px 11px}
.hga-lk-qr{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding-top:6px}
.hga-lk-qr[hidden]{display:none}
.hga-lk-qr svg,.hga-lk-qr canvas{display:block;width:180px;height:180px;border-radius:8px;background:#fff}
@media(max-width:610px){.hga-lk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hga-lk-list{padding:4px 12px 16px}}
.hga-principles{display:flex;gap:12px;align-items:flex-start;margin:0 20px 18px;padding:14px 16px;border:1px solid #c7d6f6;border-left:4px solid #3158ad;border-radius:10px;background:#f4f7fe;color:#1d2a3f}
.hga-principles .dashicons{color:#3158ad;font-size:22px;width:22px;height:22px;flex:none}
.hga-principles strong{display:block;font-size:13px;margin-bottom:4px}
.hga-principles p{margin:4px 0 0;font-size:12px;line-height:1.55}
.hga-principles small{display:block;margin-top:8px;font-size:10px;color:#7788a1;text-transform:uppercase;letter-spacing:.04em}

/* Payouts to accept (templates/earnings/guardian-payouts.php): a guardian's accept / refuse for a child's payout. */
.hga-ui .hga-gp{margin-bottom:16px}
.hga-ui .hga-gp-item{display:grid;gap:10px;border-top:1px solid #e6edf6}
.hga-ui .hga-gp-item p{margin:0}
.hga-ui .hga-gp-item small{display:block;color:#6b7a90}
.hga-ui .hga-gp-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.hga-ui .hga-gp-refuse{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
