/* Every selector belongs to the birth-history component; the theme's font is inherited. */
.hlbtc-history,.hlbtc-history-save,.hlbtc-history-inline{font-family:inherit;color:#4B3022;line-height:1.75;box-sizing:border-box;--hlbh-brown:#4B3022;--hlbh-gold:#C6A15A;--hlbh-paper:#FBF8F1;--hlbh-white:#FFFEFA}
.hlbtc-history *,.hlbtc-history-save *{box-sizing:border-box}
.hlbtc-history [hidden],.hlbtc-history-save [hidden]{display:none!important}
.hlbtc-history{max-width:1200px;margin:24px auto;padding:clamp(18px,3vw,32px);border:1px solid #C6A15A;border-radius:22px;background:#FBF8F1;box-shadow:0 8px 28px #4b30220b;font-size:16px}
.hlbtc-history :is(h2,h3,h4,h5,p,small,label,summary,caption,th,td),.hlbtc-history-save :is(h3,p,label){font-family:inherit;color:#4B3022;line-height:1.75;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere}
.hlbtc-history__header{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #e6d8bc}.hlbtc-history__header h2{margin:5px 0;font-size:clamp(1.5rem,3vw,2rem);font-weight:700}.hlbtc-history__header p{margin:0;font-size:.95rem}.hlbtc-history__eyebrow{color:#806435;font-size:.85rem;font-weight:700}
.hlbtc-history button,.hlbtc-history-save button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 16px;border:1px solid #4B3022;border-radius:11px;background:#4B3022;color:#FFFEFA;font-family:inherit;font-size:.92rem;font-weight:600;line-height:1.5;text-transform:none;letter-spacing:normal;text-decoration:none;white-space:normal;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s}
.hlbtc-history button:hover,.hlbtc-history-save button:hover{background:#66432d;border-color:#66432d;color:#FFFEFA}.hlbtc-history button:focus-visible,.hlbtc-history-save button:focus-visible,.hlbtc-history :is(input,select,a,summary):focus-visible,.hlbtc-history-save :is(input,select,a):focus-visible,.hlbtc-history-inline>summary:focus-visible{outline:3px solid #C6A15A;outline-offset:3px}
.hlbtc-history button:disabled,.hlbtc-history-save button:disabled{opacity:.55;cursor:default}.hlbtc-history button.is-secondary,.hlbtc-history-save button.is-secondary{background:#FFFEFA;border-color:#C6A15A;color:#4B3022}.hlbtc-history button.is-secondary:hover,.hlbtc-history-save button.is-secondary:hover{background:#efe4cf;color:#4B3022}.hlbtc-history button.is-danger{background:#8b2924;border-color:#8b2924;color:#fff}.hlbtc-history button.is-text-danger{background:transparent;border-color:#d8b4ad;color:#8b2924}.hlbtc-history button.is-text-danger:hover{background:#f7e8e4;color:#77231e}
.hlbtc-history :is(input,select),.hlbtc-history-save :is(input,select){display:block;width:100%;max-width:100%;min-height:46px;margin:6px 0 0;padding:9px 12px;border:1px solid #d5c29d;border-radius:10px;background:#FFFEFA;color:#4B3022;font-family:inherit;font-size:1rem;line-height:1.5;box-shadow:none}.hlbtc-history label,.hlbtc-history-save label{display:block;font-size:.9rem;font-weight:600}
.hlbtc-history__filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.5fr) auto;align-items:end;gap:14px;margin:0}.hlbtc-history__notice{margin:18px 0 12px;font-size:.86rem;color:#79624f!important}.hlbtc-history__status{min-height:1.6em;margin:12px 0;font-size:.9rem}.hlbtc-history .is-error,.hlbtc-history-save .is-error{color:#962b25}.hlbtc-history__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hlbtc-history__item{min-width:0;margin:0;padding:20px;border:1px solid #e2d3b5;border-radius:16px;background:#FFFEFA}.hlbtc-history__badge{display:inline-block;padding:3px 10px;border:1px solid #e0cca5;border-radius:99px;background:#f5ebd8;color:#6b4a27;font-size:.78rem}.hlbtc-history__item h3{margin:10px 0 6px;font-size:1.1rem;font-weight:700}.hlbtc-history__item p{margin:5px 0;font-size:.88rem}.hlbtc-history__name{font-weight:600}.hlbtc-history__saved{display:block;margin-top:12px;color:#7c6654!important;font-size:.8rem}
.hlbtc-history__actions,.hlbtc-history__downloads,.hlbtc-history-save__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.hlbtc-history__rename,.hlbtc-history__confirm{margin-top:16px;padding:16px;border:1px solid #dccaab;border-radius:12px;background:#FBF8F1}.hlbtc-history__rename button,.hlbtc-history__confirm button{margin:10px 8px 0 0}.hlbtc-history__rename p,.hlbtc-history__confirm p{margin:0 0 6px}.hlbtc-history__pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:24px 0 8px}.hlbtc-history__pagination span{font-size:.9rem}
.hlbtc-history__detail{margin-top:28px;padding:clamp(16px,2.5vw,26px);border:1px solid #C6A15A;border-radius:18px;background:#FFFEFA;scroll-margin-top:95px}.hlbtc-history__detail:focus{outline:none}.hlbtc-history__detail-head{display:flex;justify-content:space-between;align-items:start;gap:14px}.hlbtc-history__detail-head h3{margin:0;font-size:1.25rem;font-weight:700}.hlbtc-history__detail-head button{flex-shrink:0}.hlbtc-history__person{font-size:1.2rem;font-weight:700;margin:18px 0 6px}.hlbtc-history__detail>p{margin:6px 0}.hlbtc-history__detail>small{display:block;margin:12px 0;color:#79624f}.hlbtc-history__download-links{display:flex;flex-wrap:wrap;gap:16px;margin:10px 0}.hlbtc-history a,.hlbtc-history-save a{color:#68421f;text-decoration:underline;text-underline-offset:3px}.hlbtc-history a:hover,.hlbtc-history-save a:hover{color:#4B3022}
.hlbtc-history__charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.hlbtc-history__charts figure{min-width:0;margin:0;padding:12px;border:1px solid #e5d7bd;border-radius:15px;background:#FBF8F1}.hlbtc-history__charts .chart-natal{grid-column:1/-1;width:min(100%,760px);justify-self:center}.hlbtc-history__charts canvas{display:block;width:100%;height:auto}.hlbtc-history__charts figcaption{margin:8px 0 0;text-align:center;font-weight:700;color:#4B3022}.hlbtc-history__table-wrap{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid #e5d7bd;border-radius:12px}.hlbtc-history table{width:100%;min-width:560px;margin:0;border-collapse:collapse;border:0;background:#FFFEFA;font-size:.86rem}.hlbtc-history caption{padding:12px;font-weight:700;text-align:left}.hlbtc-history :is(th,td){padding:10px 12px;border:0;border-top:1px solid #ecdfc8;text-align:left;vertical-align:top}.hlbtc-history th{background:#4B3022;color:#FFFEFA;font-weight:600}.hlbtc-history tbody tr:nth-child(even){background:#FBF8F1}
.hlbtc-history__readings>h4{font-size:1.15rem;margin:24px 0 14px}.hlbtc-history__readings details{margin:12px 0;border:1px solid #e3d3b6;border-radius:12px;background:#FBF8F1;padding:14px 18px}.hlbtc-history__readings summary{cursor:pointer;font-weight:700;padding:4px 0;font-size:1.05rem}.hlbtc-history__readings details>p{margin:15px 0;font-size:.98rem;line-height:1.9}.hlbtc-history__readings h5{margin:18px 0 5px;font-size:1rem;font-weight:700}.hlbtc-history__readings ul{margin:10px 0;padding-left:22px}.hlbtc-history__readings li{margin:8px 0;font-size:.9rem}.hlbtc-history__muted{color:#79624f!important;font-size:.88rem!important}
.hlbtc-history-save{margin:20px 0;padding:22px;border:1px solid #C6A15A;border-radius:16px;background:#FBF8F1}.hlbtc-history-save h3{margin:0 0 6px;font-size:1.16rem;font-weight:700}.hlbtc-history-save p{margin:8px 0;font-size:.9rem}.hlbtc-history-save__fields{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin-top:18px}.hlbtc-history-inline{margin:26px 0 0;border:1px solid #C6A15A;border-radius:16px;background:#FBF8F1}.hlbtc-history-inline>summary{padding:18px 22px;cursor:pointer;color:#4B3022;font-weight:700;font-size:1rem}.hlbtc-history-inline>.hlbtc-history{margin:0;max-width:none;border:0;box-shadow:none;background:transparent}
@media(max-width:860px){.hlbtc-history__list{grid-template-columns:1fr}.hlbtc-history__filters{grid-template-columns:1fr 1.3fr}.hlbtc-history__filters>button{grid-column:1/-1}.hlbtc-history-save__fields{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.hlbtc-history{padding:16px;margin:18px auto;border-radius:16px}.hlbtc-history__filters,.hlbtc-history-save__fields{grid-template-columns:1fr}.hlbtc-history__item{padding:16px}.hlbtc-history__actions button{flex:1 1 auto}.hlbtc-history__detail-head{display:block}.hlbtc-history__detail-head button{margin-top:12px}.hlbtc-history__charts{gap:8px}.hlbtc-history__charts figure{padding:6px}.hlbtc-history__charts figcaption{font-size:.83rem}.hlbtc-history__downloads button,.hlbtc-history-save__actions button{width:100%}.hlbtc-history-save{padding:16px}.hlbtc-history__pagination{gap:10px}.hlbtc-history__pagination button{padding:8px 12px}.hlbtc-history__readings details{padding:12px}.hlbtc-history-inline>summary{padding:16px}}

.hlbtc-history__readings details>p{white-space:pre-line}

.hlbtc-history__tabs{display:flex;gap:10px;margin:0 0 22px;flex-wrap:wrap}.hlbtc-history__tabs button{background:#FFFEFA;border-color:#C6A15A;color:#4B3022;min-width:130px}.hlbtc-history__tabs button[aria-pressed="true"]{background:#4B3022;color:#FFFEFA}.hlbtc-life-record__figure{margin:22px 0;padding:12px;border:1px solid #C6A15A;border-radius:14px;background:#FBF8F1;max-width:100%}.hlbtc-life-record__figure canvas{display:block;width:100%;height:auto}.hlbtc-life-record__figure figcaption{font-size:.86rem;text-align:center;color:#806B51}.hlbtc-history__focus{padding:12px 16px;border-left:4px solid #C6A15A;background:#FBF8F1;font-weight:700}.hlbtc-life-record__bases{margin-top:20px}.hlbtc-life-record__bases summary{cursor:pointer;font-weight:700}.hlbtc-life-record__bases table{font-size:.8rem}

.hlbtc-seven-record__table table{min-width:840px;text-align:center}.hlbtc-seven-record__table :is(th,td){text-align:center;min-width:90px}.hlbtc-seven-record__table td strong{display:block;font-size:1.2rem}.hlbtc-seven-record__table td small{display:block;font-size:.78rem;line-height:1.5;margin-top:4px}
.hlbtc-seven-record__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.hlbtc-seven-record__cards article{min-width:0;padding:15px;border:1px solid #E5D7BC;border-radius:12px;background:#FFFEFA}.hlbtc-seven-record__cards h5{margin-top:0}.hlbtc-seven-record__cards p,.hlbtc-seven-record__notes p{white-space:pre-line;line-height:1.9;font-size:.95rem}.hlbtc-seven-record__notes{margin-top:20px}.hlbtc-seven-record__notes summary{cursor:pointer;font-weight:700}
@media(max-width:720px){.hlbtc-seven-record__cards{grid-template-columns:1fr}}

.hlbtc-name-record{margin-top:20px;min-width:0}.hlbtc-name-record__sums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hlbtc-name-record__sums>article,.hlbtc-name-record__roles>article{padding:18px;min-width:0;border:1px solid #E5D7BC;border-radius:12px;background:#FFFEFA}.hlbtc-name-record__number{display:block;font-size:2.8rem;color:#4B3022;line-height:1.4}.hlbtc-name-record__section{margin-top:24px}.hlbtc-name-record__roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hlbtc-name-record p{white-space:pre-line;line-height:1.9;font-size:.95rem}.hlbtc-name-record :is(h4,h5){margin:0 0 10px}.hlbtc-name-record details{margin-top:12px}.hlbtc-name-record summary{cursor:pointer;font-weight:700}
@media(max-width:820px){.hlbtc-name-record__sums{grid-template-columns:1fr}}
@media(max-width:600px){.hlbtc-name-record__roles{grid-template-columns:1fr}}

.hlbtc-phone-record{margin-top:20px;min-width:0}.hlbtc-phone-record__phone{font-size:1.5rem!important;font-weight:700}.hlbtc-phone-record__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.hlbtc-phone-record__stats>article,.hlbtc-phone-record__roles>article{padding:18px;min-width:0;border:1px solid #E5D7BC;border-radius:12px;background:#FFFEFA}.hlbtc-phone-record__number{display:block;font-size:2.8rem;color:#4B3022;line-height:1.4}.hlbtc-phone-record__section{margin-top:24px}.hlbtc-phone-record__roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hlbtc-phone-record p{white-space:pre-line;line-height:1.9;font-size:.95rem}.hlbtc-phone-record :is(h4,h5){margin:0 0 10px}.hlbtc-phone-record summary{cursor:pointer;font-weight:700}.hlbtc-phone-record__elements{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:16px 0}.hlbtc-phone-record__elements li{padding:8px 12px;background:#FFFEFA;border:1px solid #E5D7BC;border-radius:10px}.hlbtc-phone-record__triangle{max-width:100%;overflow:auto;padding:16px;border:1px solid #E5D7BC;border-radius:12px;background:#FFFEFA}.hlbtc-phone-record__triangle p{white-space:pre;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:.35em;min-width:440px}
.hlbtc-history .hlbtc-history__export-option{display:flex;align-items:flex-start;gap:9px;margin:20px 0;font-weight:400}.hlbtc-history .hlbtc-history__export-option input[type=checkbox]{display:inline-block;flex:none;width:18px;height:18px;min-height:18px;margin:6px 0 0;padding:0;accent-color:#4B3022}
@media(max-width:600px){.hlbtc-phone-record__stats,.hlbtc-phone-record__roles{grid-template-columns:1fr}}

.hlbtc-vehicle-record{margin-top:20px;min-width:0}.hlbtc-vehicle-record__plate{font-size:1.6rem!important;font-weight:700}.hlbtc-vehicle-record__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.hlbtc-vehicle-record__stats>article,.hlbtc-vehicle-record__pairs>article,.hlbtc-vehicle-record__roles>article{padding:18px;min-width:0;border:1px solid #E5D7BC;border-radius:12px;background:#FFFEFA}.hlbtc-vehicle-record__number{display:block;font-size:2.8rem;color:#4B3022;line-height:1.4}.hlbtc-vehicle-record__section{margin-top:24px}.hlbtc-vehicle-record__pairs,.hlbtc-vehicle-record__roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hlbtc-vehicle-record p{white-space:pre-line;line-height:1.9;font-size:.95rem}.hlbtc-vehicle-record :is(h4,h5){margin:0 0 10px}.hlbtc-vehicle-record summary{cursor:pointer;font-weight:700}.hlbtc-vehicle-record details{margin-top:12px}.hlbtc-vehicle-record__grade{display:inline-block;padding:3px 10px;margin-bottom:8px;border-radius:16px;background:#EEE5D3;color:#4B3022;font-size:.85rem;font-weight:700}.hlbtc-vehicle-record__grade.is-good{background:#E6F3E9;color:#185A30}.hlbtc-vehicle-record__grade.is-medium{background:#FFF2CE;color:#755400}.hlbtc-vehicle-record__grade.is-bad{background:#F8E5E2;color:#8B2B25}
@media(max-width:600px){.hlbtc-vehicle-record__stats,.hlbtc-vehicle-record__pairs,.hlbtc-vehicle-record__roles{grid-template-columns:1fr}}

/* Frozen bank results. Scope every rule to the private history surface. */
.hlbtc-history .hlbtc-bank-record { margin-top:1.5rem; overflow-wrap:anywhere; }
.hlbtc-history .hlbtc-bank-record__account { font-size:1.3rem; font-weight:700; letter-spacing:.06em; }
.hlbtc-history .hlbtc-bank-record__stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:1.2rem 0; }
.hlbtc-history .hlbtc-bank-record__stats article,.hlbtc-history .hlbtc-bank-record__roles article { background:#FFFEFA; border:1px solid #C6A15A; border-radius:12px; padding:1rem; min-width:0; }
.hlbtc-history .hlbtc-bank-record__stats strong { font-size:2rem; color:#4B3022; }
.hlbtc-history .hlbtc-bank-record__roles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.hlbtc-history .hlbtc-bank-record__roles .is-match { background:#FBF8F1; border-width:2px; }
.hlbtc-history .hlbtc-bank-record__color { display:flex; align-items:center; gap:.5rem; }
.hlbtc-history .hlbtc-bank-record__color > span:first-child { width:20px; height:20px; flex:0 0 20px; border:1px solid #C6A15A; border-radius:50%; }
.hlbtc-history .hlbtc-bank-record__meaning { white-space:pre-line; }
@media(max-width:680px){.hlbtc-history .hlbtc-bank-record__roles{grid-template-columns:1fr;}.hlbtc-history .hlbtc-bank-record__stats{gap:7px;}.hlbtc-history .hlbtc-bank-record__stats article{padding:.6rem;}}

/* Business-name snapshots: local styles, no theme selectors. */
.hlbtc-history .hlbtc-history__name{overflow-wrap:anywhere}
.hlbtc-history .hlbtc-business-record{margin-top:1.5rem;overflow-wrap:anywhere}
.hlbtc-history .hlbtc-business-record__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:1rem 0}
.hlbtc-history .hlbtc-business-record__stats article,.hlbtc-history .hlbtc-business-record__pairs > article,.hlbtc-history .hlbtc-business-record__roles > article{min-width:0;padding:1rem;border:1px solid #C6A15A;border-radius:12px;background:#FFFEFA}
.hlbtc-history .hlbtc-business-record__stats strong{color:#4B3022;font-size:2rem}
.hlbtc-history .hlbtc-business-record__section{margin-top:1.5rem}
.hlbtc-history .hlbtc-business-record__pairs,.hlbtc-history .hlbtc-business-record__roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hlbtc-history .hlbtc-business-record__text{white-space:pre-line}
.hlbtc-history .hlbtc-business-record__grade{display:inline-block;border-radius:99px;padding:.15rem .6rem;border:1px solid #C6A15A;font-size:.85rem;background:#FBF8F1;color:#4B3022}
.hlbtc-history .hlbtc-business-record__grade.is-good{background:#EAF2E7;color:#305431}.hlbtc-history .hlbtc-business-record__grade.is-medium{background:#F9EFD4;color:#70501D}.hlbtc-history .hlbtc-business-record__grade.is-bad{background:#F6E8E2;color:#853D2C}
@media(max-width:680px){.hlbtc-history .hlbtc-business-record__pairs,.hlbtc-history .hlbtc-business-record__roles{grid-template-columns:1fr}.hlbtc-history .hlbtc-business-record__stats{gap:7px}.hlbtc-history .hlbtc-business-record__stats article{padding:.6rem}.hlbtc-history .hlbtc-business-record__stats strong{font-size:1.6rem}}

/* Private ID records: masked numbers only, no selector affects the theme. */
.hlbtc-id-record{color:#4B3022;font:inherit;overflow-wrap:anywhere}
.hlbtc-id-record__number{font-size:1.2em;font-weight:700;letter-spacing:.04em}
.hlbtc-id-record__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.hlbtc-id-record__stats article{min-width:0;padding:16px;border:1px solid #C6A15A;border-radius:12px;background:#FFFEFA}
.hlbtc-id-record__stats h5{font:inherit;font-weight:600;color:#4B3022;margin:0 0 8px}
.hlbtc-id-record__stats strong{font-size:1.5em;color:#4B3022}
.hlbtc-id-record__reading{padding:16px;margin:14px 0;border:1px solid #C6A15A;border-radius:12px;background:#FFFEFA}
.hlbtc-id-record__reading summary{font:inherit;font-weight:600;color:#4B3022;cursor:pointer}
.hlbtc-id-record__reading h5{font:inherit;font-weight:600;color:#4B3022;margin:16px 0 6px}
.hlbtc-id-record__copy{white-space:pre-wrap;line-height:1.8;margin-top:4px}
@media(max-width:600px){.hlbtc-id-record__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hlbtc-id-record__stats article{padding:12px}}

/* Frozen birth-date numerology. */
.hlbtc-birth-profile-record{color:#4B3022;font:inherit;overflow-wrap:anywhere}
.hlbtc-birth-profile-record__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.hlbtc-birth-profile-record__cards article{min-width:0;padding:20px;border:1px solid #C6A15A;border-radius:14px;background:#FFFEFA}
.hlbtc-birth-profile-record__cards :is(h4,h5){font:inherit;font-weight:700;color:#4B3022;margin:18px 0 8px}
.hlbtc-birth-profile-record__cards h4{font-size:1.15em;margin-top:0}
.hlbtc-birth-profile-record__number{display:inline-flex;align-items:center;justify-content:center;min-width:60px;height:60px;padding:8px;border:2px solid #C6A15A;border-radius:50%;background:#4B3022;color:#FFFEFA;font-size:1.9em;line-height:1}
.hlbtc-birth-profile-record__copy{white-space:pre-line;line-height:1.85}
.hlbtc-birth-profile-record__math{padding:16px;border:1px solid #C6A15A;border-radius:12px;background:#FBF8F1}
.hlbtc-birth-profile-record__math summary{font:inherit;font-weight:600;color:#4B3022;cursor:pointer}
.hlbtc-birth-profile-record__math p{overflow-wrap:anywhere}
@media(max-width:720px){.hlbtc-birth-profile-record__cards{grid-template-columns:1fr}.hlbtc-birth-profile-record__cards article{padding:15px}}

/* My Readings overview: every rule remains inside the private history component. */
.hlbtc-history .hlbtc-history__section-head,.hlbtc-history .hlbtc-history__category-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0 14px}
.hlbtc-history .hlbtc-history__section-head h3,.hlbtc-history .hlbtc-history__category-head h3{font-size:1.08rem;font-weight:700;margin:0}
.hlbtc-history .hlbtc-history__section-head p{font-size:.83rem;margin:3px 0 0;color:#79624f}
.hlbtc-history__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hlbtc-history__metrics>div{min-width:0;border:1px solid #e2d3b5;border-radius:15px;padding:18px;background:#FFFEFA;box-shadow:0 4px 14px #4b302205}
.hlbtc-history__metrics span,.hlbtc-history__metrics strong,.hlbtc-history__metrics small{display:block}
.hlbtc-history__metrics span{font-size:.85rem;color:#79624f}.hlbtc-history__metrics strong{font-size:2rem;line-height:1.4;margin:7px 0;font-variant-numeric:tabular-nums;color:#4B3022}
.hlbtc-history__metrics small{font-size:.77rem;color:#79624f}
.hlbtc-history .hlbtc-history__last-saved strong{font-size:1.05rem;line-height:1.65;min-height:2.66em;display:flex;align-items:center;overflow-wrap:anywhere}
.hlbtc-history .hlbtc-history__tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 20px}
.hlbtc-history .hlbtc-history__tabs button{display:grid;grid-template-columns:1fr auto;align-items:center;justify-content:stretch;text-align:left;min-width:0;min-height:118px;padding:14px;gap:7px 8px;background:#FFFEFA;color:#4B3022;border:1px solid #dac49b;border-radius:14px}
.hlbtc-history__kind-mark{grid-row:1;grid-column:1;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #C6A15A;background:#f4e9d3;color:#68441f;font-size:.86rem;font-weight:700}
.hlbtc-history__kind-name{grid-row:2;grid-column:1/-1;display:block;line-height:1.6;font-size:.88rem}
.hlbtc-history__kind-count{grid-row:1;grid-column:2;display:inline-flex;align-items:center;justify-content:center;min-width:26px;padding:2px 7px;border-radius:9px;background:#f5eddd;color:#79603d;font-size:.85rem;font-variant-numeric:tabular-nums}
.hlbtc-history .hlbtc-history__tabs button:hover,.hlbtc-history .hlbtc-history__tabs button:focus-visible{background:#f3ead8;color:#4B3022;border-color:#a7803f}
.hlbtc-history .hlbtc-history__tabs button[aria-pressed=true],.hlbtc-history .hlbtc-history__tabs button[aria-pressed=true]:hover{background:#4B3022;color:#FFFEFA;border-color:#4B3022}
.hlbtc-history .hlbtc-history__tabs button[aria-pressed=true] .hlbtc-history__kind-mark{background:#C6A15A;color:#382116;border-color:#C6A15A}
.hlbtc-history .hlbtc-history__tabs button[aria-pressed=true] .hlbtc-history__kind-count{background:#6b4b32;color:#fff4da}
.hlbtc-history .hlbtc-history__category-head button{background:#FFFEFA;border-color:#C6A15A;color:#4B3022;gap:10px}
.hlbtc-history .hlbtc-history__category-head button[aria-pressed=true]{background:#4B3022;color:#FFFEFA;border-color:#4B3022}
.hlbtc-history .hlbtc-history__category-head button:hover{background:#6b4b32;color:#FFFEFA}
.hlbtc-history .hlbtc-history__category-head button span{font-variant-numeric:tabular-nums}
.hlbtc-history .hlbtc-history__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;gap:6px;border:1px solid #C6A15A;border-radius:11px;background:#f4ead6;color:#4B3022;font-family:inherit;font-size:.88rem;font-weight:600;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.hlbtc-history .hlbtc-history__link:hover,.hlbtc-history .hlbtc-history__link:focus-visible{background:#e6d4af;color:#4B3022;border-color:#a7803f;text-decoration:none}
.hlbtc-history .hlbtc-history__manage{display:flex;gap:9px;margin-top:12px;flex-wrap:wrap}
.hlbtc-history .hlbtc-history__manage button{min-height:36px;padding:5px 10px;font-size:.8rem}
.hlbtc-history__item{display:flex;flex-direction:column}.hlbtc-history__item .hlbtc-history__actions{margin-top:auto;padding-top:17px}.hlbtc-history__item .hlbtc-history__saved{margin-bottom:0}
.hlbtc-history-inline .hlbtc-history__tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.hlbtc-history-inline .hlbtc-history__tabs button{min-height:70px;display:flex;justify-content:space-between;gap:8px;padding:10px 12px}
.hlbtc-history-inline .hlbtc-history__kind-mark{display:none}
@media(max-width:1000px){.hlbtc-history .hlbtc-history__tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.hlbtc-history__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hlbtc-history .hlbtc-history__tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hlbtc-history .hlbtc-history__tabs button{padding:12px;min-height:116px}.hlbtc-history__metrics{gap:9px}.hlbtc-history__metrics>div{padding:13px}.hlbtc-history__metrics strong{font-size:1.8rem}.hlbtc-history .hlbtc-history__last-saved strong{font-size:.95rem}.hlbtc-history__metrics span{font-size:.79rem}.hlbtc-history__metrics small{font-size:.72rem}.hlbtc-history .hlbtc-history__section-head,.hlbtc-history .hlbtc-history__category-head{gap:10px}.hlbtc-history__actions>.hlbtc-history__link{flex:1 1 auto}.hlbtc-history-inline .hlbtc-history__tabs button{min-height:75px}.hlbtc-history .hlbtc-history__downloads .hlbtc-history__link{width:100%}}

/* Comparison selection and tables are scoped to My Readings. */
.hlbtc-history .hlbtc-comparison-tray{margin:24px 0;padding:18px;border:1px solid #C6A15A;border-radius:15px;background:#FFFEFA}.hlbtc-history .hlbtc-comparison-tray .hlbtc-history__section-head{margin:0 0 10px}.hlbtc-history .hlbtc-comparison-tray [data-compare-count]{font-size:.85rem;font-weight:700;color:#6b4a27}.hlbtc-comparison-tray__items{display:flex;flex-wrap:wrap;gap:8px}.hlbtc-comparison-tray__chip{display:inline-flex;gap:10px;align-items:center;min-width:0;max-width:100%;padding:5px 7px 5px 12px;background:#F5EBD8;border:1px solid #E2D3B5;border-radius:12px;color:#4B3022;font-size:.85rem}.hlbtc-comparison-tray__chip>span{overflow-wrap:anywhere}.hlbtc-history .hlbtc-comparison-tray__chip button{flex:none;min-height:36px;min-width:36px;padding:2px 8px;font-size:1.2rem}.hlbtc-comparison-tray__footer{text-align:center;margin:20px 0 0}
.hlbtc-history .hlbtc-comparison__pick{display:flex;align-items:center;gap:9px;margin:16px 0 0;padding-top:13px;border-top:1px solid #E2D3B5;font-size:.88rem;cursor:pointer}.hlbtc-history .hlbtc-comparison__pick input[type=checkbox]{display:inline-block;flex:none;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#4B3022}.hlbtc-history .hlbtc-history__item.is-comparison-selected{border-color:#9a743b;box-shadow:0 0 0 2px #c6a15a40}
.hlbtc-history .hlbtc-comparison{margin:28px 0;padding:clamp(14px,2vw,24px);border:1px solid #C6A15A;border-radius:18px;background:#FFFEFA;scroll-margin-top:95px;min-width:0}.hlbtc-history .hlbtc-comparison:focus{outline:3px solid #C6A15A;outline-offset:3px}.hlbtc-history .hlbtc-comparison>.hlbtc-history__section-head{margin-top:0}.hlbtc-comparison__hint{font-size:.85rem!important;color:#79624f!important;margin:14px 0}.hlbtc-comparison__warning{font-size:.9rem!important;padding:12px 14px;border-left:4px solid #C6A15A;background:#FBF8F1}
.hlbtc-comparison__section{margin:18px 0;border:1px solid #E2D3B5;border-radius:12px;background:#FBF8F1;min-width:0}.hlbtc-comparison__section>summary{cursor:pointer;font-weight:700;padding:14px 16px}.hlbtc-comparison__scroll{max-width:100%;overflow:auto;border-radius:0 0 12px 12px}.hlbtc-history table.hlbtc-comparison__table{table-layout:fixed;width:100%;min-width:calc(160px + var(--hlbc-cols)*var(--hlbc-cell,250px));margin:0;font-size:.9rem}.hlbtc-comparison__table caption.hlbtc-comparison__caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.hlbtc-history .hlbtc-comparison__table th,.hlbtc-history .hlbtc-comparison__table td{white-space:pre-line;overflow-wrap:anywhere;line-height:1.85;vertical-align:top;padding:12px 14px;border:1px solid #E8DCC5}.hlbtc-history .hlbtc-comparison__table tr>:first-child{width:160px;position:sticky;left:0;z-index:1}.hlbtc-history .hlbtc-comparison__table tbody th{background:#F5EBD8;color:#4B3022;font-weight:700}.hlbtc-history .hlbtc-comparison__table thead th{background:#4B3022;color:#FFFEFA}.hlbtc-history .hlbtc-comparison__table tbody td{background:#FFFEFA}
@media(max-width:600px){.hlbtc-history .hlbtc-comparison-tray{padding:14px}.hlbtc-history .hlbtc-comparison{padding:12px}.hlbtc-history table.hlbtc-comparison__table{min-width:calc(120px + var(--hlbc-cols)*var(--hlbc-cell,230px))}.hlbtc-history .hlbtc-comparison__table tr>:first-child{width:120px}.hlbtc-history .hlbtc-comparison__table :is(th,td){padding:10px;font-size:.87rem}.hlbtc-comparison-tray .hlbtc-history__actions>button,.hlbtc-comparison-tray__footer>button{width:100%}.hlbtc-comparison-tray__chip{width:100%;justify-content:space-between}}

/* Favorites and notes stay within each private history widget. */
.hlbtc-history .hlbtc-history__favorite-filter{display:flex;align-items:center;gap:9px;grid-column:1/-1;font-size:.9rem;margin:2px 0 0;cursor:pointer}.hlbtc-history .hlbtc-history__favorite-filter input[type=checkbox]{display:inline-block;flex:none;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#4B3022}.hlbtc-history__favorite-total{display:inline-flex;align-items:center;justify-content:center;min-width:26px;padding:1px 8px;border-radius:99px;border:1px solid #DCC89F;background:#F5EBD8;color:#4B3022;font-size:.82rem}
.hlbtc-annotations__tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #E2D3B5}.hlbtc-history .hlbtc-annotations__star{background:#FFFEFA;border-color:#C6A15A;color:#4B3022}.hlbtc-history .hlbtc-annotations__star[aria-pressed=true]{background:#F1E2BC;border-color:#A7803E;color:#4B3022}.hlbtc-history .hlbtc-annotations__star:hover{background:#E8D3AA;color:#4B3022;border-color:#A7803E}
.hlbtc-history .hlbtc-annotations__note{margin:14px 0 0;padding:15px;border:1px solid #DCC89F;border-radius:12px;background:#FBF8F1}.hlbtc-annotations__note h4{font-size:1rem;margin:0 0 12px}.hlbtc-history .hlbtc-annotations__note textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:112px;padding:10px 12px;margin-top:7px;border:1px solid #D5C29D;border-radius:9px;background:#FFFEFA;color:#4B3022;font:inherit;font-size:.95rem;line-height:1.85;letter-spacing:normal;resize:vertical}.hlbtc-history .hlbtc-annotations__note textarea:focus-visible{outline:3px solid #C6A15A;outline-offset:2px}.hlbtc-annotations__note small{display:block;font-size:.8rem;margin-top:5px}.hlbtc-annotations__note p{white-space:pre-line}.hlbtc-annotations__note textarea:disabled{opacity:.7}.hlbtc-annotations__conflict{padding:12px;margin-top:14px;border:1px solid #C6A15A;border-radius:10px;background:#FFFEFA}.hlbtc-annotations__conflict h5{margin:0 0 7px;font-size:.95rem}.hlbtc-annotations__latest{max-height:240px;overflow:auto;white-space:pre-wrap!important;overflow-wrap:anywhere;padding:10px;background:#FBF8F1;font-size:.87rem!important}.hlbtc-annotations__conflict button{margin:7px 7px 0 0}
@media(max-width:600px){.hlbtc-annotations__tools>button{flex:1 1 auto}.hlbtc-history .hlbtc-annotations__note{padding:12px}.hlbtc-annotations__note .hlbtc-history__actions>button{flex:1 1 auto}.hlbtc-annotations__conflict button{width:100%;margin-right:0}}
.hlbtc-history .hlbtc-history__list{align-items:start}

/* Personal book selection is independent from the comparison tray. */
.hlbtc-history .hlbtc-book{margin:24px 0;padding:18px;border:1px solid #C6A15A;border-radius:15px;background:#FFFEFA;scroll-margin-top:90px}.hlbtc-book>summary{display:flex;gap:16px;align-items:center;justify-content:space-between;cursor:pointer;color:#4B3022}.hlbtc-book>summary strong{font-size:1.05rem}.hlbtc-book>summary [data-book-count]{flex:none;font-size:.85rem;color:#79624f}.hlbtc-book>summary::before{content:'▸';font-size:1.25rem;color:#9a743b}.hlbtc-book[open]>summary::before{content:'▾'}.hlbtc-book>summary strong{flex:1}.hlbtc-history .hlbtc-book>p{font-size:.88rem;line-height:1.8}
.hlbtc-book__items{display:grid;gap:8px;margin:16px 0}.hlbtc-book__item{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px;border:1px solid #E2D3B5;border-radius:11px;background:#FBF8F1;min-width:0}.hlbtc-book__item>span:first-child{min-width:0;overflow-wrap:anywhere}.hlbtc-book__item strong{display:block;font-size:.87rem;line-height:1.7}.hlbtc-book__item small{display:block;font-size:.76rem;color:#79624f}.hlbtc-book__item-actions{display:flex;gap:5px;flex:none}.hlbtc-history .hlbtc-book__item-actions button{padding:3px 9px;min-width:34px;min-height:36px;font-size:1.1rem}
.hlbtc-book__name{display:block;margin:16px 0;font-size:.9rem}.hlbtc-book__name input{display:block;width:100%;box-sizing:border-box;margin-top:6px}.hlbtc-history .hlbtc-book__option,.hlbtc-history .hlbtc-book__pick{display:flex;align-items:center;gap:9px;font-size:.87rem;line-height:1.75;margin:10px 0;cursor:pointer}.hlbtc-history :is(.hlbtc-book__option,.hlbtc-book__pick) input[type=checkbox]{display:inline-block;flex:none;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#4B3022}.hlbtc-history .hlbtc-book__pick{border-top:1px solid #E2D3B5;padding-top:13px;margin-top:14px}.hlbtc-history__item.is-book-selected{outline:2px solid #C6A15A;outline-offset:2px}.hlbtc-history .hlbtc-book__hint{color:#79624f;font-size:.8rem}.hlbtc-book__footer{text-align:center;margin:20px 0}
@media(max-width:600px){.hlbtc-history .hlbtc-book{padding:14px}.hlbtc-book>summary{gap:8px;flex-wrap:wrap}.hlbtc-book>summary strong{font-size:.94rem}.hlbtc-book__item{align-items:flex-start;flex-wrap:wrap}.hlbtc-book__item-actions{margin-left:auto}.hlbtc-book .hlbtc-history__actions button,.hlbtc-book__footer button{width:100%}}

/* Saved report configurations, scoped to the private book panel. */
.hlbtc-history .hlbtc-report-sets{margin:16px 0;padding:14px;border:1px solid #DCC89F;border-radius:12px;background:#FBF8F1}.hlbtc-report-sets>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:.9rem}.hlbtc-report-sets>summary::before{content:'▸';color:#9a743b}.hlbtc-report-sets[open]>summary::before{content:'▾'}.hlbtc-report-sets>summary strong{flex:1}.hlbtc-report-sets [data-sets-total]{font-size:.8rem;border:1px solid #DCC89F;border-radius:99px;background:#FFFEFA;padding:1px 8px}.hlbtc-sets__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.hlbtc-sets__head p{font-size:.83rem!important;margin:0!important}.hlbtc-history .hlbtc-sets__head button{font-size:.8rem;min-height:36px;padding:6px 10px}.hlbtc-sets__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hlbtc-sets__item{min-width:0;padding:14px;border:1px solid #E2D3B5;border-radius:11px;background:#FFFEFA}.hlbtc-history .hlbtc-sets__item h5{margin:0 0 6px;font-size:.94rem;overflow-wrap:anywhere}.hlbtc-history .hlbtc-sets__item p{font-size:.8rem;margin:6px 0}.hlbtc-sets__item .hlbtc-history__actions{margin-top:12px}.hlbtc-history .hlbtc-sets__item button{font-size:.82rem;min-height:38px;padding:7px 12px}.hlbtc-sets__pages{display:flex;justify-content:center;align-items:center;gap:10px;margin:18px 0 6px;font-size:.8rem}.hlbtc-history .hlbtc-sets__pages button{min-height:36px;padding:7px 10px;font-size:.82rem}.hlbtc-sets__confirm{margin-top:14px;padding:14px;border:1px solid #C6A15A;border-radius:10px;background:#FFFEFA}.hlbtc-sets__confirm button{margin:5px 8px 0 0}.hlbtc-sets__editor{margin:18px 0;padding:16px;border:1px solid #E2D3B5;border-radius:12px;background:#FBF8F1}.hlbtc-sets__editor input{margin-top:7px}.hlbtc-history .hlbtc-sets__editor [data-set-editing]{font-size:.8rem;line-height:1.8;color:#79624f;margin:10px 0}.hlbtc-history .hlbtc-sets__missing,.hlbtc-history .hlbtc-book__missing{color:#962b25!important;font-size:.8rem}.hlbtc-book__item.is-unavailable{border:1px solid #C9977B;background:#FFF7EE}.hlbtc-sets__editor [data-set-save-status] button{font-size:.8rem;min-height:34px;padding:5px 9px}.hlbtc-sets__editor [data-set-save-status]{white-space:pre-line}
@media(max-width:600px){.hlbtc-sets__list{grid-template-columns:1fr}.hlbtc-sets__head{align-items:flex-start;flex-wrap:wrap}.hlbtc-sets__editor{padding:12px}.hlbtc-sets__confirm button{width:100%;margin-right:0}.hlbtc-sets__pages{flex-wrap:wrap}}

/* Saved-set discovery never changes the current book draft. */
.hlbtc-history .hlbtc-sets__filters{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #E2D3B5;border-radius:11px;background:#FFFEFA}
.hlbtc-history .hlbtc-sets__filters label{display:block;min-width:0;font-size:.83rem;font-weight:600;line-height:1.7}
.hlbtc-history .hlbtc-sets__filters :is(input,select){display:block;box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:44px;margin:6px 0 0;font:inherit;font-weight:400;color:#4B3022;background:#FFFEFA;border:1px solid #D5C29D;border-radius:9px;padding:9px 10px}
.hlbtc-history .hlbtc-sets__filters .hlbtc-history__actions{grid-column:1/-1;margin:0}
.hlbtc-history .hlbtc-sets__filters button{min-height:42px;font-size:.85rem}
.hlbtc-history .hlbtc-sets__filter-hint{font-size:.77rem;color:#79624f;line-height:1.8;margin:9px 0 16px}
.hlbtc-history .hlbtc-sets__dates{border-top:1px solid #EDE3D1;margin-top:10px;padding-top:6px}
.hlbtc-history .hlbtc-sets__dates p{font-size:.75rem;line-height:1.85;color:#79624f;margin:3px 0}
.hlbtc-history .hlbtc-sets__dates time{font-variant-numeric:tabular-nums}
.hlbtc-history .hlbtc-sets__cover{overflow-wrap:anywhere;color:#79624f}
.hlbtc-history .hlbtc-sets__item.has-unavailable{border-color:#BD8668;border-left:4px solid #9C5538}
.hlbtc-history .hlbtc-sets__badge{display:inline-block;border:1px solid #D5A88C;border-radius:8px;padding:4px 8px;background:#FFF2E7;color:#8A3025;font-size:.77rem;font-weight:600}
.hlbtc-sets__list[aria-busy=true]{opacity:.65}
@media(max-width:850px){.hlbtc-history .hlbtc-sets__filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hlbtc-sets__search{grid-column:1/-1}}
@media(max-width:600px){.hlbtc-history .hlbtc-sets__filters{grid-template-columns:1fr;padding:11px}.hlbtc-sets__search{grid-column:auto}.hlbtc-history .hlbtc-sets__filters .hlbtc-history__actions{gap:8px}.hlbtc-history .hlbtc-sets__dates p{font-size:.74rem}}

/* Private backup controls share the brand and never affect the surrounding theme. */
.hlbtc-history .hlbtc-backup{margin:24px 0;padding:18px;border:1px solid #C6A15A;border-radius:15px;background:#FFFEFA}
.hlbtc-backup>summary{display:flex;align-items:center;gap:12px;cursor:pointer}.hlbtc-backup>summary strong{flex:1;font-size:1.05rem}.hlbtc-backup>summary>span{font-size:.8rem;color:#79624f}.hlbtc-backup>summary::before{content:'▸';color:#9a743b}.hlbtc-backup[open]>summary::before{content:'▾'}
.hlbtc-history .hlbtc-backup>p,.hlbtc-history .hlbtc-backup__columns p{font-size:.85rem;line-height:1.85}
.hlbtc-backup__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.hlbtc-backup__columns>section{min-width:0;padding:16px;border:1px solid #E2D3B5;border-radius:12px;background:#FBF8F1}
.hlbtc-history .hlbtc-backup h4{margin:0 0 12px;font-size:1rem}.hlbtc-history .hlbtc-backup__hint{font-size:.78rem!important;color:#79624f;line-height:1.9}
.hlbtc-history .hlbtc-backup input[type=file]{white-space:normal;font-size:.83rem;padding:10px;min-height:48px}
.hlbtc-backup [data-backup-links]{margin-top:12px}.hlbtc-backup__preview{padding:18px;margin-top:18px;border:1px solid #DCC89F;border-radius:12px;background:#FBF8F1;min-width:0}
.hlbtc-history .hlbtc-backup__preview>p{font-size:.85rem;line-height:1.85}.hlbtc-backup__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hlbtc-backup__metrics>div{min-width:0;padding:12px;border:1px solid #E2D3B5;border-radius:10px;background:#FFFEFA}.hlbtc-backup__metrics span{display:block;font-size:.77rem;color:#79624f}.hlbtc-backup__metrics strong{display:block;font-size:1.7rem;color:#4B3022;font-variant-numeric:tabular-nums}
.hlbtc-history .hlbtc-backup__warning{padding:12px;border-left:4px solid #9C5538;background:#FFF2E7;color:#8A3025}
.hlbtc-history .hlbtc-backup__types{table-layout:fixed;min-width:0;max-width:100%;width:100%;margin:16px 0;font-size:.85rem}.hlbtc-history .hlbtc-backup__types :is(th,td){padding:9px 12px;border:1px solid #E2D3B5;overflow-wrap:anywhere;text-align:left}.hlbtc-backup__types tr>:last-child{width:76px;text-align:center!important}.hlbtc-history .hlbtc-backup__types th{background:#4B3022;color:#FFFEFA}.hlbtc-history .hlbtc-backup__types td{background:#FFFEFA}
.hlbtc-backup__items{max-height:280px;overflow:auto;padding-left:22px;font-size:.83rem;line-height:1.9;overflow-wrap:anywhere}.hlbtc-backup__restore{margin-top:16px}
@media(max-width:850px){.hlbtc-backup__columns{grid-template-columns:1fr}.hlbtc-backup__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hlbtc-history .hlbtc-backup{padding:14px}.hlbtc-backup>summary{flex-wrap:wrap}.hlbtc-backup>summary strong{font-size:.94rem}.hlbtc-backup__columns>section,.hlbtc-backup__preview{padding:12px}.hlbtc-history .hlbtc-backup button{width:100%}.hlbtc-backup .hlbtc-history__actions{gap:8px}.hlbtc-backup__metrics{gap:8px}}
/* Personal trash: all new rules stay inside the private history widget. */
.hlbtc-history .hlbtc-trash{margin:24px 0;padding:18px;border:1px solid #C6A15A;border-radius:15px;background:#FFFEFA}
.hlbtc-history .hlbtc-trash>summary{display:flex;align-items:center;gap:12px;cursor:pointer}.hlbtc-history .hlbtc-trash>summary strong{flex:1;font-size:1.05rem}.hlbtc-history .hlbtc-trash>summary>span{font-size:.8rem;color:#79624f}.hlbtc-history .hlbtc-trash>summary::before{content:'▸';color:#9a743b}.hlbtc-history .hlbtc-trash[open]>summary::before{content:'▾'}
.hlbtc-history .hlbtc-trash p{font-size:.85rem;line-height:1.85}.hlbtc-history .hlbtc-trash__hint{font-size:.78rem;color:#79624f}
.hlbtc-history .hlbtc-trash__toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:16px 0}.hlbtc-history .hlbtc-trash__toolbar label{flex:1;min-width:150px;max-width:300px}
.hlbtc-history .hlbtc-trash__list{display:grid;gap:12px;margin:16px 0}.hlbtc-history .hlbtc-trash__item{min-width:0;padding:16px;background:#FBF8F1;border:1px solid #E2D3B5;border-radius:12px;overflow-wrap:anywhere}.hlbtc-history .hlbtc-trash__item p{margin:8px 0}.hlbtc-history .hlbtc-trash__item small{display:block;font-size:.77rem;line-height:1.9;color:#79624f;margin:6px 0 12px}
.hlbtc-history .hlbtc-trash__pick{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px}.hlbtc-history .hlbtc-trash__pick strong{font-size:1rem;line-height:1.75}.hlbtc-history .hlbtc-trash input[type=checkbox]{width:19px;height:19px;min-width:19px;min-height:19px;flex:0 0 19px;margin:4px 0;padding:0;accent-color:#4B3022}.hlbtc-history .hlbtc-trash input[type=checkbox]:focus-visible{outline:2px solid #4B3022;outline-offset:3px}
.hlbtc-history .hlbtc-trash [data-trash-confirm] ul{font-size:.85rem;line-height:1.9;padding-left:22px;max-height:190px;overflow:auto}.hlbtc-history .hlbtc-trash [data-trash-confirm] strong{color:#872f24}
@media(max-width:600px){.hlbtc-history .hlbtc-trash{padding:14px}.hlbtc-history .hlbtc-trash>summary{flex-wrap:wrap}.hlbtc-history .hlbtc-trash>summary strong{font-size:.94rem}.hlbtc-history .hlbtc-trash__item{padding:12px}.hlbtc-history .hlbtc-trash .hlbtc-history__actions{gap:8px}.hlbtc-history .hlbtc-trash .hlbtc-history__actions button{width:100%}}
/* Folder controls stay scoped to the private history component. */
.hlbtc-history .hlbtc-history__filters{grid-template-columns:repeat(3,minmax(0,1fr))}.hlbtc-history .hlbtc-history__filters>.hlbtc-history__favorite-filter{grid-column:2/-1}
.hlbtc-history .hlbtc-folders{margin:22px 0;padding:18px;border:1px solid #C6A15A;border-radius:15px;background:#FFFEFA}.hlbtc-history .hlbtc-folders>summary{display:flex;align-items:center;gap:12px;cursor:pointer}.hlbtc-history .hlbtc-folders>summary strong{flex:1;font-size:1.05rem}.hlbtc-history .hlbtc-folders>summary>span{font-size:.8rem;color:#79624f}.hlbtc-history .hlbtc-folders>summary::before{content:'▸';color:#9a743b}.hlbtc-history .hlbtc-folders[open]>summary::before{content:'▾'}
.hlbtc-history .hlbtc-folders p,.hlbtc-history .hlbtc-folders__bulk p{font-size:.83rem;line-height:1.85}.hlbtc-history .hlbtc-folders__create{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:14px 0}.hlbtc-history .hlbtc-folders__create label{flex:1;min-width:180px}.hlbtc-history .hlbtc-folders__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hlbtc-history .hlbtc-folders__item{min-width:0;padding:14px;border:1px solid #E2D3B5;border-radius:12px;background:#FBF8F1}.hlbtc-history .hlbtc-folders__item strong{display:block;font-size:1rem;overflow-wrap:anywhere}.hlbtc-history .hlbtc-folders__item small{display:block;font-size:.77rem;color:#79624f;margin:6px 0 12px}
.hlbtc-history .hlbtc-folders [data-folder-confirm] form{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}.hlbtc-history .hlbtc-folders [data-folder-confirm] label{flex:1 1 100%}.hlbtc-history .hlbtc-folders__bulk{margin:20px 0;padding:18px;border:1px solid #C6A15A;border-radius:15px;background:#FFFEFA}.hlbtc-history .hlbtc-folders__bulk>.hlbtc-history__actions{align-items:flex-end}.hlbtc-history .hlbtc-folders__bulk label{flex:1;min-width:180px}.hlbtc-history .hlbtc-folders__bulk details{margin:8px 0 14px}.hlbtc-history .hlbtc-folders__bulk summary{font-size:.85rem;cursor:pointer}.hlbtc-history .hlbtc-folders__bulk ul{max-height:220px;overflow:auto;padding-left:22px;font-size:.82rem}.hlbtc-history .hlbtc-folders__bulk li{margin:8px 0;overflow-wrap:anywhere}.hlbtc-history .hlbtc-folders__bulk li button{font-size:.75rem;padding:3px 8px;min-height:32px;margin-left:10px}
.hlbtc-history .hlbtc-folders__pick{display:flex;align-items:center;gap:9px;font-size:.8rem;margin:10px 0}.hlbtc-history .hlbtc-folders__pick input[type=checkbox]{width:19px;height:19px;min-width:19px;min-height:19px;flex:0 0 19px;margin:0;padding:0;accent-color:#4B3022}.hlbtc-history .hlbtc-folders__badge{display:block;font-size:.78rem;color:#79624f;margin:10px 0;overflow-wrap:anywhere}
@media(max-width:850px){.hlbtc-history .hlbtc-history__filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hlbtc-history .hlbtc-history__filters>.hlbtc-history__favorite-filter{grid-column:1/-1}.hlbtc-history .hlbtc-folders__list{grid-template-columns:1fr}}
@media(max-width:600px){.hlbtc-history .hlbtc-history__filters{grid-template-columns:1fr}.hlbtc-history .hlbtc-folders{padding:14px}.hlbtc-history .hlbtc-folders>summary{flex-wrap:wrap}.hlbtc-history .hlbtc-folders>summary strong{font-size:.94rem}.hlbtc-history .hlbtc-folders__create button,.hlbtc-history .hlbtc-folders__bulk .hlbtc-history__actions button{width:100%}.hlbtc-history .hlbtc-folders__bulk{padding:14px}}

.hlbtc-history [data-folder-move-status]:empty{display:none}

/* Unified bulk selection, isolated from PDF and comparison controls. */
.hlbtc-history .hlbtc-bulk__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0;padding:12px 16px;background:#FFFEFA;border:1px solid #DCC89F;border-radius:12px}
.hlbtc-history .hlbtc-bulk__toolbar label{display:flex;gap:10px;align-items:center;font-size:.88rem;margin:0}.hlbtc-history .hlbtc-bulk__toolbar input[type=checkbox]{width:19px;height:19px;min-width:19px;min-height:19px;padding:0;margin:0;accent-color:#4B3022}.hlbtc-history .hlbtc-bulk__toolbar>span{font-size:.78rem;color:#79624f}
.hlbtc-history .hlbtc-bulk__actions{margin-top:14px;padding-top:14px;border-top:1px solid #E2D3B5}.hlbtc-history [data-bulk-confirm] ul{max-height:220px;overflow:auto;overflow-wrap:anywhere;padding-left:22px;font-size:.84rem}.hlbtc-history [data-folder-selected-items] small{display:block;color:#872f24}.hlbtc-history [data-bulk-confirm] strong{color:#872f24}
@media(max-width:600px){.hlbtc-history .hlbtc-bulk__toolbar{padding:12px}.hlbtc-history .hlbtc-bulk__actions button{width:100%}}

.hlbtc-history [data-folder-move-status]{overflow-wrap:anywhere}

/* Personal list controls. Names and selectors are scoped away from the host theme. */
.hlbtc-history .hlbtc-browse__controls{display:grid;grid-template-columns:minmax(200px,1.6fr) minmax(125px,.7fr) auto;gap:12px;align-items:end;margin:12px 0;padding:16px;border:1px solid #DCC89F;border-radius:13px;background:#FFFEFA}
.hlbtc-history .hlbtc-browse__view{display:flex;gap:6px;flex-wrap:wrap}.hlbtc-history .hlbtc-browse__view button{padding:10px 14px;background:#FFFEFA;color:#4B3022;border-color:#C6A15A}.hlbtc-history .hlbtc-browse__view button[aria-pressed=true]{background:#4B3022;color:#FFFEFA}.hlbtc-history .hlbtc-browse__view button:hover{background:#efe4cf;color:#4B3022}
.hlbtc-history .hlbtc-browse__active{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.hlbtc-history [data-history-filter-chips]{display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;color:#79624f;font-size:.82rem}.hlbtc-history [data-history-filter-chips] button{font-size:.78rem;max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:7px 10px}.hlbtc-history [data-history-clear-filters]{font-size:.82rem}
.hlbtc-history .hlbtc-history__row-tools{margin:0;padding:0;border:0;background:transparent;min-width:0}.hlbtc-history .hlbtc-history__row-tools>summary{display:none}
.hlbtc-history [data-history-list-view=compact]{grid-template-columns:1fr;gap:10px}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__item{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,auto);gap:5px 16px;padding:14px 16px;border-radius:12px}
.hlbtc-history [data-history-list-view=compact] .hlbtc-history__item>h3{grid-column:1;margin:3px 0;font-size:1rem;overflow-wrap:anywhere}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__item>.hlbtc-history__badge{grid-column:1;justify-self:start;font-size:.72rem}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__saved{grid-column:1;margin:3px 0;font-size:.74rem}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__item>:is(.hlbtc-history__name,.hlbtc-history__birth){display:none}
.hlbtc-history [data-history-list-view=compact] .hlbtc-history__primary-actions{grid-column:2;grid-row:1/4;align-content:start;align-items:start;margin:0;max-width:360px}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__primary-actions button{padding:8px 11px;font-size:.8rem}
.hlbtc-history [data-history-list-view=compact] .hlbtc-history__row-tools{grid-column:1/-1;grid-row:8;margin-top:2px}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__row-tools>summary{display:list-item;cursor:pointer;font-size:.8rem;color:#6b4a27;padding:5px 0}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__item>:is(.hlbtc-book__pick,.hlbtc-comparison__pick,.hlbtc-folders__pick){margin:4px 0;font-size:.77rem}.hlbtc-history [data-history-list-view=compact] .hlbtc-folders__badge{margin:4px 0;font-size:.74rem}
@media(max-width:900px){.hlbtc-history .hlbtc-browse__controls{grid-template-columns:minmax(0,1fr) minmax(125px,.6fr)}.hlbtc-history .hlbtc-browse__view{grid-column:1/-1}}
@media(max-width:650px){.hlbtc-history .hlbtc-browse__controls{grid-template-columns:1fr;padding:12px}.hlbtc-history .hlbtc-browse__view{grid-column:auto}.hlbtc-history .hlbtc-browse__view button{flex:1}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__item{display:block;padding:12px}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__primary-actions{margin-top:10px;max-width:none}.hlbtc-history [data-history-list-view=compact] .hlbtc-history__row-tools{margin-top:7px}.hlbtc-history [data-history-clear-filters]{width:100%}.hlbtc-history .hlbtc-history__pagination{flex-wrap:wrap}.hlbtc-history .hlbtc-history__pagination span{text-align:center;overflow-wrap:anywhere}}

.hlbtc-history .hlbtc-display{margin:8px 0 14px;padding:10px 14px;border-left:3px solid #C6A15A;background:#FFFEFA;border-radius:0 10px 10px 0}.hlbtc-history .hlbtc-display p{font-size:.78rem;line-height:1.85;margin:0;overflow-wrap:anywhere}.hlbtc-history .hlbtc-display .hlbtc-history__actions{margin-top:8px}.hlbtc-history .hlbtc-display button{font-size:.78rem;padding:7px 11px}
@media(max-width:600px){.hlbtc-history .hlbtc-display button{width:100%}}

.hlbtc-history .hlbtc-saved-filters{margin:16px 0;padding:16px;background:#FBF8F1;border:1px solid #C6A15A;border-radius:12px;color:#4B3022}.hlbtc-history .hlbtc-saved-filters summary{cursor:pointer;font-weight:700}.hlbtc-history .hlbtc-saved-filters__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.hlbtc-history .hlbtc-saved-filters__grid label{display:flex;flex-direction:column;gap:6px;min-width:0}.hlbtc-history .hlbtc-saved-filters__grid input,.hlbtc-history .hlbtc-saved-filters__grid select{width:100%;min-width:0;max-width:100%;font:inherit;color:#4B3022;background:#FFFEFA}.hlbtc-history [data-preset-confirm]{padding:12px;border:1px solid #C6A15A;margin-top:12px}.hlbtc-history [data-preset-status].is-error{color:#9c2424}@media(max-width:600px){.hlbtc-history .hlbtc-saved-filters__grid{grid-template-columns:1fr}}

.hlbtc-history .hlbtc-pins{padding:18px;margin:0 0 20px;background:#FBF8F1;border:1px solid #C6A15A;border-radius:14px;color:#4B3022}.hlbtc-history .hlbtc-pins__heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.hlbtc-history .hlbtc-pins__heading h3{margin:0;flex:1;color:#4B3022;font:inherit;font-size:1.15em;font-weight:700}.hlbtc-history .hlbtc-pins__hint{margin:10px 0;font-size:.9em;line-height:1.7}.hlbtc-history [data-pin-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;list-style:none;margin:12px 0}.hlbtc-history [data-pin-list] li{min-width:0;padding:14px;background:#FFFEFA;border:1px solid #C6A15A;border-radius:10px}.hlbtc-history .hlbtc-pins__title{display:block;overflow-wrap:anywhere;line-height:1.65;color:#4B3022}.hlbtc-history .hlbtc-pins__meta{display:block;font-size:.85em;line-height:1.65;margin:6px 0 10px}.hlbtc-history [data-pin-status].is-error{color:#9c2424}.hlbtc-history [data-pin-toggle][aria-pressed="true"]{background:#4B3022;color:#FFFEFA;border-color:#C6A15A}.hlbtc-history [data-pin-toggle][aria-pressed="true"]:hover{background:#62432e;color:#FFFEFA}.hlbtc-history [data-pin-list] button{white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.hlbtc-history [data-pin-list]{grid-template-columns:1fr}.hlbtc-history .hlbtc-pins{padding:14px}}
@media(max-width:700px){.hlbtc-history .hlbtc-pins__heading{display:grid;grid-template-columns:minmax(0,1fr) auto}.hlbtc-history .hlbtc-pins__heading h3{grid-column:1;margin:0}.hlbtc-history .hlbtc-pins__heading [data-pin-count]{grid-column:2}.hlbtc-history .hlbtc-pins__heading [data-pin-reload]{grid-column:1 / -1;justify-self:start}}
.hlbtc-history .hlbtc-guide-launch{display:flex;justify-content:flex-end;margin:0 0 14px}.hlbtc-history .hlbtc-member-guide{box-sizing:border-box;margin:0 0 20px;padding:20px;border:1px solid #C6A15A;border-radius:14px;background:#FBF8F1;color:#4B3022;scroll-margin-top:24px;font:inherit}.hlbtc-history .hlbtc-member-guide[hidden]{display:none!important}.hlbtc-history .hlbtc-member-guide__head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.hlbtc-history .hlbtc-member-guide h3,.hlbtc-history .hlbtc-member-guide h4,.hlbtc-history .hlbtc-member-guide h5{color:#4B3022;font-family:inherit;line-height:1.65;letter-spacing:normal;text-transform:none}.hlbtc-history .hlbtc-member-guide h3{margin:0;font-size:1.25em}.hlbtc-history .hlbtc-member-guide h4{font-size:1.1em;margin:18px 0 8px}.hlbtc-history .hlbtc-member-guide h5{font-size:1em;margin:18px 0 8px}.hlbtc-history .hlbtc-member-guide p{line-height:1.85;margin:10px 0;overflow-wrap:anywhere}.hlbtc-history .hlbtc-member-guide nav ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;padding-inline-start:24px;margin:10px 0 20px}.hlbtc-history .hlbtc-member-guide a{color:#4B3022;text-decoration:underline;overflow-wrap:anywhere}.hlbtc-history .hlbtc-member-guide a:hover,.hlbtc-history .hlbtc-member-guide a:focus{color:#6b421b;background:#efe4cb}.hlbtc-history .hlbtc-member-guide__topic{border:1px solid #C6A15A;border-radius:10px;margin:12px 0;background:#FFFEFA}.hlbtc-history .hlbtc-member-guide__topic>summary{cursor:pointer;padding:14px;font-weight:700;line-height:1.7;color:#4B3022;scroll-margin-top:24px;overflow-wrap:anywhere}.hlbtc-history .hlbtc-member-guide__topic>summary:hover{color:#4B3022;background:#f2ead9;border-radius:10px}.hlbtc-history .hlbtc-member-guide__content{padding:0 16px 16px;min-width:0}.hlbtc-history .hlbtc-member-guide__step{padding-inline-start:1.1em;text-indent:-1.1em}.hlbtc-history .hlbtc-member-guide__table{max-width:100%;overflow-x:auto;margin:14px 0;border-radius:6px}.hlbtc-history .hlbtc-member-guide table{width:100%;min-width:440px;border-collapse:collapse;font:inherit;line-height:1.7;background:#FFFEFA;color:#4B3022;margin:0}.hlbtc-history .hlbtc-member-guide caption{text-align:start;font-weight:600;margin-bottom:8px;color:#4B3022}.hlbtc-history .hlbtc-member-guide th,.hlbtc-history .hlbtc-member-guide td{border:1px solid #d8c9aa;padding:10px;text-align:start;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.hlbtc-history .hlbtc-member-guide th{background:#efe4cb;color:#4B3022}.hlbtc-history .hlbtc-member-guide .is-error{color:#9c2424}.hlbtc-history .hlbtc-member-guide :focus-visible{outline:3px solid #9c722b;outline-offset:3px}@media(max-width:700px){.hlbtc-history .hlbtc-member-guide{padding:14px}.hlbtc-history .hlbtc-member-guide nav ol{grid-template-columns:minmax(0,1fr)}.hlbtc-history .hlbtc-member-guide__content{padding:0 12px 12px}.hlbtc-history .hlbtc-member-guide__head h3{flex-basis:100%}}
