/* Private reader workspace. Keep contextual reading and purchase controls unchanged. */
.ah-reader-settings,.ah-reader-inbox{max-width:1060px;margin-inline:auto;min-width:0}.ah-reader-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:12px 0 24px}.ah-reader-page-heading h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.15;margin:0 0 10px}.ah-reader-page-heading p{margin:0;max-width:65ch;color:#536353}.ah-reader-page-heading>.ah-button{flex:none}.ah-settings-tabs,.ah-inbox-states{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.ah-settings-tabs a,.ah-inbox-states a{display:inline-flex;gap:5px;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid #bdc7b6;border-radius:7px;box-sizing:border-box;color:#194637;background:#fffdf5;text-decoration:none}.ah-settings-tabs a[aria-current],.ah-inbox-states a[aria-current]{background:#194637;color:#fffdf5;font-weight:700}.ah-settings-section>.ah-panel{padding:24px;margin-bottom:20px}.ah-settings-card{border:1px solid #bdc7b6;border-radius:10px;background:#fffdf5;margin-bottom:16px;overflow:clip}.ah-settings-card>summary{display:list-item;cursor:pointer;padding:18px 22px;min-height:44px;box-sizing:border-box;color:#194637;font-weight:700}.ah-settings-card>summary span{font-size:18px}.ah-settings-card>summary small{display:block;margin:6px 0 0 18px;font-size:13px;font-weight:400;color:#536353}.ah-settings-card[open]>summary{border-bottom:1px solid #dbe0d2;background:#edf0e6}.ah-settings-card-content{padding:22px}.ah-settings-card-content>.ah-panel,.ah-settings-card-content>.ah-push-panel{border:0;background:transparent;padding:0;margin:0;box-shadow:none}.ah-reader-settings .ah-form{max-width:none}.ah-reader-settings .ah-form>label:not(.ah-check){display:grid;gap:7px}.ah-reader-settings input:not([type=checkbox]),.ah-reader-settings select{min-height:44px;max-width:100%;width:100%;box-sizing:border-box}.ah-reader-settings .ah-panel h2,.ah-settings-card-content h2{font-size:25px;line-height:1.25;margin:0 0 12px}.ah-reader-settings p{overflow-wrap:anywhere}.ah-reader-settings .ah-form>button{justify-self:start;white-space:normal;min-height:44px}.ah-settings-note{font-size:14px;color:#536353}.ah-inbox-states{margin:0}.ah-inbox-seen{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}.ah-inbox-seen small,.ah-inbox-result-count{color:#536353;font-size:13px}.ah-reader-inbox .ah-notice-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px;border:1px solid #c8cebf;border-radius:10px;margin:12px 0;background:#fffdf5}.ah-reader-inbox .ah-inbox-new{border-left:4px solid #8b712e;background:#f7f8f0}.ah-reader-inbox .ah-notice-item h2{font:600 23px/1.35 Georgia,serif;overflow-wrap:anywhere;margin:12px 0 8px}.ah-reader-inbox .ah-notice-item p{margin:8px 0;font-size:14px}.ah-reader-inbox .ah-notice-item time{font-size:13px;color:#536353}.ah-reader-inbox .ah-pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ah-reader-inbox .ah-pagination>*{min-height:44px;display:flex;align-items:center;padding:8px 12px;box-sizing:border-box}.ah-account-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.ah-reader-settings :focus-visible,.ah-reader-inbox :focus-visible,.ah-account-settings-link a:focus-visible{outline:3px solid #8b712e;outline-offset:3px}.ah-reader-settings .ah-analytics-privacy{border:1px solid #bdc7b6;background:#fffdf5}.ah-settings-device-help{margin:18px 0}.ah-settings-device-help summary{cursor:pointer;min-height:44px;display:list-item;padding-block:12px}.ah-settings-device-help .ah-muted{font-size:13px}.ah-reader-inbox .ah-empty{margin:24px 0;padding:30px;border-radius:10px}.ah-reader-inbox .ah-empty h2{font-size:26px;line-height:1.3}.ah-reader-settings .ah-actions{flex-wrap:wrap}.ah-reader-settings .ah-actions button{white-space:normal}
@media(max-width:650px){.ah-reader-page-heading{flex-direction:column;gap:16px}.ah-reader-page-heading>.ah-button{width:100%;text-align:center}.ah-settings-tabs{gap:6px}.ah-settings-tabs a{flex:1;padding:9px 10px;font-size:14px}.ah-settings-section>.ah-panel,.ah-settings-card-content{padding:18px}.ah-settings-card>summary{padding:16px 18px}.ah-inbox-states a{flex:1;padding:9px 10px;font-size:14px}.ah-reader-inbox .ah-notice-item{grid-template-columns:minmax(0,1fr);gap:14px;padding:18px}.ah-reader-inbox .ah-notice-item>.ah-button{text-align:center}.ah-inbox-seen{gap:8px}.ah-inbox-seen>button{width:100%;white-space:normal}.ah-account-actions{gap:12px}.ah-reader-inbox .ah-empty{padding:22px}.ah-reader-settings .ah-form>button{width:100%}.ah-settings-card-content .ah-genre-choices{grid-template-columns:minmax(0,1fr)}}

@media(min-width:651px){.ah-settings-appearance .ah-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ah-settings-appearance .ah-form>.ah-setting-theme,.ah-settings-appearance .ah-form>.ah-check,.ah-settings-appearance .ah-form>p,.ah-settings-appearance .ah-form>button{grid-column:1/-1}.ah-settings-appearance .ah-form>p{margin:0}.ah-settings-appearance .ah-form>button{width:auto}}

/* Keep native select metrics and inherited button line heights from splitting the toolbar. */
.ah-inbox-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto 48px;gap:10px;align-items:end;margin:24px 0 18px}
.ah-inbox-type{display:grid;grid-template-columns:minmax(175px,220px) auto;gap:8px;align-items:end;min-width:0;margin:0}
.ah-inbox-type label{display:grid;gap:8px;min-width:0;font-size:14px;line-height:1.4}
.ah-inbox-type>.ah-button,.ah-inbox-refresh.ah-button{appearance:none;-webkit-appearance:none;box-sizing:border-box;height:48px;min-height:48px;margin:0;border-radius:6px;font-size:16px;line-height:1.25;box-shadow:none}
.ah-inbox-type>.ah-button{min-width:80px;padding:0 16px;border:1px solid #194637;background:#194637;color:#fffdf5!important;font-weight:600}
.ah-inbox-type>.ah-button:hover{background:#143b2e;border-color:#143b2e}
.ah-inbox-refresh.ah-button{width:48px;min-width:48px;padding:0;border:1px solid #89997f;background:#fffdf5;color:#194637!important}
.ah-inbox-refresh.ah-button:not(:disabled):hover{background:#e8ecdf}
.ah-inbox-refresh svg{display:block;width:20px;height:20px;pointer-events:none}
.ah-reader-inbox .ah-inbox-toolbar :is(select,button):focus-visible{outline:2px solid #8b712e;outline-offset:2px;box-shadow:none}
.ah-inbox-refresh-status{grid-column:1/-1;font-size:13px;color:#536353}.ah-inbox-refresh-status:empty{display:none}
@media(max-width:650px){.ah-inbox-toolbar{grid-template-columns:minmax(0,1fr) 48px;gap:12px 8px}.ah-inbox-states{grid-column:1/-1}.ah-inbox-type{grid-template-columns:minmax(0,1fr) auto;width:100%}.ah-inbox-type>.ah-button{min-width:66px;padding-inline:12px;font-size:14px}}
