/* Container/content first; original illustration assets retained. */
.reading-feed-filters{container-type:inline-size;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:10px;margin:0 0 16px;color:#503b29}
.reading-feed-filters label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:14px}
.reading-feed-filters input,.reading-feed-filters select,.reading-feed-filters button,.reading-map-search input,.reading-map-search button{box-sizing:border-box;min-height:44px;min-width:0;max-width:100%;border:1px solid #ccb88e;border-radius:10px;background:#fffaf0;color:#503b29;padding:9px 11px;font:inherit}
.reading-feed-filters select{width:100%}.reading-filter-actions,.reading-date-range{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.reading-date-range label{flex:1;min-width:130px}
.reading-feed-filters [hidden]{display:none!important}.reading-feed-filters [data-status]{grid-column:1/-1;margin:0;font-size:13px;overflow-wrap:anywhere}
.reading-filter-actions button[type=submit]{background:#345e49;color:#fff8e8}.reading-field-count{display:block;text-align:right;font-size:12px;line-height:1.5;color:#6c5d47;margin:3px 0 6px}.reading-field-note{font-size:13px;color:#66533b}
html body #postsContainer .post-content--summary{box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.65;min-height:calc(6.6em + 26px);height:calc(6.6em + 26px);max-height:calc(6.6em + 26px);padding:12px;overflow-wrap:anywhere}
html body #postsContainer .post-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));gap:8px}html body #postsContainer .post-actions .action-btn{min-height:44px;min-width:0}
.reading-summary{color:#503b29;background:#f7eed8;border-radius:10px;padding:10px;font-size:14px;line-height:1.7;white-space:pre-line;margin:8px 0;overflow-wrap:anywhere}
.reading-map-search{position:absolute;z-index:21;left:12px;top:clamp(148px,22vh,190px);width:min(310px,calc(100% - 104px));color:#503b29;pointer-events:auto}
.reading-map-search form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px;background:#fff8e8;padding:4px;border-radius:12px;box-shadow:0 2px 5px #32271633}
.reading-map-search input{width:100%;font-size:14px}.reading-map-search [data-results]{background:#fff8e8;border-radius:10px;max-height:220px;overflow:auto}.reading-map-search [data-results]:empty{display:none}.reading-map-search [data-results] button{display:block;width:100%;text-align:left;border-radius:0;border:0;border-bottom:1px solid #d8c6a3}.reading-map-search p{background:#fff8e8;font-size:13px;padding:6px;margin:0;border-radius:8px}.reading-map-search p:empty{display:none}
#clearDailyMood{min-height:44px;margin-top:8px;color:#503b29;background:#fff8e8}
:where(.reading-feed-filters,.reading-map-search) :is(input,select,button):focus-visible{outline:3px solid #37664f;outline-offset:2px}

/* Actual bottom navigation hit obstruction witnessed in Edge. */
html body.bookclub-app #appDrawerBody{padding-bottom:calc(var(--flow-nav-height,72px) + 24px)!important;scroll-padding-bottom:calc(var(--flow-nav-height,72px) + 24px)}
.reading-map-search form>button{grid-column:2;grid-row:1}.reading-map-search form>.reading-field-count{grid-column:1/-1;grid-row:2;margin:0 4px 2px}

html body.bookclub-app #appDrawerBody{padding-bottom:18px!important;scroll-padding-bottom:18px}

html body.bookclub-app #punchForm .checkin-submit-bar{position:static!important;margin-top:12px}html body.bookclub-app #punchSubmitBtn:disabled{background:#a5b19f!important;color:#fffaf0!important;cursor:not-allowed;opacity:1!important}#punchForm :is(input,textarea){scroll-margin-block:18px}

.reading-field-shell{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%;flex:1}.reading-field-shell input{width:100%;min-width:0}.reading-field-shell .reading-field-count{margin:2px 2px 0}.gm-filters .reading-field-shell{min-width:0}

/* Folded map search: independent of camera buttons and generic text counters. */
html body .reading-map-search{top:auto;bottom:calc(var(--flow-nav-height,72px) + 76px);left:12px;width:auto;z-index:35}
html body .reading-map-search .map-find-launcher{width:auto;min-width:96px;min-height:44px;padding:8px 14px;background:#fff8e8;color:#503b29}
.reading-map-search .map-find-panel{position:absolute;bottom:52px;left:0;width:min(300px,calc(100vw - 104px));background:#fff8e8;border:1px solid #ccb88e;border-radius:12px;padding:8px;box-sizing:border-box;box-shadow:0 2px 8px #32271622}
.reading-map-search [hidden]{display:none!important}.reading-map-search header{display:flex;align-items:center;justify-content:space-between;gap:8px}.reading-map-search header button{width:44px;min-height:44px}
.reading-map-search .map-find-panel form{grid-template-columns:minmax(0,1fr) 56px;padding:4px 0;box-shadow:none}
.reading-map-search [data-results]{max-height:min(176px,28vh);overflow:auto}
.reading-map-search [data-results] button{min-height:44px;width:100%;text-align:left;padding:8px 10px}.reading-map-search [data-results] button[aria-pressed=true]{background:#e5eedb}
.telegram-binding-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.telegram-binding-rows label{display:grid;gap:6px;min-width:0}.telegram-binding-rows input{min-width:0;width:100%;min-height:44px;box-sizing:border-box}

html body .reading-map-search .map-find-panel{position:fixed;left:12px;bottom:auto;top:clamp(12px,calc(var(--ui-height,100dvh)*.18),160px);max-height:calc(var(--ui-height,100dvh) - clamp(12px,calc(var(--ui-height,100dvh)*.18),160px) - var(--flow-nav-height,72px) - 24px);overflow-y:auto}.map-find-panel input{font-size:16px!important}

.map-find-panel [data-find-clear]{font-size:14px!important;padding:8px 6px!important;white-space:nowrap}
