/* 2026-10-17 review round 1: small polish fixes (loaded in <head>, no flashes). */
/* Read: version / parallel bar had a heavy black 2px frame in light mode */
html:not([data-theme=dark]) #p23-bar.p23-bar{border:1px solid #E4E6EF!important;border-radius:14px!important;overflow:hidden}
html[data-theme=dark] #p23-bar.p23-bar{border-width:1px!important;border-radius:14px!important;overflow:hidden}
#p23-bar .p23-btn{border-top:0!important;border-right:0!important;border-bottom:0!important;border-radius:0!important}
html:not([data-theme=dark]) #p23-bar .p23-btn+.p23-btn{border-left:1px solid #E4E6EF!important}
/* "Fulfilled" promise badge used a red tint; indigo instead */
.p11-badge.done,html[data-theme] .p11-badge.done{background:rgba(59,63,216,.10)!important;color:#3B3FD8!important;border-color:transparent!important}
html[data-theme=dark] .p11-badge.done{background:rgba(165,168,255,.16)!important;color:#C9CBFF!important}
/* People: the order picker rendered as a blank white box in dark mode (native select) */
#people-order{-webkit-appearance:none;appearance:none;padding-right:34px!important;border-radius:12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B3FD8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px!important}
html[data-theme=dark] #people-order{background-color:#22252d!important;color:#ECEEF3!important;border:1px solid #2c303a!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5A8FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}
/* You > Tools: Family mode checkbox sat above its label */
label.p27-row.p31-fam{display:grid!important;grid-template-columns:1fr auto;column-gap:14px;align-items:center}
label.p31-fam>strong{grid-column:1;grid-row:1}label.p31-fam>small{grid-column:1;grid-row:2}
label.p31-fam>input{grid-column:2;grid-row:1/span 2;margin:0!important;width:22px;height:22px;accent-color:#3B3FD8}
/* Today: the streak chip in the header read a different counter than Reading stats; the habit row below replaces it */
.p32-hd .p32-st{display:none!important}
/* Today: "Take the tour" sits in the page instead of floating over the greeting */
.p32-hd .tb.tb-in.lr-in-hd{order:11;flex:1 0 100%;margin:14px 0 0!important}
/* Today habit row */
.p32-hd>.lr-card.ls-coll{order:10;flex:1 0 100%;margin:14px 0 0!important}.p32-hd>#lr-trial.ls-coll{order:9;margin:0 0 4px!important}
.lr-card.ls-coll{display:block;margin:0 0 16px!important;padding:0!important;border:1px solid #E4E6EF!important;border-radius:16px!important;background:#fff!important;overflow:hidden;max-width:none}
.lr-row{-webkit-appearance:none;appearance:none;display:flex;align-items:center;gap:14px;width:100%;margin:0;padding:12px 14px;border:0;background:transparent;text-align:left;font-family:Inter,-apple-system,system-ui,sans-serif;color:#14162B;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lr-row:active{background:rgba(59,63,216,.06)}
.lr-ic{flex:none;width:38px;height:38px;border-radius:11px;background:rgba(59,63,216,.10);display:grid;place-items:center}
.lr-ic svg{width:21px;height:21px;fill:none;stroke:#3B3FD8;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.lr-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lr-tx b{font:600 16px/1.3 Inter,-apple-system,system-ui,sans-serif;color:#14162B}
.lr-tx i{font:400 13.5px/1.35 Inter,-apple-system,system-ui,sans-serif;font-style:normal;color:#6A6C85}
.lr-wk{flex:none;display:flex;gap:5px}
.lr-d{display:flex;flex-direction:column;align-items:center;gap:3px;font:600 9.5px/1 Inter,system-ui,sans-serif;color:#9A9CB3}
.lr-d s{display:block;width:10px;height:10px;border-radius:50%;border:1.5px solid #C9CBDA;text-decoration:none}
.lr-d.on s{background:#3B3FD8;border-color:#3B3FD8}.lr-d.now{color:#3B3FD8}.lr-d.now s{border-color:#3B3FD8}
.lr-trial b{color:#14162B}.lr-trial .lr-go{flex:none;font:600 13px Inter,system-ui,sans-serif;color:#3B3FD8}
html[data-theme=dark] .lr-card.ls-coll{background:#1a1d24!important;border-color:#2c303a!important}
html[data-theme=dark] .lr-row{color:#ECEEF3}html[data-theme=dark] .lr-tx b{color:#ECEEF3}html[data-theme=dark] .lr-tx i{color:#9AA1AD}
html[data-theme=dark] .lr-ic{background:rgba(165,168,255,.14)}html[data-theme=dark] .lr-ic svg{stroke:#A5A8FF}
html[data-theme=dark] .lr-d{color:#6B7080}html[data-theme=dark] .lr-d s{border-color:#4a4f60}
html[data-theme=dark] .lr-d.on s{background:#A5A8FF;border-color:#A5A8FF}html[data-theme=dark] .lr-d.now{color:#A5A8FF}html[data-theme=dark] .lr-d.now s{border-color:#A5A8FF}
html[data-theme=dark] .lr-trial .lr-go{color:#A5A8FF}
/* end-of-chapter Premium card (free users, after real use) */
.lr-up.ls-coll{display:block;margin:22px 0 8px!important;padding:18px 18px 14px!important;border:1px solid rgba(59,63,216,.22)!important;border-radius:18px!important;background:linear-gradient(180deg,#F5F5FF,#fff)!important;font-family:Inter,-apple-system,system-ui,sans-serif;max-width:none}
.lr-up .lr-k{font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#3B3FD8}
.lr-up h3{margin:8px 0 10px!important;font:700 19px/1.25 Inter,-apple-system,system-ui,sans-serif!important;color:#14162B!important}
.lr-up ul{list-style:none;margin:0 0 14px!important;padding:0!important}
.lr-up li{position:relative;padding:5px 0 5px 26px!important;font:400 14.5px/1.4 Inter,-apple-system,system-ui,sans-serif!important;color:#3A3C55!important}
.lr-up li::before{content:"";position:absolute;left:3px;top:10px;width:10px;height:6px;border-left:2px solid #3B3FD8;border-bottom:2px solid #3B3FD8;transform:rotate(-45deg)}
.lr-up .lr-cta{-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:50px;border:0;border-radius:14px;background:#3B3FD8;color:#fff;font:600 16px Inter,-apple-system,system-ui,sans-serif;cursor:pointer}
.lr-up .lr-no{-webkit-appearance:none;appearance:none;display:block;margin:6px auto 0;padding:8px 14px;border:0;background:transparent;color:#6A6C85;font:500 14px Inter,system-ui,sans-serif;cursor:pointer}
html[data-theme=dark] .lr-up.ls-coll{background:linear-gradient(180deg,#1f2240,#1a1d24)!important;border-color:#33376a!important}
html[data-theme=dark] .lr-up .lr-k{color:#A5A8FF}html[data-theme=dark] .lr-up h3{color:#ECEEF3!important}html[data-theme=dark] .lr-up li{color:#C3C7D0!important}
html[data-theme=dark] .lr-up li::before{border-color:#A5A8FF}html[data-theme=dark] .lr-up .lr-cta{background:#4b50e6}html[data-theme=dark] .lr-up .lr-no{color:#9AA1AD}
