/* v13.9 Lunar Reminder Native Polish — exclusive to this screen.
   No card nesting. Uses shared breadcrumb/header/nav, Bai Jamjuree and Emerald tokens. */
:root,html[data-theme="light"]{
 --lunar-bg:rgba(252,255,252,.96);--lunar-ink:#183f35;--lunar-muted:#527468;
 --lunar-line:#cfe1d6;--lunar-soft:#e5f2e9;--lunar-accent:#096f57;
 --lunar-warn-bg:#fff7e8;--lunar-warn-ink:#795c25;--lunar-warn-line:#e9d9b9;
 --lunar-shadow:0 10px 28px rgba(9,67,47,.065);
}
html[data-theme="dark"]{
 --lunar-bg:rgba(12,55,46,.96);--lunar-ink:#f5f1df;--lunar-muted:#c1d9ce;
 --lunar-line:#3e6c5a;--lunar-soft:#1d5243;--lunar-accent:#ebd08a;
 --lunar-warn-bg:#453c29;--lunar-warn-ink:#efd89b;--lunar-warn-line:#77623a;
 --lunar-shadow:0 12px 32px rgba(0,0,0,.18);
}
body.lvg-lunar-page {font-family:'Bai Jamjuree',system-ui,sans-serif;overflow-x:clip}
body.lvg-lunar-page .lr-wrap{
 box-sizing:border-box!important;max-width:640px!important;width:min(100%,640px)!important;
 margin:0 auto!important;padding:0 0 calc(122px + env(safe-area-inset-bottom,0px))!important;
 color:var(--lunar-ink);font-family:'Bai Jamjuree',system-ui,sans-serif;
}
body.lvg-lunar-page .lr-hero{display:block;margin:6px 0 21px;padding:0!important;background:transparent;border:0;box-shadow:none}
body.lvg-lunar-page .lr-hero-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.lvg-lunar-page .lr-overline,body.lvg-lunar-page .lr-eyebrow{
 color:var(--lunar-accent);font:750 11px/1.5 'Bai Jamjuree',system-ui,sans-serif;letter-spacing:.105em}
body.lvg-lunar-page .lr-sync-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:40px;padding:6px 12px;border:1px solid var(--lunar-line);border-radius:12px;
 background:var(--lunar-bg);color:var(--lunar-accent);font:650 13px/1.4 'Bai Jamjuree',system-ui,sans-serif;text-decoration:none}
body.lvg-lunar-page .lr-hero h1{
 margin:11px 0 7px;font:750 clamp(24px,4.8vw,32px)/1.24 'Bai Jamjuree',system-ui,sans-serif;
 letter-spacing:-.035em;color:var(--lunar-ink)}
body.lvg-lunar-page .lr-hero h1 em{color:var(--lunar-accent);font-style:normal}
body.lvg-lunar-page .lr-hero>p{max-width:590px;margin:0;color:var(--lunar-muted);font:400 15px/1.65 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-hero-caption{display:inline-flex;align-items:center;gap:7px;margin-top:12px;
 color:var(--lunar-muted);font:600 12px/1.4 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-status{box-sizing:border-box;margin:0 0 12px;padding:10px 13px;
 color:var(--lunar-ink);border:1px solid var(--lunar-line);border-radius:12px;
 background:var(--lunar-soft);font:600 13px/1.5 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-status.error{color:#b43b30;border-color:#e3b8b0;background:#fff1ec}
html[data-theme="dark"] body.lvg-lunar-page .lr-status.error{background:#5b312d;color:#ffcfbf;border-color:#b26858}
body.lvg-lunar-page .lr-card{box-sizing:border-box;margin:0 0 12px!important;padding:17px!important;
 border:1px solid var(--lunar-line)!important;border-radius:18px!important;
 background:var(--lunar-bg)!important;box-shadow:var(--lunar-shadow)!important;color:var(--lunar-ink)}
body.lvg-lunar-page .lr-verification{display:flex;align-items:center;gap:12px;flex-wrap:wrap;
 border:1px solid var(--lunar-warn-line);border-radius:14px;
 background:var(--lunar-warn-bg);padding:13px 14px;margin:0 0 13px;color:var(--lunar-warn-ink)}
body.lvg-lunar-page .lr-verification[hidden]{display:none!important}
body.lvg-lunar-page .lr-verification-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;
 border-radius:10px;background:rgba(177,130,38,.1)}
body.lvg-lunar-page .lr-verification>span:nth-child(2){flex:1 1 220px;min-width:0}
body.lvg-lunar-page .lr-verification strong{display:block;font-size:14px;line-height:1.5}
body.lvg-lunar-page .lr-verification small{display:block;margin-top:2px;font-size:13px;line-height:1.55}
body.lvg-lunar-page .lr-verification a{color:inherit;font-weight:750;font-size:13px;text-decoration:underline;text-underline-offset:3px}
body.lvg-lunar-page .lr-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
 margin-bottom:12px}
body.lvg-lunar-page .lr-list-card h2{display:flex;align-items:center;gap:9px;flex-wrap:wrap;
 margin:4px 0 0;font:700 19px/1.4 'Bai Jamjuree',system-ui,sans-serif;color:var(--lunar-ink)}
body.lvg-lunar-page .lr-count{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;
 border-radius:99px;background:var(--lunar-soft);color:var(--lunar-accent);font:700 12px/1.3 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-new-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;
 border:1px solid var(--lunar-accent);border-radius:11px;min-height:44px;padding:10px 12px;
 font:700 13px/1.35 'Bai Jamjuree',system-ui,sans-serif;cursor:pointer;
 color:#fff;background:#0b6f58;white-space:nowrap}
html[data-theme="dark"] body.lvg-lunar-page .lr-new-btn{color:#132e26;background:#e8d18c;border-color:#e8d18c}
body.lvg-lunar-page .lr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;
 padding:22px 12px 19px;text-align:center;border-top:1px solid var(--lunar-line)}
body.lvg-lunar-page .lr-empty-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:11px;
 background:var(--lunar-soft);border-radius:14px;color:var(--lunar-accent)}
body.lvg-lunar-page .lr-empty strong{font:700 15px/1.5 'Bai Jamjuree',system-ui,sans-serif;color:var(--lunar-ink)}
body.lvg-lunar-page .lr-empty p{margin:4px 0 0;font:400 13px/1.55 'Bai Jamjuree',system-ui,sans-serif;color:var(--lunar-muted)}
body.lvg-lunar-page .lr-editor{padding:0!important;overflow:clip}
body.lvg-lunar-page .lr-editor>summary,body.lvg-lunar-page .lr-notes>summary{
 display:flex;align-items:center;gap:11px;min-height:70px;padding:13px 16px;
 cursor:pointer;list-style:none;color:var(--lunar-ink);font-family:'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-editor>summary::-webkit-details-marker,body.lvg-lunar-page .lr-notes>summary::-webkit-details-marker{display:none}
body.lvg-lunar-page .lr-editor>summary::marker,body.lvg-lunar-page .lr-notes>summary::marker{content:''}
body.lvg-lunar-page .lr-editor-marker,body.lvg-lunar-page .lr-notes-icon{display:grid;place-items:center;
 flex:0 0 38px;width:38px;height:38px;color:var(--lunar-accent);background:var(--lunar-soft);border-radius:11px}
body.lvg-lunar-page .lr-editor-heading{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
body.lvg-lunar-page .lr-editor-heading strong,body.lvg-lunar-page .lr-notes>summary strong{
 color:var(--lunar-ink);font:700 15px/1.4 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-editor-heading small{color:var(--lunar-muted);font:500 12.5px/1.4 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-editor-chevron,body.lvg-lunar-page .lr-notes-chevron{display:grid;place-items:center;
 flex:0 0 35px;height:40px;width:35px;color:var(--lunar-accent);margin-left:auto}
body.lvg-lunar-page .lr-editor-chevron svg,body.lvg-lunar-page .lr-notes-chevron svg{transition:transform .15s ease}
body.lvg-lunar-page .lr-editor[open] .lr-editor-chevron svg,body.lvg-lunar-page .lr-notes[open] .lr-notes-chevron svg{transform:rotate(180deg)}
body.lvg-lunar-page .lr-editor-body,body.lvg-lunar-page .lr-notes-body{margin:0 16px;padding:15px 0 18px;
 border-top:1px solid var(--lunar-line)}
body.lvg-lunar-page .lr-editor label{display:block;font:650 13px/1.5 'Bai Jamjuree',system-ui,sans-serif;
 color:var(--lunar-ink);margin:11px 0 6px}
body.lvg-lunar-page .lr-editor label>span[aria-hidden]{color:#b44b31}
body.lvg-lunar-page .lr-editor input:not([type=checkbox]),body.lvg-lunar-page .lr-editor select{
 width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--lunar-line);
 border-radius:11px;background:var(--lunar-bg);color:var(--lunar-ink);
 font:500 14px/1.4 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-editor input:focus-visible,body.lvg-lunar-page .lr-editor select:focus-visible,
body.lvg-lunar-page :is(button,a,summary):focus-visible{outline:3px solid var(--lunar-accent)!important;outline-offset:2px!important}
body.lvg-lunar-page .lr-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.lvg-lunar-page .lr-checks{display:flex;flex-wrap:wrap;gap:7px 17px;margin:16px 0 10px;
 padding:12px 0 0;border:0;border-top:1px solid var(--lunar-line);border-radius:0;background:transparent}
body.lvg-lunar-page .lr-checks legend{font:700 13px/1.5 'Bai Jamjuree',system-ui,sans-serif;
 color:var(--lunar-ink);padding-right:8px}
body.lvg-lunar-page .lr-checks label{display:inline-flex;align-items:center;gap:8px;margin:3px 0;
 min-height:36px;font:600 13px/1.4 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-checks input{width:19px;height:19px;accent-color:#0e7459;flex:none}
body.lvg-lunar-page .lr-checks input:disabled+span{opacity:.65}
body.lvg-lunar-page .lr-checks .lr-enabled{margin-left:auto}
body.lvg-lunar-page .lr-hint{margin:10px 0 14px;font:400 12.5px/1.6 'Bai Jamjuree',system-ui,sans-serif;
 color:var(--lunar-muted)}
body.lvg-lunar-page .lr-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
body.lvg-lunar-page .lr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 padding:10px 15px;border-radius:11px;cursor:pointer;
 font:700 13px/1.4 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-primary{border:1px solid #0b6f58;background:#0b6f58;color:#fff}
body.lvg-lunar-page .lr-secondary{border:1px solid var(--lunar-line);background:var(--lunar-bg);color:var(--lunar-accent)}
body.lvg-lunar-page .lr-danger{border:1px solid #e5b7a9;background:#fff3f0;color:#a33e2c}
body.lvg-lunar-page .lr-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;
 padding:13px 0;border-top:1px solid var(--lunar-line);border-bottom:0}
body.lvg-lunar-page .lr-row>div:first-child{flex:1 1 auto;min-width:0}
body.lvg-lunar-page .lr-row strong{font:700 14px/1.5 'Bai Jamjuree',system-ui,sans-serif;color:var(--lunar-ink)}
body.lvg-lunar-page .lr-row small{color:var(--lunar-muted);font:400 12.5px/1.6 'Bai Jamjuree',system-ui,sans-serif;overflow-wrap:anywhere}
body.lvg-lunar-page .lr-row .lr-actions{flex:0 0 auto}
body.lvg-lunar-page .lr-row .lr-btn{min-height:40px;font-size:12.5px;padding:8px 10px}
body.lvg-lunar-page .lr-notes{padding:0!important}
body.lvg-lunar-page .lr-notes>summary{min-height:63px}
body.lvg-lunar-page .lr-notes-body p{margin:0 0 12px;color:var(--lunar-muted);font:400 13.5px/1.7 'Bai Jamjuree',system-ui,sans-serif}
body.lvg-lunar-page .lr-notes-body p:last-child{margin-bottom:0}
body.lvg-lunar-page #lr-content[hidden],body.lvg-lunar-page #lr-guest[hidden],body.lvg-lunar-page #lr-status[hidden],
body.lvg-lunar-page #lr-annual[hidden]{display:none!important}
@media(max-width:680px){body.lvg-lunar-page .lr-wrap{width:calc(100% - 20px)!important}}
@media(max-width:440px){
 body.lvg-lunar-page .lr-wrap{width:calc(100% - 16px)!important}
 body.lvg-lunar-page .lr-card{padding:14px!important}
 body.lvg-lunar-page .lr-hero{margin:4px 0 17px}
 body.lvg-lunar-page .lr-hero h1{font-size:26px}
 body.lvg-lunar-page .lr-hero-top{gap:7px}
 body.lvg-lunar-page .lr-list-card h2{font-size:17px}
 body.lvg-lunar-page .lr-new-btn{width:100%}
 body.lvg-lunar-page .lr-editor{padding:0!important}
 body.lvg-lunar-page .lr-editor>summary,body.lvg-lunar-page .lr-notes>summary{padding:12px 13px;min-height:67px;gap:8px}
 body.lvg-lunar-page .lr-editor-body,body.lvg-lunar-page .lr-notes-body{margin-inline:13px}
 body.lvg-lunar-page .lr-editor-heading small{font-size:12px}
 body.lvg-lunar-page .lr-columns{grid-template-columns:1fr}
 body.lvg-lunar-page .lr-row{flex-direction:column;align-items:stretch}
 body.lvg-lunar-page .lr-row .lr-actions{width:100%}
 body.lvg-lunar-page .lr-checks .lr-enabled{margin-left:0}
}
@media(prefers-reduced-motion:reduce){body.lvg-lunar-page .lr-editor-chevron svg,body.lvg-lunar-page .lr-notes-chevron svg{transition:none}}
