/* Brand palette matches assets/css/home.css; logo is the existing practice sun. */
/* Mein Moment: deliberately scoped standalone application styles. */
:root{--mm-paper:#fbf7ef;--mm-surface:#fffdf9;--mm-ink:#342f2a;--mm-muted:#6d655e;--mm-accent:#a96512;--mm-line:#eadfce;--mm-tint:#f4ecde;--mm-rose:#f4ecde;--mm-radius:24px;--mm-serif:Georgia,'Times New Roman',serif;--mm-sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{background:var(--mm-paper);scroll-behavior:smooth}body.moment-app{margin:0;color:var(--mm-ink);font-family:var(--mm-sans);font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at 82% 3%,#f4ecde70,transparent 40%),var(--mm-paper)}
.moment-app button,.moment-app input{font:inherit}.moment-app button,.moment-app a,.moment-file-label{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.moment-app button{cursor:pointer}.moment-app button:disabled{cursor:default;opacity:.65}.moment-app a{color:inherit;text-decoration:none}.moment-app h1,.moment-app h2,.moment-app h3,.moment-app p{margin:0}.moment-app svg{display:inline-block;flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.moment-app img{max-width:100%;display:block}.moment-app [hidden]{display:none!important}.moment-app :focus-visible{outline:3px solid #8f5100;outline-offset:4px}.moment-symbols{position:absolute;width:0!important;height:0!important;overflow:hidden;pointer-events:none}.moment-shell{max-width:1100px;margin:0 auto;padding:0 40px}.moment-skip{position:fixed;z-index:1000;left:16px;top:12px;padding:12px 20px;border-radius:12px;background:var(--mm-accent);color:white!important;transform:translateY(-160%)}.moment-skip:focus{transform:translateY(0)}
.moment-header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--mm-line)}.moment-brand{display:inline-flex;gap:13px;align-items:center}.moment-brand-mark{display:flex;align-items:center;justify-content:center;width:56px;height:56px;flex-shrink:0;background:transparent;border-radius:0;color:var(--mm-accent)}.moment-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.moment-brand strong{font-family:var(--mm-serif);display:block;font-size:23px;letter-spacing:-.5px;font-weight:400;line-height:1.15}.moment-brand>span>span{display:block;font-size:11px;letter-spacing:.5px;margin-top:5px;color:var(--mm-muted)}.moment-icon-button{border:1px solid var(--mm-line);border-radius:50%;background:transparent;color:var(--mm-ink);width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.moment-icon-button:hover{background:var(--mm-tint)}.moment-icon-button svg{width:21px;height:21px}
.moment-intro{padding:48px 0 35px}.moment-eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;color:var(--mm-muted);line-height:1.4}.moment-intro h1{font-family:var(--mm-serif);font-size:46px;line-height:1.13;font-weight:400;letter-spacing:-1.3px;margin-top:15px}.moment-intro h1 em{font-weight:400;font-style:italic;color:#a96512}.moment-intro>p:last-child{font-size:15px;color:var(--mm-muted);margin-top:19px;line-height:1.6}.moment-primary-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}.moment-breath-card{position:relative;overflow:hidden;isolation:isolate;border-radius:var(--mm-radius);min-height:480px;color:#fffbed;background:#a96512;box-shadow:0 9px 26px #3a2a1710}.moment-breath-content{position:relative;z-index:2;padding:34px 32px;display:flex;align-items:flex-start;flex-direction:column;min-height:480px}.moment-card-kicker{font-size:10px;letter-spacing:1.6px;display:flex;align-items:center;gap:10px;color:#e9bd7a}.moment-card-kicker svg{width:25px;height:25px}.moment-breath-card h2{font-family:var(--mm-serif);font-size:43px;line-height:1.16;font-weight:400;letter-spacing:-1.1px;margin-top:32px}.moment-breath-card p{color:#f4ecde;font-size:14px;line-height:1.6;margin:14px 0 30px;max-width:215px}.moment-button{min-height:47px;padding:12px 18px;border:1px solid transparent;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--mm-accent);color:#fffef6!important;font-size:14px;font-weight:700;line-height:1.4;text-align:center;transition:background .18s,transform .18s}.moment-button:hover{background:#8f5100;transform:translateY(-1px)}.moment-button svg{width:20px;height:20px}.moment-button-light{background:#fff8e8;color:#3f352e!important;box-shadow:0 3px 7px #3a2a1720}.moment-button-light:hover{background:#fffdf9}.moment-button-outline{background:transparent;color:var(--mm-accent)!important;border-color:#ceb48d}.moment-button-outline:hover{background:var(--mm-tint)}.moment-breath-card .moment-button{margin-top:auto;min-width:216px;justify-content:space-between}.moment-breath-footnote{font-size:11px;line-height:1.5;margin-top:13px;color:#eadfce}.moment-water{position:absolute;inset:0;overflow:hidden;z-index:0;background:#243b38}.moment-water>img{width:100%;height:100%;object-fit:cover;object-position:58% center}.moment-water:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#10221dcc 0%,#17272270 54%,#1428210d 100%),linear-gradient(0deg,#10221d70,transparent 55%)}
.moment-thought-card{border:1px solid var(--mm-line);border-radius:var(--mm-radius);overflow:hidden;background:var(--mm-surface)}.moment-section-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.moment-section-top h2{font-size:15px;font-weight:700}.moment-thought-card>.moment-section-top{padding:15px 20px;min-height:67px}.moment-text-button{padding:8px 0;min-height:40px;border:0;background:transparent;color:var(--mm-accent);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;line-height:1.4;font-weight:700}.moment-text-button:hover{text-decoration:underline;text-underline-offset:4px}.moment-text-button svg{width:17px;height:17px}.moment-thought-cover{display:block;width:100%;position:relative;padding:0;border:0;aspect-ratio:1.95;background:#eadfce;color:var(--mm-ink);overflow:hidden}.moment-thought-cover:disabled{opacity:1}.moment-thought-cover>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.moment-thought-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;background:radial-gradient(ellipse at 60% 110%,#dfbd82,transparent 62%),#f4ecde}.moment-thought-placeholder svg{width:65px;height:65px;stroke-width:1;color:#a96512}.moment-thought-placeholder>span{font-family:var(--mm-serif);font-style:italic;font-size:23px;color:#9e5b0c}.moment-picture-open{position:absolute;bottom:13px;right:13px;display:inline-flex;align-items:center;gap:8px;font-size:11px;padding:7px 10px;background:#fffdf5ed;color:#3f352e;border-radius:30px;box-shadow:0 1px 5px #3a2a1715}.moment-picture-open svg{width:15px;height:15px}.moment-ai-label{position:absolute;top:10px;left:10px;background:#3f352ee0;color:#fffdf7;font-size:9px;padding:4px 7px;border-radius:4px}.moment-thought-body{padding:19px 22px 16px}.moment-thought-name{font-size:11px;color:var(--mm-muted);line-height:1.3;margin-bottom:9px!important}.moment-thought-quote{font-family:var(--mm-serif);font-size:22px;line-height:1.35;letter-spacing:-.3px;white-space:pre-line;overflow-wrap:anywhere}.moment-thought-author{color:var(--mm-muted);font-size:12px;margin-top:10px!important}.moment-thought-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 15px;margin-top:17px}.moment-thought-actions .moment-button{font-size:12px;min-height:44px;padding:10px 13px}.moment-local-note{font-size:11px;color:var(--mm-muted);line-height:1.5;margin-top:10px!important;overflow-wrap:anywhere;min-height:0}.moment-local-note:empty{display:none}.moment-local-note.is-error{color:#8a4532}
.moment-more{margin:34px 0 0}.moment-more>.moment-section-top{margin:0 0 13px}.moment-more>.moment-section-top>span{font-size:11px;color:var(--mm-muted)}.moment-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.moment-more-card{display:flex;align-items:center;gap:14px;padding:18px 19px;border:1px solid var(--mm-line);border-radius:18px;background:#fffaf3;min-height:102px;transition:background .18s}.moment-more-card:hover{background:#fffdf9}.moment-more-icon{display:flex;align-items:center;justify-content:center;width:44px;height:48px;border-radius:13px;background:#f4ecde;color:#a96512;flex-shrink:0}.moment-more-icon-rose{background:var(--mm-rose);color:#9e5b0c}.moment-more-icon svg{width:25px;height:25px;stroke-width:1.4}.moment-more-card>span:nth-child(2){min-width:0}.moment-more-card strong{display:block;font-size:13px;line-height:1.45}.moment-more-card>span>span{display:block;font-size:11px;color:var(--mm-muted);margin-top:3px;line-height:1.5}.moment-more-arrow{margin-left:auto;width:17px!important;height:17px!important}
.moment-install-invite{position:relative;display:flex;align-items:flex-start;gap:15px;background:#f4ecde;border:1px solid #eadfce;border-radius:19px;padding:22px 56px 17px 23px;margin-top:26px}.moment-invite-icon{color:#a96512;display:flex;align-items:center;justify-content:center;padding-top:2px}.moment-invite-icon svg{width:27px;height:27px;stroke-width:1.3}.moment-install-invite h2{font-family:var(--mm-serif);font-size:22px;font-weight:400;letter-spacing:-.3px}.moment-install-invite p{font-size:12px;color:var(--mm-muted);margin-top:4px}.moment-install-invite .moment-text-button{margin-top:2px}.moment-invite-dismiss{position:absolute;right:12px;top:12px;border:0;width:38px;height:38px}.moment-footer{margin-top:35px;padding:24px 0 30px;border-top:1px solid var(--mm-line)}.moment-footer-main{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;font-weight:700}.moment-footer-main>a{padding:10px 0;min-height:40px;display:inline-flex;align-items:center;gap:8px}.moment-footer-meta{display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:10px;color:var(--mm-muted);margin-top:7px}.moment-footer-meta>a{margin-left:auto;padding:9px 0}.moment-footer-meta .moment-text-button{font-size:11px}.moment-offline-indicator{display:inline-flex;align-items:center;gap:7px;font-size:10px}.moment-offline-indicator i{display:block;width:5px;height:5px;background:#a96512;border-radius:50%}.moment-noscript{background:#fffdf9;border:1px solid var(--mm-line);border-radius:16px;padding:20px;margin-top:24px;font-size:14px}.moment-noscript a{text-decoration:underline}.moment-noscript p+p{margin-top:10px}
.moment-dialog{border:1px solid var(--mm-line);padding:26px;width:calc(100% - 32px);max-width:590px;max-height:calc(100dvh - 48px);border-radius:25px;background:var(--mm-paper);color:var(--mm-ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 28px 100px #3a2a1750}.moment-dialog::backdrop{background:#342f2aa6;backdrop-filter:blur(5px)}.moment-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.moment-dialog h2{font-family:var(--mm-serif);font-size:32px;font-weight:400;line-height:1.15;letter-spacing:-.7px}.moment-dialog-header .moment-eyebrow{margin-bottom:8px}.moment-dialog-intro{font-size:14px;color:var(--mm-muted);line-height:1.6;margin-bottom:20px!important}.moment-dialog h3{font-size:15px;margin-bottom:10px}.moment-dialog[data-fallback-open]{display:block;position:fixed;z-index:1010;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;box-shadow:0 0 0 100vmax #342f2aba}.moment-app.moment-dialog-open{overflow:hidden}.moment-dialog-close{margin-left:auto}.moment-collection-dialog{max-width:810px}.moment-search-label{display:block;font-size:12px;margin:16px 0 6px;font-weight:700}.moment-search{background:var(--mm-surface);border:1px solid #ceb48d;padding:12px 14px;border-radius:11px;width:100%;color:var(--mm-ink);min-height:47px;appearance:none}.moment-search::placeholder{color:#77695d}.moment-search-count{font-size:11px;color:var(--mm-muted);margin:10px 0 16px!important}.moment-collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.moment-collection-item{padding:0;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:14px;text-align:left;color:var(--mm-ink);overflow:hidden;position:relative;min-width:0}.moment-collection-item:hover{border-color:#c58328}.moment-collection-item.is-pinned{border-color:#a96512;box-shadow:0 0 0 1px #a96512}.moment-collection-item img,.moment-collection-thumb{display:block;aspect-ratio:1.1;width:100%;object-fit:cover;background:var(--mm-tint)}.moment-collection-title{display:block;padding:13px 12px 15px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.moment-collection-label{position:absolute;top:8px;left:8px;background:var(--mm-accent);color:#fffdf5;font-size:9px;border-radius:20px;padding:3px 8px}.moment-empty{text-align:center;padding:35px 10px;color:var(--mm-muted);font-size:14px}.moment-reader-dialog{padding:18px 18px 27px;max-width:690px}.moment-reader-dialog .moment-dialog-header{margin-bottom:12px}.moment-reader-image{width:100%;height:auto;max-height:64dvh;object-fit:contain;border-radius:12px;background:#f4ecde}.moment-reader-ai{font-size:10px;text-align:right;color:var(--mm-muted);margin-top:6px!important}.moment-reader-text{padding:23px 14px 0}.moment-reader-text h2{font-family:var(--mm-sans);font-size:13px;font-weight:700;letter-spacing:0;margin-top:9px;line-height:1.4}.moment-reader-text blockquote{font-family:var(--mm-serif);font-size:29px;line-height:1.35;margin:17px 0 0;white-space:pre-line;overflow-wrap:anywhere}.moment-reader-reflection{font-size:14px;line-height:1.75;margin-top:21px!important;border-top:1px solid var(--mm-line);padding-top:18px;white-space:pre-line}.moment-reader-text>.moment-button{margin-top:24px}.moment-text-link{font-size:12px;text-decoration:underline!important;text-underline-offset:4px;display:inline-block;padding:10px 0}.moment-reader-text>.moment-text-link{margin-top:10px}.moment-settings-section{padding:23px 0;border-bottom:1px solid var(--mm-line)}.moment-settings-section p{font-size:14px;color:var(--mm-muted);line-height:1.65;margin-top:10px}.moment-small{font-size:12px!important;color:var(--mm-muted);line-height:1.65}.moment-settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.moment-file-label{position:relative;cursor:pointer;overflow:hidden}.moment-file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.moment-file-label:focus-within{outline:3px solid #8f5100;outline-offset:4px}.moment-remove-button{margin-top:12px;color:#8f5100}.moment-settings-offline{font-size:12px!important;font-weight:700;color:var(--mm-accent)!important;margin-bottom:14px!important}.moment-settings-bottom{padding-top:20px}.moment-settings-bottom p{font-size:10px;color:var(--mm-muted);margin-top:7px}/* Installation: readable steps and optional help for Safari. */
.moment-install-dialog>h2{font-size:28px;line-height:1.2;margin:12px 0 16px}
.moment-install-dialog>.moment-dialog-intro{font-size:16px}
.moment-install-steps{margin:0;padding:0;list-style:none}
.moment-install-steps li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--mm-line)}
.moment-step-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:var(--mm-tint);color:var(--mm-accent);border-radius:50%;font-size:14px;font-weight:700;flex-shrink:0}
.moment-install-steps li>div{flex:1;min-width:0;overflow-wrap:break-word}
.moment-install-steps strong{font-size:16px;line-height:1.5;display:block}
.moment-install-steps p{font-size:16px;line-height:1.6;color:var(--mm-muted);margin-top:5px}
.moment-install-steps li>svg{margin-top:3px;width:22px;height:22px;color:var(--mm-accent)}
.moment-install-finish{padding:17px;background:var(--mm-tint);border-radius:12px;margin-top:18px}
.moment-install-finish strong{font-size:16px;display:block;line-height:1.5}
.moment-install-finish p{font-size:16px;color:var(--mm-muted);line-height:1.6;margin-top:7px}
.moment-copy-row{margin-top:22px}
.moment-copy-row>label{font-size:14px;font-weight:700;display:block;margin-bottom:6px}
.moment-copy-row>div{display:flex;gap:8px}
.moment-copy-row input{min-width:0;min-height:44px;flex:1;border:1px solid var(--mm-line);border-radius:10px;background:var(--mm-surface);color:var(--mm-muted);font-size:16px;padding:10px}
.moment-copy-row .moment-button{min-height:44px;font-size:16px;padding:10px 12px}
.moment-install-dialog #moment-install-status{font-size:16px}
.moment-install-help{margin-top:18px;border-top:1px solid var(--mm-line);border-bottom:1px solid var(--mm-line)}
.moment-install-help>summary{min-height:48px;padding:12px 0;cursor:pointer;list-style-position:inside;font-size:16px;line-height:1.5;font-weight:700;color:var(--mm-accent)}
.moment-install-help>summary::marker{color:var(--mm-accent)}
.moment-install-help section{padding:10px 0 20px}
.moment-install-help section+section{border-top:1px solid var(--mm-line);padding-top:20px}
.moment-install-help h3{font-size:16px;line-height:1.5;margin-bottom:8px}
.moment-install-help section>p{font-size:16px;line-height:1.6;color:var(--mm-muted)}
.moment-install-help .moment-copy-row{margin-top:16px}
.moment-install-dialog>.moment-install-note{font-size:14px!important;margin-top:18px!important}
.moment-install-dialog #moment-android-help{margin-top:15px}.moment-install-dialog #moment-install-desktop p{font-size:14px;line-height:1.65;color:var(--mm-muted)}.moment-install-dialog #moment-desktop-install{margin-top:18px}.moment-toast{position:fixed;z-index:1100;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 40px);padding:13px 19px;border-radius:13px;background:#3f352e;color:#fffdf6;font-size:13px;line-height:1.5;text-align:center;box-shadow:0 6px 30px #3a2a1730;pointer-events:none}
@media(min-width:1000px){.moment-intro{position:relative}.moment-intro>p:last-child{position:absolute;bottom:41px;left:calc(50% + 13px);font-size:16px}.moment-primary-grid{grid-template-columns:1fr 1fr}.moment-breath-card,.moment-breath-content{min-height:495px}}
@media(max-width:700px){.moment-shell{padding:0 21px}.moment-header{height:94px}.moment-brand-mark{width:44px;height:44px}.moment-brand strong{font-size:22px}.moment-brand>span>span{font-size:10px}.moment-intro{padding:32px 0 27px}.moment-intro h1{font-size:38px;letter-spacing:-1px;margin-top:12px}.moment-intro>p:last-child{font-size:14px;line-height:1.6;margin-top:15px}.moment-eyebrow{font-size:9px;letter-spacing:1.6px}.moment-primary-grid{grid-template-columns:1fr;gap:21px}.moment-breath-card,.moment-breath-content{min-height:310px}.moment-breath-content{padding:27px}.moment-breath-card h2{font-size:35px;line-height:1.12;margin-top:21px}.moment-breath-card p{font-size:13px;line-height:1.5;max-width:205px;margin:10px 0 23px}.moment-breath-card .moment-button{min-width:218px;padding:12px 16px}.moment-breath-footnote{font-size:10px;margin-top:10px}.moment-thought-card>.moment-section-top{min-height:62px;padding:13px 20px}.moment-thought-cover{aspect-ratio:1.65}.moment-thought-body{padding:21px}.moment-thought-quote{font-size:24px}.moment-thought-actions{margin-top:18px}.moment-thought-actions .moment-button{font-size:13px}.moment-more{margin-top:27px}.moment-more-grid{grid-template-columns:1fr;gap:11px}.moment-more>.moment-section-top>span{font-size:10px}.moment-more-card{min-height:86px;padding:15px}.moment-more-card strong{font-size:13px}.moment-more-card>span>span{font-size:11px}.moment-install-invite{padding:20px 46px 15px 16px;gap:11px;margin-top:21px}.moment-install-invite h2{font-size:21px;line-height:1.2}.moment-install-invite p{font-size:11px;margin-top:6px}.moment-install-invite .moment-text-button{font-size:11px;text-align:left;justify-content:flex-start;line-height:1.5}.moment-invite-icon svg{width:24px;height:24px}.moment-invite-dismiss{right:5px;top:8px}.moment-footer{margin-top:27px;padding:20px 0 24px}.moment-footer-main{font-size:11px;gap:12px}.moment-footer-main .moment-text-button{font-size:11px}.moment-footer-meta{gap:6px 14px}.moment-dialog{padding:21px;max-height:calc(100dvh - 28px);width:calc(100% - 24px);border-radius:21px}.moment-dialog h2{font-size:29px}.moment-dialog-header{margin-bottom:14px}.moment-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.moment-collection-title{font-size:12px;padding:11px 10px 13px}.moment-reader-dialog{padding:14px 14px 22px}.moment-reader-text{padding:19px 9px 0}.moment-reader-text h2{font-size:12px}.moment-reader-text blockquote{font-size:27px}.moment-reader-reflection{font-size:13px}.moment-install-dialog>h2{font-size:26px}.moment-install-steps li{gap:10px}.moment-copy-row>div{flex-direction:column}.moment-copy-row input{width:100%}.moment-settings-actions .moment-button{font-size:12px;padding:11px 13px}.moment-settings-section{padding:19px 0}.moment-settings-section p{font-size:13px}}
@media(max-width:359px){.moment-shell{padding:0 16px}.moment-intro h1{font-size:34px}.moment-breath-content{padding:24px}.moment-brand strong{font-size:21px}.moment-brand{gap:10px}.moment-section-top h2{font-size:13px}.moment-thought-card>.moment-section-top{padding:12px 16px}.moment-thought-body{padding:17px}.moment-footer-main{flex-wrap:wrap;gap:0 15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.moment-app *{transition:none!important;animation:none!important}}
.moment-qr{margin:0 auto 22px;text-align:center}.moment-qr img{margin:0 auto 10px;width:196px;height:196px;background:#fff;border-radius:12px}.moment-qr figcaption{font-size:13px;color:var(--mm-muted)}

/* Installation helper. All dialog headers share the sticky treatment below. */
.moment-install-dialog>.moment-dialog-header .moment-brand-mark{width:44px;height:44px}
.moment-install-dialog>.moment-dialog-intro{margin-bottom:12px!important}
.moment-install-safari-note{font-size:16px;line-height:1.5;color:var(--mm-muted)}


/* Practice contact details remain part of the cached public home page. */
.moment-practice{margin-top:30px}
.moment-practice>.moment-section-top{margin-bottom:12px}
.moment-practice>.moment-section-top .moment-text-link{padding:8px 0;min-height:40px}
.moment-practice-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--mm-line);border-radius:18px;background:var(--mm-surface)}
.moment-practice-details{display:flex;align-items:flex-start;gap:15px;min-width:0}
.moment-practice-details>div{min-width:0}
.moment-practice-portrait{display:block;width:64px;height:64px;flex:0 0 64px;overflow:hidden;border:1px solid var(--mm-line);border-radius:16px;background:var(--mm-tint)}
.moment-practice-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.moment-practice-details h3{font-family:var(--mm-serif);font-size:24px;line-height:1.25;font-weight:400;margin:0 0 8px}
.moment-practice-details address{font-size:16px;line-height:1.55;font-style:normal;color:var(--mm-muted)}
.moment-practice-phone{font-size:14px;color:var(--mm-muted);margin-top:7px!important}
.moment-practice-reach{min-width:0}
.moment-practice-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.moment-practice-actions .moment-button{font-size:14px;min-height:48px;padding:12px 16px}
.moment-practice-email{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font-size:14px;color:var(--mm-accent)!important;text-decoration:underline!important;text-underline-offset:4px;overflow-wrap:anywhere;max-width:100%}
@media(max-width:700px){.moment-practice{margin-top:24px}.moment-practice-card{flex-direction:column;align-items:stretch;gap:20px;padding:20px}.moment-practice-details h3{font-size:23px}.moment-practice-actions .moment-button{padding:12px 10px}.moment-practice-email{font-size:15px}.moment-water>img{object-position:center 57%}}
@media(max-width:359px){.moment-practice-actions{grid-template-columns:1fr}.moment-practice-card{padding:18px}.moment-practice-details{gap:12px}}

/* Clear selection actions, uncropped previews and readable supporting text. */
.moment-header-actions{display:flex;align-items:center;gap:18px}
.moment-practice{scroll-margin-top:18px}
.moment-app .moment-text-button,.moment-app .moment-text-link{font-size:14px;min-height:44px}
.moment-app .moment-button{font-size:14px}
.moment-thought-cover{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;height:300px;aspect-ratio:auto;padding:14px 16px 10px;background:var(--mm-tint)}
.moment-thought-cover>img{position:static;width:100%;height:100%;min-height:0;object-fit:contain;grid-row:1}
.moment-thought-placeholder{position:static;grid-row:1;min-height:0;border-radius:10px}
.moment-picture-open{position:static;grid-row:2;justify-self:center;font-size:14px;padding:4px 10px;box-shadow:none;background:transparent}
.moment-media-note{font-size:14px;color:var(--mm-muted);margin-bottom:10px!important}
.moment-collection-item img{object-fit:contain;padding:8px}
.moment-collection-label{font-size:12px}
.moment-app .moment-local-note,.moment-app .moment-small,.moment-app .moment-offline-indicator,.moment-footer-meta,.moment-footer-main,.moment-thought-name,.moment-thought-author,.moment-breath-footnote,.moment-reader-ai,.moment-search-count,.moment-settings-offline,.moment-settings-bottom p,.moment-more-card>span>span,.moment-install-invite p,.moment-more>.moment-section-top>span{font-size:14px!important;line-height:1.55}
.moment-footer-main,.moment-section-top{flex-wrap:wrap}
.moment-app .moment-footer-main>a,.moment-app .moment-footer-meta>a,.moment-app .moment-practice>.moment-section-top .moment-text-link{min-height:44px;display:inline-flex;align-items:center}
.moment-more-card strong{font-size:15px}
.moment-invite-dismiss{width:44px;height:44px}
.moment-saved{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:#6b561d;line-height:1.5;min-height:44px}
.moment-saved svg{width:19px;height:19px}
.moment-reader-text>.moment-saved{margin-top:20px}
.moment-dialog{--mm-dialog-inset:26px;scroll-padding-top:110px}
.moment-reader-dialog{--mm-dialog-inset:18px}
.moment-dialog>.moment-dialog-header{position:sticky;top:calc(-1 * var(--mm-dialog-inset));z-index:3;background:var(--mm-paper);margin:calc(-1 * var(--mm-dialog-inset)) calc(-1 * var(--mm-dialog-inset)) 16px;padding:12px var(--mm-dialog-inset);border-bottom:1px solid var(--mm-line)}
.moment-dialog-header>h2,.moment-dialog-header>div{min-width:0}
.moment-dialog-header h2{overflow-wrap:break-word}
.moment-sentence{margin-top:20px;padding-top:14px;border-top:1px solid var(--mm-line)}
.moment-sentence h3{font-size:15px;font-weight:600}
.moment-sentence-empty{font-size:14px;line-height:1.55;color:var(--mm-muted)}
.moment-sentence-text{font-family:var(--mm-serif);font-size:21px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px!important}
.moment-app textarea{font:inherit;font-size:16px;line-height:1.6;resize:vertical;min-height:120px}
.moment-checkbox{display:flex;align-items:flex-start;gap:10px;padding:12px 0;min-height:48px;font-size:15px;line-height:1.5;cursor:pointer}
.moment-checkbox input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--mm-accent)}
.moment-import-preview{padding:14px;border:1px solid var(--mm-line);border-radius:12px;margin-top:15px;background:var(--mm-tint)}
@media(max-width:700px){
 .moment-header{height:auto;min-height:88px;gap:12px;padding:15px 0;flex-wrap:wrap}
 .moment-header-actions{gap:12px}
 .moment-brand>span>span{font-size:12px;letter-spacing:0}
 .moment-brand strong{font-size:21px}
 .moment-brand{gap:9px}
 .moment-intro{padding:22px 0}
 .moment-intro .moment-eyebrow{display:none}
 .moment-intro h1{font-size:32px;line-height:1.16;margin-top:0}
 .moment-intro>p:last-child{margin-top:10px;font-size:14px}
 .moment-intro>p:last-child br{display:none}
 .moment-thought-cover{height:290px}
 .moment-dialog{--mm-dialog-inset:21px}
 .moment-reader-dialog{--mm-dialog-inset:14px}
 .moment-breath-card p{font-size:14px}
 .moment-footer-main{gap:4px 14px}
}
@media(max-width:419px){
 .moment-header-actions{margin-left:auto;gap:8px}
 .moment-practice-shortcut{font-size:13px!important}
 .moment-brand-mark{width:36px;height:36px}
 .moment-brand strong{font-size:20px}
 .moment-brand>span>span{font-size:11px}
 .moment-header{column-gap:8px}
 .moment-thought-cover{height:280px}
}

/* Balance the desktop columns; keep the familiar reading order on phones. */
@media(min-width:701px){
 .moment-primary-grid{grid-template-areas:"breath thought" "future future";align-items:stretch}
 .moment-breath-card{grid-area:breath}
 .moment-breath-content{height:100%}
 .moment-thought-card{grid-area:thought;align-self:stretch}
 .moment-future-card{grid-area:future}
}

/* iPhone review: one compact image-and-quote area with quiet supporting details. */
.moment-thought-card>.moment-section-top{min-height:64px;padding-top:10px;padding-bottom:10px}
.moment-thought-body{padding:10px 22px 20px}
.moment-thought-story{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start}
.moment-thought-media,.moment-thought-summary{min-width:0}
.moment-thought-cover{display:block;height:auto;min-height:44px;aspect-ratio:auto;padding:0;border-radius:8px;background:transparent;overflow:visible}
.moment-thought-cover>img{display:block;width:100%;height:auto;aspect-ratio:9 / 19.5;object-fit:contain;background:var(--mm-paper);border-radius:6px}
.moment-thought-placeholder{position:static;aspect-ratio:9 / 19.5;border-radius:6px;background:var(--mm-tint)}
.moment-thought-placeholder svg{width:34px;height:34px}
.moment-thought-placeholder>span{display:none}
.moment-picture-open{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;margin:0;padding:5px 0;font-size:14px;border-radius:0}
.moment-media-note{margin:0!important;text-align:center;font-size:12px;line-height:1.45;color:var(--mm-muted);overflow-wrap:break-word}
.moment-thought-summary .moment-thought-name{margin-bottom:10px!important}
.moment-thought-summary .moment-thought-quote{font-size:22px;line-height:1.4;white-space:normal;letter-spacing:-.2px}
.moment-thought-actions{gap:8px 12px;margin-top:8px}
.moment-thought-actions .moment-saved{flex:1 1 180px;min-width:0;min-height:24px;font-weight:400;color:var(--mm-muted)}
.moment-thought-actions .moment-saved>span{min-width:0}
.moment-sentence{margin-top:12px;padding-top:10px}
.moment-sentence-text{font-size:20px}
.moment-app .moment-practice>.moment-section-top .moment-text-link{gap:5px}
.moment-footer{display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;margin-top:24px;padding:12px 0 18px}
.moment-footer-main{flex:none;gap:0}
.moment-footer-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:0;flex:1 1 310px;margin:0}
.moment-footer-meta>.moment-offline-indicator{grid-column:1;min-width:0}
.moment-footer-meta>a{grid-column:2;margin:0;justify-self:end}
.moment-footer-meta>[data-moment-update]{grid-column:1 / -1;justify-self:start}
@media(max-width:700px){
 .moment-thought-body{padding:6px 20px 18px}
 .moment-thought-story{grid-template-columns:96px minmax(0,1fr);gap:16px}
 .moment-thought-summary .moment-thought-quote{font-size:20px;line-height:1.42}
 .moment-primary-grid>.moment-more{margin-top:0}
 .moment-footer{gap:0;padding-top:10px}
 .moment-footer-main{flex-basis:100%}
 .moment-footer-meta{flex-basis:100%;column-gap:12px}
}
@media(max-width:379px){
 .moment-thought-body{padding:6px 16px 16px}
 .moment-thought-story{grid-template-columns:80px minmax(0,1fr);gap:12px}
 .moment-thought-summary .moment-thought-quote{font-size:19px}
 .moment-thought-actions .moment-saved{flex-basis:155px}
}

/* Full-screen exercise view; audio stays in the home document. */
body.moment-breath-open{overflow:hidden}
.moment-breath-view{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden;background:var(--moment-breath-background,#17343f)}
.moment-breath-view[open]{display:flex;flex-direction:column;z-index:10000}
.moment-breath-view::backdrop{background:var(--moment-breath-background,#17343f)}
.moment-breath-frame{flex:1;display:block;min-height:0;width:100%;height:100%;border:0;background:var(--moment-breath-background,#17343f)}
.moment-breath-view [hidden]{display:none!important}
.moment-breath-loading{padding:24px;display:grid;align-content:center;justify-items:center;gap:24px;min-height:100%;background:var(--mm-paper,#fbf7ef);color:#342f2a;text-align:center}
.moment-breath-loading p{max-width:28em;line-height:1.6}

/* Optional one-time thought reminder; quiet entry, comfortable iPhone controls. */
.moment-reminder-entry{margin-top:8px}
.moment-reminder-entry .moment-text-button{justify-content:flex-start;gap:8px;text-align:left;line-height:1.45;min-height:44px}
.moment-reminder-entry svg{width:19px;height:19px;flex:none}
.moment-reminder-entry .moment-reminder-launcher{display:flex;align-items:center;width:100%;min-height:48px;padding:10px 12px;gap:10px;border:1px solid var(--mm-line);border-radius:12px;background:var(--mm-paper);color:var(--mm-ink)}
.moment-reminder-entry .moment-reminder-launcher:hover{background:var(--mm-tint);border-color:#ceb48d}
.moment-reminder-launcher>svg{color:var(--mm-accent)}
.moment-reminder-entry-copy{display:block;min-width:0;flex:1}
.moment-reminder-entry-copy>span{display:block;overflow-wrap:break-word}
#moment-reminder-entry-label{font-size:14px;font-weight:500;line-height:1.45}
#moment-reminder-entry-note{font-size:14px;line-height:1.45;color:var(--mm-muted);margin-top:2px}
.moment-reminder-launcher .moment-reminder-entry-arrow{width:17px;height:17px;margin-left:auto}
.moment-reminder-dialog{max-width:550px}
.moment-reminder-list{list-style:none;margin:4px 0 12px;padding:0;display:grid}
.moment-reminder-list>li+li{border-top:1px solid var(--mm-line)}
.moment-reminder-list-count{font-size:14px;line-height:1.5;color:var(--mm-muted);margin-bottom:6px!important}
.moment-reminder-list-item{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-height:64px;text-align:left;padding:12px 4px;border:0;border-radius:8px;background:transparent;color:var(--mm-ink);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.moment-reminder-list-copy{display:grid;gap:3px;min-width:0}
.moment-reminder-list-copy strong{font-size:16px;line-height:1.45;font-weight:600;font-variant-numeric:tabular-nums}
.moment-reminder-list-copy>span{font-size:14px;line-height:1.5;color:var(--mm-muted)}
.moment-reminder-list-arrow{font-size:25px;line-height:1;color:var(--mm-muted);text-align:center}
.moment-reminder-list-item:hover{background:var(--mm-tint)}
.moment-reminder-list-item:focus-visible{outline:2px solid var(--mm-ink);outline-offset:3px}
#moment-reminder-new{width:100%;min-height:48px;justify-content:flex-start;font-size:16px;margin-top:4px}
#moment-reminder-back{min-height:44px;margin-bottom:8px}
#moment-reminder-title:focus{outline:none}
#moment-reminder-limit:empty{display:none}
.moment-reminder-pending{padding:16px;margin:16px 0;border:1px solid var(--mm-line);border-radius:14px}
.moment-reminder-pending p{font-size:15px;line-height:1.6}
.moment-reminder-thought{display:flex;gap:16px;align-items:center;padding:14px;background:var(--mm-tint);border-radius:14px;margin-bottom:18px}
.moment-reminder-thought img{width:64px;height:80px;object-fit:contain;flex:none;border-radius:4px}
.moment-reminder-thought>div{min-width:0}
.moment-reminder-thought strong{display:block;font-family:var(--mm-serif);font-size:23px;line-height:1.25;overflow-wrap:break-word;margin-top:4px}
.moment-reminder-thought span{font-size:13px;color:var(--mm-muted)}
.moment-reminder-notice{font-size:15px;line-height:1.55;margin:12px 0;overflow-wrap:break-word}
.moment-reminder-notice:empty{display:none}
.moment-reminder-notice.is-error{color:#8a4532}
.moment-reminder-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px;margin-top:4px}
.moment-reminder-fields label{min-width:0;font-size:14px;font-weight:600}
.moment-reminder-fields input{display:block;box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:48px;margin-top:6px;padding:10px 8px;border:1px solid #ceb48d;border-radius:10px;color:var(--mm-ink);background:var(--mm-surface);font-family:var(--mm-sans);font-size:16px;-webkit-appearance:none;appearance:none}
.moment-reminder-fields input::-webkit-date-and-time-value{text-align:left}
.moment-reminder-summary,.moment-reminder-current-label{font-size:16px;font-weight:600;line-height:1.55;margin:18px 0!important}
.moment-reminder-dialog form>.moment-small{margin-top:12px!important}
.moment-reminder-dialog form>.moment-button{margin-top:18px;width:100%;min-height:48px}
.moment-reminder-summary:empty{display:none}
#moment-reminder-form>.moment-reminder-delete-action{margin-top:14px}
.moment-reminder-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.moment-reminder-details{border-top:1px solid var(--mm-line);margin-top:22px;padding-top:8px}
.moment-reminder-details summary{padding:12px 0;font-size:14px;min-height:44px;cursor:pointer;color:var(--mm-muted)}
.moment-reminder-details p{font-size:14px;color:var(--mm-muted);line-height:1.6;margin:10px 0!important}
@media(max-width:359px){.moment-reminder-fields{grid-template-columns:1fr}.moment-reminder-thought{gap:12px;padding:12px}.moment-reminder-thought strong{font-size:21px}}

/* Keep the image disclosure directly below the picture, before its open action. */
.moment-thought-cover>.moment-media-note{display:block;margin:5px 0 0!important;font-weight:400}

/* The personal message is the third main card, in the practice's warm palette. */
.moment-future-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);align-items:center;gap:30px;min-width:0;min-height:260px;padding:32px;border:1px solid var(--mm-line);border-radius:var(--mm-radius);background:radial-gradient(ellipse at 100% 0%,#e5c68b55,transparent 65%),linear-gradient(135deg,#fcf7ec,#f2e6d0);box-shadow:0 9px 26px #3a2a1708}
.moment-future-card-copy,.moment-future-card-actions{min-width:0}
.moment-future-card .moment-card-kicker{font-size:11px;letter-spacing:1.4px;line-height:1.5;color:#89500b}
.moment-future-card h2{font-family:var(--mm-serif);font-size:42px;line-height:1.16;font-weight:400;letter-spacing:-1px;margin:20px 0 14px;overflow-wrap:break-word}
.moment-future-card-copy>p{max-width:34em;font-size:16px;line-height:1.65;color:var(--mm-muted);overflow-wrap:anywhere}
.moment-future-card-actions{justify-self:end;max-width:290px}
.moment-future-card .moment-button{min-height:48px;max-width:100%;gap:22px;justify-content:space-between}
.moment-future-card-footnote{margin-top:12px!important;max-width:25em;font-size:14px;line-height:1.55;color:var(--mm-muted)}
@media(max-width:700px){
 .moment-future-card{grid-template-columns:minmax(0,1fr);min-height:310px;padding:27px;gap:25px}
 .moment-future-card h2{font-size:35px;margin-top:20px}
 .moment-future-card-copy>p{font-size:15px;line-height:1.6}
 .moment-future-card-actions{justify-self:start;max-width:100%}
}
@media(max-width:379px){.moment-future-card{padding:22px}.moment-future-card h2{font-size:32px}.moment-future-card .moment-card-kicker{font-size:10px;letter-spacing:1px}}
.moment-future-dialog{max-width:540px}.moment-future-modes,.moment-future-actions,.moment-future-record-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}
.moment-future-modes>button{flex:1}.moment-future-modes [aria-pressed=true]{background:var(--mm-tint);border-color:var(--mm-accent)}
.moment-future-dialog textarea{display:block;width:100%;min-height:150px;margin-top:8px;padding:14px;border:1px solid var(--mm-line);border-radius:12px;background:var(--mm-surface);color:var(--mm-ink);font:inherit;font-size:16px;resize:vertical}
.moment-future-dialog label{display:block;font-size:14px}.moment-future-dialog audio{display:block;width:100%;margin:10px 0 18px}
.moment-future-record-row output{font-size:22px;font-variant-numeric:tabular-nums}.moment-future-message{font-family:var(--mm-serif);font-size:25px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:22px 0!important}
.moment-future-privacy{margin-top:12px!important}.moment-future-confirm{background:var(--mm-tint);padding:16px;border-radius:12px;margin:16px 0}.moment-future-confirm>button{margin:12px 10px 0 0}

/* Keep playback recovery next to the recording without crowding the message. */
#moment-future-audio-status:empty{display:none}#moment-future-audio-status{line-height:1.55;margin:12px 0!important}
#moment-future-reload-audio{margin:0 0 16px}#moment-future-when{margin:14px 0!important}

/* Keep the reminder's decision visible; supporting explanations are collapsible. */
.moment-reminder-thought.is-future{padding:8px 14px;margin-bottom:14px}
.moment-reminder-thought.is-future>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 14px;width:100%}
.moment-reminder-thought.is-future #moment-reminder-target-label{font-size:14px;font-weight:600;color:var(--mm-ink)}
.moment-reminder-thought.is-future .moment-text-button{min-height:44px;font-size:14px}
.moment-reminder-summary{font-size:15px;margin:14px 0!important}
#moment-reminder-info{margin-top:16px;padding-top:0}

/* A saved message keeps playback and one reminder action in the foreground. */
.moment-future-more summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;font-size:14px;color:var(--mm-muted);cursor:pointer;list-style:none}
.moment-future-more summary::-webkit-details-marker{display:none}
.moment-future-more summary::before{content:'+';font-size:18px;line-height:1}
.moment-future-more[open] summary::before{content:'−'}
.moment-future-more .moment-future-actions{align-items:flex-start;flex-direction:column;gap:0;margin:0 0 10px}
#moment-future-manage>.moment-future-actions{margin:16px 0 0}
#moment-future-info{margin-top:14px;padding-top:0}
#moment-future-when{margin:0 0 14px!important}

/* A compact composer: clear mode selection, room to write, and preview before save. */
.moment-future-dialog>.moment-dialog-header h2{font-size:30px;line-height:1.2;letter-spacing:-.65px}
.moment-future-dialog>.moment-dialog-header h2:focus{outline:none}
.moment-future-dialog .moment-icon-button{background:var(--mm-surface)}
.moment-future-dialog .moment-dialog-intro{margin-bottom:16px!important}
.moment-future-modes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;padding:4px;margin:0 0 18px;border:1px solid var(--mm-line);border-radius:15px;background:var(--mm-tint)}
.moment-future-modes>.moment-button{min-width:0;min-height:46px;padding:10px 8px;gap:8px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--mm-muted)!important;font-size:15px;font-weight:600;box-shadow:none;transform:none}
.moment-future-modes>.moment-button:hover{background:#fffdf980;transform:none}
.moment-future-modes>.moment-button[aria-pressed=true]{background:var(--mm-surface);border-color:#ddc7a2;color:#89500b!important;box-shadow:0 2px 5px #342f2a0c}
.moment-future-modes>.moment-button svg{width:19px;height:19px}
.moment-future-label{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.moment-future-dialog textarea{min-height:174px;margin:0;padding:16px 18px;border:1px solid #ddcfb7;border-radius:16px;background:linear-gradient(160deg,#fffdf9,#fdfaf3);font-size:18px;line-height:1.6;scroll-margin-block:20px;box-shadow:0 2px 8px #342f2a04}
.moment-future-dialog textarea::placeholder{color:#7b7165;opacity:1}
.moment-future-dialog textarea:focus{border-color:#a96512;outline:2px solid #a96512;outline-offset:2px}
.moment-future-submit{flex-direction:column;gap:4px;margin:18px 0 8px}
.moment-future-submit>.moment-button{width:100%;min-height:52px;border-radius:14px;justify-content:space-between;padding:13px 18px;font-size:16px;font-weight:600}
.moment-future-submit>.moment-button:disabled{background:#e7dccb;color:#756855!important;opacity:1;box-shadow:none;transform:none}
.moment-future-submit>.moment-text-button{align-self:center}
.moment-future-voice-panel{text-align:center;padding:22px 16px 14px;border:1px solid var(--mm-line);border-radius:16px;background:linear-gradient(160deg,#fffdf9,#f4ecde)}
.moment-future-timer{display:flex;flex-direction:column;align-items:center;gap:3px}
.moment-future-timer output{font-size:38px;line-height:1.2;font-weight:500;letter-spacing:1px;font-variant-numeric:tabular-nums;color:var(--mm-ink)}
.moment-future-timer>span{font-size:13px;color:var(--mm-muted)}
.moment-future-voice-panel .moment-future-record-row{justify-content:center;margin:18px 0 0}
.moment-future-voice-panel .moment-button{min-height:48px;font-size:15px;max-width:100%}
.moment-future-voice-panel.is-recording{border-color:#a96512}
.moment-future-voice-panel.is-recording output{color:#89500b}
#moment-future-retry-record{margin-top:6px}
#moment-future-player{padding:16px;margin:16px 0 0;border:1px solid var(--mm-line);border-radius:16px;background:var(--mm-surface)}
#moment-future-player label{font-size:14px;font-weight:600}
#moment-future-player audio{margin:10px 0 0}
#moment-future-reload-audio{margin:0;min-height:44px}
.moment-future-privacy{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px!important}
.moment-future-privacy svg{width:14px;height:14px;stroke-width:1.7}
@media(max-width:700px){.moment-future-dialog>.moment-dialog-header h2{font-size:27px}.moment-future-dialog textarea{min-height:160px}.moment-future-dialog{scroll-padding-bottom:24px}}

/* A generous play/pause target alongside the native timeline and output controls. */
.moment-future-play{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:8px 12px;border:1px solid var(--mm-line);border-radius:14px;background:var(--mm-tint);color:var(--mm-ink);text-align:left}
.moment-future-play>span:last-child{font-size:16px;font-weight:600;line-height:1.4}
.moment-future-play:hover:not(:disabled){border-color:#ceb48d;background:#eee1ca}
.moment-future-play-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:none;border-radius:50%;background:var(--mm-accent);color:var(--mm-surface)}
.moment-future-play-icon svg{width:24px;height:24px}
#moment-future-player audio{min-height:44px}

/* A confirmed reminder ends with a clear action and an explicit calendar date. */
.moment-reminder-dialog>.moment-dialog-header h2{font-size:28px;line-height:1.2;letter-spacing:-.6px}
.moment-reminder-dialog.is-confirmed .moment-reminder-current-label{font-size:23px;line-height:1.4;font-weight:600;margin:0 0 22px!important;overflow-wrap:break-word}
#moment-reminder-current>.moment-reminder-actions{align-items:flex-start;gap:12px 18px}
#moment-reminder-edit,#moment-reminder-delete{min-height:44px;font-size:14px}
#moment-reminder-delete{color:var(--mm-muted);padding-left:0;padding-right:0}
.moment-reminder-delete-action{min-width:0;flex:1 1 170px}
#moment-reminder-current-note{font-size:12px!important;line-height:1.45;margin:2px 0 0!important}
.moment-reminder-done{width:100%;min-height:52px;justify-content:center;gap:10px;margin-top:22px;font-size:16px!important;font-weight:600;border-radius:14px}
#moment-reminder-target-bottom .moment-reminder-thought{margin:14px 0 0;padding:8px 0;background:transparent;border-radius:0}
#moment-reminder-target-bottom .moment-reminder-thought strong{font-size:18px}
#moment-reminder-target-bottom .moment-reminder-thought img{width:44px;height:55px}
#moment-reminder-target-bottom .moment-reminder-thought .moment-text-button{font-size:14px}
@media(max-width:379px){.moment-reminder-dialog>.moment-dialog-header h2{font-size:25px}.moment-reminder-dialog.is-confirmed .moment-reminder-current-label{font-size:21px}}

/* Direct access to the three offers and a clear local-save confirmation. */
.moment-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px;max-width:560px}
.moment-shortcuts a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid var(--mm-line);border-radius:24px;background:var(--mm-surface);font-size:14px;font-weight:600;line-height:1.3;text-align:center}
.moment-shortcuts a:hover{background:var(--mm-tint);border-color:var(--mm-accent)}
#moment-breath-section,#moment-thought-section,#moment-future-section{scroll-margin-top:20px}
.moment-settings-data>summary{cursor:pointer;font-size:16px;font-weight:700;min-height:44px;line-height:1.5;padding:10px 0;list-style-position:inside}
.moment-settings-data[open]>summary{margin-bottom:12px}
.moment-future-saved-confirm{display:flex;align-items:center;gap:10px;padding:14px 16px;margin-bottom:20px!important;background:var(--mm-tint);border:1px solid var(--mm-line);border-radius:14px;color:#615222;font-size:17px;font-weight:600}
#moment-future-done{min-width:100px}
.moment-sentence .moment-section-top{align-items:flex-start}
.moment-sentence h3{line-height:1.4;padding-top:8px}
@media(max-width:419px){.moment-shortcuts{gap:6px;margin-bottom:20px}.moment-shortcuts a{font-size:12px;padding:8px 5px}.moment-sentence .moment-section-top{gap:12px}.moment-sentence h3{font-size:15px}}

/* iOS overlays its light status symbols; keep their small safe area readable. */
html[data-moment-ios-standalone="true"] body.moment-app::before{content:"";position:fixed;z-index:9999;top:0;left:0;right:0;height:env(safe-area-inset-top);background:#17343f;pointer-events:none;}
html[data-moment-breathing="active"],html[data-moment-breathing="active"] body.moment-app{background:var(--moment-breath-background,#17343f);}
html[data-moment-ios-standalone="true"] .moment-dialog{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);top:env(safe-area-inset-top);bottom:env(safe-area-inset-bottom);}

/* 1.0.297: choose the place before starting the breathing exercise. */
.moment-breath-content{min-height:480px;}
.moment-breath-card #moment-breath-description{max-width:none;margin:12px 0 22px;}
.moment-place-settings{width:100%;margin-bottom:22px;}
.moment-place-settings h3{font:600 15px/1.4 var(--mm-sans);margin:0 0 12px;color:#fff8e8;}
.moment-place-settings .place-visual-choice{width:100%;max-width:100%;}
.moment-breath-card .moment-place-settings .place-status{max-width:none;margin:10px 0 0;font-size:13px;}
.moment-breath-card .moment-place-settings .place-status:empty{display:none;}
.moment-place-settings .place-choice-meta{color:#f4ecde;}
.moment-place-settings .place-choice-meta button{color:#fff8e8;text-decoration:underline;text-underline-offset:3px;}
.moment-place-editing{overflow:hidden;}
#moment-breath-link[aria-disabled="true"]{opacity:.65;cursor:wait;}
@media(max-width:620px){.moment-breath-card h2{margin-top:24px;}.moment-place-settings{margin-bottom:20px;}}

/* 1.0.306: clearer message states and deliberate choices when leaving a draft. */
.moment-future-dialog #moment-future-content>div{min-width:0}
.moment-future-dialog .moment-future-main-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.moment-future-dialog .moment-future-main-actions>.moment-button{min-height:48px;flex:1 1 auto}
.moment-future-dialog .moment-future-reminder-state{padding:14px 16px;background:var(--mm-tint);border:1px solid var(--mm-line);border-radius:14px;font-size:14px;line-height:1.65;margin-top:18px;overflow-wrap:anywhere}
.moment-future-help-entry{margin:20px 0;padding:16px 0;border-top:1px solid var(--mm-line);border-bottom:1px solid var(--mm-line)}
.moment-future-help-entry>.moment-text-button{min-height:44px;font-weight:600}
.moment-future-help-entry>p{line-height:1.65;margin-top:4px!important}
#moment-future-draft-note,#moment-future-format-note,#moment-future-text-count{font-size:13px;line-height:1.6;margin-top:10px!important;color:var(--mm-muted)}
#moment-future-format-note{padding:10px 12px;background:var(--mm-tint);border-radius:10px}
#moment-future-confirm{margin-bottom:22px}
#moment-future-confirm h3{font-size:20px;line-height:1.35;margin-bottom:10px}
#moment-future-confirm p{font-size:15px;line-height:1.6}
#moment-future-confirm button{min-height:46px}
#moment-future-message-title{font-size:15px;font-weight:600;margin:20px 0 12px}
.moment-future-dialog .moment-future-label{position:static!important;display:block;width:auto;height:auto;margin:0 0 9px;padding:0;overflow:visible;clip-path:none;white-space:normal;font-size:14px;font-weight:600}
.moment-future-dialog :focus-visible{outline:3px solid var(--mm-accent);outline-offset:3px}
@media(max-width:420px){.moment-future-dialog .moment-future-main-actions{flex-direction:column;align-items:stretch}.moment-future-dialog .moment-future-privacy{align-items:flex-start;font-size:12px;line-height:1.5}.moment-future-dialog .moment-future-privacy svg{flex-shrink:0;margin-top:2px}}

/* 1.0.392: compact settings, direct destinations and optional detail at the end. */
#moment-settings{--mm-accent:#294842;max-width:540px;scroll-padding-top:90px;}
#moment-settings [hidden]{display:none!important;}
#moment-settings>.moment-dialog-header{margin-bottom:12px;}
#moment-settings-title{font-size:28px;line-height:1.2;letter-spacing:-.02em;}
#moment-settings-title:focus{outline:none;}
#moment-settings>.moment-settings-section{padding:15px 0;margin:0;}
#moment-settings>.moment-settings-section:first-of-type{padding-top:2px;}
#moment-settings .moment-settings-section>h3{font-size:13px;font-weight:500;line-height:1.5;letter-spacing:.02em;color:var(--mm-muted);margin:0 0 8px;}
#moment-settings .moment-settings-section>p{font-size:14px;line-height:1.5;margin:0;}
#moment-settings .moment-settings-sound{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
#moment-settings .moment-setting-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1 1 180px;min-height:48px;margin:0;cursor:pointer;}
#moment-settings .moment-setting-name{display:block;font-size:16px;line-height:1.4;font-weight:500;}
#moment-settings .moment-setting-hint{display:block;font-size:13px;line-height:1.5;color:var(--mm-muted);margin-top:2px;}
#moment-settings .moment-setting-switch input{
 appearance:none;-webkit-appearance:none;box-sizing:border-box;flex:0 0 44px;width:44px;height:26px;
 position:relative;border:1px solid #92978c;border-radius:20px;background:#d7d8cd;margin:0;padding:0;cursor:pointer;
}
#moment-settings .moment-setting-switch input::before{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fffdf7;box-shadow:0 1px 3px #293d3933;transition:transform .15s ease;}
#moment-settings .moment-setting-switch input:checked{background:var(--mm-accent);border-color:var(--mm-accent);}
#moment-settings .moment-setting-switch input:checked::before{transform:translateX(18px);}
#moment-settings .moment-text-button{font-size:14px;min-height:44px;padding:8px 0;}
#moment-settings #moment-book-sound-preview{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
#moment-settings #moment-book-sound-preview svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;}
#moment-settings #moment-book-sound-note{margin-top:8px;}
#moment-settings .moment-sentence{margin:0;padding:0;border:0;}
#moment-settings .moment-sentence .moment-section-top{align-items:center;flex-wrap:nowrap;gap:16px;}
#moment-settings #moment-sentence-heading{font-family:var(--mm-sans);font-size:16px;line-height:1.4;font-weight:500;margin:0;padding:0;}
#moment-settings .moment-sentence p{font-size:14px;line-height:1.5;margin:0;}
#moment-settings #moment-sentence-text{font-family:var(--mm-serif);font-size:18px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
#moment-settings #moment-sentence-note{margin-top:4px;}
#moment-settings .moment-settings-link{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:44px;padding:7px 0;border:0;background:transparent;color:var(--mm-ink);font:500 16px/1.4 var(--mm-sans);text-align:left;cursor:pointer;}
#moment-settings .moment-settings-link::after,#moment-settings .moment-settings-about>summary::after{content:'';flex:none;width:7px;height:7px;margin-right:3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);}
#moment-settings .moment-settings-about{padding:8px 0;margin:0;border-bottom:1px solid var(--mm-line);}
#moment-settings .moment-settings-about>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:4px 0;font-size:14px;line-height:1.5;font-weight:400;color:var(--mm-muted);cursor:pointer;list-style:none;}
#moment-settings .moment-settings-about>summary::-webkit-details-marker{display:none;}
#moment-settings .moment-settings-about[open]>summary::after{transform:rotate(45deg);}
#moment-settings .moment-settings-about p,#moment-settings #moment-settings-licenses{font-size:14px;line-height:1.55;color:var(--mm-muted);margin:10px 0;}
#moment-settings #moment-settings-licenses>summary{font-size:14px;line-height:1.5;min-height:44px;padding:10px 0;box-sizing:border-box;cursor:pointer;}
#moment-settings .moment-settings-bottom{padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;}
#moment-settings .moment-settings-bottom>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;}
#moment-settings #moment-settings-version{font-size:12px!important;line-height:1.5;margin:0;color:var(--mm-muted);white-space:pre-line;}
#moment-settings :focus-visible{outline:2px solid var(--mm-accent);outline-offset:3px;}
#moment-settings #moment-settings-title:focus-visible{outline:none;}
@media(prefers-reduced-motion:reduce){#moment-settings .moment-setting-switch input::before{transition:none;}}

/* One voice player for book entries and received recordings. */
.moment-audio-player{--audio-ink:#31574f;--audio-secondary:#526454;--audio-rule:#7a8873;margin:18px 0;min-width:0;max-width:100%}
.moment-audio-player>audio{display:block;width:100%;max-width:100%}
.moment-audio-controls{display:grid;gap:4px;padding:12px 14px;border:1px solid #c5cfc1;border-radius:14px;background:#f1f3ea;color:var(--audio-ink)}
:is(#moment-helps,#moment-mut) .moment-audio-toggle{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:0;padding:10px 12px;border:1px solid var(--audio-ink);border-radius:10px;background:transparent;color:var(--audio-ink);font:500 16px/1.4 var(--mm-sans);white-space:normal;text-align:center}
:is(#moment-helps,#moment-mut) .moment-audio-toggle svg{flex:none;width:24px;height:24px;fill:currentColor;stroke:none}
.moment-audio-toggle .moment-audio-pause,.moment-audio-toggle.is-playing .moment-audio-play{display:none}
.moment-audio-toggle.is-playing .moment-audio-pause{display:block}
:is(#moment-helps,#moment-mut) [data-audio-seek]{--audio-progress:0%;appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;min-height:44px;padding:0;margin:0;background:transparent;border:0;box-shadow:none;accent-color:var(--audio-ink);cursor:pointer}
[data-audio-seek]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--audio-ink) 0 var(--audio-progress),var(--audio-rule) var(--audio-progress) 100%)}
[data-audio-seek]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;margin-top:-9px;border:2px solid #f1f3ea;background:var(--audio-ink)}
[data-audio-seek]::-moz-range-track{height:4px;border-radius:4px;background:var(--audio-rule)}
[data-audio-seek]::-moz-range-progress{height:4px;background:var(--audio-ink)}
[data-audio-seek]::-moz-range-thumb{width:20px;height:20px;border:2px solid #f1f3ea;border-radius:50%;background:var(--audio-ink)}
.moment-audio-time{display:flex;justify-content:space-between;gap:12px;margin-top:-6px;font:400 14px/1.5 var(--mm-sans);font-variant-numeric:tabular-nums;color:var(--audio-secondary)}
:is(#moment-helps,#moment-mut) .moment-audio-status{font-size:14px;line-height:1.5;color:var(--audio-secondary);margin:10px 0 0}
.moment-audio-status:empty{display:none}
.moment-audio-player :focus-visible{outline:3px solid var(--audio-ink);outline-offset:3px}

/* The main action follows the content: breathe now, or keep it in the book. */
#moment-reader .moment-reader-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
#moment-reader .moment-reader-actions>.moment-button,#moment-reader-breathe{width:100%;min-height:52px;font-size:16px}
#moment-reader .moment-reader-breath{width:100%;margin:0;padding:0;border:0;background:transparent}
#moment-reader .moment-reader-breath>p{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--mm-muted)}
#moment-reader .moment-local-note{font-size:14px;line-height:1.5;margin:0!important}
#moment-reader-secondary:empty{display:none}
#moment-reader-selection .moment-text-button{justify-content:flex-start;text-align:left;min-height:44px;font-size:14px}
#moment-reader .moment-reader-more{width:100%;margin:0;padding-top:6px;border-top:1px solid var(--mm-line)}
#moment-reader .moment-reader-more>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;font-size:14px;list-style:none;color:var(--mm-muted)}
#moment-reader .moment-reader-more>summary::after{content:'+';font-size:20px}
#moment-reader .moment-reader-more[open]>summary::after{content:'−'}
#moment-reader .moment-reader-more>summary::-webkit-details-marker{display:none}
#moment-reader-saved{margin:0;font-size:14px}
#moment-reader-pin-note{margin-top:4px!important}
#moment-settings .moment-setting-hint,#moment-settings .moment-settings-section>p{font-size:14px}
@media(max-width:480px){#moment-reader .moment-reader-text{padding:20px}#moment-reader .moment-dialog-header{padding:12px 16px}}
html[data-moment-keyboard] .moment-dialog[open]:not(#moment-helps){top:calc(var(--moment-visible-top,0px) + env(safe-area-inset-top,0px) + 8px)!important;bottom:auto!important;max-height:calc(var(--moment-visible-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px)!important;margin-top:0!important;margin-bottom:0!important}

#moment-reader #moment-reader-saved,#moment-reader #moment-reader-original{font-size:14px}
