/* Approved prescription ledger: presentation only, scoped to this workspace. */
.rp-recipe-ledger {
  --recipe-line:#d9e0e4;
  --recipe-primary:#293747;
  --recipe-muted:#687687;
  --recipe-accent:#a1433b;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"heading states" "count count" "qbi qbi" "renew renew" "records records" "conservation conservation";
  column-gap:20px;
  row-gap:0;
  padding:16px 24px!important;
  background:#f2f5f5!important;
  color:var(--recipe-primary);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  font-variant-numeric:tabular-nums;
}
.dark .rp-recipe-ledger {
  --recipe-line:#35414c;
  --recipe-primary:#edf2f6;
  --recipe-muted:#aab6c2;
  --recipe-accent:#e5a49b;
  background:#111820!important;
}
.rp-recipe-ledger>* {margin:0!important;min-width:0}
.rp-recipe-ledger>:not(.recipe-ledger-qbi):not(.recipe-ledger-summary):not(.recipe-ledger-list):not(.recipe-ledger-conservation) {grid-area:renew}
.rp-recipe-ledger .recipe-ledger-summary,
.rp-recipe-ledger .recipe-ledger-summary>section,
.rp-recipe-ledger .recipe-ledger-heading-row,
.rp-recipe-ledger .recipe-ledger-list,
.rp-recipe-ledger .recipe-ledger-list-heading {display:contents!important}
.rp-recipe-ledger .recipe-ledger-heading-row>div {grid-area:heading}
.rp-recipe-ledger .recipe-ledger-heading-row>svg,
.rp-recipe-ledger .recipe-ledger-heading-row>div>p:last-child,
.rp-recipe-ledger .recipe-ledger-list-heading>div {display:none!important}
.rp-recipe-ledger .recipe-ledger-heading-row>div>p:first-child {font-size:11px!important;letter-spacing:.12em!important;color:var(--recipe-accent)!important}
.rp-recipe-ledger #recetas-channel-title {margin-top:4px!important;font-size:20px!important;font-weight:600!important;letter-spacing:-.025em!important;color:var(--recipe-primary)!important}
.rp-recipe-ledger .recipe-ledger-list-heading>p {grid-area:count;margin:4px 0 0!important;font-size:12px!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-counts {grid-area:states;align-self:end;gap:16px!important;margin:0 0 2px!important}
.rp-recipe-ledger .recipe-ledger-counts>span {display:inline-flex;align-items:center;gap:6px;border:0!important;background:transparent!important;padding:0!important;font-size:12px!important;font-weight:600!important}
.rp-recipe-ledger .recipe-ledger-counts>span::before {content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.dark .rp-recipe-ledger .recipe-ledger-counts>span:first-child {color:#a4d6b5!important}
.dark .rp-recipe-ledger .recipe-ledger-counts>span:nth-child(2) {color:#aab6c2!important}
.dark .rp-recipe-ledger .recipe-ledger-counts>span:last-child {color:#f2a69d!important}
.rp-recipe-ledger .recipe-ledger-qbi {grid-area:qbi;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;border:0!important;border-left:2px solid var(--recipe-line)!important;border-radius:0!important;background:transparent!important;padding:0 0 0 10px!important;margin:12px 0 16px!important;box-shadow:none!important}
.rp-recipe-ledger .recipe-ledger-qbi>p {margin:0!important;font-size:12px!important;line-height:1.6!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-qbi>p:first-child {color:var(--recipe-primary)!important}
.rp-recipe-ledger .recipe-ledger-records,.rp-recipe-ledger .recipe-ledger-empty {grid-area:records;min-width:0}
.rp-recipe-ledger .recipe-ledger-empty {border:0!important;border-radius:0!important;background:transparent!important;padding:24px 0!important}
.rp-recipe-ledger .recipe-ledger-records>article {margin:0!important;padding:16px 0;border:0!important;border-top:1px solid var(--recipe-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.rp-recipe-ledger .recipe-ledger-records>article.recipe-ledger-annulled {border-left:3px solid #b95046!important;padding-left:12px}
.rp-recipe-ledger .recipe-ledger-record-heading {align-items:flex-start!important;border:0!important;background:transparent!important;padding:0!important;gap:8px 16px!important}
.rp-recipe-ledger .recipe-ledger-record-heading>div:first-child {align-items:flex-start!important;gap:10px!important}
.rp-recipe-ledger .recipe-ledger-record-heading>div:first-child>div:first-child {width:16px!important;height:20px!important;border-radius:0!important;background:transparent!important;color:var(--recipe-accent)!important}
.rp-recipe-ledger .recipe-ledger-record-heading .font-mono {font-size:14px!important;color:var(--recipe-primary)!important;white-space:normal!important;overflow-wrap:anywhere}
.rp-recipe-ledger .recipe-ledger-record-heading>div:first-child>div:last-child>div>span {border-radius:999px!important;padding:3px 7px!important;font-size:11px!important;line-height:1.25!important}
.rp-recipe-ledger .recipe-ledger-record-heading p:not(.font-mono) {font-size:12px!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-record-heading>div:last-child {flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:4px 12px!important}
.rp-recipe-ledger .recipe-ledger-record-heading>div:last-child>span {font-size:12px!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-record-heading>div:last-child>span:first-child {border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;font-size:11px!important;color:var(--recipe-accent)!important}
.rp-recipe-ledger .recipe-ledger-detail {grid-template-columns:minmax(0,1fr)!important;gap:16px 28px!important;padding:16px 0 0!important}
.rp-recipe-ledger .recipe-ledger-detail>div>p:first-child {display:none!important}
.rp-recipe-ledger .recipe-ledger-detail>div>p:last-child:not(:first-child) {margin-top:12px!important;border-top:1px solid var(--recipe-line);padding-top:12px;font-size:12px!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-items {border:0!important;border-radius:0!important}
.rp-recipe-ledger .recipe-ledger-item {grid-template-columns:24px 112px minmax(0,1fr)!important;gap:4px 12px!important;padding:10px 0!important;border-color:var(--recipe-line)!important}
.rp-recipe-ledger .recipe-ledger-item:first-child {padding-top:0!important}
.rp-recipe-ledger .recipe-ledger-item>span:first-child {font-size:12px!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-item>span:nth-child(2) {font-size:11px!important;letter-spacing:.075em!important;color:var(--recipe-accent)!important}
.rp-recipe-ledger .recipe-ledger-item>div>p:first-child {font-size:14px!important;font-weight:600!important;line-height:1.4!important;color:var(--recipe-primary)!important}
.rp-recipe-ledger .recipe-ledger-item>div>p:last-child {font-size:12px!important;line-height:1.65!important;color:var(--recipe-muted)!important;overflow-wrap:anywhere}
.rp-recipe-ledger .recipe-ledger-audit {border-radius:0!important;background:transparent!important;border-top:1px solid var(--recipe-line);padding:12px 0 0!important}
.rp-recipe-ledger .recipe-ledger-audit>p:first-child {margin-bottom:8px!important;font-size:11px!important;letter-spacing:.07em!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-audit>div:first-of-type p:first-child {font-size:14px!important;font-weight:600!important;white-space:normal!important;overflow:visible!important;color:var(--recipe-primary)!important}
.rp-recipe-ledger .recipe-ledger-audit>div:first-of-type p:last-child {font-size:12px!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-audit>div:last-child {display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-top:12px!important;border-color:var(--recipe-line)!important;padding-top:10px!important}
.rp-recipe-ledger .recipe-ledger-audit>div:last-child>p {margin:0!important;font-size:12px!important;letter-spacing:normal!important;text-transform:none!important;white-space:normal!important}
.rp-recipe-ledger .recipe-ledger-audit>div:last-child>p:first-child {color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-audit>div:last-child>p:last-child {flex-basis:100%;color:var(--recipe-muted)!important}
.dark .rp-recipe-ledger .recipe-ledger-audit .font-mono,.dark .rp-recipe-ledger .recipe-ledger-audit svg {color:#9bd0ae!important}
.rp-recipe-ledger .recipe-ledger-actions {margin-top:12px;border-color:var(--recipe-line)!important;background:transparent!important;padding:12px 0 0!important}
.rp-recipe-ledger .recipe-ledger-actions>button {min-height:36px!important;font-size:12px!important;font-weight:600!important;border-radius:8px!important}
.rp-recipe-ledger .recipe-ledger-actions>p {font-size:12px!important;line-height:1.5!important}
.rp-recipe-ledger .recipe-ledger-conservation {grid-area:conservation;margin-top:16px!important;border-top:1px solid var(--recipe-line);padding-top:12px;font-size:12px!important;line-height:1.6!important;color:var(--recipe-muted)!important}
.rp-recipe-ledger .recipe-ledger-conservation svg {color:var(--recipe-accent)!important}
@media(min-width:1024px) {
  .rp-recipe-ledger .recipe-ledger-detail {grid-template-columns:minmax(0,1fr) minmax(225px,280px)!important}
  .rp-recipe-ledger .recipe-ledger-audit {border-top:0;border-left:1px solid var(--recipe-line);padding:0 0 0 16px!important}
}
@media(max-width:639px) {
  .rp-recipe-ledger {grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "count" "states" "qbi" "renew" "records" "conservation";padding:16px!important}
  .rp-recipe-ledger .recipe-ledger-counts {margin-top:12px!important;gap:12px!important}
  .rp-recipe-ledger .recipe-ledger-record-heading>div:last-child {padding-left:26px}
  .rp-recipe-ledger .recipe-ledger-item {grid-template-columns:22px minmax(0,1fr)!important;column-gap:8px!important}
  .rp-recipe-ledger .recipe-ledger-item>span:first-child {grid-column:1;grid-row:1/3}
  .rp-recipe-ledger .recipe-ledger-item>span:nth-child(2),.rp-recipe-ledger .recipe-ledger-item>div {grid-column:2}
  .rp-recipe-ledger .recipe-ledger-actions>button {min-height:40px!important}
}
