/* Optional inline context, using the existing HPAY paper / ink / crimson identity. */
.hp-value-quotes{font:400 12px/1.5 var(--body,Arial,sans-serif);color:var(--hp-ink,#332f2b);letter-spacing:normal;max-width:440px;min-width:0;margin:4px 0 12px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.hp-value-quotes summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#8c1627;font-weight:600;font-size:12px;list-style:revert}
.hp-value-quotes summary:before{content:'+';margin-right:8px;font:inherit}.hp-value-quotes[open] summary:before{content:'−'}
.hp-value-quotes summary:focus-visible,.hp-value-quotes button:focus-visible,.hp-value-quotes select:focus-visible{outline:2px solid #8c1627;outline-offset:3px}
.hp-value-quotes p{font:inherit!important;margin:4px 0 8px!important;color:inherit!important;max-width:none!important}
.hp-value-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font:inherit!important;color:inherit!important}
.hp-value-choice span{font-weight:600}.hp-value-choice select{min-height:44px;max-width:70%;border:1px solid #ded8ce;border-radius:0;background:transparent;color:inherit;padding:8px;font:inherit}
.hp-value-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:8px 0!important;font:inherit!important}
.hp-value-grid>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;border-bottom:1px solid #ded8ce;padding:4px 0;min-width:0}
.hp-value-grid dt,.hp-value-grid dd{font:inherit!important;margin:0!important;color:inherit!important;white-space:normal!important;overflow-wrap:anywhere;min-width:0}
.hp-value-grid dd{font-variant-numeric:tabular-nums;text-align:right}
.hp-value-quotes .hp-value-source,.hp-value-quotes .hp-value-qi{font-size:11px!important}
.hp-value-quotes button{min-height:44px;padding:8px 12px;border:1px solid #8c1627;background:transparent;color:#8c1627;font:inherit;cursor:pointer}
.pl-row>.hp-value-quotes{flex-basis:100%}
.ht-person>input:first-of-type{grid-column:1;grid-row:1}
.ht-person>input:nth-of-type(2){grid-column:2;grid-row:1}
.ht-person>button{grid-column:3;grid-row:1}
.ht-person>.hp-value-quotes{grid-column:1/-1;grid-row:2;max-width:none;margin:0}
.ht-input-wrap:has(>.hp-value-quotes){display:grid;grid-template-columns:minmax(0,1fr)}
.ht-input-wrap:has(>.hp-value-quotes)>.pl-input{grid-column:1;grid-row:1}
.ht-input-wrap:has(>.hp-value-quotes)>.ht-affix{position:static;grid-column:1;grid-row:1;align-self:center;justify-self:start;margin-left:14px;transform:none;z-index:1}
.ht-input-wrap>.hp-value-quotes{grid-column:1;grid-row:2}
.hp-value-contexts{font-size:12px;margin-top:8px}.hp-value-contexts>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--hp-red,#8c1627)}
.hp-value-contexts>p{font:inherit!important;margin:4px 0!important;overflow-wrap:anywhere}
#pos-usd>.hp-value-symbol{display:inline-block;white-space:nowrap;font-size:.55em}
.hp-value-buckets{font-size:12px;margin-top:12px}.hp-value-buckets>summary{min-height:44px;cursor:pointer;display:flex;align-items:center;color:#8c1627}
@media(max-width:480px){.hp-value-grid{grid-template-columns:minmax(0,1fr)}.hp-value-choice{align-items:stretch;flex-direction:column}.hp-value-choice select{max-width:none;width:100%}}
@media print{.hp-value-quotes,.hp-value-contexts{display:none!important}}
