/* EatPlan points front-end (v0.2.0) */
.eppl-toast{position:fixed;left:50%;bottom:calc(var(--eppl-bottom-offset, 72px) + 12px + env(safe-area-inset-bottom));transform:translate(-50%,20px);max-width:88vw;padding:10px 16px;border-radius:999px;background:rgba(28,60,48,.92);color:#fff;font-size:15px;line-height:1.4;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:100000;text-align:center}
.eppl-toast.is-on{opacity:1;transform:translate(-50%,0)}
.eppl-prompt{position:fixed;left:12px;right:12px;bottom:calc(var(--eppl-bottom-offset, 0px) + 12px + env(safe-area-inset-bottom));display:flex;gap:10px;align-items:center;justify-content:center;padding:10px 14px;border-radius:14px;background:#fff;color:#1c3c30;box-shadow:0 6px 24px rgba(28,60,48,.15);font-size:14px;z-index:99999;max-width:560px;margin:0 auto}
.eppl-prompt a{font-weight:600;color:#2f7d5b;text-decoration:underline}
.eppl-prompt button{border:0;background:none;font-size:20px;line-height:1;color:#7a8a83;padding:0 4px;cursor:pointer}
.eppl-share{margin:28px 0;text-align:center}
.eppl-share-btn{display:inline-block;border:0;border-radius:999px;padding:10px 22px;background:#2f7d5b;color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.eppl-share-btn[disabled]{opacity:.6}
.eppl-share-note{margin:8px 0 0;font-size:13px;color:#5c6f67}
.eppl-my-points .eppl-card-title{font-size:18px;margin:0 0 6px}
.eppl-balance{margin:4px 0 2px}.eppl-balance strong{font-size:34px;line-height:1.1;color:#2f7d5b}
.eppl-muted{color:#5c6f67;font-size:13px;margin:4px 0}
.eppl-rule{font-size:12px;color:#5c6f67;margin:8px 0}
.eppl-sub{font-size:15px;margin:12px 0 6px}
.eppl-ledger{list-style:none;margin:0;padding:0}
.eppl-ledger-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.eppl-ledger-col{display:flex;flex-direction:column;min-width:0}
.eppl-ledger-what{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.eppl-ledger-when{color:#8a9a93;font-size:12px}
.eppl-ledger-pts{font-size:13px;color:#8a9a93;white-space:nowrap}.eppl-ledger-pts.is-plus{color:#2f7d5b;font-size:15px}
.eppl-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.eppl-notice{padding:10px 12px;border-radius:12px;font-size:14px;margin:8px 0}
.eppl-notice-ok{background:#e6f4ec;color:#1f5f43}.eppl-notice-warn{background:#fff4e0;color:#7a4b00}
.eppl-notice button{margin-left:8px}
.eppl-shell{box-sizing:border-box;width:min(100%,620px);margin:0 auto;padding:max(16px,env(safe-area-inset-top)) 0 calc(96px + env(safe-area-inset-bottom))}
.eppl-account-page{background:#e7f1ed;min-height:100vh}
.eppl-title{font-size:22px;margin:4px 0 8px}
.eppl-tabs{display:flex;gap:6px;margin-bottom:14px}
.eppl-tabs a{flex:1;text-align:center;padding:8px 0;border-radius:999px;background:#eef4f1;color:#1c3c30;font-weight:600;text-decoration:none}
.eppl-tabs a.active{background:#2f7d5b;color:#fff}
.eppl-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.eppl-copy{position:fixed;left:12px;right:12px;bottom:calc(var(--eppl-bottom-offset, 0px) + 12px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;padding:14px;border-radius:14px;background:#fff;color:#1c3c30;box-shadow:0 6px 24px rgba(28,60,48,.18);z-index:100000;font-size:14px}
.eppl-copy p{margin:0 0 8px}
.eppl-copy input{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #cfdcd5;border-radius:10px;font-size:14px;color:#1c3c30;background:#f7faf8}
.eppl-copy button{margin-top:10px;border:0;border-radius:10px;padding:8px 16px;background:#2f7d5b;color:#fff;font-weight:600}
.eppl-backbar{position:sticky;top:0;z-index:100001;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:#e7f1ed;box-shadow:0 1px 0 rgba(28,60,48,.08)}
.eppl-backbar button{border:0;background:none;color:#2f7d5b;font-weight:600;font-size:15px;padding:4px 2px;cursor:pointer}
/* v0.2.3: in-app (AppKit frame) article view uses the app's CJK-first font stack and calmer headings */
html.eppl-in-app{--eppl-font:system-ui,-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Noto Sans SC","Noto Sans CJK SC","Source Han Sans SC","Microsoft YaHei","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--theme-font-family:var(--eppl-font);--ep-font-body:var(--eppl-font);--ep-font-ui:var(--eppl-font)}
html.eppl-in-app body,html.eppl-in-app body :where(h1,h2,h3,h4,h5,h6,p,a,span,strong,em,li,time,label,input,button,select,textarea,div,figcaption,blockquote,td,th){font-family:var(--eppl-font)!important}
html.eppl-in-app body{font-size:17px;line-height:1.8}
html.eppl-in-app :where(h1,h2,h3,h4,h5,h6){font-weight:600!important;letter-spacing:0!important;line-height:1.4!important}
html.eppl-in-app .entry-header h1,html.eppl-in-app h1.page-title{font-size:24px!important}
html.eppl-in-app .entry-meta,html.eppl-in-app .entry-meta *,html.eppl-in-app time{text-transform:none!important;letter-spacing:0!important}
/* [0.2.6] account form on the website theme page (no AppKit bootstrap there) */
.eppl-account{box-sizing:border-box;max-width:480px;margin:0 auto 32px;padding:20px;border:1px solid #dce8e2;border-radius:16px;background:#fff}
.eppl-account .eppl-form .form-label{display:block;margin:0 0 6px;font-size:14px;font-weight:600;color:#1c3c30}
.eppl-account .eppl-form .form-control{display:block;width:100%;box-sizing:border-box;min-height:44px;margin:0 0 14px;padding:10px 12px;border:1px solid #cfdcd5;border-radius:10px;font-size:16px;background:#f7faf8;color:#1c3c30}
.eppl-account .eppl-form .btn{display:block;width:100%;min-height:46px;border:0;border-radius:12px;background:#2f7d5b;color:#fff;font-size:16px;font-weight:600;cursor:pointer}
.eppl-account .eppl-title{font-size:20px;margin:6px 0 4px}
/* [0.2.11] login nudge slides out of the way while reading (eppl-article.js) */
.eppl-prompt{transition:transform .25s ease,opacity .25s ease}
.eppl-prompt.eppl-prompt--away{transform:translateY(calc(100% + 24px + env(safe-area-inset-bottom)));opacity:0;pointer-events:none}
@media (prefers-reduced-motion:reduce){.eppl-prompt{transition:none}}
