/* chrono-365: the reading-plan card above the reader's toolbar (plans.js). It scrolls away; the toolbar still pins. */
.rd-plan:empty { display: none; }
.pl-card { margin: 0 0 .55rem; border: 1px solid var(--line); border-radius: 14px; font-family: var(--sans); max-width: 640px; }
html:not(.light) .pl-card { background: rgba(255, 255, 255, .03); }
.pl-card > summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 44px; padding: .35rem .9rem; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.pl-card > summary::-webkit-details-marker { display: none; }
.pl-card > summary::after { content: "▾"; font-size: .8rem; opacity: .7; transition: transform .15s; }
.pl-card[open] > summary::after { transform: rotate(180deg); }
.pl-t { font-weight: 700; font-size: .92rem; color: var(--accent); }
html:not(.light) .pl-t { color: var(--gold); }
.pl-s { margin-left: auto; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.pl-body { padding: 0 .9rem .7rem; font-size: .9rem; }
.pl-prog { display: flex; align-items: center; gap: .5rem; margin: .1rem 0 .5rem; font-size: .82rem; color: var(--ink-soft); }
.pl-prog progress { flex: 1 1 auto; height: .7rem; accent-color: var(--accent); }
.pl-now-h { margin: .2rem 0 .1rem; font-size: 1rem; }
.pl-now-s { margin: 0 0 .3rem; font-size: .82rem; color: var(--ink-soft); }
.pl-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .45rem 0; }
.pl-row .rd-btn { min-height: 44px; }
.pl-done[aria-pressed="true"] { background: #2f7d4a; color: #fff; border-color: #2f7d4a; }
.pl-lab { display: flex; flex-direction: column; gap: .2rem; margin: .45rem 0; font-size: .8rem; color: var(--ink-soft); }
.pl-lab select, .pl-lab input { font-size: 16px; min-height: 44px; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0 .4rem; background: transparent; color: inherit; font-family: var(--sans); }
html:not(.light) .pl-lab select option { background: #1a140e; }
.pl-start { display: flex; flex-wrap: wrap; gap: 0 .8rem; }
.pl-body .sr-tip { margin: .5rem 0 0; font-size: .78rem; }

.pl-row .rd-btn[data-pl=mode][aria-pressed=true] { border-color: var(--accent, #c9a45c); font-weight: 600; }
.pl-days { margin: .45rem 0; }
.pl-days > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: .9rem; }
.pl-list { max-height: 50vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 8px; position: relative; }
.pl-day { display: block; width: 100%; text-align: left; min-height: 44px; padding: .45rem .6rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; font: inherit; font-size: .88rem; cursor: pointer; }
.pl-day span { color: var(--ink-soft); }
.pl-day.on { background: rgba(127,127,127,.15); }
