/* FarmaTurnos 2027: compact audit ledger, not a dashboard of cards. */
.auto-policy-current{margin:18px 0;border-top:1px solid color-mix(in srgb,currentColor 13%,transparent);padding-top:18px;min-width:0}
.policy-report{min-width:0}
.policy-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:0 0 12px}
.policy-heading h4{font-size:1.13rem;line-height:1.2;margin:4px 0 7px;font-weight:770}
.policy-heading p:not(.eyebrow){font-size:.8rem;line-height:1.4;margin:0;max-width:660px;color:var(--muted,#62736c)}
.policy-head-score{min-width:130px;flex-shrink:0;text-align:right}
.policy-head-score strong{font-size:1.84rem;line-height:1.05;letter-spacing:-.035em;font-variant-numeric:tabular-nums;display:block;color:var(--brand,#087955)}
.policy-head-score small{display:block;font-size:.75rem;color:var(--muted,#62736c);margin-top:5px}
.policy-score-line{display:flex;gap:8px 28px;flex-wrap:wrap;background:color-mix(in srgb,var(--brand,#087955) 6%,transparent);border-left:3px solid var(--brand,#087955);padding:10px 13px;font-size:.76rem;font-variant-numeric:tabular-nums}
.policy-score-line b{margin-left:5px}
.policy-note{font-size:.75rem;color:var(--muted,#62736c);line-height:1.5;margin:8px 0 13px}
.policy-closure-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid color-mix(in srgb,currentColor 12%,transparent);border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent);margin:12px 0 17px}
.policy-closure-summary>div{display:flex;flex-direction:column;min-width:0;gap:4px;padding:12px 14px;border-right:1px solid color-mix(in srgb,currentColor 10%,transparent)}
.policy-closure-summary>div:last-child{border-right:0}
.policy-closure-summary span{font-size:.75rem;font-weight:650}
.policy-closure-summary b{font-size:1.37rem;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.policy-closure-summary small{font-size:.75rem;color:var(--muted,#62736c);line-height:1.35}
.policy-closure-summary>div:nth-child(2) b,.policy-closure-summary>div:nth-child(3) b{color:var(--warning,#a25f24)}
.policy-subheading{font-size:.86rem;font-weight:740;margin:18px 0 10px;padding-bottom:6px;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.policy-scroll{max-height:500px;overflow:auto;border:1px solid color-mix(in srgb,currentColor 10%,transparent);border-radius:8px}
.policy-rules{min-width:870px;font-size:.76rem}
.policy-rules th,.policy-rules td{white-space:normal;vertical-align:middle}
.policy-rules thead{position:sticky;top:0;background:var(--surface,#fff);z-index:2}
.policy-rules tbody th{font-weight:650;min-width:205px}
.policy-rules td{font-variant-numeric:tabular-nums}
.policy-rules tbody th small{display:block;font-size:.75rem;font-weight:400;color:var(--muted,#64756d);line-height:1.25;margin-top:3px}
.policy-group th{background:color-mix(in srgb,var(--brand,#087955) 7%,var(--surface,#fff));font-weight:780;text-transform:uppercase;letter-spacing:.07em;font-size:.75rem;padding:8px 10px}
.policy-pct{min-width:78px}
.policy-track{height:6px;background:color-mix(in srgb,currentColor 12%,transparent);border-radius:3px;width:82px;overflow:hidden}
.policy-track i{height:100%;background:var(--brand,#087955);display:block;border-radius:3px}
.policy-rules tr[data-policy-grade="bad"] .policy-track i{background:#bd6136}
.policy-rules tr[data-policy-grade="warn"] .policy-track i{background:#a98924}
.policy-rules tr[data-policy-grade="bad"] .policy-pct b{color:var(--warning,#a25f24)}
.policy-people{min-width:890px;font-size:.76rem}
.policy-people th,.policy-people td{vertical-align:top}
.policy-people small{color:var(--muted,#657570)}
.policy-risk{font-weight:750;color:var(--warning,#a25f24)}
.policy-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}
.policy-filters label{display:flex;flex-direction:column;gap:4px;font-size:.75rem;font-weight:650}
.policy-filters select{min-width:128px;max-width:100%;padding:8px 10px;border-radius:7px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);background:var(--surface,#fff);color:inherit;font:inherit}
.policy-cases>p[data-policy-count]{font-size:.75rem;margin:8px 0;color:var(--muted,#64756d)}
.policy-cases button{margin:12px 0}
.policy-long-label{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:.77rem;font-weight:650}
.policy-long-label select{padding:8px 10px;min-width:130px;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:7px;background:var(--surface,#fff);color:inherit}
.policy-long-scroll{max-height:420px;overflow:auto}
.policy-long-scroll tr[hidden]{display:none}
.policy-config h5{font-size:.79rem;margin:16px 0 8px}
.policy-config .auto-scroll{margin-bottom:10px}
.policy-config td{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.policy-heading{align-items:start;gap:10px}.policy-heading h4{font-size:1rem}.policy-head-score{min-width:95px}.policy-head-score strong{font-size:1.45rem}.policy-score-line{gap:7px 15px}.policy-closure-summary{grid-template-columns:1fr}.policy-closure-summary>div{padding:10px 2px;border-right:0;border-bottom:1px solid color-mix(in srgb,currentColor 10%,transparent)}.policy-closure-summary>div:last-child{border-bottom:0}.policy-closure-summary b{font-size:1.2rem}.policy-filters{align-items:stretch;flex-direction:column}.policy-filters label,.policy-filters select{width:100%}}
