/* Shared book materials, including the detached opening animation. */
#moment-helps,#moment-helps-home,.moment-book-opening{
 --book-sheet:#fffdf7;--book-surround:#f2eee6;--book-ink:#293d39;
 --book-secondary:#5c685c;--book-petrol:#294842;--book-petrol-hover:#203b36;
 --book-soft:#ebf0eb;--book-rule:#dcddd3;--book-control:#7b877d;
 --book-brass:#a48b60;--book-danger:#91432f;
}
.moment-helps-dialog{width:min(640px,calc(100% - 24px));scroll-padding-bottom:130px}
.moment-helps-dialog [hidden],.moment-helps-home[hidden],.moment-helps-home [hidden]{display:none!important}
.moment-helps-dialog h3{font-size:1.3rem;line-height:1.35;margin:22px 0 12px;overflow-wrap:anywhere}
.moment-helps-dialog h4{margin:0 0 10px;font-size:1.05rem}
.moment-helps-dialog p{line-height:1.65;overflow-wrap:anywhere}
.moment-helps-dialog label{display:block;font-weight:600;margin:14px 0 8px}
.moment-helps-dialog textarea,.moment-helps-dialog input[type=text]{box-sizing:border-box;width:100%;border:1px solid var(--mm-line);border-radius:14px;background:var(--mm-surface);color:var(--mm-ink);padding:14px;font:inherit;font-size:16px;line-height:1.6}
.moment-helps-dialog textarea{resize:vertical;min-height:112px}
.moment-helps-dialog input[type=file]{display:block;width:100%;font:inherit;font-size:16px;padding:12px 0}
.moment-helps-dialog button,.moment-helps-dialog summary,.moment-helps-dialog a{min-height:44px}
.moment-helps-dialog .moment-text-button{font-size:14px}
.moment-helps-dialog button:disabled{opacity:.55;cursor:default;transform:none}
.moment-helps-dialog #moment-helps-status:empty{display:none}
.moment-helps-dialog summary{padding:12px 0;cursor:pointer;color:var(--mm-accent);font-weight:600}
.moment-helps-dialog details{margin-top:20px;border-top:1px solid var(--mm-line)}
.moment-helps-dialog :focus-visible,.moment-helps-home :focus-visible{outline:3px solid var(--mm-accent);outline-offset:4px}
.moment-helps-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}
.moment-helps-list{list-style:none;margin:22px 0;padding:0;display:grid;gap:10px}
.moment-helps-list button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:16px 18px;border:1px solid var(--mm-line);border-radius:16px;background:var(--mm-surface);color:var(--mm-ink);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.moment-helps-list button:hover{background:var(--mm-tint)}
.moment-helps-list small{color:var(--mm-muted);font-size:13px}
.moment-helps-row-copy{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1;overflow-wrap:anywhere}
.moment-helps-thumb{display:block;flex:0 0 56px;width:56px;height:56px;max-width:none;object-fit:contain;border-radius:8px;background:var(--mm-tint)}
.moment-helps-notice{padding:16px 18px;border-radius:14px;background:var(--mm-tint);border:1px solid var(--mm-line);font-size:14px}
.moment-book-drafts{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:10px;}
.moment-book-drafts li{border-top:1px solid var(--mm-line);padding-top:6px;}
.moment-book-drafts .moment-book-draft-open{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;}
.moment-book-drafts small{font-weight:400;color:var(--mm-ink);}
.moment-helps-empty{padding:24px 0;color:var(--mm-muted)}
.moment-helps-storage{margin-top:24px;padding-top:10px;border-top:1px solid var(--mm-line)}
.moment-helps-message{white-space:pre-wrap;font-size:19px;padding:20px;border-left:3px solid var(--mm-accent);background:var(--mm-tint);border-radius:0 14px 14px 0}
.moment-helps-image{margin:18px 0}
.moment-helps-image img{display:block;width:100%;height:auto;max-height:60vh;object-fit:contain;border-radius:14px;background:var(--mm-tint)}
.moment-helps-image-preview img{max-height:220px}
.moment-helps-picture{margin:16px 0}
.moment-helps-picture .moment-helps-actions{margin:10px 0}
.moment-helps-picture>p{margin:8px 0;color:var(--mm-muted)}
.moment-helps-voice{margin:12px 0}
.moment-helps-voice .moment-helps-actions{margin:10px 0}
.moment-helps-save-bar{position:sticky;bottom:-26px;margin:18px 0 -12px;padding:12px 0;background:var(--mm-paper);border-top:1px solid var(--mm-line);z-index:1}
.moment-helps-save-bar .moment-helps-actions{margin:8px 0}
.moment-helps-save-bar p{margin:0}
.moment-helps-more[open]{padding-bottom:10px}
.moment-helps-player{margin:18px 0}.moment-helps-player audio{width:100%;max-width:100%}
.moment-helps-select-list{display:grid;gap:6px;max-height:320px;overflow:auto;margin:16px 0}
.moment-helps-dialog .moment-helps-choice{display:flex;align-items:flex-start;gap:12px;margin:0;padding:12px;border:1px solid var(--mm-line);border-radius:12px;font-weight:400;cursor:pointer;overflow-wrap:anywhere}
.moment-helps-choice input{flex-shrink:0;width:20px;height:20px;accent-color:var(--mm-accent);margin-top:3px}
.moment-helps-choice small{display:block;color:var(--mm-muted);margin-top:4px}
.moment-helps-pin-choices{min-width:0;margin:20px 0 0;padding:0;border:0}
.moment-helps-pin-choices legend{padding:0;font-weight:600;line-height:1.5}
.moment-helps-pin-choices .moment-helps-select-list{max-height:none;overflow:visible}
.moment-helps-pin-choices .moment-helps-choice{align-items:center;min-height:56px}
.moment-helps-pin-choices .moment-helps-choice:has(input:checked){border-color:var(--mm-accent);background:var(--mm-tint)}
.moment-helps-pin-choices input{margin-top:0}
.moment-helps-dialog hr{border:0;border-top:1px solid var(--mm-line);margin:30px 0}
.moment-helps-home{margin:0 0 24px;padding:20px 24px;border:1px solid var(--mm-line);border-radius:22px;background:var(--mm-surface)}
.moment-helps-home h2{font-size:19px;font-weight:600;line-height:1.4;margin:0}
.moment-helps-home>p{font-size:14px;line-height:1.6;color:var(--mm-muted);margin:8px 0 12px}
.moment-helps-home-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.moment-helps-home-list button{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid var(--mm-line);border-radius:14px;background:var(--mm-tint);padding:14px;text-align:left;font:inherit;color:var(--mm-ink);min-height:56px;cursor:pointer;overflow-wrap:anywhere}
.moment-helps-home-list .moment-helps-thumb{width:56px;height:56px;flex-basis:56px;background:var(--mm-surface)}
.moment-helps-home-list .moment-helps-row-copy{font-weight:400;line-height:1.45}
@media(max-width:600px){.moment-helps-home{padding:18px}.moment-helps-home-list{grid-template-columns:1fr}.moment-helps-dialog .moment-helps-actions .moment-button{flex-grow:1}.moment-helps-dialog{padding:24px 20px}.moment-helps-message{padding:16px;font-size:18px}.moment-helps-save-bar{bottom:-24px}.moment-helps-home>.moment-button{width:100%}}
@media(max-height:560px){.moment-helps-save-bar{position:static}.moment-helps-dialog{scroll-padding-bottom:24px}}

/* 1.0.309: compact reading view and a clear primary action for archived helps. */
.moment-helps-dialog:not([data-helps-panel=edit]){scroll-padding-bottom:24px}
.moment-helps-dialog>.moment-dialog-header h2{font-size:26px;line-height:1.2}
.moment-helps-dialog>.moment-local-note{margin:8px 0!important;font-size:13px;line-height:1.5}
.moment-helps-dialog #moment-helps-detail-back{margin:0;padding:8px 0;justify-content:flex-start}
.moment-helps-dialog #moment-helps-detail-title{margin:12px 0 6px;font-size:21px;line-height:1.35}
.moment-helps-dialog #moment-helps-detail-meta{margin:0 0 12px;line-height:1.5}
.moment-helps-dialog #moment-helps-detail-meta.is-archived{display:table;padding:4px 10px;background:var(--mm-tint);border-radius:8px}
.moment-helps-dialog .moment-helps-message{margin:12px 0 18px;padding:16px;font-size:18px;line-height:1.55}
#moment-helps-restore-action:empty{display:none}
#moment-helps-restore-action>.moment-button{width:100%;margin:0 0 12px;font-size:16px}
.moment-helps-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch;margin:12px 0 18px}
.moment-helps-detail-actions>button{width:100%;font-size:14px;min-height:46px}
.moment-helps-dialog .moment-helps-more{margin-top:16px}
.moment-helps-dialog .moment-helps-more>summary{padding:10px 0;min-height:44px;box-sizing:border-box;font-size:14px}
.moment-helps-management{display:grid;gap:0;margin:0;padding:0}
.moment-helps-management>div:empty{display:none}
.moment-helps-management button{width:100%;justify-content:flex-start;text-align:left;padding:12px 8px;margin:0;min-height:48px}
.moment-helps-management>.moment-helps-delete-action{margin-top:8px;padding-top:8px;border-top:1px solid var(--mm-line)}
.moment-helps-delete-action>.moment-remove-button{color:#91432f}
@media(max-width:600px){.moment-helps-dialog{padding:20px;--mm-dialog-inset:20px}.moment-helps-save-bar{bottom:-20px}.moment-helps-dialog>.moment-dialog-header h2{font-size:25px}}

/* A confirmation replaces the reading view instead of stacking above it. */
.moment-helps-dialog.is-confirming{scroll-padding:20px;max-width:480px}
.moment-helps-dialog.is-confirming>.moment-local-note{display:none}
.moment-helps-dialog.is-confirming>.moment-dialog-header h2{font-size:20px}
.moment-helps-dialog .moment-helps-confirmation{padding:4px 0 8px;border:0;background:none}
.moment-helps-dialog #moment-helps-confirm-title{margin:8px 0 12px;font-size:24px;line-height:1.25}
.moment-helps-dialog #moment-helps-confirm-text{margin:0;font-size:16px;line-height:1.55}
.moment-helps-confirmation>.moment-helps-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 0}
.moment-helps-dialog #moment-helps-confirm-no{background:var(--mm-surface);border:1px solid #ceb48d;color:var(--mm-ink)!important}
.moment-helps-dialog #moment-helps-confirm-yes{background:#91432f;color:#fff!important;border:1px solid #91432f;border-radius:12px;padding:12px 16px;text-decoration:none}
.moment-helps-confirmation button{width:100%;min-height:48px;font-size:16px!important;line-height:1.4}
@media(max-width:420px){.moment-helps-confirmation>.moment-helps-actions{grid-template-columns:1fr;gap:10px}}

/* Begleitbuch: a single full-screen workspace with an independent editor footer. */
#moment-helps.moment-helps-dialog{position:fixed;inset:var(--book-top,0px) 0 auto!important;transform:none;margin:0;width:100%;height:var(--book-height,100dvh);max-width:none;max-height:none!important;border:0;border-radius:0;padding:0;overflow:hidden;box-sizing:border-box;box-shadow:none;--book-gutter:max(20px,calc((100vw - 760px)/2));}
#moment-helps[open]{display:flex;flex-direction:column;}
#moment-helps>.moment-dialog-header{padding:max(12px,env(safe-area-inset-top)) var(--book-gutter) 12px;margin:0;flex-shrink:0;border-bottom:1px solid var(--mm-line);gap:12px;}
#moment-helps>.moment-dialog-header h2{flex:1;font-size:clamp(22px,5.2vw,30px);margin:0;line-height:1.25;letter-spacing:-.4px;}
#moment-helps-back{font-size:26px;min-width:44px;justify-content:flex-start;padding:0;}
#moment-helps>.moment-local-note{padding:0 var(--book-gutter);font-size:14px!important;flex-shrink:0;}
#moment-helps-status{padding:0 var(--book-gutter);font-size:15px;flex-shrink:0;margin:6px 0 10px!important;}
#moment-helps-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px var(--book-gutter) max(24px,env(safe-area-inset-bottom));}
#moment-helps[data-helps-panel=edit] #moment-helps-content{overflow:hidden;padding-bottom:0;display:flex;flex-direction:column;}
#moment-helps-edit-panel{flex:1;min-height:0;display:flex;flex-direction:column;}
#moment-helps-edit-back{display:none;}
#moment-helps-form{display:flex;flex-direction:column;flex:1;min-height:0;}
.moment-book-editor-fields{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 4px 14px;scroll-padding-bottom:20px;}
#moment-helps .moment-helps-save-bar{position:static;flex-shrink:0;margin:0;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:var(--mm-paper);}
#moment-helps .moment-helps-save-bar .moment-helps-actions{margin:0;gap:14px;}
#moment-helps-save{flex:1;font-size:16px;min-height:48px;}
#moment-helps-cancel{font-size:14px;padding:10px;}
#moment-helps textarea{min-height:150px;font-size:17px;line-height:1.7;}
#moment-helps .moment-small{font-size:14px!important;}
#moment-helps label{font-size:16px;}
#moment-helps .moment-book-search-label{font-size:14px;margin:10px 0 6px;}
#moment-helps-search{font-size:16px;}
.moment-book-tabs{display:flex;gap:4px;margin:18px 0 20px;border-bottom:1px solid var(--mm-line);}
.moment-book-tabs button{flex:1;min-width:0;background:none;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 5px;font:inherit;font-size:15px;font-weight:500;color:var(--mm-muted);cursor:pointer;}
.moment-book-tabs button[aria-pressed=true]{color:var(--mm-ink);border-bottom-color:var(--mm-accent);font-weight:700;}
#moment-helps .moment-helps-list{gap:0;margin:20px 0;}
#moment-helps .moment-helps-list li{border-bottom:1px solid var(--mm-line);padding:8px 0;}
#moment-helps .moment-helps-list button{border:0;border-radius:10px;padding:14px 8px;background:transparent;align-items:flex-start;}
#moment-helps .moment-helps-list button:hover{background:var(--mm-tint);}
#moment-helps .moment-helps-list strong{font-size:17px;line-height:1.45;}
#moment-helps .moment-helps-list small{font-size:14px;line-height:1.5;}
.moment-book-preview{font-size:16px;line-height:1.6;color:var(--mm-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;}
#moment-helps .moment-helps-list .moment-book-list-play{font-size:14px;width:auto;color:var(--mm-accent);padding:8px 10px;}
#moment-helps .moment-book-marks{padding:12px 0 0;margin:18px 0 0;border:0;border-top:1px solid var(--mm-line);}
.moment-book-marks legend{font-size:14px;color:var(--mm-muted);}
#moment-helps .moment-book-marks label{display:flex;align-items:center;gap:12px;font-weight:400;min-height:48px;margin:0;cursor:pointer;}
.moment-book-marks input{width:22px;height:22px;accent-color:var(--mm-accent);flex-shrink:0;}
#moment-helps .moment-helps-message{background:none;border:0;padding:8px 0;font-size:18px;line-height:1.75;}
#moment-helps .moment-helps-more>button{display:flex;width:100%;justify-content:flex-start;text-align:left;padding:12px 8px;}
#moment-helps .moment-helps-more>summary{font-size:16px;}
#moment-helps-pin-note{padding:0 8px;}
#moment-helps .moment-helps-confirmation{overflow:auto;padding:24px var(--book-gutter);}
#moment-helps.is-confirming #moment-helps-back{visibility:hidden;}
#moment-helps.is-confirming>.moment-dialog-header h2{font-size:22px;}
#moment-helps .moment-book-menu{margin-top:24px;}
#moment-helps .moment-book-menu #moment-helps-archive{border:0;}
.moment-book-home-actions{display:flex;gap:10px;flex-wrap:wrap;}
#moment-helps-home .moment-book-home-actions>.moment-button{flex:1;white-space:normal;min-width:140px;margin-top:0;}
#moment-helps-home .moment-helps-home-list{grid-template-columns:1fr;gap:6px;margin-top:18px;}
#moment-helps-home .moment-helps-home-list button{font-size:14px;min-height:48px;background:none;border-radius:10px;padding:12px;}
#moment-reader-book{margin-top:12px;}
@media(max-height:500px){#moment-helps[data-helps-panel=edit]>.moment-local-note{display:none;}#moment-helps>.moment-dialog-header{padding-top:8px;padding-bottom:8px;}#moment-helps textarea{min-height:100px;}#moment-helps .moment-helps-save-bar{padding-top:6px;padding-bottom:6px;}}
@media(min-width:900px){#moment-helps>.moment-dialog-header{padding-top:24px;}#moment-helps-content{padding-top:12px;}}

/* 1.0.318: linen binding, quieter paper and an editorial reading hierarchy. */
#moment-helps-home{border:0;background:transparent;padding:0;box-shadow:none;overflow:visible;--book-serif:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;}
.moment-book-cover{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px;margin:6px 6px 20px 0;padding:30px 26px 76px 38px;border:1px solid #233b39;border-radius:3px 9px 9px 3px;color:#f3eddf;text-align:center;background:linear-gradient(90deg,#071b1d99 0,#16333315 11px,#7a98901c 16px,#0a1e2066 20px,transparent 28px),linear-gradient(#19373532,#0a232347),url('../images/book-linen-petrol-v318.webp') center/cover,#243b3a;box-shadow:0 2px 3px #19312b18,0 16px 28px -13px #19312b42,inset 0 1px 0 #f2f2d921;transition:transform .25s ease,box-shadow .25s ease;}
.moment-book-cover::before{content:'';position:absolute;left:calc(100% + 1px);top:7px;bottom:0;width:5px;background:repeating-linear-gradient(90deg,#e0dbcc 0 1px,#f8f4e9 1px 2px);border-radius:0 5px 4px 0;border-right:1px solid #a6aa9b;pointer-events:none;}
.moment-book-cover::after{content:'';position:absolute;left:13px;right:0;bottom:-5px;height:4px;background:repeating-linear-gradient(#f5f1e4 0 1px,#d7d3c4 1px 2px);border-radius:0 0 5px 1px;border-bottom:1px solid #28423e;pointer-events:none;}
.moment-book-imprint{display:block;font-size:12px;line-height:1.5;letter-spacing:.23em;text-transform:uppercase;color:#d8caa9;margin:0 0 24px;}
#moment-helps-home .moment-book-cover h2{display:block;font-family:var(--book-serif);font-size:clamp(34px,9.4vw,46px);font-weight:400;line-height:1.16;letter-spacing:-.025em;color:#f4ebd8;margin:0 0 24px;text-shadow:0 1px 1px #07181766;}
#moment-helps-home .moment-book-cover h2 em{display:block;font-weight:400;font-size:.92em;line-height:1.3;letter-spacing:0;margin-bottom:2px;}
#moment-helps-home .moment-book-cover h2 span{display:block;}
#moment-helps-home .moment-book-cover .moment-home-description{color:#dfe5d9;font-size:16px;line-height:1.7;max-width:26ch;margin:0;}
#moment-helps-home #moment-helps-home-open{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;gap:13px;width:100%;min-height:44px;padding:26px 24px;border:0;border-radius:inherit;background:transparent;color:#ead6ac!important;font-family:var(--mm-sans);font-size:14px;line-height:1.5;font-weight:500;letter-spacing:.025em;text-shadow:0 1px 1px #112522;cursor:pointer;}
#moment-helps-home-open::after{content:'→';font-size:20px;line-height:1.05;}
#moment-helps-home #moment-helps-home-open:focus-visible{outline:3px solid #d9be87;outline-offset:5px;}
.moment-book-cover:has(#moment-helps-home-open:active){transform:translateY(2px);box-shadow:0 5px 12px -6px #19312b4d;}
#moment-helps-home .moment-book-home-actions{gap:0;margin:0 0 2px;}
#moment-helps-home .moment-book-home-actions>.moment-button{width:100%;flex:1;min-height:50px;min-width:0;margin:0;padding:13px 20px;border:1px solid #cbd4c8;border-radius:8px;background:#f8faf4;color:#304f49!important;box-shadow:0 1px 2px #19312b05;font-size:16px;font-weight:500;}
#moment-helps-home .moment-book-home-actions>.moment-button:active{transform:translateY(1px);background:#edf2e8;}
#moment-helps-shortcuts{padding:0 3px;}
#moment-helps-home .moment-helps-home-list{margin-top:12px;}
#moment-helps-home .moment-helps-home-list button{border:0;border-bottom:1px solid #e1e3d7;border-radius:0;padding:12px 5px;color:#626c61;}

#moment-helps.moment-helps-dialog{--book-sheet:#fffef9;--book-ink:#2f3e36;--book-binding:#263f3b;--book-serif:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;--book-gutter:max(22px,calc((100vw - 720px)/2));--mm-accent:#38574e;--mm-muted:#6a7469;--mm-line:#e0e3d8;--mm-tint:#edf1e8;--mm-paper:var(--book-sheet);background:#eceee6;color:var(--book-ink);}
#moment-helps>.moment-dialog-header{background:transparent;color:#34493e;border:0;box-shadow:none;gap:10px;z-index:2;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:6px;}
#moment-helps>.moment-dialog-header h2{font-family:var(--book-serif);font-weight:400;font-size:clamp(20px,5vw,25px);line-height:1.3;letter-spacing:-.01em;}
#moment-helps>.moment-dialog-header button{color:#4e6255;}
#moment-helps>.moment-dialog-header .moment-icon-button{border:0;background:transparent;}
#moment-helps>.moment-local-note{background:none;color:#6c7569;margin:0;padding:3px var(--book-gutter) 13px;font-size:13px!important;line-height:1.5;}
#moment-helps-status{color:#4a6250;}
#moment-helps-content{position:relative;background:linear-gradient(90deg,#a5ad9526,transparent 20px),var(--book-sheet);margin:0 max(12px,calc((100vw - 850px)/2)) max(12px,env(safe-area-inset-bottom));padding:27px 24px 34px 28px;border:1px solid #d5dacb;border-left:2px solid #aeb89f;border-radius:2px 5px 5px 2px;box-shadow:2px 1px 0 #f8f8ef,3px 1px 0 #cfd4c4,5px 2px 0 #f7f7ed,0 7px 20px #2c49330b;scrollbar-width:thin;scrollbar-color:#c4cdbc transparent;overflow-x:hidden;}
#moment-helps-content>section{max-width:680px;margin-left:auto;margin-right:auto;}
#moment-helps .moment-book-chapter{position:relative;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0 0 20px;padding-bottom:19px;border-bottom:1px solid #dfe4d6;}
#moment-helps .moment-book-chapter h3{font-family:var(--book-serif);font-size:36px;font-weight:400;letter-spacing:-.025em;line-height:1.15;margin:0;color:#30483b;}
#moment-helps .moment-book-chapter p{margin:0;font-size:14px;}
#moment-helps .moment-book-search-label{font-weight:400;color:#687663;}
#moment-helps-search{border-radius:5px;background:#f7f9f1;border:1px solid #e0e5d6;min-height:46px;padding:12px;color:#334a3c;}
#moment-helps-search::placeholder{color:#65725f;}
#moment-helps .moment-book-tabs{gap:5px;margin:22px -4px 22px;border-bottom:1px solid #ccd5bf;align-items:stretch;}
#moment-helps .moment-book-tabs button{position:relative;background:#eaf0e1;border:1px solid #d4ddc7;border-bottom:0;border-radius:5px 5px 0 0;padding:12px 5px;color:#5d6e50;font-size:14px;line-height:1.3;box-shadow:none;}
#moment-helps .moment-book-tabs button[aria-pressed=true]{background:var(--book-sheet);color:#324c37;box-shadow:inset 0 2px 0 #7c9067;transform:translateY(1px);font-weight:600;}
#moment-helps .moment-book-tabs button:active{background:#e0e8d6;}
#moment-helps-new{border-radius:5px;min-height:48px;box-shadow:none;}
#moment-helps .moment-helps-list{margin-top:18px;}
#moment-helps .moment-helps-list li{border-color:#e4e7dc;padding:6px 0;}
#moment-helps .moment-helps-list button{padding:18px 2px;border-radius:3px;gap:13px;}
#moment-helps .moment-helps-row-copy{gap:8px;}
#moment-helps .moment-helps-list strong{font-family:var(--book-serif);font-size:24px;font-weight:400;letter-spacing:-.015em;line-height:1.35;color:#324737;}
#moment-helps .moment-helps-list small{font-size:14px;color:#64705c;}
#moment-helps .moment-helps-list button:hover{background:#eff4e640;}
#moment-helps .moment-book-preview{color:#687760;font-size:16px;line-height:1.65;}
.moment-book-folio{color:#94a080;font-family:var(--book-serif);font-size:17px;line-height:1.5;padding:0 0 0 4px;flex:none;min-width:24px;text-align:right;}
.moment-book-entry-tags{display:flex;flex-wrap:wrap;gap:5px 8px;margin-top:2px;}
.moment-book-entry-tags>span{font-family:var(--mm-sans);font-size:14px;line-height:1.45;padding:3px 7px;background:#eef3e5;color:#61734e;border-radius:3px;}
#moment-helps .moment-helps-thumb{border-radius:2px;padding:3px;background:#fffef8;box-shadow:0 1px 4px #33412620;transform:none;margin-top:2px;}
#moment-helps .moment-helps-empty{font-family:var(--book-serif);font-size:23px;line-height:1.65;color:#64744f;padding:24px 0 38px;}
#moment-helps .moment-helps-notice{border-radius:5px;background:#eff4e7;border-color:#d8e2c9;}
.moment-book-page-label{display:flex;justify-content:space-between;gap:12px;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #dde5d1;font-size:12px;line-height:1.6;letter-spacing:.11em;text-transform:uppercase;color:#60734b;}
#moment-helps-page-marker{font-family:var(--book-serif);font-size:18px;letter-spacing:0;line-height:1;}
#moment-helps #moment-helps-detail-title{font-family:var(--book-serif);font-weight:400;font-size:clamp(29px,7vw,39px);line-height:1.3;letter-spacing:-.025em;margin:24px 0 12px;color:#314934;}
#moment-helps-detail-back{padding:0;min-height:44px;}
#moment-helps #moment-helps-detail-meta{font-size:14px;line-height:1.55;color:#647553;}
#moment-helps #moment-helps-message{font-family:var(--book-serif);font-size:21px;line-height:1.85;margin:27px 0 30px;padding:0;color:#3a4b36;}
#moment-helps .moment-helps-image img{border-radius:2px;background:#fffef9;padding:6px;box-shadow:0 2px 8px #33492b18;max-height:55vh;}
#moment-helps-detail-panel{touch-action:pan-y pinch-zoom;}
#moment-helps-detail-panel :is(button,a,audio,summary,details){touch-action:manipulation;}
#moment-helps .moment-helps-detail-actions>button,#moment-helps .moment-button-outline{border-radius:5px;}
#moment-helps .moment-helps-detail-actions{margin-top:26px;}
#moment-helps .moment-helps-more{border-color:#dbe3ce;}
#moment-helps .moment-book-page-nav{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:10px;margin:0;padding:4px var(--book-gutter) max(10px,env(safe-area-inset-bottom));background:transparent;border:0;}
#moment-helps .moment-book-page-nav button{display:flex;align-items:center;gap:10px;min-height:46px;font-size:15px;font-weight:400;color:#466139;padding:6px 0;}
#moment-helps .moment-book-page-nav button:disabled{color:#8e9c7d;opacity:.6;}
#moment-helps .moment-book-page-nav button:active:not(:disabled){transform:translateY(1px);}
#moment-helps-page-number{font-family:var(--book-serif);font-size:16px;white-space:nowrap;color:#5e704c;}
#moment-helps[data-helps-panel=detail] #moment-helps-content{margin-bottom:8px;}
#moment-helps[data-helps-panel=edit] #moment-helps-content{padding-top:18px;margin-bottom:0;border-bottom:0;border-radius:2px 4px 0 0;}
#moment-helps .moment-book-editor-fields{padding-left:0;padding-right:0;}
#moment-helps #moment-helps-text-label{font-family:var(--book-serif);font-size:26px;font-weight:400;line-height:1.35;margin-top:8px;color:#3a5035;}
#moment-helps textarea{border:0;border-radius:0;background:repeating-linear-gradient(transparent 0 35px,#bfceaa55 35px 36px),var(--book-sheet);background-origin:content-box;background-clip:padding-box;color:#3a4b35;padding:12px 0;font-family:var(--book-serif);font-size:21px;line-height:36px;min-height:194px;}
#moment-helps textarea::placeholder{font-family:var(--mm-sans);font-size:16px;line-height:36px;color:#677752;}
#moment-helps input[type=text]{border-radius:5px;background:#fafcf5;border-color:#d8e1cb;}
#moment-helps .moment-helps-save-bar{background:var(--book-sheet);border-color:#dae4cc;}
/* Keep media actions beside the writing area, including with the mobile keyboard open. */
#moment-helps .moment-book-media-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 8px;}
#moment-helps .moment-book-media-tools .moment-button{min-width:0;min-height:48px;margin:0;padding:8px 10px;font-size:14px;line-height:1.25;white-space:normal;border-radius:5px;}
#moment-helps-clock:not([hidden]),#moment-helps-save-hint:not([hidden]){margin:0 0 6px;}
#moment-helps-save{border-radius:5px;}
#moment-helps.is-confirming #moment-helps-content{display:none!important;}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.moment-book-cover:hover{transform:translateY(-2px);box-shadow:0 3px 4px #19312b14,0 20px 30px -12px #19312b48;}}
@media(min-width:700px){
 #moment-helps-content{padding:38px 56px 42px 60px;background:linear-gradient(90deg,#a4b89126 0,transparent 32px),var(--book-sheet);}
 #moment-helps[data-helps-panel=edit] #moment-helps-content{padding-top:28px;}
 .moment-book-cover{min-height:380px;padding:34px 28px 80px 40px;}
}
@media(max-width:360px){
 .moment-book-cover{min-height:338px;padding-left:30px;padding-right:20px;}
 #moment-helps-home .moment-book-cover h2{font-size:32px;}
 #moment-helps-content{padding-left:20px;padding-right:16px;margin-left:7px;margin-right:9px;}
 #moment-helps .moment-book-tabs{gap:3px;margin-left:-3px;margin-right:-3px;}
 #moment-helps .moment-book-tabs button{font-size:14px;padding-left:3px;padding-right:3px;}
 #moment-helps .moment-book-page-nav{padding-left:20px;padding-right:20px;gap:8px;}
 #moment-helps .moment-book-page-nav button{gap:5px;font-size:14px;}
 #moment-helps-page-number{font-size:14px;}
}
@media(max-height:500px){
 #moment-helps[data-helps-panel=edit] #moment-helps-content{padding-top:6px;}
 #moment-helps[data-helps-panel=edit] textarea{min-height:120px;}
}
@media(prefers-reduced-motion:reduce){
 #moment-helps *,#moment-helps-home *{scroll-behavior:auto!important;transition:none!important;animation:none!important;}
}

/* 1.0.320: a quieter entry page and a player in the book's materials. */
#moment-helps[data-helps-panel=detail]>.moment-local-note{margin:8px 0 4px;}
#moment-helps[data-helps-panel=detail] #moment-helps-status:not(:empty){font-size:14px;margin-top:4px!important;margin-bottom:8px!important;}
#moment-helps[data-helps-panel=detail] .moment-book-page-label{margin-bottom:24px;padding-bottom:12px;font-size:11px;}
#moment-helps #moment-helps-detail-title{font-size:clamp(28px,7vw,36px);line-height:1.25;margin:0 0 12px;overflow-wrap:anywhere;}
#moment-helps #moment-helps-detail-meta{margin:0 0 26px;}
#moment-helps #moment-helps-message{margin:24px 0 28px;line-height:1.7;}
#moment-helps .moment-helps-detail-actions{margin:26px 0 8px;display:flex;}
#moment-helps .moment-helps-detail-actions #moment-helps-edit{flex:0 1 auto;width:auto;padding:10px 20px;min-height:44px;font-size:14px;background:transparent;border:1px solid #bdc9b7;color:#385444;}
#moment-helps .moment-helps-more{margin-top:14px;padding-top:8px;}
#moment-helps .moment-helps-more>summary{min-height:44px;align-content:center;font-size:14px;font-weight:400;color:#51644c;}
#moment-helps .moment-helps-player{margin:22px 0 8px;}
#moment-helps .moment-book-audio-controls{display:flex;align-items:center;gap:16px;padding:20px 18px;background:#eef1e7;border:1px solid #dbe2d1;border-radius:6px;}
#moment-helps #moment-helps-audio-toggle{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;margin:0;border:0;border-radius:50%;background:#38564c;color:#fbfcf6;cursor:pointer;}
#moment-helps .moment-book-audio-toggle svg{width:23px;height:23px;fill:currentColor;}
.moment-book-pause-icon,.is-playing .moment-book-play-icon{display:none;}
.is-playing .moment-book-pause-icon{display:block;}
.moment-book-audio-track{flex:1;min-width:0;}
.moment-book-audio-label{display:block;font-family:var(--book-serif);font-size:19px;line-height:1.3;color:#385044;}
#moment-helps #moment-helps-audio-seek{display:block;appearance:none;-webkit-appearance:none;width:100%;height:28px;min-height:28px;margin:2px 0 0;padding:0;border:0;box-shadow:none;background:transparent;cursor:pointer;accent-color:#38564c;}
#moment-helps-audio-seek::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,#38564c var(--audio-progress,0%),#c7d1be var(--audio-progress,0%));}
#moment-helps-audio-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#38564c;margin-top:-5.5px;border:2px solid #eef1e7;box-shadow:0 0 0 1px #38564c;}
#moment-helps-audio-seek::-moz-range-track{height:3px;background:#c7d1be;}
#moment-helps-audio-seek::-moz-range-progress{height:3px;background:#38564c;}
#moment-helps-audio-seek::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#38564c;border:2px solid #eef1e7;}
#moment-helps .moment-book-audio-time{display:flex;justify-content:space-between;gap:10px;font-size:12px;line-height:1.2;color:#607058;font-variant-numeric:tabular-nums;}
#moment-helps .moment-book-audio-controls :focus-visible{outline:2px solid #38564c;outline-offset:4px;}
#moment-helps-audio-status:empty{display:none;}
@media(max-width:360px){#moment-helps .moment-book-audio-controls{padding:16px 12px;gap:12px;}}

/* 1.0.323: visible recording states, anchored beside the stop action. */
#moment-helps .moment-book-recording-banner{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;margin:0 0 8px;border:1px solid #b87368;border-radius:6px;background:#fff2ed;color:#7d3029;}
#moment-helps-recording-label{display:block;font-size:16px;line-height:1.3;font-weight:700;}
#moment-helps-recording-note{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:#704b43;}
#moment-helps #moment-helps-clock{margin:0;font-size:23px;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.03em;}
.moment-book-recording-dot{width:10px;height:10px;border-radius:50%;background:#ad382f;box-shadow:0 0 0 4px #ad382f18;}
#moment-helps-form[data-recording-state=recording] .moment-book-recording-dot{animation:moment-record-pulse 1.8s ease-in-out infinite;}
#moment-helps-form[data-recording-state=requesting] .moment-book-recording-banner,#moment-helps-form[data-recording-state=finishing] .moment-book-recording-banner{background:#f0f2e9;border-color:#cad3be;color:#42583e;}
#moment-helps-form:not([data-recording-state=recording]) .moment-book-recording-dot{background:#748668;box-shadow:none;}
#moment-helps-form[data-recording-state=recording] #moment-helps-image-add,#moment-helps-form[data-recording-state=finishing] .moment-book-media-tools{display:none;}
#moment-helps #moment-helps-stop{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:10px;background:#963b32;border-color:#963b32;color:#fffaf7;font-size:16px;font-weight:600;min-height:48px;}
#moment-helps-stop::before{content:'';width:12px;height:12px;border-radius:2px;background:currentColor;flex:none;}
@keyframes moment-record-pulse{0%,100%{opacity:1;box-shadow:0 0 0 4px #ad382f18;}50%{opacity:.55;box-shadow:0 0 0 7px #ad382f08;}}
@media(prefers-reduced-motion:reduce){#moment-helps-form[data-recording-state=recording] .moment-book-recording-dot{animation:none;}}
@media(max-height:500px){#moment-helps .moment-book-recording-banner{padding:8px 10px;gap:8px;}#moment-helps-recording-note{display:none;}#moment-helps #moment-helps-clock{font-size:21px;}}

/* Refined contents page: paper, fine rules and a restrained reading hierarchy. */
#moment-helps[data-helps-panel=list]>.moment-local-note{padding-bottom:10px;}
#moment-helps .moment-book-chapter{align-items:center;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #d7ddce;}
#moment-helps .moment-book-chapter h3{font-size:34px;letter-spacing:-.035em;}
.moment-book-search{position:relative;margin-bottom:14px;}
#moment-helps .moment-book-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.moment-book-search>svg{position:absolute;left:1px;top:15px;width:18px;height:18px;fill:none;stroke:#75826d;stroke-width:1.5;pointer-events:none;}
#moment-helps #moment-helps-search{min-height:48px;padding:12px 8px 12px 29px;background:transparent;border:0;border-bottom:1px solid #cdd6c4;border-radius:0;font-size:16px;box-shadow:none;}
#moment-helps #moment-helps-search:focus{border-bottom-color:#48604d;}
#moment-helps .moment-book-tabs{margin:0 0 20px;gap:8px;border-bottom:1px solid #d8dfd0;}
#moment-helps .moment-book-tabs button{flex:1;padding:12px 1px;min-height:48px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;font-size:14px;font-weight:400;line-height:1.35;color:#66755c;transform:none;}
#moment-helps .moment-book-tabs button[aria-pressed=true]{background:transparent;border-bottom-color:#8a7653;box-shadow:none;transform:none;color:#304b3b;font-weight:600;}
#moment-helps #moment-helps-new{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:11px 16px;background:#eef2e8;border:1px solid #ced8c4;border-radius:4px;color:#385646!important;font-size:15px;font-weight:500;box-shadow:none;}
#moment-helps-new::before{content:'+';font-weight:300;font-size:22px;line-height:1;}
#moment-helps #moment-helps-list{margin:20px 0 0;}
#moment-helps .moment-helps-list li{padding:18px 0 20px;border-bottom:1px solid #e0e4d8;}
#moment-helps .moment-helps-list .moment-book-entry-open{padding:0;gap:14px;border-radius:2px;align-items:flex-start;}
#moment-helps .moment-helps-list .moment-book-entry-open:hover{background:#edf1e64d;}
#moment-helps .moment-helps-list .moment-helps-thumb{width:64px;height:80px;flex-basis:64px;object-fit:contain;background:#fffef9;padding:4px;box-sizing:border-box;border:1px solid #e2e5da;box-shadow:0 2px 5px #394b3510;border-radius:2px;margin-top:0;}
#moment-helps .moment-helps-list .moment-helps-row-copy{gap:7px;}
#moment-helps .moment-helps-list small{font-size:12px;color:#65745c;line-height:1.4;}
#moment-helps .moment-helps-list strong{font-size:23px;line-height:1.35;letter-spacing:-.02em;}
#moment-helps .moment-book-folio{font-size:14px;min-width:15px;padding:0;color:#899577;}
#moment-helps .moment-book-entry-tags{gap:6px;margin-top:3px;}
#moment-helps .moment-book-entry-tags>span{font-size:12px;line-height:1.45;padding:1px 0;background:transparent;color:#657551;border-radius:0;}
#moment-helps .moment-book-entry-tags>span+span::before{content:'·';margin-right:6px;}
#moment-helps .moment-helps-list .moment-book-list-play{display:inline-flex;align-items:center;gap:8px;width:auto;min-height:44px;margin:8px 0 -4px;padding:7px 10px 7px 0;font-size:13px;line-height:1.4;color:#42624f;background:transparent;border-radius:3px;}
#moment-helps .moment-book-list-play::before{content:'';width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid currentColor;flex:none;}
#moment-helps .moment-helps-list li:has(.moment-helps-thumb)>.moment-book-list-play{margin-left:78px;}
#moment-helps .moment-book-backup-note{font-size:12px!important;line-height:1.6;color:#6a7463;margin:20px 0 22px;padding-left:12px;border-left:2px solid #d2dac6;}
#moment-helps .moment-book-menu{margin-top:0;border-top:1px solid #d7decd;}
#moment-helps .moment-book-menu>summary{font-size:14px;font-weight:500;line-height:1.4;padding:16px 0;color:#4c614d;}
@media(max-width:360px){#moment-helps .moment-book-chapter h3{font-size:31px;}#moment-helps .moment-book-tabs{gap:6px;}#moment-helps .moment-book-tabs button{font-size:13px;}#moment-helps .moment-helps-list strong{font-size:21px;}#moment-helps .moment-helps-list .moment-book-entry-open{gap:11px;}#moment-helps .moment-helps-list .moment-helps-thumb{width:54px;height:70px;flex-basis:54px;}#moment-helps .moment-helps-list li:has(.moment-helps-thumb)>.moment-book-list-play{margin-left:65px;}}

/* Usability: readable actions, distinct draft choices, direct conversation marker. */
#moment-helps .moment-book-tabs{gap:8px;}
#moment-helps .moment-book-tabs button{font-size:16px;line-height:1.35;min-height:48px;padding:10px 2px;overflow-wrap:normal;}
#moment-helps .moment-helps-detail-actions #moment-helps-edit,#moment-helps .moment-helps-more>summary,#moment-helps .moment-book-menu>summary,#moment-helps #moment-helps-backup-open,#moment-helps #moment-helps-new{font-size:16px;min-height:48px;}
#moment-helps .moment-book-media-tools .moment-button{font-size:16px;min-height:48px;}
#moment-helps #moment-helps-cancel{font-size:14px;line-height:1.3;max-width:46%;white-space:normal;min-height:48px;}
#moment-helps-conversation-action{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0 0;}
#moment-helps-conversation-action>.moment-button{font-size:16px;line-height:1.4;min-height:48px;padding:10px 16px;white-space:normal;}
#moment-helps #moment-helps-undo{font-size:16px;min-height:48px;}
#moment-helps #moment-helps-draft-offer{margin:14px 0;padding:14px;border-left:3px solid #788963;}
#moment-helps #moment-helps-draft-offer .moment-text-button{font-size:16px;min-height:48px;padding:10px 8px;}
#moment-helps #moment-helps-draft-status{font-size:14px!important;color:#536447;}
#moment-helps .moment-book-backup-note{font-size:14px!important;color:#58654f;}
#moment-helps-title-details>summary{font-size:16px;min-height:48px;}
@media(max-width:360px){#moment-helps .moment-book-tabs{gap:4px;}#moment-helps .moment-book-tabs button{font-size:16px;}}


/* Compact, date-grouped contents with media kept beside each entry. */
#moment-helps .moment-helps-list li{padding:12px 0;border-bottom:1px solid #e0e4d8;}
#moment-helps .moment-helps-list li.moment-book-day-start{padding-top:22px;}
#moment-helps .moment-helps-list li:first-child{padding-top:0;}
#moment-helps .moment-book-day{font-family:var(--mm-sans);font-size:14px;font-weight:500;line-height:1.5;letter-spacing:.02em;color:#68755f;margin:0 0 12px;}
#moment-helps .moment-helps-list .moment-book-entry-date{display:block;}
#moment-helps .moment-helps-list .moment-book-entry-open{gap:12px;min-height:44px;align-items:center;}
#moment-helps .moment-helps-list strong{font-size:21px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
#moment-helps .moment-helps-list .moment-helps-row-copy{gap:4px;}
#moment-helps .moment-helps-list .moment-helps-thumb{width:64px;height:64px;flex-basis:64px;object-fit:cover;padding:0;border:0;border-radius:4px;box-shadow:none;}
#moment-helps .moment-book-entry-tags>span{font-size:14px;}
#moment-helps .moment-book-conversation-mark{display:inline-flex;align-items:center;gap:6px;}
#moment-helps .moment-book-conversation-mark::before{content:'';display:inline-block;width:8px;height:12px;background:#70835f;clip-path:polygon(0 0,100% 0,100% 100%,50% 73%,0 100%);}
#moment-helps .moment-helps-list .moment-book-list-play{font-size:14px;min-width:64px;min-height:44px;margin:3px 0 0;padding:6px 12px;gap:8px;background:#eff2e8;border-radius:22px;}
#moment-helps .moment-helps-list li:has(.moment-helps-thumb)>.moment-book-list-play{margin-left:76px;}
#moment-helps .moment-helps-list li:has(>#moment-helps-player:not([hidden]))>.moment-book-list-play{display:none;}
#moment-helps .moment-book-menu{margin-top:22px;}
#moment-helps .moment-book-menu-note{display:block;font-size:14px;line-height:1.5;font-weight:400;color:#68755f;margin-top:5px;}

/* Quiet list rhythm; visible keyboard focus stays on interactive controls. */
#moment-helps #moment-helps-heading:focus{outline:none;}
#moment-helps .moment-helps-list .moment-book-entry-open{align-items:flex-start;gap:14px;}
#moment-helps .moment-helps-list .moment-helps-row-copy{gap:5px;}
#moment-helps .moment-helps-list strong{font-size:20px;line-height:1.4;font-weight:400;letter-spacing:0;}
#moment-helps .moment-book-preview{font-size:14px;line-height:1.5;-webkit-line-clamp:1;color:#75806c;}
#moment-helps .moment-helps-list .moment-helps-thumb{width:56px;height:56px;flex-basis:56px;border-radius:3px;}
#moment-helps .moment-helps-list li{padding:16px 0;border-bottom-color:#e7e9df;}
#moment-helps .moment-book-day{font-size:14px;font-weight:400;color:#77816c;margin-bottom:14px;letter-spacing:0;}
#moment-helps .moment-helps-list .moment-book-list-play{background:transparent;border-radius:3px;padding:8px 6px;margin:2px 0 0;min-height:44px;color:#667b64;font-size:14px;}
#moment-helps .moment-helps-list li:has(.moment-helps-thumb)>.moment-book-list-play{margin-left:70px;}
#moment-helps .moment-book-entry-tags>span{font-size:14px;color:#77816c;}
#moment-helps .moment-book-conversation-mark::before{width:6px;height:10px;background:#899779;}
#moment-helps #moment-helps-new{background:transparent;border-color:#dee3d6;font-weight:400;}
#moment-helps .moment-book-tabs button[aria-pressed=true]{font-weight:500;border-bottom-color:#a8ad98;}

/* Cover and bookmarked pages form one bound object on the home page. */
.moment-home #moment-helps-home{margin-right:6px;border-radius:3px 9px 7px 3px;box-shadow:0 3px 5px #19312b12,0 16px 28px -16px #19312b38;background:#fffef7;}
.moment-home #moment-helps-home .moment-book-cover{margin:0;padding-bottom:64px;box-shadow:inset 0 1px 0 #f2f2d921;border-radius:3px 9px 0 0;}
.moment-home #moment-helps-home .moment-book-cover::after{display:none;}
.moment-home #moment-helps-home .moment-book-home-paper{position:relative;padding:18px 20px 18px 28px;border:1px solid #d8dccb;border-top:0;border-left:3px solid #a9b59b;border-radius:0 0 7px 3px;background:linear-gradient(90deg,#e4e7d8 0,#fafaf0 10px,#fffef7 24px);}
.moment-home #moment-helps-home .moment-book-home-paper::after{content:'';position:absolute;left:calc(100% + 1px);top:0;bottom:5px;width:5px;border-right:1px solid #b3b8a6;border-radius:0 0 4px 0;background:repeating-linear-gradient(90deg,#e0dbcc 0 1px,#f8f4e9 1px 2px);pointer-events:none;}
.moment-home #moment-helps-shortcuts{padding:0;margin:0 0 10px;}
.moment-home #moment-helps-bookmarks-heading{font-family:var(--mm-sans);font-size:14px;font-weight:500;line-height:1.5;color:#758168;margin:0 0 4px;}
.moment-home #moment-helps-home .moment-helps-home-list{margin:0;gap:0;}
.moment-home #moment-helps-home .moment-helps-home-list>button{width:100%;border:0;border-bottom:1px solid #e5e8da;border-radius:0;background:transparent;padding:10px 0;min-height:48px;box-shadow:none;color:#415c4d;gap:12px;}
.moment-home #moment-helps-home .moment-helps-home-list>button::before{content:'';width:7px;height:13px;flex:none;background:#a1ac8f;clip-path:polygon(0 0,100% 0,100% 100%,50% 74%,0 100%);}
.moment-home #moment-helps-home .moment-helps-row-copy{font-size:15px;line-height:1.5;}
.moment-home #moment-helps-home .moment-book-home-status{display:block;width:100%;text-align:left;background:transparent;border:0;margin:0;padding:9px 0;min-height:44px;font:inherit;font-size:14px;line-height:1.5;color:#607454;}
.moment-home #moment-helps-home .moment-book-home-status::after{content:' →';white-space:nowrap;}
.moment-home #moment-helps-home .moment-book-home-status[hidden]{display:none;}
.moment-home #moment-helps-home .moment-book-home-actions{margin:12px 0 0;}
.moment-home #moment-helps-home .moment-book-home-actions>.moment-button{background:transparent;border-color:#ccd5c1;border-radius:4px;}
.moment-home #moment-helps-home .moment-book-home-paper:has(>#moment-helps-shortcuts[hidden]):has(>#moment-helps-home-status[hidden]):has(>#moment-helps-home-draft[hidden]) .moment-book-home-actions{margin-top:0;}
@media(max-width:360px){.moment-home #moment-helps-home .moment-book-home-paper{padding:14px 16px 16px 22px;}}

/* 1.0.336: warm paper, readable ink and one consistent action colour. */
#moment-helps.moment-helps-dialog{
 --book-sheet:#fffdf7;--book-ink:#293d39;--book-binding:var(--book-petrol);
 --mm-ink:var(--book-ink);--mm-muted:var(--book-secondary);
 --mm-accent:var(--book-petrol);--mm-line:var(--book-rule);
 --mm-tint:var(--book-soft);--mm-paper:var(--book-sheet);--mm-surface:var(--book-sheet);
 background:var(--book-surround);color:var(--book-ink);
}
#moment-helps>.moment-dialog-header,#moment-helps>.moment-dialog-header button{color:var(--book-ink);}
#moment-helps>.moment-local-note{color:var(--book-secondary);font-size:14px!important;}
#moment-helps-status{color:var(--book-petrol);}
#moment-helps-content{
 background:var(--book-sheet);border-color:var(--book-rule);border-left-color:#b8b9a9;
 box-shadow:0 4px 14px #293d390a;
}
#moment-helps .moment-book-chapter{border-color:var(--book-rule);}
#moment-helps .moment-book-chapter h3,#moment-helps #moment-helps-detail-title,
#moment-helps .moment-helps-list strong,#moment-helps #moment-helps-text-label,
#moment-helps #moment-helps-message{color:var(--book-ink);}
#moment-helps .moment-book-search-label,#moment-helps-search::placeholder,
#moment-helps .moment-helps-list small,#moment-helps .moment-book-day,
#moment-helps .moment-book-entry-tags>span,#moment-helps .moment-book-folio,
#moment-helps #moment-helps-detail-meta,#moment-helps .moment-book-page-label,
#moment-helps .moment-book-menu-note,#moment-helps .moment-book-backup-note,
#moment-helps #moment-helps-draft-status,#moment-helps-page-number{color:var(--book-secondary);}
#moment-helps .moment-book-search>svg{stroke:var(--book-secondary);}
#moment-helps #moment-helps-search{border-color:var(--book-control);color:var(--book-ink);}
#moment-helps #moment-helps-search:focus{border-color:var(--book-petrol);}
#moment-helps .moment-book-tabs{border-color:var(--book-rule);}
#moment-helps .moment-book-tabs button{color:var(--book-secondary);border-bottom-width:3px;}
#moment-helps .moment-book-tabs button[aria-pressed=true]{color:var(--book-petrol);border-bottom-color:var(--book-petrol);font-weight:600;}
#moment-helps .moment-helps-list strong{font-size:21px;line-height:1.4;}
#moment-helps .moment-book-preview{font-size:16px;line-height:1.55;color:var(--book-secondary);}
#moment-helps .moment-helps-list li{border-color:var(--book-rule);}
#moment-helps .moment-book-page-label{font-size:14px;letter-spacing:.045em;border-color:var(--book-rule);}
#moment-helps .moment-book-page-nav button{color:var(--book-petrol);}
#moment-helps .moment-book-page-nav button:disabled{color:var(--book-secondary);}
#moment-helps .moment-book-conversation-mark::before{background:var(--book-petrol);width:7px;height:12px;}
#moment-helps .moment-helps-empty{color:var(--book-secondary);}
#moment-helps .moment-helps-notice{background:var(--book-sheet);border-color:var(--book-rule);}
#moment-helps .moment-helps-more,#moment-helps .moment-book-menu,
#moment-helps .moment-book-marks,#moment-helps .moment-helps-save-bar{border-color:var(--book-rule);}
#moment-helps .moment-helps-more>summary,#moment-helps .moment-book-menu>summary{color:var(--book-petrol);}

/* Primary, secondary and destructive actions keep their meaning in every state. */
#moment-helps .moment-button:not(.moment-button-outline):not(#moment-helps-stop):not(#moment-helps-confirm-no),
#moment-helps #moment-helps-new{
 background:var(--book-petrol);border:1px solid var(--book-petrol);color:var(--book-sheet)!important;
 border-radius:5px;font-weight:500;min-height:48px;box-shadow:none;
}
#moment-helps .moment-button-outline,
#moment-helps .moment-helps-detail-actions #moment-helps-edit,
#moment-helps #moment-helps-confirm-no{
 background:var(--book-sheet);border-color:var(--book-control);color:var(--book-petrol)!important;box-shadow:none;
}
#moment-helps .moment-text-button{color:var(--book-petrol);}
#moment-helps .moment-remove-button,#moment-helps #moment-helps-cancel,
#moment-helps #moment-helps-draft-list>li>.moment-text-button:not(.moment-book-draft-open){color:var(--book-danger);}
#moment-helps #moment-helps-confirm-yes{background:var(--book-danger);border-color:var(--book-danger);color:var(--book-sheet)!important;}
#moment-helps :focus-visible{outline:3px solid var(--book-petrol);outline-offset:3px;}
#moment-helps #moment-helps-heading:focus{outline:none;}
#moment-helps .moment-book-tabs button:active,
#moment-helps .moment-button-outline:active,
#moment-helps .moment-helps-detail-actions #moment-helps-edit:active{background:var(--book-soft);}
#moment-helps #moment-helps-new:active,#moment-helps #moment-helps-save:active:not(:disabled){background:var(--book-petrol-hover);}
@media(hover:hover){
 #moment-helps .moment-button:not(.moment-button-outline):not(#moment-helps-stop):not(#moment-helps-confirm-no):hover:not(:disabled),
 #moment-helps #moment-helps-new:hover{background:var(--book-petrol-hover);border-color:var(--book-petrol-hover);}
 #moment-helps .moment-button-outline:hover,
 #moment-helps .moment-helps-detail-actions #moment-helps-edit:hover,
 #moment-helps #moment-helps-confirm-no:hover{background:var(--book-soft);border-color:var(--book-petrol);}
 #moment-helps .moment-helps-list button:hover,#moment-helps .moment-helps-list .moment-book-entry-open:hover,
 #moment-helps .moment-book-tabs button:hover{background:var(--book-soft);}
 #moment-helps .moment-text-button:hover{color:var(--book-petrol-hover);}
 #moment-helps #moment-helps-confirm-yes:hover{background:#793827;border-color:#793827;}
 #moment-helps .moment-remove-button:hover,#moment-helps #moment-helps-cancel:hover,
 #moment-helps #moment-helps-draft-list>li>.moment-text-button:not(.moment-book-draft-open):hover{color:#793827;}
}

/* Drafts are unfinished pages, with continuation first and deletion secondary. */
#moment-helps #moment-helps-draft-offer{margin:22px 0;padding:0 0 0 14px;border:0;border-left:2px solid var(--book-rule);border-radius:0;background:var(--book-sheet);}
#moment-helps #moment-helps-draft-heading{font-size:16px;font-weight:600;color:var(--book-ink);margin:0 0 4px;}
#moment-helps #moment-helps-draft-offer>p{font-size:14px;color:var(--book-secondary);margin:0 0 8px;}
#moment-helps .moment-book-drafts{gap:0;margin:0;}
#moment-helps .moment-book-drafts li{padding:8px 0;border-color:var(--book-rule);}
#moment-helps .moment-book-drafts li:first-child{border-top:0;}
#moment-helps #moment-helps-draft-offer .moment-book-draft-open{padding:8px 0;gap:4px;}
#moment-helps .moment-book-draft-open strong{font-family:var(--book-serif);font-size:20px;font-weight:400;line-height:1.4;}
#moment-helps .moment-book-drafts small{color:var(--book-secondary);font-size:14px;line-height:1.5;}
#moment-helps #moment-helps-draft-list>li>.moment-text-button:not(.moment-book-draft-open){font-size:14px;padding:8px 0;min-height:44px;}

/* Images, voice and writing share the same paper. Recording remains red. */
#moment-helps textarea{
 background:repeating-linear-gradient(transparent 0 35px,#293d3910 35px 36px),var(--book-sheet);
 color:var(--book-ink);
}
#moment-helps textarea::placeholder{color:var(--book-secondary);}
#moment-helps input[type=text]{background:var(--book-sheet);color:var(--book-ink);border-color:var(--book-control);}
#moment-helps .moment-helps-image img{box-sizing:border-box;padding:0;border-radius:4px;box-shadow:none;background:var(--book-sheet);}
#moment-helps .moment-helps-list .moment-helps-thumb{background:var(--book-sheet);}
#moment-helps .moment-book-audio-controls{background:var(--book-sheet);border-color:var(--book-rule);border-radius:4px;}
#moment-helps .moment-book-audio-label{color:var(--book-ink);}
#moment-helps .moment-book-audio-time{font-size:14px;line-height:1.4;color:var(--book-secondary);}
#moment-helps #moment-helps-audio-toggle{background:var(--book-petrol);color:var(--book-sheet);}
#moment-helps .moment-helps-list .moment-book-list-play{color:var(--book-petrol);}
#moment-helps #moment-helps-audio-seek{accent-color:var(--book-petrol);}
#moment-helps-audio-seek::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--book-petrol) var(--audio-progress,0%),var(--book-control) var(--audio-progress,0%));}
#moment-helps-audio-seek::-webkit-slider-thumb{background:var(--book-petrol);border-color:var(--book-sheet);box-shadow:0 0 0 1px var(--book-petrol);}
#moment-helps-audio-seek::-moz-range-track{background:var(--book-control);}
#moment-helps-audio-seek::-moz-range-progress{background:var(--book-petrol);}
#moment-helps-audio-seek::-moz-range-thumb{background:var(--book-petrol);border-color:var(--book-sheet);}
#moment-helps .moment-book-audio-controls :focus-visible{outline-color:var(--book-petrol);}
#moment-helps-form[data-recording-state=requesting] .moment-book-recording-banner,
#moment-helps-form[data-recording-state=finishing] .moment-book-recording-banner{background:var(--book-soft);border-color:var(--book-control);color:var(--book-ink);}
#moment-helps-form:not([data-recording-state=recording]) .moment-book-recording-dot{background:var(--book-petrol);}
.moment-book-opening-paper{background:var(--book-sheet);box-shadow:0 8px 24px #293d3914;}


/* 1.0.369: content-sized reading pages and one entry management menu. */
#moment-helps[data-helps-panel=detail]>.moment-dialog-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:2px 12px;align-items:center;}
#moment-helps[data-helps-panel=detail]>.moment-dialog-header h2{grid-column:1/-1;grid-row:2;font-size:clamp(24px,5.8vw,30px);margin:4px 0 2px;}
#moment-helps[data-helps-panel=detail]>.moment-dialog-header [data-close]{grid-column:2;grid-row:1;}
#moment-helps[data-helps-panel=detail] #moment-helps-back{display:inline-flex;align-items:center;justify-self:start;gap:8px;min-height:44px;font-size:15px;line-height:1.4;}
#moment-helps[data-helps-panel=detail] #moment-helps-back>span:first-child{font-size:23px;}
#moment-helps[data-helps-panel=detail]>.moment-local-note{margin:0!important;padding-top:2px;padding-bottom:14px;}
#moment-helps[data-helps-panel=detail] #moment-helps-content{flex:0 1 auto;min-height:0;padding-top:22px;padding-bottom:18px;margin-bottom:10px;}
#moment-helps[data-helps-panel=detail] .moment-book-page-label{margin-bottom:14px;padding-bottom:12px;font-size:11px;}
#moment-helps #moment-helps-detail-meta{font-size:14px;line-height:1.5;margin:0 0 16px;}
#moment-helps #moment-helps-detail-title{font-size:clamp(24px,5.8vw,30px);line-height:1.3;margin:0 0 16px;}
#moment-helps #moment-helps-message{font-size:clamp(20px,4.9vw,23px);line-height:1.7;letter-spacing:0;margin:0 0 22px;}
#moment-helps #moment-helps-message:focus{outline:none;}
#moment-helps-conversation-action{margin:16px 0 0;gap:8px;}
#moment-helps #moment-helps-conversation-add{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin:0;padding:6px 0;font-size:15px;line-height:1.5;text-align:left;white-space:normal;}
#moment-helps #moment-helps-conversation-mark{display:block;width:100%;margin:0;padding:0;border:0;font-size:15px;line-height:1.5;color:var(--book-petrol);}
#moment-helps #moment-helps-conversation-summary{display:flex;align-items:center;gap:9px;box-sizing:border-box;min-height:48px;margin:0;padding:6px 0;border:0;border-radius:4px;list-style:none;cursor:pointer;text-align:left;font-family:var(--mm-sans);font-size:15px;font-weight:400;line-height:1.5;color:var(--book-petrol);}
#moment-helps #moment-helps-conversation-summary::-webkit-details-marker{display:none;}
#moment-helps #moment-helps-conversation-summary::marker{content:'';}
#moment-helps #moment-helps-conversation-summary>span{min-width:0;flex:1;}
#moment-helps .moment-book-conversation-chevron{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#moment-helps #moment-helps-conversation-mark[open] .moment-book-conversation-chevron{transform:rotate(180deg);}
#moment-helps .moment-book-conversation-choice{margin:2px 0 8px 29px;padding:0;border:1px solid var(--book-rule);border-radius:6px;background:var(--book-soft);}
#moment-helps #moment-helps-conversation-remove{display:block;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:10px 12px;border:0;background:transparent;color:var(--book-petrol);text-align:left;white-space:normal;font-family:var(--mm-sans);font-size:15px;line-height:1.5;}
#moment-helps #moment-helps-conversation-summary:focus-visible,#moment-helps #moment-helps-conversation-remove:focus-visible{outline:2px solid var(--book-petrol);outline-offset:2px;}
#moment-helps #moment-helps-detail-panel>.moment-helps-more{margin:10px 0 0;padding-top:6px;}
#moment-helps .moment-helps-more>summary{box-sizing:border-box;min-height:48px;padding:10px 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere;}
#moment-helps .moment-helps-more>button{min-height:48px;padding:10px 0;font-size:16px;line-height:1.5;white-space:normal;}
#moment-helps .moment-book-page-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px;padding-top:0;padding-bottom:max(16px,env(safe-area-inset-bottom));}
#moment-helps-page-number{grid-column:1/-1;grid-row:1;text-align:center;font-size:15px;line-height:1.5;}
#moment-helps .moment-book-page-nav button{min-width:0;min-height:48px;font-size:14px;line-height:1.4;gap:8px;white-space:normal;}
#moment-helps-page-prev{text-align:left;justify-content:flex-start;}
#moment-helps-page-next{text-align:right;justify-content:flex-end;}
@media(min-width:700px){#moment-helps[data-helps-panel=detail] #moment-helps-content{padding-top:30px;padding-bottom:24px;}}

/* 1.0.370: visible save confirmation; privacy information stays at the book entrance. */
#moment-helps[data-helps-panel=detail]>.moment-local-note{display:none;}
#moment-helps.moment-helps-dialog #moment-helps-status.is-success{
 display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:46px;
 margin:8px var(--book-gutter) 14px!important;padding:10px 12px;
 border:1px solid #c7d6c9;border-radius:5px;background:#e8efe8;color:#2f5147;
 font-size:16px;font-weight:600;line-height:1.5;
}
#moment-helps-status-check{flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
#moment-helps-status-text{min-width:0;}
#moment-helps #moment-helps-status.is-dismissed{opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s;}

/* 1.0.371: a fixed-size cover, a growing blank page, then readable content. */
#moment-helps.is-book-preparing{opacity:0;}
#moment-helps.is-book-transition{background:transparent;}
#moment-helps.is-book-preparing::backdrop,#moment-helps.is-book-transition::backdrop{background:transparent;backdrop-filter:none;}
#moment-helps.is-book-concealed>:not(.moment-book-opening){visibility:hidden!important;}
#moment-helps>.moment-book-opening{position:absolute;inset:0;z-index:100;pointer-events:none;isolation:isolate;overflow:hidden;}
.moment-book-opening-paper{position:absolute;inset:0;transform-origin:0 0;background:var(--book-sheet);border-radius:4px;box-shadow:0 8px 24px #293d3914;will-change:transform,opacity;}
.moment-book-opening-hinge{position:absolute;perspective:1400px;perspective-origin:left center;}
.moment-book-opening-cover{will-change:transform,opacity;transform-origin:left center;backface-visibility:hidden;-webkit-backface-visibility:hidden;}
.moment-book-opening-cover::before{content:'';position:absolute;inset:15px 14px 15px 29px;width:auto;border:1px solid #cbb47780;border-radius:2px 7px 5px 2px;box-shadow:inset 0 0 0 1px #0a242333;pointer-events:none;}
.moment-book-opening-cover::after{display:none;}
.moment-book-opening-shade{position:absolute;inset:0;opacity:0;background:linear-gradient(90deg,#122b24b3,transparent 48%);pointer-events:none;will-change:opacity;}
@media(prefers-reduced-motion:reduce){.moment-book-opening{display:none;}}

/* 1.0.373: compact entry actions in a sheet within the existing modal. */
#moment-helps #moment-helps-conversation-mark::before{content:none;}
#moment-helps .moment-book-bookmark{display:block;flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;}
#moment-helps #moment-helps-conversation-mark .moment-book-bookmark{fill:currentColor;}
#moment-helps .moment-book-entry-tools{margin-top:10px;padding-top:6px;border-top:1px solid var(--book-rule);}
#moment-helps #moment-helps-actions-open{display:inline-flex;align-items:center;gap:9px;min-height:48px;margin:0;padding:10px 0;font-size:16px;line-height:1.5;color:var(--book-petrol);}
#moment-helps-actions-open svg{width:18px;height:18px;flex:none;fill:currentColor;}
#moment-helps.is-actions-open{overflow:hidden;}
#moment-helps .moment-book-actions-layer{position:fixed;inset:0;z-index:110;display:flex;align-items:flex-end;justify-content:center;box-sizing:border-box;padding: max(16px,env(safe-area-inset-top)) 0 0;background:#142b264d;overscroll-behavior:contain;}
#moment-helps .moment-book-actions-sheet{box-sizing:border-box;display:block;width:100%;max-width:560px;max-height:100%;max-height:min(82dvh,100%);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin:0;padding:8px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border:1px solid var(--book-rule);border-bottom:0;border-radius:18px 18px 0 0;background:var(--book-sheet);box-shadow:0 -8px 36px #142b2626;animation:moment-book-actions-in .22s cubic-bezier(.2,.7,.2,1);}
#moment-helps .moment-book-actions-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 8px;border-bottom:1px solid var(--book-rule);}
#moment-helps #moment-helps-actions-title{margin:0;padding:0 12px;font-family:var(--book-serif);font-size:25px;line-height:1.3;font-weight:400;color:var(--book-ink);}
#moment-helps #moment-helps-actions-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:10px;border:0;background:transparent;color:var(--book-petrol);}
#moment-helps-actions-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;}
#moment-helps .moment-book-actions-list{padding-top:6px;}
#moment-helps #moment-helps-actions-status{margin:8px 12px 0;font-size:14px;line-height:1.4;color:var(--book-secondary);}
#moment-helps .moment-book-actions-list button{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:52px;margin:0;padding:13px 12px;border:0;border-radius:6px;background:transparent;box-shadow:none;font-family:var(--mm-sans);font-size:16px;font-weight:400;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere;color:var(--book-petrol);}
#moment-helps .moment-book-actions-list button:active:not(:disabled){background:var(--book-soft);transform:none;}
#moment-helps .moment-book-actions-list button:disabled{opacity:.45;}
#moment-helps .moment-book-actions-sheet button:focus-visible{outline:2px solid var(--book-petrol);outline-offset:-2px;}
#moment-helps .moment-book-actions-sheet #moment-helps-pin-note{margin:-5px 0 4px;padding:0 12px 6px;font-size:14px;line-height:1.4;color:var(--book-secondary);}
#moment-helps .moment-book-actions-delete{margin-top:6px;padding-top:6px;border-top:1px solid var(--book-rule);}
#moment-helps .moment-book-actions-delete button{color:var(--book-danger);}
#moment-helps .moment-book-actions-list #moment-helps-archive-action:empty{display:none;}
@keyframes moment-book-actions-in{from{transform:translateY(32px);opacity:0;}to{transform:translateY(0);opacity:1;}}
@media(prefers-reduced-motion:reduce){#moment-helps .moment-book-actions-sheet{animation:none;}}

/* 1.0.375: directly toggle helpful entries in the management sheet. */
#moment-helps #moment-helps-helpful-toggle{gap:12px;}
#moment-helps #moment-helps-helpful-check{flex:0 0 20px;width:20px;height:20px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

/* 1.0.390: a compact contents header and quiet, readable page details. */
#moment-helps[data-helps-panel=list] #moment-helps-content{
 background:linear-gradient(90deg,#293d3909 0,#293d3903 10px,transparent 22px),var(--book-sheet);
 border-left-width:1px;border-left-color:#afb4a4;
 box-shadow:2px 1px 0 var(--book-sheet),3px 1px 0 #cdd0c4,0 5px 18px #293d390a;
 padding-top:24px;
}
#moment-helps .moment-book-chapter{gap:10px 12px;margin-bottom:18px;padding-bottom:0;border-bottom:0;}
#moment-helps .moment-book-chapter h3{font-size:clamp(28px,7.5vw,34px);letter-spacing:-.025em;}
#moment-helps #moment-helps-new{
 flex:none;gap:7px;width:auto;min-height:44px;margin:0;padding:10px 12px;
 border:1px solid var(--book-rule);border-radius:5px;background:transparent;
 color:var(--book-petrol)!important;font-size:14px;font-weight:500;line-height:1.4;
}
#moment-helps #moment-helps-new::before{content:none;}
#moment-helps #moment-helps-new>svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;}
#moment-helps #moment-helps-new:active{background:var(--book-soft);border-color:var(--book-control);}
#moment-helps .moment-book-search{margin-bottom:6px;}
#moment-helps #moment-helps-search{border-bottom-color:var(--book-rule);}
#moment-helps #moment-helps-search:focus{border-bottom-color:var(--book-petrol);}
#moment-helps .moment-book-tabs{gap:10px;margin:0 0 22px;}
#moment-helps .moment-book-tabs button{
 display:inline-flex;flex:1 1 0;align-items:baseline;justify-content:center;gap:6px;
 padding:12px 2px;border-bottom-width:2px;font-size:clamp(14px,3.7vw,16px);line-height:1.4;
}
#moment-helps .moment-book-tabs button[data-book-filter=all]{flex:0 0 auto;padding-left:12px;padding-right:12px;}
#moment-helps .moment-book-tab-label{min-width:0;overflow-wrap:normal;}
#moment-helps .moment-book-tab-count{display:inline-block;flex:none;min-width:1ch;font-family:var(--mm-sans);font-size:12px;font-weight:400;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--book-secondary);}
#moment-helps .moment-book-tabs button[aria-pressed=true] .moment-book-tab-count{color:var(--book-petrol);}
#moment-helps .moment-helps-list .moment-helps-row-copy{gap:7px;min-width:0;}
#moment-helps .moment-helps-list strong{
 font-size:20px;line-height:1.45;letter-spacing:-.01em;white-space:normal;
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
 overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;
}
#moment-helps .moment-book-preview{font-size:15px;line-height:1.55;-webkit-line-clamp:2;white-space:normal;text-overflow:ellipsis;overflow-wrap:break-word;}
#moment-helps .moment-book-day,#moment-helps .moment-book-entry-tags>span,
#moment-helps .moment-helps-list .moment-book-list-play{
 font-family:var(--mm-sans);font-size:14px;line-height:1.5;font-weight:400;letter-spacing:0;color:var(--book-secondary);
}
#moment-helps .moment-book-day{margin-bottom:12px;}
#moment-helps .moment-helps-list li{padding:18px 0;}
#moment-helps .moment-helps-list li:first-child{padding-top:0;}
#moment-helps .moment-helps-list li:last-child{border-bottom:0;}
#moment-helps .moment-helps-list .moment-book-list-play{gap:8px;margin-top:5px;padding:8px 0;}
#moment-helps .moment-book-list-play::before{content:none;}
#moment-helps .moment-book-list-play>svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;}
#moment-helps .moment-helps-list li:has(.moment-helps-thumb)>.moment-book-list-play{margin-left:70px;}
#moment-helps .moment-book-menu{margin-top:10px;}
#moment-helps .moment-book-menu>summary{font-size:14px;font-weight:400;line-height:1.5;color:var(--book-secondary);padding:16px 0;min-height:44px;}
#moment-helps .moment-book-menu-note{font-size:13px;margin-top:3px;}
@media(hover:hover){#moment-helps #moment-helps-new:hover{background:var(--book-soft);border-color:var(--book-control);}}
@media(max-width:360px){
 #moment-helps .moment-book-tabs{gap:6px;}
 #moment-helps .moment-book-tabs button{gap:4px;}
 #moment-helps .moment-book-tabs button[data-book-filter=all]{padding-left:6px;padding-right:6px;}
}

/* Book reading: one scrolling entry, with page controls outside the scroll area. */
#moment-helps[data-helps-panel=detail] #moment-helps-content{
 flex:1 1 0;min-height:0;margin:0;
 padding:0 max(12px,calc((100vw - 850px)/2)) 12px;
 overflow-y:auto;overflow-x:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;
}
#moment-helps[data-helps-panel=detail] #moment-helps-detail-panel{
 box-sizing:border-box;min-height:0;max-width:none;margin:0;
 padding:22px clamp(22px,6vw,56px) 28px;overflow:visible;
 background:var(--book-sheet);border:1px solid var(--book-rule);border-left:2px solid #b8b9a9;
 border-radius:2px 5px 5px 2px;box-shadow:0 4px 14px #293d390a;
}
#moment-helps[data-helps-panel=detail] .moment-book-page-nav{
 flex:none;margin-top:auto;background:var(--book-surround);
 position:relative;z-index:1;box-shadow:0 -8px 16px -12px #293d3940;
 padding-bottom:max(16px,env(safe-area-inset-bottom));
}
#moment-helps #moment-helps-image-open{
 display:block;box-sizing:border-box;width:100%;padding:0;border:0;border-radius:4px;
 background:transparent;color:var(--book-secondary);cursor:zoom-in;text-align:center;
}
#moment-helps #moment-helps-image{
 width:100%;height:auto;max-height:38vh;max-height:min(38dvh,360px);object-fit:contain;
}
#moment-helps #moment-helps-image-open>span{
 display:block;padding:8px 0 4px;font-family:var(--mm-sans);font-size:13px;line-height:1.5;
}
#moment-helps #moment-helps-image-open:focus-visible{outline:2px solid var(--book-petrol);outline-offset:4px;}
#moment-helps #moment-helps-message.is-long-note{font-size:clamp(18px,4.6vw,20px);line-height:1.65;}
#moment-helps-image-dialog{
 box-sizing:border-box;position:fixed;inset:0;transform:none;margin:0;
 width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;
 padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
 border:0;border-radius:0;overflow:hidden;background:#f2efe7;color:#29443e;
}
#moment-helps-image-dialog[open]{display:flex;flex-direction:column;gap:12px;}
#moment-helps-image-dialog::backdrop{background:#29443ecc;}
#moment-helps-image-dialog .moment-book-image-header{flex:none;display:flex;justify-content:flex-end;}
#moment-helps-image-close{
 display:flex;align-items:center;gap:16px;min-height:48px;padding:10px 12px;border:1px solid #b8b9a9;
 border-radius:4px;background:transparent;color:inherit;font-family:var(--mm-sans,sans-serif);font-size:16px;line-height:1.5;cursor:pointer;
}
#moment-helps-image-close>span{font-size:26px;line-height:1;}
#moment-helps-image-close:focus-visible{outline:2px solid #29443e;outline-offset:3px;}
#moment-helps-image-large{display:block;flex:1;min-height:0;width:100%;height:0;object-fit:contain;}
#moment-helps-image-error{flex:none;margin:0;font-family:var(--mm-sans,sans-serif);font-size:16px;line-height:1.5;}

/* Weather uses compact text, keeping the existing book and its media sizes. */
.moment-book-weather{margin:14px 0 22px;padding:15px 0;border-top:1px solid var(--mm-line);border-bottom:1px solid var(--mm-line);overflow-wrap:anywhere}
.moment-book-weather[hidden]{display:none!important}
.moment-book-weather strong{font-family:var(--mm-serif);font-size:22px;font-weight:400;line-height:1.4}
.moment-book-weather p{margin:5px 0;line-height:1.6}
.moment-book-weather summary{min-height:44px;display:list-item;padding:12px 0;cursor:pointer}
.moment-book-weather label{display:block;margin-top:12px;font-size:14px}
.moment-book-weather select{display:block;max-width:100%;width:100%;min-height:44px;padding:10px 8px;border:1px solid var(--mm-line);border-radius:9px;background:var(--mm-surface);color:var(--mm-ink);font:inherit;font-size:16px}
.moment-book-weather .moment-text-button{min-height:44px;white-space:normal}

/* 1.0.455: align the shared player with the book's compact round control. */
#moment-helps .moment-audio-controls{grid-template-columns:56px minmax(0,1fr);grid-template-rows:44px auto;column-gap:14px;row-gap:0;align-items:center;padding:16px 18px}
#moment-helps #moment-helps-audio-toggle{grid-column:1;grid-row:1/3;align-self:center}
#moment-helps #moment-helps-audio-toggle [data-audio-action]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#moment-helps #moment-helps-audio-seek{grid-column:2;grid-row:1;min-width:0;margin:0}
#moment-helps .moment-audio-time{grid-column:2;grid-row:2;margin-top:-3px}
@media(max-width:360px){#moment-helps .moment-audio-controls{grid-template-columns:50px minmax(0,1fr);column-gap:10px;padding:14px 12px}}

/* 1.0.476: compact contents, clear creation and one close action in the overview. */
#moment-helps[data-helps-panel=list] #moment-helps-content{padding-top:16px;}
#moment-helps[data-helps-panel=list]>.moment-dialog-header{gap:8px;}
#moment-helps[data-helps-panel=list]>.moment-dialog-header h2{margin-right:auto;}
#moment-helps .moment-book-chapter{gap:8px 12px;margin-bottom:8px;}
#moment-helps .moment-book-chapter h3{font-size:clamp(26px,6.8vw,30px);}
#moment-helps #moment-helps-new{min-height:44px;padding:10px 12px;border-color:var(--book-petrol);background:var(--book-petrol);color:var(--book-sheet)!important;font-size:.9375rem;}
#moment-helps #moment-helps-new:active{background:var(--book-petrol-hover);border-color:var(--book-petrol-hover);}
#moment-helps #moment-helps-new:focus-visible{outline:3px solid var(--book-petrol);outline-offset:3px;}
#moment-helps .moment-book-message-entry{margin:0;padding:0;border:0;}
#moment-helps .moment-book-message-entry>.moment-text-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 0;font-size:1rem;line-height:1.4;color:var(--book-petrol);text-align:left;overflow-wrap:anywhere;}
#moment-helps .moment-book-message-entry>.moment-text-button>span{flex:none;}
#moment-helps .moment-book-message-entry>[hidden]{display:none;}
#moment-helps #moment-helps-message-compose-note{margin:0 0 14px;font-size:.9375rem;line-height:1.5;color:var(--book-secondary);}
#moment-helps .moment-book-tabs{margin-bottom:14px;}
#moment-helps .moment-book-entry-arrow{flex:0 0 16px;align-self:center;width:16px;height:20px;fill:none;stroke:var(--book-secondary);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
@media(hover:hover){#moment-helps #moment-helps-new:hover{background:var(--book-petrol-hover);border-color:var(--book-petrol-hover);}}

/* 1.0.495: an explicit date per entry, aligned titles and quiet paper details. */
#moment-helps[data-helps-panel=list]>.moment-local-note{
 font-size:13px!important;line-height:1.45;margin:2px 0 6px!important;padding-bottom:6px;
}
#moment-helps[data-helps-panel=list] #moment-helps-content{
 border:1px solid var(--book-rule);border-radius:2px 5px 5px 2px;
 box-shadow:2px 0 0 var(--book-sheet),3px 0 0 #d8dacf,0 5px 16px #293d3908;
}
#moment-helps .moment-helps-list .moment-book-entry-open{gap:12px;align-items:flex-start;}
#moment-helps .moment-helps-list .moment-helps-row-copy{gap:5px;}
#moment-helps .moment-helps-list .moment-book-entry-date,
#moment-helps .moment-book-entry-tags>span,
#moment-helps .moment-helps-list .moment-book-list-play{
 font-family:var(--mm-sans);font-size:13px;font-weight:400;line-height:1.45;color:var(--book-secondary);
}
#moment-helps .moment-helps-list .moment-book-entry-date{margin:0 0 1px;}
#moment-helps .moment-helps-list li{padding:16px 0;}
#moment-helps .moment-helps-list li:first-child{padding-top:0;}
#moment-helps .moment-helps-list .moment-helps-thumb{align-self:center;}
#moment-helps .moment-helps-list .moment-book-list-play{margin:2px 0 0;padding:8px 0;min-height:44px;}
#moment-helps .moment-helps-list li:has(.moment-helps-thumb)>.moment-book-list-play{margin-left:0;}

/* 1.0.496: one weather heading and timestamp, with its matching landscape. */
#moment-helps[data-helps-panel=detail] #moment-helps-page-marker{display:none;}
#moment-helps[data-helps-panel=detail] #moment-helps-detail-meta{
 white-space:pre-line;font-size:13px;line-height:1.5;margin-bottom:12px;
}
#moment-helps[data-helps-panel=detail] #moment-helps-weather-detail{
 margin:0 0 18px;padding:0;border:0;
}
#moment-helps .moment-book-weather-picture{margin:0 0 10px;}
#moment-helps .moment-book-weather-picture:last-child{margin-bottom:0;}
#moment-helps .moment-book-weather-picture img{
 display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:180px;
 object-fit:cover;object-position:center;border-radius:5px;
}
#moment-helps #moment-helps-weather-detail p{font-size:14px;line-height:1.5;margin:6px 0 0;}

/* 1.0.497: lighter creation control and a tighter contents header. */
#moment-helps[data-helps-panel=list] #moment-helps-content{padding-top:12px;}
#moment-helps .moment-book-chapter{margin-bottom:4px;}
#moment-helps #moment-helps-new{
 min-height:44px;padding:8px 12px;border-color:var(--book-control);
 background:transparent;color:var(--book-petrol)!important;box-shadow:none;
}
#moment-helps #moment-helps-new:active{background:var(--book-soft);border-color:var(--book-petrol);}
@media(hover:hover){#moment-helps #moment-helps-new:hover{background:var(--book-soft);border-color:var(--book-petrol);}}
#moment-helps .moment-book-message-entry>.moment-text-button{padding-block:8px;}
#moment-helps .moment-book-search{margin-bottom:4px;}
#moment-helps #moment-helps-search{min-height:44px;padding-block:10px;}
#moment-helps .moment-book-search>svg{top:13px;}
#moment-helps .moment-book-tabs{margin-bottom:12px;}
#moment-helps .moment-book-tabs button{min-height:44px;padding-top:10px;padding-bottom:10px;}
#moment-helps .moment-helps-list .moment-book-entry-open{gap:8px;}
