:root{color-scheme:light;--bg:#f6f5f0;--paper:#fffefa;--ink:#242922;--muted:#73786e;--line:#e3e5dc;--soft:#ecefe5;--accent:#69765a;--safe:env(safe-area-inset-bottom,0px);--dock:216px}:root[data-theme=dark]{color-scheme:dark;--bg:#171b17;--paper:#222821;--ink:#f1f0e8;--muted:#afb7a6;--line:#363e33;--soft:#30392b;--accent:#bdcda7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--dock) + 10px)}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.3;cursor:default}button:active:not(:disabled){opacity:.7}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}.app-shell{max-width:600px;margin:auto;padding-bottom:calc(14px + var(--safe))}.app-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(12px + env(safe-area-inset-top,0px)) 14px 10px}.app-header h1{font-size:19px;line-height:1.3;font-weight:650;letter-spacing:-.4px;margin:0}.app-header p{font-size:10px;color:var(--muted);margin:3px 0 0}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.icon-button:hover{background:var(--soft)}main{padding:0 12px}.player-dock{position:sticky;top:0;z-index:5;background:var(--bg);padding:5px 0 6px}.player-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:10px 12px 0}.episode-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.episode-heading>div:first-child{min-width:0}.episode-heading h2{font-size:17px;letter-spacing:-.3px;margin:0;line-height:1.35}.episode-heading #resumeNote{font-size:10px;color:var(--muted);display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-state{font-size:9px;color:var(--muted);display:flex;align-items:flex-end;flex-direction:column;gap:3px;flex-shrink:0}.state-pill{display:flex;align-items:center;gap:4px;white-space:nowrap}.state-pill i{width:4px;height:4px;border-radius:50%;background:var(--accent)}.state-pill.loading i{animation:pulse 1.2s ease-in-out infinite}.local-badge{color:var(--accent);font-size:9px}.player-state:has(.local-badge:not([hidden])) #chapterIndex{display:none}.timeline input{--played:0%;--buffered:0%;appearance:none;-webkit-appearance:none;width:100%;height:25px;margin:2px 0 0;background:transparent;cursor:pointer}.timeline input::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(to right,var(--ink) 0 var(--played),var(--soft) var(--played) var(--buffered),var(--line) var(--buffered) 100%)}.timeline input::-moz-range-track{height:3px;border-radius:4px;background:var(--line)}.timeline input::-moz-range-progress{height:3px;background:var(--ink);border-radius:4px}.timeline input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;margin-top:-4.5px;background:var(--ink);border:2px solid var(--paper);box-shadow:0 0 0 1px var(--ink)}.timeline input::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--ink);border:2px solid var(--paper)}.timeline input:disabled{opacity:.45}.times{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:-4px}.playback{display:flex;align-items:center;justify-content:space-around;gap:8px;padding:6px 6px 8px}.track-button{width:42px;min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.track-button svg{width:20px;height:20px}.track-button span{font-size:9px;color:var(--muted)}.skip-button{width:38px;height:38px;display:grid;place-items:center;position:relative}.skip-button svg{width:27px;height:27px;stroke-width:1.3}.skip-button span{font-size:8px;position:absolute;top:13px;font-weight:600}.play-main{height:46px;width:46px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--paper)}.play-main svg{width:22px;height:22px}.quick-tools{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);gap:3px;min-height:39px;margin:0 -3px}.quick-tools>button{min-height:37px;display:flex;align-items:center;justify-content:center;gap:4px;padding:2px 5px;font-size:10px;white-space:nowrap}.quick-tools>button svg{width:15px;height:15px}.quick-tools button[data-saved=true]{color:var(--accent)}.quick-stepper{display:flex;align-items:center;min-width:96px}.quick-stepper button{min-width:28px;min-height:36px;font-size:18px;padding:0 3px}.quick-stepper #openSpeed{font-size:12px;min-width:38px}.quick-stepper strong{font-weight:550}.listening-info{display:flex;align-items:flex-start;gap:5px;padding:2px 1px}.buffer-card{flex:1;min-width:0;font-size:10px;color:var(--muted)}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}.buffer-card summary{display:flex;align-items:center;gap:5px;min-height:30px}.buffer-card svg{width:13px;height:13px;color:var(--accent)}.buffer-card strong{font-size:10px;font-weight:450}.detail-hint{opacity:.6;font-size:11px}.buffer-card p{font-size:10px;line-height:1.6;margin:2px 0 5px}.text-button{font-size:10px;color:var(--muted);min-height:30px;padding:3px 0;white-space:nowrap}.text-button:hover{color:var(--ink)}.listening-info>#markDone{font-size:9px}.status{font-size:11px;background:var(--soft);border-radius:8px;padding:8px 10px;margin:5px 0;line-height:1.6}.download-card{border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:8px 10px;margin:5px 0 8px}.download-card>div{display:flex;align-items:center;gap:8px;font-size:10px}.download-card strong{font-weight:550;flex:1}.download-card button{font-size:10px;color:var(--muted);padding:4px}.download-card progress{width:100%;height:3px;accent-color:var(--accent);margin:5px 0 0}.download-card p{font-size:9px;color:var(--muted);margin:2px 0 0}.inline-settings{border:1px solid var(--line);border-radius:9px;margin:4px 0 9px;background:var(--paper)}.inline-settings>summary{display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:11px;min-height:34px}.inline-settings>summary svg{width:15px;height:15px}.inline-settings>summary span{margin-left:auto;font-size:9px;color:var(--muted)}.inline-settings:not([open]){display:none}.inline-settings[open]>summary:after{content:'−';margin-left:5px}.sheet-content{padding:0 12px 4px}.sheet-content section{padding:13px 0;border-top:1px solid var(--line);scroll-margin-top:calc(var(--dock) + 10px)}.sheet-content h3,.setting-title>label{font-size:12px;font-weight:550;margin:0 0 8px}.setting-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.setting-title h3,.setting-title>label{margin:0}.setting-title output{font-size:11px}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px}.stepper button{min-width:34px;min-height:32px;font-size:20px}.stepper output{min-width:40px;text-align:center;font-size:12px}.speed-presets,.sleep-options,.theme-options{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.speed-presets button,.sleep-options button,.theme-options button{border:1px solid var(--line);border-radius:7px;min-height:32px;padding:5px 10px;font-size:11px}.speed-presets button[aria-pressed=true],.sleep-options button[aria-pressed=true],.theme-options button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}.setting-help{font-size:10px;line-height:1.6;color:var(--muted);margin:7px 0 0}.sheet-content input[type=range]{width:100%;height:25px;accent-color:var(--ink);margin:7px 0 0;cursor:pointer}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:34px;cursor:pointer}.switch-row strong,.choice strong{font-size:11px;font-weight:500;display:block}.switch-row small,.choice small{font-size:10px;display:block;line-height:1.5;margin-top:3px;color:var(--muted)}.switch-row input{appearance:none;position:relative;width:34px;height:20px;background:var(--line);border-radius:12px;flex-shrink:0;cursor:pointer}.switch-row input:before{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;background:var(--paper);border-radius:50%}.switch-row input:checked{background:var(--ink)}.switch-row input:checked:before{transform:translateX(14px)}.choice{display:flex;align-items:flex-start;gap:9px;padding:8px 0;cursor:pointer}.choice input{margin:3px 0 0;width:15px;height:15px;accent-color:var(--ink);flex-shrink:0}.privacy-note{display:flex;gap:7px;align-items:flex-start}.privacy-note>svg{width:15px;height:15px;margin-top:2px}.privacy-note p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.drive-link{display:block;font-size:10px;color:var(--muted);padding:12px 0}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.list-heading h2{font-size:14px;font-weight:600;margin:0}.list-heading h2 span{font-size:10px;font-weight:400;color:var(--muted);margin-left:4px}.search-wrap{height:36px;border:1px solid var(--line);background:var(--paper);border-radius:8px;display:flex;align-items:center;padding:0 10px;gap:7px;margin:5px 0}.search-wrap svg{width:15px;height:15px;color:var(--muted)}.search-wrap input{height:100%;min-width:0;flex:1;border:0;background:transparent;outline:none;color:var(--ink);font-size:16px}.search-wrap input::placeholder{font-size:11px;color:var(--muted)}.filter-tabs{display:flex;justify-content:space-between;gap:3px;border-bottom:1px solid var(--line);padding:2px 0}.filter-tabs button{font-size:10px;display:flex;align-items:center;justify-content:center;gap:3px;min-height:33px;padding:4px 5px;color:var(--muted);white-space:nowrap;border-radius:6px}.filter-tabs svg{width:13px;height:13px}.filter-tabs button[aria-pressed=true]{background:var(--soft);color:var(--ink);font-weight:550}.filter-tabs span{font-size:9px;opacity:.7}.storage-card{font-size:9px;color:var(--muted);margin:5px 0}.storage-card summary{display:flex;justify-content:space-between;gap:8px;min-height:26px;align-items:center}.storage-card p{font-size:10px;line-height:1.6;margin:6px 0}.storage-card[open]{background:var(--soft);padding:0 8px 7px;border-radius:7px}.episode-row{display:flex;align-items:center;border-bottom:1px solid var(--line);min-height:57px}.episode-row.current{background:var(--soft);border-color:transparent;border-radius:8px;margin:2px 0}.episode-select{flex:1;display:flex;align-items:center;gap:10px;min-height:56px;padding:7px 5px;text-align:left;min-width:0}.ep-num{font-size:10px;font-variant-numeric:tabular-nums;color:var(--muted);width:24px;flex-shrink:0}.ep-info{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.ep-title{font-size:12px;font-weight:500}.ep-meta{font-size:10px;color:var(--muted)}.ep-play{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.ep-play svg{width:12px;height:12px}.current .ep-play{background:var(--ink);color:var(--paper);border-color:var(--ink)}.ep-progress{height:2px;width:80px;background:var(--line);margin-top:2px}.ep-progress i{display:block;height:2px;background:var(--accent)}.ep-saved{font-size:9px;color:var(--accent)}.row-action{min-width:36px;min-height:42px;display:grid;place-items:center;padding:7px}.row-action svg{width:16px;height:16px;color:var(--muted)}.episode-row.unavailable{opacity:.5}.load-more{width:100%;border:1px solid var(--line);border-radius:8px;min-height:36px;font-size:11px;margin-top:12px;color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:28px 18px;font-size:11px;line-height:1.7}.source-note,.quiet-note{font-size:9px;line-height:1.6;color:var(--muted)}.source-footer{text-align:center;padding:14px;font-size:9px;color:var(--muted)}.toast{position:fixed;left:50%;bottom:calc(14px + var(--safe));transform:translateX(-50%);max-width:calc(100% - 24px);width:max-content;background:var(--ink);color:var(--paper);font-size:11px;line-height:1.5;padding:9px 12px;border-radius:9px;z-index:20;box-shadow:0 3px 20px #0002}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes pulse{50%{opacity:.3}}@media(min-width:700px){.app-shell{padding-top:15px}.app-header h1{font-size:23px}.player-card{padding-left:18px;padding-right:18px}.playback{max-width:400px;margin:auto}.quick-tools{justify-content:space-around}}@media(max-width:350px){main{padding:0 8px}.app-header{padding-left:10px;padding-right:10px}.app-header h1{font-size:17px}.app-header p{font-size:9px}.player-card{padding-left:9px;padding-right:9px}.quick-tools>button{gap:3px;padding:2px 3px;font-size:9px}.quick-stepper{min-width:88px}.quick-stepper button{min-width:25px}.filter-tabs button{font-size:9px;padding:4px}.filter-tabs svg{width:12px;height:12px}.listening-info>#markDone{font-size:8px}}@media(max-height:450px){.player-dock{position:relative}html{scroll-padding-top:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.book-toolbar{display:flex;align-items:center;gap:5px;margin:0 0 3px;min-height:33px}.book-toolbar select{font:11px/1.3 inherit;font-size:11px;min-width:0;flex:1;max-width:100%;height:31px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);padding:3px 7px;text-overflow:ellipsis}.book-toolbar .icon-button{width:29px;height:31px}.book-toolbar .icon-button svg{width:14px;height:14px}.add-story{font-size:11px;min-height:32px;white-space:nowrap;background:var(--soft);border-radius:7px;padding:4px 9px}
.collection-shortcut{font-size:10px;min-height:31px;padding:4px 7px;border:1px solid var(--line);border-radius:7px;white-space:nowrap;color:var(--accent)}.catalog-intro{margin:5px 0 3px;padding:7px 9px;border-radius:8px;background:var(--soft)}.catalog-intro>div{display:flex;justify-content:space-between;align-items:center;gap:5px}.catalog-intro strong{font-size:10px;font-weight:500}.catalog-intro button{font-size:9px;min-height:26px;white-space:nowrap}.catalog-intro p{font-size:9px;color:var(--muted);line-height:1.5;margin:1px 0 2px}.catalog-sources{margin-top:15px}.catalog-sources .list-heading select{font-size:10px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;min-height:30px;padding:4px 7px}.resource-row{display:flex;align-items:center;gap:8px;padding:10px 2px;border-bottom:1px solid var(--line);min-height:55px;text-decoration:none}.resource-row>span:first-child{flex:1;min-width:0}.resource-row strong{display:block;font-size:11px;line-height:1.5;font-weight:500}.resource-row small{display:block;font-size:9px;color:var(--muted);margin-top:3px;line-height:1.5}.resource-action{font-size:9px;color:var(--accent);white-space:nowrap}.catalog-directory{margin:15px 0 5px;border:1px solid var(--line);border-radius:8px;padding:8px 10px}.catalog-directory>summary{font-size:11px;min-height:25px;line-height:25px}.directory-link{display:block;padding:8px 0;border-top:1px solid var(--line)}.directory-link strong{display:block;font-size:11px;font-weight:500}.directory-link small{display:block;font-size:9px;color:var(--muted);margin-top:3px;line-height:1.6}.row-source{display:grid;place-items:center;min-width:28px;min-height:40px;color:var(--muted);font-size:15px}.list-heading h2 #listLabel{font-size:14px;font-weight:600;color:var(--ink);margin:0}.episode-heading h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-toolbar .add-story{padding-left:6px;padding-right:6px;font-size:10px}@media(max-width:350px){.collection-shortcut{font-size:9px;padding:3px 5px}.book-toolbar select{font-size:10px;padding-left:5px}.resource-action{font-size:8px}.catalog-intro strong{font-size:9px}.catalog-intro button{font-size:8px}}
.app-header{position:relative}.main-menu{position:absolute;right:14px;top:calc(100% - 4px);width:215px;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 8px 30px #0002;z-index:30}.main-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:39px;text-align:left;padding:7px 9px;border-radius:6px;font-size:12px}.main-menu button:hover,.main-menu button:focus-visible{background:var(--soft)}.main-menu svg{width:17px;height:17px;color:var(--muted)}#openMenu[aria-expanded=true]{background:var(--soft)}

.resource-row{width:100%;text-align:left}.resource-row.current{background:var(--soft);border-radius:6px}.embedded-player{border:1px solid var(--line);border-radius:10px;padding:9px;margin:8px 0 12px;scroll-margin-top:8px;background:var(--paper)}.embedded-heading{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.embedded-heading>div{flex:1;min-width:0}.embedded-heading h2{font-size:12px;line-height:1.5;margin:0;font-weight:600}.embedded-heading small{font-size:9px;color:var(--muted)}.embedded-heading>button{font-size:21px;min-width:30px;min-height:30px}.embed-host{width:100%;overflow:hidden;border-radius:7px;min-height:200px;background:var(--soft)}.embed-host iframe{display:block;border:0;width:100%;height:100%}.embed-host[data-provider=youtube]{aspect-ratio:16/9;min-height:200px}.embed-host[data-provider=spotify]{height:232px}.embedded-player>p{font-size:10px;color:var(--muted);line-height:1.5;margin:7px 1px}.embed-tools{display:flex;align-items:center;gap:4px;justify-content:space-between}.embed-tools button{font-size:12px;min-height:32px;min-width:32px;border-radius:6px;background:var(--soft)}.embed-tools span{font-size:10px;color:var(--muted);text-align:center;flex:1}.embed-footer{display:flex;gap:7px;align-items:center;margin-top:6px;flex-wrap:wrap}.embed-footer button{font-size:10px;min-height:30px;color:var(--accent)}.embed-footer small{font-size:9px;color:var(--muted);line-height:1.5;flex-basis:100%}.embedded-player[hidden],.player-dock[hidden],#nativeListeningInfo[hidden]{display:none}

.business-shelf{margin-top:18px;scroll-margin-top:220px}.business-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.business-heading h2{font-size:16px;margin:0}.business-heading p{font-size:10px;color:var(--muted);line-height:1.5;margin:5px 0}.business-heading button{font-size:10px;white-space:nowrap;min-height:30px;color:var(--accent)}.business-search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:0 9px;height:36px;margin:7px 0}.business-search svg{width:15px;height:15px;color:var(--muted)}.business-search input{font:inherit;font-size:16px;min-width:0;flex:1;background:transparent;border:0;color:var(--ink);height:100%;outline:0}.business-search input::placeholder{font-size:11px}.business-filters{display:flex;gap:5px}.business-filters select{min-width:0;height:31px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font-size:10px;padding:3px 5px;flex:1}.business-filters select:first-of-type{flex:1.5}.business-caption{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin:9px 0}.business-book{border-top:1px solid var(--line);padding:10px 1px}.business-book-heading{display:flex;gap:5px;align-items:flex-start}.business-book h3{flex:1;font-size:13px;line-height:1.45;margin:0;font-weight:600}.book-favorite{color:var(--accent);font-size:22px;min-width:30px;min-height:27px;line-height:25px}.business-author{font-size:10px;color:var(--muted);margin:3px 0 5px;line-height:1.5}.business-reason{font-size:10px;line-height:1.5;margin:5px 0 8px}.business-controls{display:flex;gap:5px;align-items:center}.business-controls select{flex:1;min-width:0;max-width:100%;height:32px;font-size:11px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);padding:4px 5px}.business-controls button{min-height:32px;font-size:10px;white-space:nowrap;padding:5px 7px;border:1px solid var(--line);border-radius:6px}.business-controls .business-listen{background:var(--soft);font-weight:600}.business-meta{font-size:9px;color:var(--muted);margin:6px 0 2px;line-height:1.5}.book-evidence{font-size:9px;color:var(--muted)}.book-evidence summary{min-height:25px;line-height:25px}.book-evidence p{line-height:1.6}.business-policy{border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin:14px 0;font-size:10px;color:var(--muted);line-height:1.6}.business-policy summary{font-size:11px;min-height:28px}.business-policy button{font-size:10px;min-height:30px}.business-voice-bar{display:flex;align-items:center;gap:6px;margin:5px 0;font-size:9px;color:var(--muted)}.business-voice-bar select{flex:1;min-width:0;height:29px;border:1px solid var(--line);border-radius:6px;font-size:10px;color:var(--ink);background:var(--paper);padding:3px 5px}.business-voice-bar button{font-size:10px;min-height:29px;white-space:nowrap;color:var(--accent)}

/* First arrival starts with content selection; listening keeps its compact controls. */
body[data-view=choose] main>:not(#entryHome):not(#businessShelf):not(#screen-player),body[data-view=choose] .listening-heading,body[data-view=choose] .source-footer,body[data-view=listen] .home-heading,body[data-view=listen] #entryHome{display:none!important}
body[data-view=choose] #openHome{display:none}body[data-view=choose] .business-shelf{margin-top:12px;scroll-margin-top:12px}body[data-view=choose] #businessChapters{display:none}body[data-view=choose] .business-preview{scroll-margin-top:12px}body[data-view=choose]{--dock:0px}
.app-header>.listening-heading,.app-header>.home-heading{flex:1;min-width:0}.home-button{display:flex;align-items:center;gap:4px;min-height:36px;padding:4px 6px;font-size:10px;white-space:nowrap;border-radius:7px;color:var(--accent)}.home-button svg{width:16px;height:16px}.entry-home{padding:4px 0 0}.entry-home h2{font-size:19px;line-height:1.4;margin:0 0 3px;font-weight:600;letter-spacing:-.25px}.entry-lead{font-size:11px;color:var(--muted);margin:0 0 12px}.entry-categories{display:flex;gap:5px;margin:10px 0 4px}.entry-categories button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;flex:1;padding:5px 7px;font-size:11px;border:1px solid var(--line);border-radius:8px;background:var(--paper);white-space:nowrap}.entry-categories svg{width:15px;height:15px}.entry-categories button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.entry-resume{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--soft);border-radius:9px;padding:9px;margin:10px 0}.entry-resume>div{flex:1;min-width:0}.entry-resume small,.entry-resume span{display:block;font-size:9px;color:var(--muted);line-height:1.5}.entry-resume strong{display:block;font-size:12px;margin:2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-resume button{min-height:34px;padding:5px 7px;white-space:nowrap;font-size:11px}.entry-choice{padding:12px 1px;border-bottom:1px solid var(--line)}.entry-choice h3{font-size:14px;margin:0}.entry-choice p{font-size:10px;color:var(--muted);margin:4px 0 8px}.entry-choice-actions{display:flex;gap:7px}.entry-choice-actions button{min-height:34px;font-size:11px;border:1px solid var(--line);border-radius:7px;padding:5px 10px;background:var(--paper)}.entry-choice-actions button:last-child{background:var(--soft)}.entry-find-story{width:100%;min-height:38px;text-align:left;font-size:12px;color:var(--accent);padding:8px 3px}.entry-home h2:focus,.listening-heading h1:focus{outline:none}
@media(max-width:350px){.home-button{font-size:9px;padding:3px}.entry-categories button{font-size:10px;gap:3px;padding:4px}.entry-categories svg{width:13px;height:13px}}

/* A dense shelf and one attached, persistent native player. */
:root{--player-space:0px;--dock:0px}html{scroll-padding-top:12px;scroll-padding-bottom:calc(var(--player-space) + 12px)}body{padding-bottom:var(--player-space)}.app-shell{padding-bottom:12px}.app-header{padding-top:10px;padding-bottom:7px}.app-header h1{font-size:17px}.entry-home{padding-top:0}.entry-home h2{font-size:17px}.entry-lead{font-size:10px;margin-bottom:8px}.entry-categories{margin:7px 0 3px}.entry-categories button{min-height:32px;font-size:10px}.business-shelf,body[data-view=choose] .business-shelf{margin-top:10px;scroll-margin-top:10px}.business-heading h2{font-size:14px}.business-heading p{margin:3px 0;font-size:9px}.business-search{margin:5px 0;height:34px}.business-filters select{height:28px;font-size:9px}.business-caption{margin:6px 0;font-size:9px}
#businessBooks,#entryChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:start}.business-book{position:relative;display:flex;flex-direction:column;min-width:0;min-height:185px;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:8px;gap:4px}.business-book:nth-child(4n+1),.business-book:nth-child(4n+4){background:var(--soft)}.business-book.current-book{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.book-category{display:block;margin-right:25px;min-height:17px;font-size:8px;line-height:1.6;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.book-favorite{position:absolute;right:3px;top:3px;min-width:28px;min-height:28px;font-size:21px;padding:0}.book-open{display:block;text-align:left;width:100%;padding:0;min-height:76px;flex:1}.business-book h3{font-size:12px;line-height:1.45;font-weight:650;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.business-author{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:9px;line-height:1.4;color:var(--muted);margin:5px 0 2px}.business-controls{display:grid;grid-template-columns:minmax(0,1fr) 29px;align-items:center;gap:4px}.business-controls select{width:100%;height:29px;padding:3px;font-size:10px}.business-controls .business-listen{height:29px;min-height:29px;min-width:29px;padding:0;font-size:11px;border-radius:6px;border:1px solid var(--line);background:var(--paper)}.book-reader{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.35;min-width:0}.business-meta{font-size:8px;margin:0;color:var(--muted)}.book-evidence{font-size:9px;line-height:1.5}.book-evidence summary{min-height:24px;line-height:24px;font-size:8px}.book-evidence p{margin:5px 0}.entry-choice{min-width:0;min-height:152px;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:8px;margin-top:5px}.entry-choice h3{font-size:13px}.entry-choice p{font-size:9px;min-height:38px}.entry-choice-actions{gap:4px;flex-wrap:wrap}.entry-choice-actions button{font-size:10px;padding:4px 7px;min-height:30px}
body:not([data-player-ready=true]) #screen-player,body:not([data-player-ready=true]) #openSettings{display:none!important}body[data-player-ready=true][data-embedded=false] #entryResume{display:none!important}
.player-dock{position:fixed;left:50%;transform:translateX(-50%);top:auto;bottom:0;width:min(600px,100%);z-index:15;padding:0 7px calc(5px + env(safe-area-inset-bottom,0px));background:var(--bg);border-top:1px solid var(--line);box-shadow:0 -5px 18px #0000000a}.player-card{display:flex;flex-direction:column;border:0;border-radius:0;padding:0 7px;background:var(--bg)}.player-book-title{font-size:11px;line-height:1.4;text-align:left;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:25px;padding:3px 0;color:var(--ink)}.episode-heading{gap:5px}.episode-heading h2{font-size:10px;font-weight:500;-webkit-line-clamp:1}.episode-heading #resumeNote{display:none}.player-state{flex-direction:row;align-items:center;gap:6px;font-size:8px}.state-pill{gap:3px}.timeline input{height:20px;margin:0}.times{font-size:9px;margin-top:-5px}.playback{padding:2px 12px 3px;gap:7px;width:100%;max-width:400px;margin:0 auto}.track-button{min-height:32px;width:34px;flex-direction:row}.track-button span{display:none}.track-button svg{width:18px;height:18px}.skip-button{height:32px;width:32px}.skip-button svg{height:24px;width:24px}.skip-button span{top:11px;font-size:8px}.play-main{width:35px;height:35px}.play-main svg{width:19px;height:19px}.quick-tools{margin:0;min-height:30px;gap:2px}.quick-tools>button{min-height:30px;font-size:9px;padding:1px 4px}.quick-tools>button svg{width:13px;height:13px}.quick-stepper{min-width:85px}.quick-stepper button{min-width:25px;min-height:29px;font-size:16px}.quick-stepper #openSpeed{font-size:11px;min-width:35px}
#settingsDialog{order:-1;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--bg);margin:0;padding:0;overflow:hidden}#settingsDialog>summary{display:flex;align-items:center;gap:5px;min-height:28px;font-size:10px;font-weight:500;padding:3px 0;list-style:none;cursor:pointer}#settingsDialog>summary::-webkit-details-marker{display:none}#settingsDialog>summary>svg{width:13px;height:13px}#settingsDialog>summary>span{font-size:8px;color:var(--muted)}#settingsDialog>summary>.settings-chevron{margin-left:auto;font-size:13px;color:var(--ink)}#settingsDialog[open]{display:flex;flex-direction:column}#settingsDialog[open]>summary{order:2}#settingsDialog[open] .settings-chevron{transform:rotate(180deg)}#settingsDialog .sheet-content{padding:0 0 3px;max-height:min(45dvh,330px);overflow-y:auto;overscroll-behavior:contain;position:relative}#settingsDialog .compact-setting{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 0;border-top:1px solid var(--line);margin:0}#settingsDialog .compact-setting:first-child{border-top:0}#settingsDialog h3,#settingsDialog .compact-setting>label:not(.choice):not(.switch-row){font-size:10px;font-weight:550;margin:0;min-width:53px}#settingsDialog .stepper{display:flex;gap:2px;align-items:center;border:0;border-radius:0}#settingsDialog .stepper button{font-size:16px;min-width:23px;min-height:27px;padding:0}#settingsDialog .stepper output{font-size:10px;min-width:29px;text-align:center}#settingsDialog .speed-presets,#settingsDialog .sleep-options,#settingsDialog .theme-options{display:flex;gap:3px;margin:0;flex-wrap:nowrap;flex:1;justify-content:flex-end}#settingsDialog .speed-presets button,#settingsDialog .sleep-options button,#settingsDialog .theme-options button{min-width:25px;min-height:27px;font-size:9px;padding:3px 5px;border:1px solid var(--line);border-radius:5px;background:var(--paper);white-space:nowrap}#settingsDialog button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}#settingsDialog .setting-help{font-size:8px;line-height:1.4;margin:0 0 0 59px;flex-basis:100%;color:var(--muted)}#settingsDialog .gain-setting{flex-wrap:nowrap}#settingsDialog .gain-setting input{flex:1;min-width:50px;max-width:none;height:24px;margin:0;accent-color:var(--ink)}#settingsDialog .gain-setting output{font-size:10px;min-width:32px;text-align:right}#settingsDialog .auto-setting{justify-content:space-between}#settingsDialog .switch-row{display:flex;align-items:center;gap:9px;padding:0;font-size:10px;min-height:26px;flex:1;justify-content:flex-start}#settingsDialog .switch-row input{width:29px;height:17px;margin:0}#settingsDialog .switch-row input:before{width:11px;height:11px}#settingsDialog .switch-row input:checked:before{transform:translateX(12px)}#settingsDialog #markDone{font-size:9px;min-height:27px;padding:3px 6px}#settingsDialog .network-options{display:flex;gap:3px;flex:1;justify-content:flex-end}#settingsDialog .choice{display:flex;align-items:center;gap:3px;min-height:27px;border:1px solid var(--line);border-radius:5px;padding:3px 5px;margin:0;font-size:9px;background:var(--paper);white-space:nowrap}#settingsDialog .choice input{width:11px;height:11px;margin:0}#settingsDialog .choice:has(input:checked){border-color:var(--accent);background:var(--soft)}#settingsDialog .listening-info{flex-basis:100%;margin:0;font-size:8px;padding:0}#settingsDialog .buffer-card{width:100%}#settingsDialog .buffer-card summary{min-height:23px;font-size:8px}#settingsDialog .buffer-card strong{font-size:8px}#settingsDialog .buffer-card>p{font-size:8px}#settingsDialog .buffer-card svg{width:12px;height:12px}#settingsDialog #bufferSettings{display:none}#settingsDialog .drive-link{font-size:8px;padding:5px 0}
.player-card>.status{font-size:9px;line-height:1.4;margin:3px 0;padding:5px 6px;background:var(--soft);border-radius:5px}.player-card>.download-card{padding:5px 0;margin:0;font-size:9px;border:0;background:none}.player-card>.download-card strong,.player-card>.download-card p{font-size:8px}.player-card>.download-card progress{height:2px;margin:3px 0}.player-card>.download-card button{font-size:9px;min-height:24px}.toast{bottom:calc(var(--player-space) + 10px)}.business-policy{font-size:9px}.business-policy summary{font-size:10px}
@media(min-width:700px){.app-shell{padding-top:5px}.business-book{min-height:190px}.business-book h3{font-size:13px}.player-dock .quick-tools{justify-content:space-around}}
@media(max-width:350px){main{padding-left:8px;padding-right:8px}.business-book{padding:6px;min-height:180px}.business-book h3{font-size:11px}.book-category{font-size:7px}.book-reader{font-size:9px}.business-controls select{font-size:9px}#settingsDialog .compact-setting{gap:4px}#settingsDialog h3,#settingsDialog .compact-setting>label:not(.choice):not(.switch-row){min-width:48px}#settingsDialog .speed-presets{gap:2px}#settingsDialog .speed-presets button{min-width:23px;padding:3px}#settingsDialog .choice{font-size:8px;padding:3px 4px}.player-state{font-size:7px}.player-book-title{font-size:10px}}
@media(max-height:450px){#settingsDialog .sheet-content{max-height:35dvh}.player-dock{position:fixed}}

#settingsDialog:not([open]){display:block}#settingsDialog[open]>summary:after{content:none}#businessBooks{align-items:stretch}.business-book{min-height:168px}.book-open{display:flex;flex-direction:column;justify-content:flex-start;min-height:61px}.business-author{-webkit-line-clamp:1}.book-foot{display:flex;align-items:flex-start;gap:4px;justify-content:space-between;min-height:24px}.book-foot .business-meta{padding-top:6px}.book-foot .book-evidence{min-width:24px;text-align:right}.book-foot .book-evidence summary{font-size:13px;min-width:24px;min-height:24px;text-align:center;list-style:none;cursor:pointer}.book-foot .book-evidence summary::-webkit-details-marker{display:none}.book-foot:has(details[open]){flex-wrap:wrap}.book-foot .book-evidence[open]{flex-basis:100%;text-align:left}.book-foot .book-evidence[open] summary{width:24px;margin-left:auto}.business-book .business-author{margin-bottom:1px}@media(min-width:700px){.business-book{min-height:168px}}@media(max-width:350px){.business-book{min-height:162px}}
