.ah-pwa-install-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ah-pwa-install-controls p[role=status]{flex-basis:100%;margin:0}.ah-pwa-instructions{max-width:65ch;font-size:14px}.ah-pwa-instructions summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}.ah-pwa-invite{position:fixed;z-index:35;right:20px;bottom:20px;width:min(400px,calc(100% - 40px));padding:24px;border:1px solid #bcc8b5;border-radius:12px;background:#fffcf3;color:#213e31;box-shadow:0 10px 36px #173e322b;max-height:75dvh;overflow:auto}.ah-pwa-invite h2{font:26px/1.2 Georgia,serif;margin:8px 28px 12px 0}.ah-pwa-invite p{font-size:14px}.ah-pwa-invite .ah-pwa-install-controls{margin-top:12px}.ah-pwa-dismiss{position:absolute;right:8px;top:8px;width:44px;min-height:44px;border:0;background:#fff0;color:#213e31;font-size:26px;cursor:pointer}.ah-pwa-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;justify-content:center;background:#fffcf3;border-top:1px solid #bcc8b5;padding:5px 8px max(5px,env(safe-area-inset-bottom))}.ah-pwa-nav a{display:flex;align-items:center;justify-content:center;flex:1;max-width:180px;min-height:48px;padding:6px;color:#213e31;font:13px/1.3 system-ui,sans-serif;text-align:center;text-decoration:none}.ah-pwa-nav a[aria-current]{font-weight:700;background:#e8ecdf;border-radius:6px}.ah-pwa-standalone body{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.ah-pwa-update{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);z-index:40;width:min(600px,calc(100% - 32px));padding:16px 20px;background:#fffcf3;color:#213e31;border:1px solid #bcc8b5;border-radius:10px;box-shadow:0 5px 25px #173e3226}.ah-pwa-update p{margin:0 0 10px;font-size:14px}.ah-pwa-update span{display:block;font-size:14px}.ah-pwa-invite[hidden],.ah-pwa-nav[hidden],.ah-pwa-update[hidden]{display:none!important}.ah-pwa-admin-preview{padding:20px;background:#fffcf3;border:1px solid #bcc8b5;border-radius:8px;overflow-wrap:anywhere;white-space:pre-wrap}.ah-pwa-admin-preview h3{margin-top:0}.ah-pwa-form{max-width:800px}.ah-pwa-form label{display:block;margin:18px 0 5px}.ah-pwa-form input[type=text],.ah-pwa-form input[type=url],.ah-pwa-form textarea{width:100%}.ah-pwa-form textarea{min-height:160px}.ah-pwa-form .ah-actions{margin-top:20px}.ah-pwa-table td{vertical-align:top}.ah-pwa-standalone .ah-bookmark-panel{bottom:75px!important}@media(max-width:480px){.ah-pwa-invite{right:12px;bottom:12px;width:calc(100% - 24px);padding:20px}.ah-pwa-nav a{font-size:12px;padding:5px 3px}}@media(prefers-reduced-motion:reduce){.ah-pwa-invite,.ah-pwa-update{scroll-behavior:auto}}.ah-pwa-form,.ah-pwa-form input,.ah-pwa-form textarea,.ah-pwa-form select{box-sizing:border-box;max-width:100%;min-width:0}.ah-pwa-form{width:100%}.ah-pwa-form select{width:100%}.ah-pwa-form .ah-actions{display:flex;flex-wrap:wrap;gap:10px}.ah-pwa-form .ah-actions .button{white-space:normal;min-height:44px;line-height:1.4;padding-block:10px}.ah-pwa-table{table-layout:fixed}.ah-pwa-table th,.ah-pwa-table td{overflow-wrap:anywhere}.ah-pwa-table .button{white-space:normal}.ah-pwa-table form{margin-top:8px}.ah-install-guide{max-width:1100px;margin:auto}.ah-install-guide>h2{font-size:clamp(1.8rem,5vw,3rem);line-height:1.2}.ah-install-intro{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:32px;margin:30px 0}.ah-install-qr{margin:0;padding:18px;background:#fff;border:1px solid #bcc8b5;border-radius:10px;text-align:center;font-size:14px;overflow-wrap:anywhere}.ah-install-qr img{display:block;width:100%;height:auto}.ah-install-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ah-install-guides .ah-panel{margin:0;padding:24px}.ah-install-guides ol{list-style:none;padding:0}.ah-install-guides li{display:flex;gap:12px;margin:18px 0;align-items:flex-start}.ah-install-step{flex:0 0 28px;height:28px;border-radius:50%;background:#e8ecdf;color:#213e31;font-size:14px;text-align:center;line-height:28px;font-weight:700}.ah-app-health{max-width:1060px;margin:24px auto;padding:20px;border:1px solid #bcc8b5;border-radius:10px;background:#fffcf3;color:#213e31;box-sizing:border-box}.ah-app-health summary{cursor:pointer;min-height:44px;font-weight:700;display:list-item}.ah-app-health p{font-size:14px;max-width:80ch}.ah-app-health dl>div,.ah-pwa-server-health>div{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:18px;padding:12px 0;border-bottom:1px solid #d9dfd2}.ah-app-health dd,.ah-pwa-server-health dd{margin:0;overflow-wrap:anywhere}.ah-app-health dt{font-weight:600}.ah-reading-meter{display:flex;gap:12px;align-items:center;margin:12px 0;color:inherit;font:12px/1.4 system-ui,sans-serif;grid-column:1/-1}.ah-reading-meter span{flex-shrink:0}.ah-reading-meter progress{width:100%;min-width:0;height:5px;accent-color:#89712d}.ah-reader-quick-nav:has(.ah-reading-meter){flex-wrap:wrap}.ah-reader-quick-nav>.ah-reading-meter{flex-basis:100%;margin:2px 0}.ah-app-health button:focus-visible,.ah-install-guide a:focus-visible,.ah-pwa-nav a:focus-visible{outline:3px solid #a27424;outline-offset:3px}@media(max-width:760px){.ah-install-intro{grid-template-columns:1fr}.ah-install-qr{max-width:260px;margin:auto}.ah-install-guides{grid-template-columns:1fr}.ah-app-health{margin-inline:16px}.ah-app-health dl>div,.ah-pwa-server-health>div{grid-template-columns:1fr;gap:4px}}@media(max-width:600px){.ah-reader-quick-nav>.ah-reading-meter{gap:8px}.ah-pwa-standalone .ah-reader-dock{max-height:calc(100dvh - 90px);overflow:auto}}.ah-pwa-refresh-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0}.ah-pwa-refresh-tools [role=status]{font-size:13px;max-width:65ch}.ah-pwa-pull-ready{overscroll-behavior-y:contain}.ah-pwa-swipe-enabled{touch-action:pan-y pinch-zoom}.ah-pwa-swipe-status{font:13px/1.5 system-ui,sans-serif;max-width:75ch}.ah-pwa-swipe-status:empty{display:none}.ah-reader-tools .ah-check{display:flex;align-items:center;gap:10px;flex-basis:100%;min-height:44px}.ah-reader-tools #ah-swipe-help{margin-top:4px;font-size:14px}.ah-pwa-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.ah-pwa-stat-cards>div{background:#e8ecdf;border:1px solid #c5cebd;border-radius:8px;padding:22px;color:#213e31;display:grid;gap:10px}.ah-pwa-stat-cards strong{font:700 32px/1.2 system-ui,sans-serif}.ah-pwa-stats-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.ah-pwa-stats-filter label{display:grid;gap:6px}.ah-pwa-stats-filter select,.ah-pwa-stats-filter button{min-height:44px}@media(max-width:650px){.ah-pwa-stat-cards{grid-template-columns:1fr}.ah-pwa-refresh-tools{align-items:stretch;gap:10px}.ah-pwa-refresh-tools [role=status]{flex-basis:100%}}.ah-notice-bell{position:relative;flex:none;font:14px/1.5 Arial,sans-serif}.ah-notice-bell[hidden],.ah-notice-bell [hidden],.ah-pwa-nav [data-ah-notice-count][hidden]{display:none!important}.ah-notice-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #bcc8b5;border-radius:7px;background:#fffcf3;color:#194637;text-decoration:none;cursor:pointer}.ah-notice-trigger:hover,.ah-notice-trigger[aria-expanded=true]{background:#e8ecdf}.ah-notice-count{position:absolute;top:-5px;right:-5px;display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:1px 4px;border-radius:12px;background:#194637;color:#fffdf5;font:700 11px/1 Arial,sans-serif;border:1px solid #fffcf3;box-sizing:border-box}.ah-notice-preview{position:fixed;z-index:90;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;max-width:calc(100vw - 32px);padding:18px;background:#fffcf3;border:1px solid #bcc8b5;border-radius:10px;color:#213e31;box-shadow:0 10px 36px #173e3230;text-align:left;white-space:normal}.ah-notice-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ah-notice-preview .ah-notice-preview-heading h2{margin:0;font:25px/1.2 Georgia,serif;color:#213e31}.ah-notice-close{flex:none;width:44px;height:44px;min-height:44px;padding:0;background:#fff0;border:0;color:#213e31;font-size:26px;cursor:pointer}.ah-notice-preview p{font:14px/1.55 Arial,sans-serif;margin:10px 0;overflow-wrap:anywhere}.ah-notice-preview ol{margin:0;padding:0;list-style:none}.ah-notice-preview li{padding:14px 10px;border-top:1px solid #d8dece;border-radius:5px;overflow-wrap:anywhere}.ah-notice-preview li.ah-notice-preview-new{background:#edf0e5}.ah-notice-preview h3{margin:5px 0;font:600 17px/1.4 Georgia,serif;color:#213e31}.ah-notice-preview h3 a{display:block;min-height:44px;padding:5px 0;white-space:normal!important;text-decoration:underline!important;text-underline-offset:3px;color:#194637}.ah-notice-preview-label,.ah-notice-preview time{font:12px/1.5 Arial,sans-serif;color:#52624c}.ah-notice-preview li p{margin:4px 0}.ah-notice-preview-actions{display:grid;gap:10px;margin-top:14px}.ah-notice-preview-actions a,.ah-notice-preview-actions button{display:flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;white-space:normal!important;text-align:center;padding:10px 12px;font:14px/1.4 Arial,sans-serif;border:1px solid #bcc8b5;border-radius:6px;background:#fffcf3;color:#194637;cursor:pointer}.ah-notice-preview-actions a{text-decoration:underline!important}.ah-notice-preview-actions button:disabled{opacity:.65;cursor:wait}.ah-notice-preview .ah-notice-preview-help{font-size:12px;color:#52624c;margin-bottom:0}.ah-notice-bell :focus-visible,.ah-pwa-nav [data-ah-notice-nav]:focus-visible{outline:3px solid #806326;outline-offset:3px}.ah-pwa-nav [data-ah-notice-nav]{position:relative;padding-top:14px}.ah-pwa-nav [data-ah-notice-count]{top:1px;right:4px;min-width:18px;height:18px}.ah-pwa-invite{width:min(340px,calc(100% - 32px));padding:16px 52px 16px 18px;max-height:180px;border-radius:8px}.ah-pwa-invite strong{display:block;font:600 17px/1.4 Georgia,serif}.ah-pwa-invite p{margin:6px 0;font-size:13px;line-height:1.5}.ah-pwa-invite a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}.ah-pwa-invite .ah-pwa-dismiss{top:3px;right:3px}@media(max-width:480px){.ah-pwa-invite{bottom:max(12px,env(safe-area-inset-bottom));right:12px;width:calc(100% - 24px);padding:12px 48px 12px 14px}.ah-pwa-invite strong{font-size:16px}.ah-pwa-invite p{font-size:12px}}