/* css/journal-v2.v001.css */
/* Source date toolbar only; remaining Journal rows migrate separately. */
html[data-lunora-ui="2"] .v2-journal{padding-top:12px;}
html[data-lunora-ui="2"] .v2-journal .journal-switcher{display:flex;align-items:center;gap:4px;width:100%;min-height:48px;height:54px;padding:6px;margin:0 0 16px;border:0;border-radius:14px;background:var(--lunora-surface);box-shadow:none;box-sizing:border-box;}
html[data-lunora-ui="2"] .v2-journal .day-nav-btn{display:flex;align-items:center;justify-content:center;flex:0 0 35.276px;width:35.276px;min-width:35.276px;height:36px;min-height:36px;padding:8px 7px 8px 8px;margin:0;border:0;border-radius:10px;background:none;box-shadow:none;}
html[data-lunora-ui="2"] .v2-journal #journalDay{display:flex;align-items:center;justify-content:center;flex:1;gap:8px;min-width:0;height:42px;min-height:36px;padding:10px 16px;border:0;border-radius:0;background:none;color:var(--lunora-text);font:700 14px/22px Inter,sans-serif;box-shadow:none;}
html[data-lunora-ui="2"] .v2-journal #journalDayLabel{font:inherit;white-space:nowrap;}
html[data-lunora-ui="2"] .v2-journal .day-nav-btn:disabled{opacity:.4;cursor:default;}
html[data-lunora-ui="2"] .v2-journal .journal-switcher button:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:1px;}

html[data-lunora-ui="2"] .v2-journal-categories{display:flex;flex-wrap:nowrap;gap:8px;height:36px;overflow-x:auto;margin:0 0 16px;padding:0;scrollbar-width:none;}
html[data-lunora-ui="2"] .v2-journal-categories>button{flex:none;display:flex;align-items:center;justify-content:center;height:36px;padding:0 16px;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-muted);font:700 13px/17px Inter,sans-serif;white-space:nowrap;}
html[data-lunora-ui="2"] .v2-journal-categories>button[aria-pressed=true]{background:var(--lunora-primary);color:white;}
.v2-journal-extra{padding:16px;}.v2-journal-extra h3{font:500 16px/22px Inter,sans-serif;margin:0 0 4px;}.v2-journal-extra p{font:400 13px/18px Inter,sans-serif;margin:0;}.v2-journal-extra button{margin-top:8px;border:0;border-radius:8px;padding:8px 12px;color:var(--lunora-primary);background:var(--lunora-field);}.v2-journal-data-state{padding:16px;color:var(--lunora-muted);}

html[data-lunora-ui="2"] .v2-journal .journal-list{display:flex;flex-direction:column;gap:12px;}
.v2-journal-date{font:600 13px/17px Inter,sans-serif;margin:0;color:var(--lunora-muted);}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card{padding:16px;margin:0;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stats-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat{display:flex;flex-direction:row;align-items:center;gap:10px;height:52px;margin:0;padding:0;min-width:0;text-align:left;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-icon{display:flex;flex:none;width:32px;height:32px;background:none;border-radius:8px;padding:0;margin:0;}
html[data-lunora-ui="2"] .v2-journal .v2-stat-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-value{margin:0;padding:0;font:700 18px/24px Inter,sans-serif;color:var(--lunora-text);}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat:nth-child(3) .stat-value{font-size:14px;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-label{margin:0;padding:0;font:400 11px/14px Inter,sans-serif;color:var(--lunora-muted);}
html[data-lunora-ui="2"] .v2-journal .journal-item{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;margin:0;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none;}
html[data-lunora-ui="2"] .v2-journal .journal-item .journal-icon{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;margin:0;border-radius:10px;}
html[data-lunora-ui="2"] .v2-journal .journal-icon[data-source-icon]{background:none;}
html[data-lunora-ui="2"] .v2-journal .journal-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;}
html[data-lunora-ui="2"] .v2-journal .journal-label{font:500 16px/22px Inter,sans-serif;color:var(--lunora-text);}
html[data-lunora-ui="2"] .v2-journal .journal-subline{font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted);}
html[data-lunora-ui="2"] .v2-journal .journal-item-chevron{flex:none;width:13px;}

html[data-lunora-ui="2"] .v2-journal .journal-subline{margin-top:0;}

html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-label{text-transform:none;letter-spacing:0;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-sub{font:400 18px/24px Inter,sans-serif;color:var(--lunora-text);}
html[data-lunora-ui="2"] .v2-journal .journal-wake-window{display:flex;align-items:center;gap:8px;min-height:24px;margin:0;padding:0 4px;}
html[data-lunora-ui="2"] .v2-journal .wake-window-line{flex:1;min-width:0;height:1px;background:rgba(100,90,180,.1);}
html[data-lunora-ui="2"] .v2-journal .wake-window-badge{flex:none;min-height:24px;box-sizing:border-box;padding:5px 10px 5px 11px;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-muted);font:700 12px/18px Inter,sans-serif;}
html[data-lunora-ui="2"] .v2-journal .journal-note{white-space:pre-wrap;overflow-wrap:anywhere;}

#journalPdfSection{margin-top:20px}
#journalPdfSection[hidden]{display:none!important}
.journal-pdf-title{display:flex;align-items:center;gap:12px;margin:0 0 12px;color:var(--lunora-muted);font:500 12px/16px Inter,sans-serif;text-align:center;text-transform:uppercase}
.journal-pdf-title::before,.journal-pdf-title::after{content:"";flex:1;min-width:8px;height:1px;background:currentColor;opacity:.19}
html[data-lunora-ui="2"]{--lunora-navigation-icon:#797281}
html[data-lunora-ui="2"][data-theme="dark"]{--lunora-navigation-icon:#b8b1c6}
#btnDownloadPdf .journal-pdf-file{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex:none;background:#fbe8e9;color:#aa3340;--pdf-letter-ink:#fff}
[data-theme=dark] #btnDownloadPdf .journal-pdf-file{background:#492b35;color:#f8a7af;--pdf-letter-ink:#492b35}
#btnDownloadPdf .journal-pdf-file svg{display:block;width:25px;height:25px}
#btnDownloadPdf .journal-pdf-download{display:block;width:18px;height:18px;margin-inline-start:auto;flex:none;background-color:var(--lunora-navigation-icon);-webkit-mask:url(../assets/journal/light-download.svg) center / contain no-repeat;mask:url(../assets/journal/light-download.svg) center / contain no-repeat}
#btnDownloadPdf .journal-pdf-download img{visibility:hidden}
html[data-lunora-ui="2"] .v2-journal #btnDownloadPdf{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:64px;height:auto;margin:0;padding:12px;border:0;border-radius:16px;background:var(--lunora-surface);color:var(--lunora-text);font:500 16px/22px Inter,sans-serif;text-align:start;box-shadow:none;}
html[data-lunora-ui="2"] .v2-journal #btnDownloadPdf:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}
html[data-lunora-ui="2"] .v2-journal #btnDownloadPdf.premium-locked::after{content:none;}
html[data-lunora-ui="2"] .v2-journal #btnDownloadPdf .pdf-lock-badge{position:static;transform:none;padding:2px 6px;border-radius:6px;color:var(--lunora-muted);background:var(--surface);font-size:10px;font-weight:500;}
html[data-lunora-ui="2"] .v2-journal #btnDownloadPdf[hidden]{display:none;}

.v2-measure-filters{margin:-8px 0 20px;display:flex;flex-direction:column;gap:8px;}
.v2-measure-filters h2{font:500 13px/18px Inter,sans-serif;color:var(--lunora-muted);margin:0;}
.v2-measure-options{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;}
.v2-measure-options button{flex:none;height:36px;padding:0 16px;border:0;border-radius:8px;font:600 13px/16px Inter,sans-serif;background:var(--lunora-surface);color:#736b94;}
.v2-measure-options button[aria-pressed=true]{background:#ebe6f7;color:#735fc3;}
:root[data-theme=dark] .v2-measure-options button{color:var(--lunora-muted);}
:root[data-theme=dark] .v2-measure-options button[aria-pressed=true]{background:var(--lunora-nav-active);color:var(--lunora-nav-ink);}
.v2-journal .v2-measure-card{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;border-radius:16px;background:var(--lunora-surface);}
.v2-measure-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:10px;background:#ebe6f7;}
.v2-measure-icon .asset-dark{display:none;} :root[data-theme=dark] .v2-measure-icon .asset-light{display:none;} :root[data-theme=dark] .v2-measure-icon .asset-dark{display:block;}
:root[data-theme=dark] .v2-measure-icon{background:#3c3456;}
.v2-measure-text{display:flex;flex-direction:column;gap:2px;}
.v2-journal .v2-measure-text h3{font:500 16px/22px Inter,sans-serif;margin:0;}
.v2-journal .v2-measure-text p{font:400 13px/18px Inter,sans-serif;margin:0;color:var(--lunora-muted);}

.v2-food-filters{display:flex;flex-direction:column;gap:8px;margin:-8px 0 16px;}
.v2-food-heading{display:flex;align-items:center;gap:8px;}
.v2-food-heading h2{margin:0;font:500 13px/18px Inter,sans-serif;color:var(--lunora-muted);}
.v2-food-help{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:none;color:var(--lunora-primary);font-size:18px;}
.v2-food-options{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;}
.v2-food-options button{height:36px;flex:none;padding:0 14px;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-muted);font:500 13px/16px Inter,sans-serif;}
.v2-food-options button[aria-pressed=true]{background:var(--lunora-primary);color:white;}
.v2-food-count{margin:0;font:400 12px/17px Inter,sans-serif;color:var(--lunora-muted);}

.v2-measure-icon[data-native-icon]{background:none;}

.v2-journal .v2-food-card{display:flex;align-items:center;gap:12px;height:64px;padding:12px;box-sizing:border-box;border-radius:16px;background:var(--lunora-surface);cursor:pointer;}
.v2-food-card>.lunora-asset:first-child,.v2-food-generic{flex:none;width:40px;height:40px;}
.v2-food-generic{display:flex;align-items:center;justify-content:center;border-radius:10px;background:#fff1d6;}
.v2-food-generic .asset-dark{display:none;} :root[data-theme=dark] .v2-food-generic .asset-dark{display:block;} :root[data-theme=dark] .v2-food-generic .asset-light{display:none;} :root[data-theme=dark] .v2-food-generic{background:#493d2d;}
.v2-food-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}
.v2-journal .v2-food-text h3{font:500 16px/22px Inter,sans-serif;height:18px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.v2-journal .v2-food-reaction{display:flex;gap:6px;align-items:center;font:400 13px/18px Inter,sans-serif;height:18px;margin:0;color:var(--lunora-muted);}
.v2-food-reaction[data-reaction="1"] .v2-food-reaction-value{color:#286f4a;}.v2-food-reaction[data-reaction="2"] .v2-food-reaction-value{color:#95600c;}.v2-food-reaction[data-reaction="3"] .v2-food-reaction-value{color:#88618b;}.v2-food-reaction[data-reaction="allergy"] .v2-food-reaction-value{color:#ca475b;}
:root[data-theme=dark] .v2-food-reaction[data-reaction="1"] .v2-food-reaction-value{color:#8ab8a2;}:root[data-theme=dark] .v2-food-reaction[data-reaction="2"] .v2-food-reaction-value{color:#d7b280;}:root[data-theme=dark] .v2-food-reaction[data-reaction="3"] .v2-food-reaction-value{color:#bba5bd;}:root[data-theme=dark] .v2-food-reaction[data-reaction="allergy"] .v2-food-reaction-value{color:#e196a2;}


/* Journal Care secondary filters, Figma1303:50211. */
.v2-care-filters{display:flex;flex-direction:column;gap:8px;margin:-8px 0 16px;}
.v2-care-filters h2{margin:0;font:400 12px/16px Inter,sans-serif;letter-spacing:0;color:#706979;}
:root[data-theme=dark] .v2-care-filters h2{color:var(--lunora-muted);}
.v2-care-options{display:flex;align-items:flex-start;gap:8px;height:36px;overflow-x:auto;scrollbar-width:none;}
.v2-care-options button{display:flex;align-items:center;justify-content:center;flex:none;height:36px;padding:0 16px;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-muted);font:700 13px/17px Inter,sans-serif;letter-spacing:0;white-space:nowrap;}
.v2-care-options button[aria-pressed=true]{background:var(--lunora-primary);color:#fff;}

:root[lang^=ru] .v2-care-options [data-care-type=all]{width:55px;}
:root[lang^=ru] .v2-care-options [data-care-type=feeding]{width:104px;}
:root[lang^=ru] .v2-care-options [data-care-type=toilet]{width:75px;}
:root[lang^=ru] .v2-care-options [data-care-type=diaper]{width:109px;}

/* Reuse the owner's existing chest glyph unchanged in the Journal's40px slot. */
.v2-measure-icon[data-native-icon=chest]{background:#f9efdd;}
:root[data-theme=dark] .v2-measure-icon[data-native-icon=chest]{background:#363037;}

.v2-journal .v2-journal-base-empty{text-align:center;color:var(--lunora-muted);padding:28px;}

/* Source1698:18577/light and1698:19084/dark:218px for five22px rows. */
html[data-lunora-ui="2"] .v2-journal .journal-summary-card{padding:16px;border-radius:16px;min-height:0;overflow:clip;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stats-grid{display:flex;flex-direction:column;gap:19px;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat{position:relative;display:flex;flex-direction:row;align-items:center;gap:8px;height:auto;min-height:22px;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat+.stat:before{content:'';position:absolute;left:0;right:0;top:-10px;height:1px;background:#e2dcf5;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;border-radius:0;background:none!important;}
.jsr-asset{display:flex;align-items:center;justify-content:center;width:20px;height:20px;}
.jsr-asset img{display:block;max-width:none;flex:none;}
.jsr-asset .asset-dark{display:none;}
html[data-theme=dark] .jsr-asset .asset-light{display:none;}html[data-theme=dark] .jsr-asset .asset-dark{display:block;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-label{flex:1;min-width:0;white-space:normal;font:400 14px/20px Inter,sans-serif;text-align:left;overflow-wrap:anywhere;}
html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat-value,html[data-lunora-ui="2"] .v2-journal .journal-summary-card .stat:nth-child(3) .stat-value{flex:0 0 auto;white-space:nowrap;text-align:right;font:500 16px/22px Inter,sans-serif;}
html[data-theme=dark][data-lunora-ui="2"] .v2-journal .journal-summary-card .stat+.stat:before{background:#423b56;}

.v2-food-help{width:32px;height:32px;flex:none;border-radius:16px}.v2-food-help>.lunora-asset,.v2-food-help img{width:17px;height:17px}
html[data-lunora-ui="2"] .v2-journal .v2-journal-empty{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;border-radius:16px;background:var(--lunora-surface);text-align:left;color:var(--lunora-muted);box-sizing:border-box}
.v2-journal-empty-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--lunora-field)}
.v2-journal-empty-icon>.lunora-asset,.v2-journal-empty-icon img{width:24px;height:24px}.v2-journal-empty p{margin:0;font:400 14px/20px Inter,sans-serif}


.v2-food-generic[data-catalog-food] {background:var(--journal-food-light);}
:root[data-theme=dark] .v2-food-generic[data-catalog-food] {background:var(--journal-food-dark);}

/* css/measurement-editor-v2.v001.css */

.v2-measure-editor{position:fixed;inset:0;z-index:1050;background:rgba(36,31,75,.32);padding:20px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;}
.v2-measure-sheet{width:390px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;display:flex;flex-direction:column;gap:24px;padding:20px;border-radius:20px;background:var(--lunora-surface);box-sizing:border-box;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;}
.v2-measure-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;}.v2-measure-header h2{font:500 20px/26px Inter,sans-serif;margin:0;color:var(--lunora-text);}
.v2-measure-close{position:relative;display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;background:none;padding:0;}.v2-measure-close::before{content:"";position:absolute;width:36px;height:36px;border-radius:10px;background:var(--lunora-field);}.v2-measure-close>span{position:relative;}
.v2-measure-body{display:flex;flex-direction:column;gap:20px;}.v2-measure-hint{font:400 13px/17px Inter,sans-serif;color:var(--lunora-muted);margin:0;}.v2-measure-field{display:flex;flex-direction:column;gap:8px;}.v2-measure-field>span{font:500 12px/18px Inter,sans-serif;color:var(--lunora-muted);}.v2-measure-field input,.v2-measure-field .lunora-temporal-trigger{width:100%;height:48px;min-height:48px;padding:12px;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-text);font:400 14px/18px Inter,sans-serif;box-sizing:border-box;}
.v2-measure-error{font:400 13px/18px Inter,sans-serif;color:#ad3550;margin:0;}.v2-measure-error[hidden]{display:none;}
.v2-measure-actions{display:flex;gap:8px;}.v2-measure-actions button{flex:1;height:48px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;font:500 14px/20px Inter,sans-serif;}.v2-measure-save{background:var(--lunora-primary);color:white;}.v2-measure-delete{border-radius:12px!important;background:#fff0f3;color:#ad3550;}:root[data-theme=dark] .v2-measure-delete{background:#402735;color:#f39aac;}.v2-measure-actions button:disabled{opacity:.55;}

.v2-measure-editor .v2-measure-field .lunora-temporal-trigger{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;}
.v2-measure-editor .v2-measure-field .lunora-temporal-value{text-align:left;flex:1;}
.v2-measure-editor .v2-measure-actions button{font-weight:500!important;}
.v2-measure-field input::placeholder{color:#746f86;opacity:1;}

/* Original measurement date field differs from ordinary number fields. */
.v2-measure-editor .v2-measure-field .lunora-temporal-trigger{gap:10px;padding:12px 14px;border-radius:12px;}
.v2-measure-editor .lunora-temporal-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;}
.v2-measure-editor .lunora-temporal-icon>.lunora-asset{position:relative;display:block;width:16.40625px;height:18px;}
.v2-measure-editor .lunora-temporal-icon>.lunora-asset>img{position:absolute;left:0;top:0;}

:root[data-theme=dark] .v2-measure-sheet{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}

/* css/feeding-help-v2.v001.css */
/* Figma651:11503 /879:19333. Source close SVG:20px; hit44/plate36. */
html[data-lunora-ui="2"] .v2-feeding-help-overlay{position:fixed;inset:0;z-index:12000;background:rgba(26,20,41,.3);display:flex;align-items:center;justify-content:center;padding:20px;overscroll-behavior:contain;transition:background-color 160ms ease;}
html[data-lunora-ui="2"] .v2-feeding-help-overlay.closing{background:transparent;pointer-events:none;}
html[data-lunora-ui="2"] .v2-feeding-help{box-sizing:border-box;width:390px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;display:flex;flex-direction:column;gap:24px;padding:20px;border:0;border-radius:20px;background:#fff;color:#292337;box-shadow:0 1px 4px rgba(26,20,41,.035),0 6px 20px rgba(26,20,41,.09);font-family:Inter,sans-serif;}
html[data-lunora-ui="2"] .v2-feeding-help-header{display:flex;align-items:center;justify-content:space-between;gap:0;flex-shrink:0;}
html[data-lunora-ui="2"] .v2-feeding-help h2{margin:0;flex:1;min-width:0;font-size:20px;line-height:26px;font-weight:500;letter-spacing:0;color:inherit;}
html[data-lunora-ui="2"] .v2-feeding-help-close{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;}
html[data-lunora-ui="2"] .v2-feeding-help-close::before{content:"";position:absolute;z-index:-1;inset:4px;background:#f7f7fa;border-radius:10px;}
html[data-lunora-ui="2"] .v2-feeding-help-text{margin:0;flex-shrink:0;font-size:14px;line-height:18px;font-weight:400;letter-spacing:0;color:#6d6577;}
html[data-lunora-ui="2"] .v2-feeding-help-done{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:48px;padding:0 12px;border:0;border-radius:10px;background:#7564cc;color:#fff;font:500 14px/20px Inter,sans-serif;letter-spacing:0;cursor:pointer;transition:transform 120ms ease;}
html[data-lunora-ui="2"] .v2-feeding-help button:active{transform:scale(.98);}
html[data-lunora-ui="2"][data-theme="dark"] .v2-feeding-help{background:#292532;color:#f0ecf6;box-shadow:0 1px 4px rgba(26,20,41,.14),0 6px 20px rgba(26,20,41,.26);}
html[data-lunora-ui="2"][data-theme="dark"] .v2-feeding-help-close::before{background:#2d293c;}
html[data-lunora-ui="2"][data-theme="dark"] .v2-feeding-help-text{color:#b8b1c6;}
@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] .v2-feeding-help-overlay,html[data-lunora-ui="2"] .v2-feeding-help button{transition:none;}}

/* css/food-form-v2.v001.css */
/* New-product source form,390x662 RU; shared edit fields keep existing data semantics. */
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary]{position:fixed;left:50%;right:auto;top:calc(var(--sheet-visible-top,0px) + var(--sheet-visible-height,100dvh)/2);bottom:auto;width:calc(100% - 40px);max-width:390px;max-height:calc(var(--sheet-visible-height,100dvh) - 40px);margin:0;padding:20px;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);box-sizing:border-box;display:flex;flex-direction:column;gap:24px;overflow:auto;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transform:translate(-50%,-50%) translateY(8px) scale(.985);opacity:0;pointer-events:none;transition:transform 160ms cubic-bezier(.4,0,1,1),opacity 160ms ease,visibility 0s linear 160ms;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary].show{transform:translate(-50%,-50%);opacity:1;pointer-events:auto;visibility:visible;transition:transform 160ms cubic-bezier(.16,1,.3,1),opacity 160ms ease,visibility 0s;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .sheet-handle{display:none;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .sheet-head{height:44px;min-height:44px;flex:none;margin:0;gap:0;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .sheet-title{flex:1;min-width:0;font:500 20px/26px Inter,sans-serif;letter-spacing:0;color:inherit;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .sheet-close{isolation:isolate;position:relative;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;background:none;display:grid;place-items:center;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;background:var(--lunora-field);border-radius:10px;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #sheetBody{padding:0;margin:0;overflow:visible;display:flex;flex-direction:column;gap:24px;flex:none;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-sheet-wrap{display:flex;flex-direction:column;gap:20px;padding:0;margin:0;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-field{margin:0!important;display:flex;flex-direction:column;gap:8px;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-field-label{margin:0;font:500 12px/18px Inter,sans-serif;color:var(--lunora-muted);letter-spacing:0;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-field-optional{margin-left:8px;font:inherit;color:inherit;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-picker-trigger,html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-product-name-display{box-sizing:border-box;width:100%;height:48px;min-height:48px;margin:0;padding:14px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);font:400 14px/18px Inter,sans-serif;display:flex;align-items:center;justify-content:space-between;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingPickerLabel.muted{color:#746f86;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .lunora-temporal-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;height:48px;min-height:48px;margin:0;padding:12px 14px;border:0;border-radius:12px;background:var(--lunora-field);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .lunora-temporal-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .lunora-temporal-value{font:400 13px/17px Inter,sans-serif;color:var(--lunora-text);text-align:left;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-stars-row{height:52px;min-height:52px;display:flex;gap:4px;padding:4px;margin:0;border-radius:12px;background:var(--lunora-field);box-sizing:border-box;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn{flex:1;min-width:0;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:9px;background:none;box-shadow:none;display:flex;align-items:center;justify-content:center;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn svg{display:none;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn-label{font:400 13px/20px Inter,sans-serif;color:var(--lunora-muted);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-1{background:#e5f5ed!important;}html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-1 span{color:#237a53;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-2{background:#fff2d8!important;}html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-2 span{color:#956017;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-3{background:#f2e6f8!important;}html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-3 span{color:#8d5ba7;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;margin:0;min-height:54px;border:0;border-radius:12.76px;background:var(--lunora-field);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-text{font:400 14px/18px Inter,sans-serif;color:var(--lunora-text);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-track{position:relative;width:44px;height:26px;flex:0 0 44px;border-radius:99px;background:#d9dbe6;transition:background-color 200ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-thumb{position:absolute;left:2px;top:2px;width:22px;height:22px;border-radius:50%;background:white;box-shadow:none;transform:translateX(0);transition:transform 200ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-track.on{background:var(--lunora-primary);}html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-track.on .feeding-allergy-toggle-thumb{transform:translateX(18px);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-note-input{box-sizing:border-box;resize:none;width:100%;height:96px;min-height:96px;padding:12px 14px;margin:0;border:0;border-radius:12.76px;background:var(--lunora-field);font:400 14px/18px Inter,sans-serif;color:var(--lunora-text);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-note-input::placeholder{color:#746f86;opacity:1;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .v2-food-actions{display:flex;gap:8px;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .v2-food-actions>button{box-sizing:border-box;flex:1;width:auto;height:48px;min-height:48px;margin:0!important;padding:0 12px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;font:500 14px/20px Inter,sans-serif;box-shadow:none;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingSaveBtn{background:var(--lunora-primary);color:#fff;opacity:1;}
/* Resolve the source button's 45% paint against its surface, preserving the
   component opacity and overriding the legacy generic disabled-button rule. */
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingSaveBtn:disabled{background:color-mix(in srgb,#7564cc 45%,var(--lunora-surface))!important;color:color-mix(in srgb,#fff 45%,var(--lunora-surface))!important;border:0!important;box-shadow:none!important;opacity:1;transform:none;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingDeleteBtn{background:#fff0f3;color:#ad3550;}
html[data-theme=dark][data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
html[data-theme=dark][data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-track{background:#413a54;}
html[data-theme=dark][data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-track.on{background:var(--lunora-primary);}
html[data-theme=dark][data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-thumb{background:#efebf7;}
html[data-theme=dark][data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingDeleteBtn{background:#402735;color:#f39aac;}
@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary],html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-track,html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-allergy-toggle-thumb{transition:none;}}

html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary]{animation:none!important;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-field-label{opacity:1;text-transform:none;letter-spacing:0;}

@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary]{transition:none!important;}}

html[data-theme=dark][data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-note-input::placeholder{color:var(--lunora-muted);}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingMilkTypeBtns{display:none!important;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] .v2-food-milk-select{box-sizing:border-box;width:100%;height:48px;min-height:48px;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:14px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-muted);box-shadow:none;font:400 14px/18px Inter,sans-serif;text-align:left;}
html[data-lunora-ui="2"] .v2-food-milk-menu{position:fixed;z-index:110;box-sizing:border-box;display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:12px;background:var(--lunora-surface);box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;}
html[data-lunora-ui="2"] .v2-food-milk-menu button{display:flex;align-items:center;gap:8px;box-sizing:border-box;height:44px;min-height:44px;padding:0 12px;margin:0;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-text);box-shadow:none;font:500 14px/20px Inter,sans-serif;text-align:left;}
.v2-food-milk-menu button>span:first-child{flex:1;}
.v2-food-milk-menu button .lunora-asset{width:18px;height:18px;flex:0 0 18px;}
html[data-lunora-ui="2"] .v2-food-milk-menu button[aria-selected=true]{background:#ece7ff;color:#5d4ba6;}
html[data-lunora-ui="2"][data-theme=dark] .v2-food-milk-menu{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
html[data-lunora-ui="2"][data-theme=dark] .v2-food-milk-menu button[aria-selected=true]{background:#3c3456;color:#b8a9ff;}
html[data-lunora-ui="2"] .v2-food-milk-menu button{outline:0;}
html[data-lunora-ui="2"] .v2-food-milk-menu button:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:-2px;}
html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-1{background:#213c32!important;}html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-1 span{color:#78c7a8;}
html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-2{background:#4b3c27!important;}html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-2 span{color:#e7b86a;}
html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-3{background:#46344f!important;}html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] .feeding-star-btn.selected.rating-3 span{color:#cfb0e3;}
html[data-lunora-ui="2"] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingDeleteBtn{gap:8px;color:#c44760;}
html[data-lunora-ui="2"][data-theme=dark] #sheet.v2-food-sheet[data-sheet-kind=complementary] #feedingDeleteBtn{color:#f39aac;}
.v2-food-confirm-sheet{animation:none;box-shadow:none;}
.v2-food-confirm-header{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;}
.v2-food-confirm-header h2{flex:1;min-width:0;font:500 20px/26px Inter,sans-serif;letter-spacing:0;}
.v2-food-confirm .v2-food-confirm-sheet p{font:400 13px/18px Inter,sans-serif;color:var(--lunora-text);}
.v2-food-confirm-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;}
.v2-food-confirm-close::before{content:"";position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field);z-index:-1;}
.v2-food-confirm .v2-reminder-confirm-buttons button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:0 16px;}
.v2-food-confirm .v2-reminder-confirm-buttons .is-danger{background:#fff0f3;color:#c44760;}
:root[data-theme=dark] .v2-food-confirm .v2-reminder-confirm-buttons .is-danger{background:#402735;color:#f39aac;}

/* css/food-picker-v2.v001.css */
html[data-lunora-ui="2"] .v2-food-picker-overlay{position:fixed;inset:0;z-index:90;background:var(--backdrop);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;overscroll-behavior:contain;}
.v2-food-picker-panel{box-sizing:border-box;display:flex;flex-direction:column;gap:24px;width:390px;max-width:100%;max-height:calc(100dvh - 40px);padding:20px;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;overflow:hidden;}
.v2-food-picker-header{display:flex;align-items:center;gap:0;height:44px;min-height:44px;}
.v2-food-picker-header h2{flex:1;min-width:0;margin:0;font:500 20px/26px Inter,sans-serif;letter-spacing:0;}
.v2-food-picker-header button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;}
.v2-food-picker-header .v2-food-picker-help-button{background:none;}
.v2-food-picker-help-button::before,.v2-food-picker-close-button::before{content:"";position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field);}
.v2-food-picker-search-row{display:flex;align-items:center;gap:8px;min-height:48px;height:48px;flex:none;padding:0 12px;box-sizing:border-box;background:var(--lunora-field);border-radius:10px;}
.v2-food-picker-search-row .v2-food-picker-search{flex:1;min-width:0;width:100%;height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--lunora-text);box-shadow:none;font:400 14px/18px Inter,sans-serif;}
.v2-food-picker-search-row .v2-food-picker-search::placeholder{color:#746f86;opacity:1;}
.v2-food-picker-search-row .v2-food-picker-search:focus{outline:none;box-shadow:none;}
.v2-food-picker-search-row:focus-within{outline:2px solid var(--lunora-primary);outline-offset:2px;}
.v2-food-picker-search{appearance:none;-webkit-appearance:none;}
.v2-food-picker-search::-webkit-search-cancel-button{display:none;}
.v2-food-picker-list{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;max-height:596px;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;}
.v2-food-picker-list::-webkit-scrollbar{display:none;}
.v2-food-picker-group{flex:none;height:16px;min-height:16px;margin:16px 0 8px;font:500 12px/18px Inter,sans-serif;color:var(--lunora-muted);text-transform:uppercase;}
.v2-food-picker-group:first-child{margin-top:0;}
.v2-food-picker-item{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;height:52px;min-height:52px;flex:none;padding:8px 0;margin:0;border:0;border-radius:0;background:none;color:inherit;box-shadow:none;text-align:left;}
.v2-food-picker-name{flex:1;min-width:0;font:400 13px/17px Inter,sans-serif;}
.v2-food-picker-plate{display:grid;place-items:center;flex:0 0 32.381908px;width:32.381908px;height:32.381908px;border-radius:5.397px;background:var(--food-plate-light);}
.v2-food-picker-plate img{max-width:none;}
.v2-food-picker-plate .asset-dark{display:none;}
.v2-food-picker-search-row .lunora-asset{width:18px;height:18px;align-items:flex-start;justify-content:flex-start;}
.v2-food-picker-empty{display:flex;flex-direction:column;gap:12px;}
.v2-food-picker-empty h3{margin:0;font:600 18px/24px Inter,sans-serif;letter-spacing:0;}
.v2-food-picker-empty p{margin:0;font:400 14px/20px Inter,sans-serif;color:#695e8f;}
.v2-food-picker-empty button{height:48px;min-height:48px;width:100%;padding:0 12px;border:0;border-radius:12px;background:var(--lunora-field);color:inherit;font:500 14px/20px Inter,sans-serif;box-shadow:none;}
:root[data-theme=dark] .v2-food-picker-panel{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] .v2-food-picker-plate{background:var(--food-plate-dark);}
:root[data-theme=dark] .v2-food-picker-plate .asset-light{display:none;}
:root[data-theme=dark] .v2-food-picker-plate .asset-dark{display:block;}
:root[data-theme=dark] .v2-food-picker-search-row .v2-food-picker-search::placeholder,:root[data-theme=dark] .v2-food-picker-empty p{color:var(--lunora-muted);}
html[data-lunora-ui="2"] .v2-food-picker-header h2{font-weight:500!important;letter-spacing:0;}
html[data-lunora-ui="2"] .v2-food-picker-name,html[data-lunora-ui="2"] .v2-food-picker-search-row input{font-weight:400!important;letter-spacing:0;text-align:left!important;}
html[data-lunora-ui="2"] .v2-food-picker-group{font-weight:500!important;letter-spacing:0;}
html[data-lunora-ui="2"] .v2-food-picker-empty h3{font-weight:600!important;}
html[data-lunora-ui="2"] .v2-food-picker-empty p{font-weight:400!important;}
html[data-lunora-ui="2"] .v2-food-picker-empty button{font-weight:500!important;}

/* css/pull-refresh.v002.css */
.lunora-pull-refresh{box-sizing:border-box;position:fixed;top:calc(76px + var(--safe-area-top,0px));left:50%;width:max-content;max-width:calc(100vw - 32px);height:36px;padding:0 12px;display:flex;align-items:center;justify-content:center;z-index:90;pointer-events:none;transform:translate(-50%,-48px);background:var(--lunora-surface,#fff);color:var(--lunora-text);border:1px solid rgba(110,100,140,.1);border-radius:20px;box-shadow:0 3px 12px rgba(30,24,46,.13);opacity:0;font:400 12px/18px Inter,sans-serif;transition:opacity 100ms ease-out,transform 220ms cubic-bezier(.32,.72,0,1);}
.lunora-pull-refresh[data-visible]{opacity:1;transform:translate(-50%,0);}
.lunora-pull-refresh[data-visible][data-tracking]{transform:translate(-50%,calc(var(--pull-offset,0px) - 48px));transition:opacity 100ms ease-out;}
.lunora-pull-refresh[hidden]{display:none;}
.pull-refresh-label{position:relative;display:grid;min-width:0;}
.pull-refresh-label>[data-pull-phase]{grid-area:1/1;position:absolute;inset:0;justify-content:center;display:flex;align-items:center;gap:5px;min-width:0;opacity:0;transform:translateY(3px);transition:opacity 120ms ease-out,transform 160ms cubic-bezier(.32,.72,0,1);}
.pull-refresh-label>[data-active]{position:relative;opacity:1;transform:translateY(0);}
.pull-refresh-copy{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pull-refresh-icon{box-sizing:border-box;display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;color:var(--lunora-primary,#7765cf);}
.pull-refresh-icon svg{display:block;transform-origin:50% 50%;}
.pull-refresh-track{opacity:.18;}
.pull-refresh-progress{stroke-dasharray:50.265;transform:rotate(-90deg);transform-origin:12px 12px;transition:stroke-dasharray 120ms ease-out;}
[data-phase=loading] [data-active] .pull-refresh-progress{stroke-dasharray:38 12.265;}
[data-phase=loading] [data-active] svg{animation:pull-refresh-spin 750ms linear infinite;}
[data-phase=success] [data-active] .pull-refresh-check{stroke-dasharray:24;animation:pull-refresh-check 180ms cubic-bezier(.32,.72,0,1) both;}
[data-phase=error] .pull-refresh-icon{color:#bb4860;}
.pull-refresh-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
:root[data-theme=dark] .lunora-pull-refresh{background:#383244;border-color:#514760;box-shadow:0 5px 18px rgba(0,0,0,.32);}
@keyframes pull-refresh-spin{from{transform:rotate(0);}to{transform:rotate(360deg);}}
@keyframes pull-refresh-check{from{stroke-dashoffset:24;}to{stroke-dashoffset:0;}}
@media(prefers-reduced-motion:reduce){.lunora-pull-refresh,.pull-refresh-label>[data-pull-phase],.pull-refresh-progress{transition:none;}.pull-refresh-label>[data-pull-phase]{transform:none;}[data-phase=loading] [data-active] svg,[data-phase=success] [data-active] .pull-refresh-check{animation:none;}}

/* css/plan-v2.v001.css */
html[data-lunora-ui="2"] .tab-panel[data-tab=plan].active{display:flex;flex-direction:column;gap:16px;padding-top:12px;}
html[data-lunora-ui="2"] [data-tab=plan] .plan-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:4px 4px 0;margin:0;box-sizing:border-box;}
html[data-lunora-ui="2"] [data-tab=plan] .plan-header>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0;}
html[data-lunora-ui="2"] [data-tab=plan] .plan-date-label{margin:0;font:400 12px/18px Inter,sans-serif;color:#706979;}
html[data-lunora-ui="2"] [data-tab=plan] #planDate{margin:0;font:700 20px/26px Inter,sans-serif;color:var(--lunora-text);letter-spacing:0;}
html[data-lunora-ui="2"] [data-tab=plan] #btnAiPlan{display:flex;align-items:center;justify-content:center;gap:8px;min-width:132px;min-height:34px;height:34px;margin:0;padding:8px 16px;border:0;border-radius:8px;background:var(--lunora-primary);color:#fff;box-shadow:none;font:700 13px/18px Inter,sans-serif;}
html[data-lunora-ui="2"] #planList{display:flex;flex-direction:column;gap:12px;margin:0;}
html[data-lunora-ui="2"] #planList .plan-item{display:flex;align-items:center;gap:12px;min-height:64px;margin:0;padding:12px;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none;box-sizing:border-box;}
html[data-lunora-ui="2"] #planList .journal-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;margin:0;border-radius:10px;background:none;}
html[data-lunora-ui="2"] #planList .journal-main{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0;}
html[data-lunora-ui="2"] #planList .journal-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;}
html[data-lunora-ui="2"] #planList .journal-label{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font:500 16px/22px Inter,sans-serif;color:var(--lunora-text);}
html[data-lunora-ui="2"] #planList .journal-subline{margin:0;font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted);}
html[data-lunora-ui="2"] #planList .plan-edit-hint-card .journal-subline{line-height:16px!important;}
html[data-lunora-ui="2"] #planList .plan-edit-hint-card .journal-main{align-items:center;}
html[data-lunora-ui="2"] #planList .plan-edit-hint-card .journal-subline{width:100%;max-width:306.804px;}
html[data-lunora-ui="2"] #planList .plan-wake-window{display:flex;align-items:center;gap:8px;min-height:30px;margin:0;padding:0 4px;}
html[data-lunora-ui="2"] #planList .plan-wake-line{height:1px;min-width:0;flex:1;background:rgba(100,90,180,.1);}
html[data-lunora-ui="2"] #planList .plan-wake-badge{display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 16px);min-height:30px;margin:0;padding:6px 12px;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-muted);font:600 12px/18px Inter,sans-serif;box-sizing:border-box;}
html[data-lunora-ui="2"] #planList .plan-edit-affordance{display:inline-flex;align-items:center;justify-content:center;min-width:12px;margin:0;opacity:.55;}
html[data-lunora-ui="2"] #planList .plan-status-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0;padding:2px 8px;border:0;border-radius:99px;font:700 11px/14px Inter,sans-serif;white-space:nowrap;}
html[data-lunora-ui="2"] #planList .plan-status-badge.active{background:rgba(167,139,250,.18);color:var(--lunora-text);}
html[data-lunora-ui="2"] #planList .plan-status-badge.upcoming{background:rgba(96,168,224,.12);color:#295d82;}
html[data-lunora-ui="2"] #planList .plan-naps-count-card .plan-status-badge{background:#d1fae5;color:#4a7761;}
html[data-lunora-ui="2"][data-theme=dark] [data-tab=plan] .plan-date-label{color:var(--lunora-muted);}
html[data-lunora-ui="2"][data-theme=dark] #planList .plan-wake-line{background:rgba(156,149,207,.1);}
html[data-lunora-ui="2"][data-theme=dark] #planList .plan-status-badge.active{background:rgba(199,181,252,.18);}
html[data-lunora-ui="2"][data-theme=dark] #planList .plan-status-badge.upcoming{background:rgba(153,199,235,.12);color:#85a3b8;}
html[data-lunora-ui="2"][data-theme=dark] #planList .plan-naps-count-card .plan-status-badge{background:#323138;color:#98b1a5;}

html[data-lunora-ui="2"] #planList .plan-extra-nap-card{align-items:flex-start;}
html[data-lunora-ui="2"] #planList .plan-extra-nap-card .btn{width:100%;min-height:44px;margin-top:10px;padding:10px 14px;border:0;border-radius:12px;background:var(--lunora-primary);color:#fff;box-shadow:none;font:600 14px/20px Inter,sans-serif;}

/* css/plan-editor-v2.v001.css */
html[data-lunora-ui="2"] #sheet.v2-plan-editor[data-sheet-kind=plan-editor]{position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%) translateY(8px) scale(.985);width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);margin:0;padding:20px;display:flex;flex-direction:column;gap:24px;overflow:auto;box-sizing:border-box;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);opacity:0;pointer-events:none;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transition:opacity 160ms ease-out,transform 160ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-plan-editor[data-sheet-kind=plan-editor].show{transform:translate(-50%,-50%);opacity:1;pointer-events:auto;visibility:visible;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .sheet-handle{display:none;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .sheet-head{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .sheet-title{font:500 20px/26px Inter,sans-serif;letter-spacing:0;color:inherit;flex:1;min-width:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .sheet-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] #sheetBody{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;overflow:visible;flex:none;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor{display:flex;flex-direction:column;gap:20px;padding:0;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-hint{display:flex;align-items:center;gap:8px;min-height:24px;padding:0;margin:0;background:none;border:0;border-radius:0;color:var(--lunora-muted);font:400 14px/22px Inter,sans-serif;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-info-icon{width:12.629px;min-width:12.629px;flex:none;display:flex;align-items:center;justify-content:center;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-stepper{display:flex;align-items:center;justify-content:space-between;gap:8px;height:72px;min-height:72px;padding:14px;box-sizing:border-box;background:var(--lunora-field);border-radius:12px;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-btn{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;flex:none;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;color:var(--lunora-text);}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-btn::before{content:"";position:absolute;inset:0 2px;z-index:-1;background:var(--lunora-surface);border-radius:10px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-value{font:700 28px/37px Inter,sans-serif;color:var(--lunora-text);padding:0 16px;margin:0;text-align:center;min-width:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-step-hint{font:600 13px/18px Inter,sans-serif;color:var(--lunora-muted);text-align:center;min-height:18px;padding:0 16px;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-preference{position:relative;height:48px;min-height:48px;padding:13px 14px;box-sizing:border-box;border:0;border-radius:10px;background:var(--lunora-field);box-shadow:none;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember{position:static;display:flex;align-items:center;gap:10px;height:22px;margin:0;font:400 14px/20px Inter,sans-serif;color:var(--lunora-text);}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember-input{position:absolute;inset:0;z-index:1;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;pointer-events:auto;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember-box{box-sizing:border-box;display:grid;place-items:center;width:20px;height:20px;flex:none;border:1.5px solid #c9c4d3;border-radius:4px;background:none;box-shadow:none;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember-input:checked+.plan-editor-remember-box{background:var(--lunora-primary);border-color:var(--lunora-primary);color:#fff;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember-input:focus-visible+.plan-editor-remember-box{outline:2px solid var(--lunora-primary);outline-offset:2px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember-text{font:400 14px/20px Inter,sans-serif;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .v2-plan-preference-note{display:flex;align-items:flex-start;gap:8px;min-height:42px;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .v2-plan-preference-note>.lunora-asset{flex:0 0 12.629px;height:18px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-note{flex:1;min-width:0;min-height:42px;margin:0;font:400 12px/18px Inter,sans-serif;color:var(--lunora-muted);}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .v2-plan-editor-actions{display:flex;gap:8px;height:48px;min-height:48px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .v2-plan-editor-actions>button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:48px;min-height:48px;margin:0;padding:0 12px;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-text);box-shadow:none;font:500 14px/20px Inter,sans-serif;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] #planEditorSave{background:var(--lunora-primary);color:#fff;}
:root[data-theme=dark] #sheet.v2-plan-editor[data-sheet-kind=plan-editor]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] #sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-remember-box{border-color:#5d556a;}
@media(prefers-reduced-motion:reduce){#sheet.v2-plan-editor[data-sheet-kind=plan-editor]{transition:none;}}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-skip{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;margin:0;padding:10px 14px;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-primary);font:500 14px/20px Inter,sans-serif;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-skip:disabled{opacity:.45;pointer-events:none;}

/* Direct entry keeps large duration changes independent of stepper clicks. */
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-stepper:has(.plan-editor-duration-inputs){height:88px;min-height:88px;padding:10px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-duration-inputs{display:grid;grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr);align-items:start;gap:4px;flex:1;min-width:0;padding:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-time-field{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;margin:0;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-time-field input{box-sizing:border-box;width:100%;max-width:70px;min-width:0;height:44px;padding:0 2px;border:1px solid transparent;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-text);font:500 28px/40px Inter,sans-serif;font-variant-numeric:tabular-nums;text-align:center;appearance:none;box-shadow:none;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-time-field input:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-time-field span{font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted);white-space:nowrap;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-time-colon{font:500 24px/44px Inter,sans-serif;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-quick-adjust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-quick-adjust button{height:44px;min-width:0;padding:0 4px;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-text);font:500 14px/20px Inter,sans-serif;white-space:nowrap;touch-action:manipulation;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-quick-adjust button:active{background:var(--lunora-primary);color:#fff;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .plan-editor-quick-adjust button:disabled{opacity:.4;}
#sheet.v2-plan-editor[data-sheet-kind=plan-editor] .v2-plan-editor-actions{position:sticky;bottom:0;background:var(--lunora-surface);z-index:2;}

/* css/plan-free-v2.v001.css */
html[data-lunora-ui="2"] .tab-panel[data-tab=plan][data-plan-free=true]>.plan-header,html[data-lunora-ui="2"] .tab-panel[data-tab=plan][data-plan-free=true]>#planList{display:none;}
.v2-plan-free{display:flex;flex-direction:column;gap:12px;}
.v2-plan-free>h1{margin:0;font:500 24px/30px Inter,sans-serif;color:var(--lunora-text);letter-spacing:0;}
.v2-free-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;height:232px;min-height:232px;box-sizing:border-box;padding:24px;border-radius:16px;background:#302849;overflow:hidden;color:#fff;}
.v2-free-hero-art{position:absolute;z-index:-1;left:0;top:0;width:390px;height:232px;overflow:hidden;border-radius:20px;background:linear-gradient(90deg,#2b2547,#594789);pointer-events:none;}
.v2-free-glow{position:absolute;left:228px;top:-6px;max-width:none;}
.v2-free-cloud{position:absolute;object-fit:contain;max-width:none;pointer-events:none;}
.v2-free-cloud.far{left:252px;top:140px;width:280px;height:149.96px;filter:blur(6px);opacity:.14;}
.v2-free-cloud.near{left:288px;top:196px;width:204px;height:109.25px;filter:blur(2px);opacity:.24;}
.v2-free-moon{position:absolute;left:274.791px;top:36.2975px;width:147px;height:160px;overflow:hidden;transform:rotate(15deg);filter:blur(.2px);}
.v2-free-moon img{position:absolute;left:-16.56%;top:10.55%;width:108.19%;height:103.53%;max-width:none;}
.v2-free-star{position:absolute;object-fit:contain;max-width:none;}
.v2-free-star.main{left:274px;top:13px;width:14px;height:13.9px;filter:blur(.25px);opacity:.95;}
.v2-free-star.lower{left:320px;top:198px;width:10px;height:9.93px;filter:blur(.65px);opacity:.7;}
.v2-free-star.upper{left:374px;top:38px;width:7px;height:6.95px;filter:blur(.9px);opacity:.55;}
.v2-free-brand{display:flex;align-items:center;gap:8px;width:270px;max-width:100%;font:600 14px/20px Inter,sans-serif;}
.v2-free-brand img{flex:none;max-width:none;}
.v2-free-hero h2{margin:0;width:270px;max-width:100%;font:700 22px/29px Inter,sans-serif;letter-spacing:0;color:#fff;}
.v2-free-hero>p{margin:0;width:262px;max-width:100%;font:400 13px/19px Inter,sans-serif;color:#e5deff;}
.v2-free-hero h2 span,.v2-free-hero>p span{display:block;}
.v2-free-section{display:flex;flex-direction:column;gap:8px;}
.v2-free-section-title{display:flex;align-items:center;justify-content:center;gap:12px;min-height:20px;margin:0;}
.v2-free-section-title>span{height:1px;min-width:0;flex:1;background:#e2dcf5;}
.v2-free-section-title>b{font:500 11px/16px Inter,sans-serif;color:var(--lunora-muted);text-align:center;}
.v2-free-card{display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:16px;background:var(--lunora-surface);}
.v2-free-feature{display:flex;align-items:flex-start;gap:12px;min-width:0;}
.v2-free-feature>.lunora-asset{flex:0 0 40px;width:40px;height:40px;}
.v2-free-feature>div{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
.v2-free-feature h4{margin:0;font:500 14px/20px Inter,sans-serif;color:var(--lunora-text);}
.v2-free-feature p{margin:0;font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted);}
.v2-free-action{padding-top:8px;}
.v2-free-action button{display:flex;align-items:center;justify-content:center;width:100%;height:48px;margin:0;padding:0 12px;border:0;border-radius:12px;background:var(--lunora-primary);color:#fff;font:500 14px/20px Inter,sans-serif;box-shadow:none;}
.v2-free-basic{gap:12px;}
.v2-free-basic .v2-free-feature{height:40px;align-items:center;}
.v2-free-basic .v2-free-feature p{font:400 14px/20px Inter,sans-serif;color:var(--lunora-text);}
:root[data-theme=dark] .v2-free-section-title>span{background:#3b3449;}

.v2-free-original-art{display:block;width:390px;height:232px;max-width:none;object-fit:contain;}
.v2-free-hero{height:auto;}

/* css/plan-advice-v2.v001.css */
html[data-lunora-ui="2"] #sheet.v2-plan-advice[data-sheet-kind=plan-advice]{position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%) translateY(8px) scale(.985);width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);margin:0;padding:20px;display:flex;flex-direction:column;gap:24px;overflow:auto;box-sizing:border-box;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);opacity:0;pointer-events:none;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transition:opacity 160ms ease-out,transform 160ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-plan-advice[data-sheet-kind=plan-advice].show{transform:translate(-50%,-50%);opacity:1;pointer-events:auto;visibility:visible;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-handle{display:none;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-head{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-title{font:500 20px/26px Inter,sans-serif;letter-spacing:0;color:inherit;flex:1;min-width:0;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] #sheetBody{padding:0;margin:0;overflow:visible;flex:none;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-sheet{display:flex;flex-direction:column;gap:20px;padding:0;margin:0;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-hero,#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-body{padding:0;margin:0;min-height:24px;border:0;background:none;box-shadow:none;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-comment,#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-text{margin:0;padding:3px 14px 0 0;font:400 14px/22px Inter,sans-serif;color:var(--lunora-text);}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-hero .ai-plan-comment{padding:3px 17px 3px 0;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] strong{font-weight:700;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-body .ai-plan-comment+.ai-plan-comment{margin-top:20px;}
:root[data-theme=dark] #sheet.v2-plan-advice[data-sheet-kind=plan-advice]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
@media(prefers-reduced-motion:reduce){#sheet.v2-plan-advice[data-sheet-kind=plan-advice]{transition:none;}}

#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-body{min-height:93px;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-comment,#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .ai-plan-text{color:var(--lunora-text)!important;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-close{outline:none;}
#sheet.v2-plan-advice[data-sheet-kind=plan-advice] .sheet-close:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}

/* css/event-editor-v2.v001.css */
html[data-lunora-ui="2"] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit]{position:fixed;left:50%;right:auto;top:var(--event-visible-center,50%);bottom:auto;transform:translate(-50%,-50%) translateY(8px) scale(.985);width:calc(100% - 40px);max-width:390px;max-height:var(--event-visible-max,calc(100dvh - 40px));margin:0;padding:20px;display:flex;flex-direction:column;gap:24px;overflow:auto;box-sizing:border-box;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);opacity:0;pointer-events:none;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transition:opacity 160ms ease-out,transform 160ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit].show{transform:translate(-50%,-50%);opacity:1;pointer-events:auto;visibility:visible;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-handle{display:none;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-head{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-title{font:500 20px/26px Inter,sans-serif;letter-spacing:0;color:inherit;flex:1;min-width:0;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;outline:none;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-close:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #sheetBody{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;overflow:visible;flex:none;}
.v2-event-fields{display:flex;flex-direction:column;gap:24px;}.v2-event-field{display:flex;flex-direction:column;gap:8px;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-section-label{margin:0;padding:0;font:500 12px/18px Inter,sans-serif;letter-spacing:0;text-transform:none;color:#6d6577;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .journal-edit-time-wrap{padding:0 16px 0 0;margin:0;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-trigger{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:48px;min-height:48px;margin:0;padding:13px 16px;border:0;border-radius:12px;box-sizing:border-box;background:var(--lunora-field);color:var(--lunora-text);font:400 14px/22px Inter,sans-serif;box-shadow:none;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-field--compact{width:101.031px;min-width:101.031px;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-field--compact .lunora-temporal-trigger{width:101.031px;min-width:101.031px;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-field--compact .lunora-temporal-icon{width:16.237px;height:16.237px;flex:0 0 16.237px;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-value{flex:1;min-width:0;text-align:left;font:400 14px/22px Inter,sans-serif;color:var(--lunora-text);}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editNoteInput{box-sizing:border-box;width:100%;height:72px;min-height:72px;margin:0;padding:12px 14px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);resize:vertical;font:400 14px/22px Inter,sans-serif;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editNoteInput::placeholder{color:#746f86;opacity:1;}
.v2-event-actions{display:flex;gap:8px;}.v2-event-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;height:48px;min-height:48px;margin:0!important;padding:0 12px;border:0;border-radius:10px;background:var(--lunora-primary);color:#fff;font:500 14px/20px Inter,sans-serif;box-shadow:none;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #journalDeleteBtn{border-radius:12px;background:#fff0f3;color:#ad3550;}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-section-label,:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editNoteInput::placeholder{color:var(--lunora-muted);}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #journalDeleteBtn{background:#402735;color:#f39aac;}
@media(prefers-reduced-motion:reduce){#sheet.v2-event-editor[data-sheet-kind=journal-event-edit]{transition:none;}}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-section-label{opacity:1!important;font:500 12px/18px Inter,sans-serif!important;color:#6d6577!important;}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-section-label{color:var(--lunora-muted)!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .sheet-title{font:500 20px/26px Inter,sans-serif!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .lunora-temporal-value{font:400 14px/22px Inter,sans-serif!important;color:var(--lunora-text)!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-event-actions>button{font:500 14px/20px Inter,sans-serif!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editNoteInput{font:400 14px/22px Inter,sans-serif!important;resize:none;}
.v2-reminder-confirm{position:fixed;inset:0;z-index:95;display:grid;place-items:center;padding:20px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;background:rgba(20,13,41,.38);backdrop-filter:blur(6px);}
.v2-event-confirm-sheet{display:flex;flex-direction:column;gap:24px;box-sizing:border-box;width:390px;max-width:calc(100vw - 40px);padding:20px;border-radius:20px;background:var(--lunora-surface);box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;}
.v2-event-confirm-header{display:flex;align-items:center;gap:12px;min-height:44px;width:100%;}
.v2-event-confirm-header h2{flex:1;min-width:0;margin:0!important;font:500 20px/26px Inter,sans-serif!important;color:var(--lunora-text);}
.v2-event-confirm-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;padding:0;background:none;}
.v2-event-confirm-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
.v2-event-confirm-sheet>p{margin:0!important;width:100%;font:400 14px/20px Inter,sans-serif!important;color:#6d6577;}
.v2-event-confirm-sheet .v2-reminder-confirm-buttons{display:flex;gap:8px;}
.v2-event-confirm-sheet .v2-reminder-confirm-buttons>button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;height:48px;margin:0;padding:0 12px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);font:500 14px/20px Inter,sans-serif!important;}
.v2-event-confirm-sheet .v2-reminder-confirm-buttons>.is-danger{background:#fff0f3;color:#be3950;}
:root[data-theme=dark] .v2-event-confirm-sheet{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] .v2-event-confirm-sheet>p{color:var(--lunora-muted);}
:root[data-theme=dark] .v2-event-confirm-sheet .v2-reminder-confirm-buttons>.is-danger{background:#373039;color:#da8e9b;}

/* css/sleep-event-v2.v001.css */
html[data-lunora-ui="2"] #sheet.v2-sleep-event[data-sheet-kind=sleep-event]{position:fixed;left:50%;right:auto;top:auto;bottom:var(--sleep-event-visible-bottom,min(68px,7.3dvh));transform:translateX(-50%) translateY(8px) scale(.985);width:calc(100% - 40px);max-width:390px;max-height:var(--sleep-event-visible-max,calc(100dvh - 40px));margin:0;padding:20px;display:flex;flex-direction:column;gap:24px;overflow:auto;box-sizing:border-box;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);opacity:0;pointer-events:none;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transition:opacity 160ms ease-out,transform 160ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-sleep-event[data-sheet-kind=sleep-event].show{transform:translateX(-50%);opacity:1;pointer-events:auto;visibility:visible;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-handle{display:none;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-head{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-title{font:500 20px/26px Inter,sans-serif!important;letter-spacing:0;color:inherit;flex:1;min-width:0;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;outline:none;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-close:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] #sheetBody{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;overflow:visible;flex:none;}
.v2-sleep-fields{display:flex;flex-direction:column;gap:24px;}.v2-sleep-field{display:flex;flex-direction:column;gap:8px;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .field{margin:0;padding:0;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-section-label{margin:0;padding:0;font:500 12px/18px Inter,sans-serif!important;letter-spacing:0;text-transform:none;opacity:1!important;color:#6d6577!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-grid,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-segment{position:relative;display:flex!important;align-items:center;gap:4px;width:100%;height:52px;min-height:52px;margin:0;padding:4px;border:0;border-radius:12px;box-sizing:border-box;background:var(--lunora-field);}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:44px;min-height:44px;margin:0;padding:0!important;border:0!important;border-radius:9px;background:transparent!important;box-shadow:none!important;font:400 13px/20px Inter,sans-serif!important;color:#6d6577!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-text{padding:0;margin:0;font:400 13px/20px Inter,sans-serif!important;color:inherit!important;transition:color 200ms ease-out;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card.active[data-mood=good]{color:#237a53!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card.active[data-mood=neutral]{color:#956017!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card.active[data-mood=bad]{color:#8d5ba7!important;}
.v2-sleep-choice-thumb{position:absolute;left:4px;top:4px;z-index:0;height:44px;border-radius:9px;pointer-events:none;opacity:0;transition:transform 200ms ease-out,width 200ms ease-out,background-color 200ms ease-out,opacity 200ms ease-out;}
.v2-sleep-mood-thumb[data-mood=good]{background:#e5f5ed;}.v2-sleep-mood-thumb[data-mood=neutral]{background:#fff2d8;}.v2-sleep-mood-thumb[data-mood=bad]{background:#f2e6f8;}
.v2-sleep-offset-thumb{border-radius:10px;background:var(--lunora-surface);}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-segment{gap:0;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip{border-radius:10px;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip--custom{flex:0 0 44px;width:44px;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip .chip-main{display:flex;align-items:center;justify-content:center;padding:0 0 2px;margin:0;font:400 13px/20px Inter,sans-serif;color:inherit;transition:color 200ms ease-out;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip.active{color:#5d4ba6!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip.active .chip-main{font-weight:500;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] textarea{box-sizing:border-box;width:100%;height:72px;min-height:72px;margin:0;padding:12px 14px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);resize:none;font:400 14px/22px Inter,sans-serif!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] textarea::placeholder{color:#746f86;opacity:1;}
.v2-sleep-actions{display:flex;min-height:48px;}.v2-sleep-actions>button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:48px;min-height:48px;margin:0!important;padding:0 12px;border:0;border-radius:10px;background:var(--lunora-primary);color:white;font:500 14px/20px Inter,sans-serif!important;box-shadow:none;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sleep-settling-stepper{display:flex;align-items:center;justify-content:space-between;gap:8px;height:72px;min-height:72px;margin:0;padding:14px;background:var(--lunora-field);border:0;border-radius:12px;box-sizing:border-box;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sleep-settling-stepper .plan-editor-btn{display:grid;place-items:center;width:40px;height:40px;min-height:40px;flex:0 0 40px;padding:0;margin:0;border:0;border-radius:10px;background:var(--lunora-surface);color:var(--lunora-primary);box-shadow:none;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sleep-settling-stepper .plan-editor-value{margin:0;min-width:0;font:500 28px/37px Inter,sans-serif;color:var(--lunora-text);}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .plan-editor-btn:disabled{opacity:.4;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-custom-row{margin:0;min-width:0;}.v2-sleep-fields .offset-custom-row>.lunora-temporal-field{flex:1;min-width:0;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sheet-section-label,:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] textarea::placeholder{color:var(--lunora-muted)!important;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card,:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip{color:var(--lunora-muted)!important;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card.active[data-mood=good]{color:#78c7a8!important;}:root[data-theme=dark] .v2-sleep-mood-thumb[data-mood=good]{background:#213c32;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card.active[data-mood=neutral]{color:#e7b86a!important;}:root[data-theme=dark] .v2-sleep-mood-thumb[data-mood=neutral]{background:#4b3c27;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card.active[data-mood=bad]{color:#cfb0e3!important;}:root[data-theme=dark] .v2-sleep-mood-thumb[data-mood=bad]{background:#46344f;}
:root[data-theme=dark] #sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip.active{color:#b8a9ff!important;}
@media(prefers-reduced-motion:reduce){#sheet.v2-sleep-event[data-sheet-kind=sleep-event],#sheet.v2-sleep-event .v2-sleep-choice-thumb,#sheet.v2-sleep-event .mood-text,#sheet.v2-sleep-event .chip-main{transition:none!important;}}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-text,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip .chip-main,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .sleep-settling-stepper .plan-editor-value{opacity:1!important;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip{transition:color 200ms ease-out;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-text,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .chip-main{transition:none;}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card:active,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip:active{transform:none;}
@media(prefers-reduced-motion:reduce){#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .mood-card,#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .offset-chip{transition:none!important;}}

/* css/feeding-event-v2.v001.css */
html[data-lunora-ui="2"] #sheet.v2-feeding-event[data-sheet-kind=feeding-event]{position:fixed;left:50%;right:auto;top:var(--feeding-visible-center,50%);bottom:auto;transform:translate(-50%,-50%) translateY(8px) scale(.985);width:calc(100% - 40px);max-width:390px;max-height:var(--feeding-visible-max,calc(100dvh - 40px));margin:0;padding:20px;display:flex;flex-direction:column;gap:24px;overflow:auto;box-sizing:border-box;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);opacity:0;pointer-events:none;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transition:opacity 160ms ease-out,transform 160ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-feeding-event[data-sheet-kind=feeding-event].show{transform:translate(-50%,-50%);opacity:1;pointer-events:auto;visibility:visible;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .sheet-handle{display:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .sheet-head{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .sheet-title{font:500 20px/26px Inter,sans-serif!important;letter-spacing:0;color:inherit;flex:1;min-width:0;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .sheet-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;margin:0;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] #sheetBody{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;overflow:visible;flex:none;}
.v2-feed-fields{display:flex;flex-direction:column;gap:24px;}.v2-feed-field{display:flex;flex-direction:column;gap:8px;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .field{margin:0!important;padding:0;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .sheet-section-label{margin:0;padding:0;font:500 12px/18px Inter,sans-serif!important;letter-spacing:0;text-transform:none;opacity:1!important;color:#6d6577!important;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] #feedTypePicker{display:flex;align-items:center;gap:8px;width:100%;min-height:80px;margin:0;padding:0;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] #feedTypePicker .mood-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 0 calc((100% - 16px)/3 + .522667px);min-width:0;min-height:74px;margin:0;padding:13px 10px!important;border:0!important;border-radius:12px;background:var(--lunora-field);box-shadow:none;color:var(--lunora-text);transition:background-color 180ms ease-out;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] #feedTypePicker .mood-card.active{background:rgba(124,111,212,.11);}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] #feedTypePicker .mood-card:active{transform:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .mood-text{margin:0;padding:0;font:500 13px/20px Inter,sans-serif!important;color:var(--lunora-text)!important;opacity:.7;white-space:nowrap;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .mood-card.active .mood-text{opacity:1;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .v2-feed-icon{position:relative;display:block;width:30px;height:30px;min-height:30px;margin:0;padding:0;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .v2-feed-bottle{width:25.258px;height:28px;min-height:28px;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feed-asset{display:inline-block;position:relative;flex:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feed-asset>img{position:absolute!important;inset:auto!important;left:0!important;top:0!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;}
.feed-imgFrame,.feed-imgIconClock{width:20px;height:20px;}.feed-imgFrame1{width:16px;height:16px;}
.v2-feed-icon .feed-imgGroup,.v2-feed-icon .feed-imgGroup1{position:absolute!important;left:5.05px;top:4.25px;width:19.897px;height:20.5px;}
.v2-feed-icon .feed-imgGroup2{position:absolute!important;left:5.856px;top:2.25px;width:13.5491px;height:21.5px;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-segment{position:relative;display:flex;align-items:center;gap:0;width:100%;height:52px;min-height:52px;margin:0;padding:4px;border:0;border-radius:12px;background:var(--lunora-field);box-sizing:border-box;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:44px;min-height:44px;margin:0;padding:0!important;border:0;border-radius:10px;background:transparent!important;box-shadow:none;font:400 13px/20px Inter,sans-serif!important;color:#6d6577!important;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip--custom{flex:0 0 44px;width:44px;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip .chip-main{display:flex;align-items:center;justify-content:center;margin:0;padding:0 0 2px;font:400 13px/20px Inter,sans-serif!important;color:inherit;opacity:1;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip.active{color:#5d4ba6!important;}#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip.active .chip-main{font-weight:500!important;}
.v2-feed-offset-thumb{position:absolute;left:4px;top:4px;z-index:0;height:44px;border-radius:10px;pointer-events:none;background:var(--lunora-surface);opacity:0;transition:transform 200ms ease-out,width 200ms ease-out,opacity 160ms ease-out;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip:active{transform:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] textarea{box-sizing:border-box;width:100%;height:72px;min-height:72px;margin:0;padding:12px 14px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);resize:none;font:400 14px/22px Inter,sans-serif!important;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] textarea::placeholder{color:#746f86;opacity:1;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] #feedingReminderControl{display:flex;flex-direction:column;gap:8px;min-height:106px;margin:0;padding:0;width:100%;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-row{display:flex;align-items:center;gap:12px;height:48px;min-height:48px;margin:3px 0;padding:8px 12px;border:0;border-radius:10px;background:var(--lunora-field);box-sizing:border-box;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-duration{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:28px;margin:0;padding:0;border:0;background:none;color:var(--lunora-text);font:400 14px/22px Inter,sans-serif!important;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-value{font:inherit;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-switch{position:relative;width:44px;height:28px;min-height:28px;flex:0 0 44px;margin:0;padding:0;border:0;border-radius:999px;box-shadow:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-switch>span{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--lunora-surface);transition:transform 180ms ease-out;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-switch[aria-checked=true]{background:var(--lunora-primary);}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-switch[aria-checked=true]>span{transform:translateX(17px);}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-bottom{display:flex;align-items:center;min-height:18px;margin:0;padding:0;gap:8px;color:#6d6577;font:400 12px/18px Inter,sans-serif!important;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-bottom[hidden]{display:none;}
.v2-feed-actions{display:flex;min-height:48px;}#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .v2-feed-actions>button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:48px;min-height:48px;margin:0!important;padding:0 12px;border:0;border-radius:10px;background:var(--lunora-primary);color:white;font:500 14px/20px Inter,sans-serif!important;box-shadow:none;}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-custom-row{margin:0;min-width:0;}.v2-feed-fields .offset-custom-row>.lunora-temporal-field{flex:1;min-width:0;}
:root[data-theme=dark] #sheet.v2-feeding-event[data-sheet-kind=feeding-event]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] #sheet.v2-feeding-event[data-sheet-kind=feeding-event] :is(.sheet-section-label,.offset-chip,.feeding-reminder-bottom){color:var(--lunora-muted)!important;}
:root[data-theme=dark] #sheet.v2-feeding-event[data-sheet-kind=feeding-event] textarea::placeholder{color:var(--lunora-muted)!important;}
:root[data-theme=dark] #sheet.v2-feeding-event[data-sheet-kind=feeding-event] #feedTypePicker .mood-card.active{background:rgba(171,163,227,.11);}
:root[data-theme=dark] #sheet.v2-feeding-event[data-sheet-kind=feeding-event] .offset-chip.active{color:#b8a9ff!important;}
:root[data-theme=dark] #sheet.v2-feeding-event[data-sheet-kind=feeding-event] .feeding-reminder-switch>span{background:var(--lunora-text);}
#sheet.v2-feeding-event[data-sheet-kind=feeding-event] :is(button,textarea):focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}
@media(prefers-reduced-motion:reduce){#sheet.v2-feeding-event[data-sheet-kind=feeding-event],#sheet.v2-feeding-event .v2-feed-offset-thumb,#sheet.v2-feeding-event .mood-card,#sheet.v2-feeding-event .feeding-reminder-switch>span{transition:none!important;}}

/* css/care-event-v2.v001.css */
html[data-lunora-ui="2"] #sheet.v2-care-event[data-sheet-kind=care-event]{position:fixed;left:50%;right:auto;top:var(--feeding-visible-center,50%);bottom:auto;transform:translate(-50%,-50%) translateY(8px) scale(.985);width:calc(100% - 40px);max-width:390px;max-height:var(--feeding-visible-max,calc(100dvh - 40px));margin:0;padding:20px;display:flex;flex-direction:column;gap:24px;overflow:auto;box-sizing:border-box;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);opacity:0;pointer-events:none;box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;transition:opacity 160ms ease-out,transform 160ms ease-out;}
html[data-lunora-ui="2"] #sheet.v2-care-event[data-sheet-kind=care-event].show{transform:translate(-50%,-50%);opacity:1;pointer-events:auto;visibility:visible;}
#sheet.v2-care-event[data-sheet-kind=care-event] .sheet-handle{display:none;}
#sheet.v2-care-event[data-sheet-kind=care-event] .sheet-head{display:flex;align-items:center;gap:12px;height:44px;min-height:44px;margin:0;}
#sheet.v2-care-event[data-sheet-kind=care-event] .sheet-title{font:500 20px/26px Inter,sans-serif!important;letter-spacing:0;color:inherit;flex:1;min-width:0;}
#sheet.v2-care-event[data-sheet-kind=care-event] .sheet-close{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;margin:0;padding:0;border:0;border-radius:10px;background:none;box-shadow:none;}
#sheet.v2-care-event[data-sheet-kind=care-event] .sheet-close::before{content:"";position:absolute;inset:4px;z-index:-1;border-radius:10px;background:var(--lunora-field);}
#sheet.v2-care-event[data-sheet-kind=care-event] #sheetBody{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;overflow:visible;flex:none;}
.v2-care-fields{display:flex;flex-direction:column;gap:24px;}.v2-care-field{display:flex;flex-direction:column;gap:8px;}
#sheet.v2-care-event[data-sheet-kind=care-event] .field{margin:0!important;padding:0;}
#sheet.v2-care-event[data-sheet-kind=care-event] .sheet-section-label{margin:0;padding:0;font:500 12px/18px Inter,sans-serif!important;letter-spacing:0;text-transform:none;opacity:1!important;color:#6d6577!important;}
#sheet.v2-care-event[data-sheet-kind=care-event] .feed-asset{display:inline-block;position:relative;flex:none;}
#sheet.v2-care-event[data-sheet-kind=care-event] .feed-asset>img{position:absolute!important;inset:auto!important;left:0!important;top:0!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;}
.feed-imgFrame,.feed-imgIconClock{width:20px;height:20px;}.feed-imgFrame1{width:16px;height:16px;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-segment{position:relative;display:flex;align-items:center;gap:0;width:100%;height:52px;min-height:52px;margin:0;padding:4px;border:0;border-radius:12px;background:var(--lunora-field);box-sizing:border-box;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:44px;min-height:44px;margin:0;padding:0!important;border:0;border-radius:10px;background:transparent!important;box-shadow:none;font:400 13px/20px Inter,sans-serif!important;color:#6d6577!important;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip--custom{flex:0 0 44px;width:44px;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip .chip-main{display:flex;align-items:center;justify-content:center;margin:0;padding:0 0 2px;font:400 13px/20px Inter,sans-serif!important;color:inherit;opacity:1;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip.active{color:#5d4ba6!important;}#sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip.active .chip-main{font-weight:500!important;}
.v2-care-offset-thumb{position:absolute;left:4px;top:4px;z-index:0;height:44px;border-radius:10px;pointer-events:none;background:var(--lunora-surface);opacity:0;transition:transform 200ms ease-out,width 200ms ease-out,opacity 160ms ease-out;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip:active{transform:none;}
#sheet.v2-care-event[data-sheet-kind=care-event] textarea{box-sizing:border-box;width:100%;height:72px;min-height:72px;margin:0;padding:12px 14px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);resize:none;font:400 14px/22px Inter,sans-serif!important;}
#sheet.v2-care-event[data-sheet-kind=care-event] textarea::placeholder{color:#746f86;opacity:1;}
.v2-care-actions{display:flex;min-height:48px;}#sheet.v2-care-event[data-sheet-kind=care-event] .v2-care-actions>button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:48px;min-height:48px;margin:0!important;padding:0 12px;border:0;border-radius:10px;background:var(--lunora-primary);color:white;font:500 14px/20px Inter,sans-serif!important;box-shadow:none;}
#sheet.v2-care-event[data-sheet-kind=care-event] .offset-custom-row{margin:0;min-width:0;}.v2-care-fields .offset-custom-row>.lunora-temporal-field{flex:1;min-width:0;}
:root[data-theme=dark] #sheet.v2-care-event[data-sheet-kind=care-event]{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942;}
:root[data-theme=dark] #sheet.v2-care-event[data-sheet-kind=care-event] textarea::placeholder{color:var(--lunora-muted)!important;}
:root[data-theme=dark] #sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip.active{color:#b8a9ff!important;}
#sheet.v2-care-event[data-sheet-kind=care-event] :is(button,textarea):focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px;}
:root[data-theme=dark] #sheet.v2-care-event[data-sheet-kind=care-event] :is(.sheet-section-label,.offset-chip){color:var(--lunora-muted)!important;}
:root[data-theme=dark] #sheet.v2-care-event[data-sheet-kind=care-event] .offset-chip.active{color:#b8a9ff!important;}
@media(prefers-reduced-motion:reduce){#sheet.v2-care-event[data-sheet-kind=care-event],#sheet.v2-care-event .v2-care-offset-thumb{transition:none!important;}}

/* css/sleep-timeline-v2.v001.css */
html[data-lunora-ui="2"] #statusCard .progress[data-episode-timeline="1"] {background:transparent;border-radius:0;}
html[data-lunora-ui="2"] #statusCard .progress[data-episode-timeline="1"]::before {display:none;}
html[data-lunora-ui="2"] .progress[data-episode-timeline="1"] > #progressBar,
html[data-lunora-ui="2"] .progress[data-episode-timeline="1"] > #progressSeg,
html[data-lunora-ui="2"] .v2-progress:has([data-episode-timeline="1"]) > .progress-labels {display:none!important;}
html[data-lunora-ui="2"] .v2-sleep-spans {position:absolute;inset:0;display:flex;width:100%;height:8px;gap:3px;overflow:hidden;}
html[data-lunora-ui="2"] .v2-sleep-spans > span {flex-basis:0;min-width:0;height:8px;border-radius:3px;background:#735ccc;}
:root[data-theme="dark"][data-lunora-ui="2"] .v2-sleep-spans > [data-kind="sleep"] {background:#b8a9ff;}
html[data-lunora-ui="2"] .v2-sleep-spans > [data-kind="awake"] {background:var(--lunora-gold);}
html[data-lunora-ui="2"] .v2-sleep-spans > [data-kind="remaining"] {background:var(--lunora-track);}
html[data-lunora-ui="2"] [data-episode-phase="day"] .v2-sleep-spans > [data-kind="sleep"], :root[data-theme="dark"][data-lunora-ui="2"] [data-episode-phase="day"] .v2-sleep-spans > [data-kind="sleep"] {background:var(--lunora-gold);}
html[data-lunora-ui="2"] [data-episode-phase="day"] .v2-sleep-spans > [data-kind="awake"] {background:#5aa9e6;}
:root[data-theme="dark"][data-lunora-ui="2"] [data-episode-phase="day"] .v2-sleep-spans > [data-kind="awake"] {background:#8bc7ff;}
html[data-lunora-ui="2"] .v2-sleep-spans > [hidden] {display:none;}
html[data-lunora-ui="2"] .v2-sleep-boundaries {position:relative;flex-shrink:0;width:100%;height:16px;overflow:hidden;color:#6e639c;font:400 10px/16px Inter,sans-serif;}
:root[data-theme="dark"][data-lunora-ui="2"] .v2-sleep-boundaries {color:var(--lunora-muted);}
html[data-lunora-ui="2"] .v2-sleep-boundaries > span {position:absolute;top:0;width:38px;white-space:nowrap;}
html[data-lunora-ui="2"] .v2-sleep-boundaries > [data-target="true"] {width:65px;transform:translateX(-100%);text-align:right;}
html[data-lunora-ui="2"] #statusCard:has([data-episode-timeline="1"]) #statusTime {color:#6d6577!important;}
html[data-lunora-ui="2"] #statusCard:has([data-episode-timeline="1"]) #timerSub {color:#695e8f!important;}
:root[data-theme="dark"][data-lunora-ui="2"] #statusCard:has([data-episode-timeline="1"]) #statusTime,
:root[data-theme="dark"][data-lunora-ui="2"] #statusCard:has([data-episode-timeline="1"]) #timerSub {color:#b8b1c6!important;}
:root[data-theme="dark"][data-lunora-ui="2"] #statusCard:has([data-episode-timeline="1"]) #statusIndicator.sleeping {background:#3c3456;}
:root[data-theme="dark"][data-lunora-ui="2"] .v2-sleep-spans > [data-kind="remaining"] {background:#382e50;}
:root[data-theme="dark"][data-lunora-ui="2"] #statusCard:has([data-episode-timeline="1"]) #btnWake {color:#2a2348!important;}


/* css/saved-event-undo.v001.css */
.saved-event-undo{position:fixed;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:390px;z-index:10020;pointer-events:none}
.saved-event-undo-card{box-sizing:border-box;height:64px;display:flex;align-items:center;gap:12px;padding:12px 16px;border:.5px solid #e2dcf5;border-radius:16px;background:#fff;box-shadow:0 7px 18px 1px rgba(20,13,36,.13);overflow:clip;pointer-events:auto;touch-action:pan-y;font-family:Inter,sans-serif}
.saved-event-undo-icon{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#e8f7ef}
.saved-event-undo-icon img{display:block;flex-shrink:0}
.saved-event-undo-icon .asset-dark{display:none}
.saved-event-undo-copy{display:flex;flex:1 1 0;min-width:0;flex-direction:column;gap:4px;overflow:clip}
.saved-event-undo-title{font-size:16px;font-weight:500;line-height:22px;color:#292337;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saved-event-undo-subtitle{font-size:12px;font-weight:400;line-height:16px;color:#695e8f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saved-event-undo-card .saved-event-undo-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:77px;min-height:44px;padding:12px 4px;margin:0;border:0;border-radius:8px;background:transparent;color:#7564cc;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px;cursor:pointer}
.saved-event-undo-button:focus-visible{outline:2px solid #7564cc;outline-offset:0}
.saved-event-undo-button:disabled{opacity:.5;cursor:default}
[data-theme=dark] .saved-event-undo-card{background:#2d293c;border-color:#423b56;box-shadow:0 7px 18px 1px rgba(20,13,36,.4)}
[data-theme=dark] .saved-event-undo-icon{background:#343139}
[data-theme=dark] .saved-event-undo-icon .asset-light{display:none}
[data-theme=dark] .saved-event-undo-icon .asset-dark{display:block}
[data-theme=dark] .saved-event-undo-title{color:#f0ecf6}
[data-theme=dark] .saved-event-undo-subtitle{color:#b8b1c6}
[data-theme=dark] .saved-event-undo-card .saved-event-undo-button{color:#b0a7e2}

/* css/profile-v2.v001.css */
.pv2-legacy[hidden]{display:none!important}
.pv2-page{padding:12px 0 20px;display:flex;flex-direction:column;align-items:stretch;gap:12px;font-family:Inter,sans-serif;color:var(--lunora-text)}
.pv2-page button,.pv2-page input{font-family:Inter,sans-serif}
.pv2-page button{cursor:pointer}
.pv2-page button:focus-visible,.pv2-secondary-nav button:focus-visible{outline:2px solid #7564cc;outline-offset:2px}
.pv2-page-title{font-size:24px;line-height:30px;font-weight:500;margin:0;padding:0}
.pv2-surface{margin:0;border:0;border-radius:16px;background:var(--lunora-surface);overflow:clip}
.pv2-identity{display:flex;gap:14px;align-items:center;min-height:76px;padding:16px;width:100%;text-align:left}
.pv2-avatar{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#ece7ff;color:#5d4ba6;font-size:20px;line-height:26px;font-weight:500;overflow:clip}
.pv2-avatar img{object-fit:cover;width:44px;height:44px}
.pv2-identity-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.pv2-row-title{font-size:16px;line-height:22px;font-weight:500;color:var(--lunora-text)}
.pv2-row-subtitle{font-size:13px;line-height:18px;font-weight:400;color:var(--lunora-muted)}
.pv2-group{display:flex;flex-direction:column;gap:8px}
.pv2-divider{display:flex;align-items:center;justify-content:center;gap:12px;height:20px;padding:0;margin:0;color:var(--lunora-muted);font-size:11px;font-weight:500;line-height:16px}
.pv2-divider:before,.pv2-divider:after{content:'';height:1px;background:#e5e0f0;flex:1;min-width:0}
.pv2-group-surface{display:flex;flex-direction:column}
.pv2-row{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;height:72px;min-height:72px;padding:8px 16px;margin:0;background:none;border:0;border-radius:0;box-shadow:none;text-align:left;color:var(--lunora-text)}
.pv2-group-surface>.pv2-row+.pv2-row{border-top:1px solid #e5e0f0;height:73px;min-height:73px}
.pv2-tile{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:10px}
.pv2-tile-children{background:#fff2e5}.pv2-tile-family{background:#eeeafb}.pv2-tile-premium{background:#fff3da}.pv2-tile-gift{background:#faedf4}.pv2-tile-link{background:#eaf4fc}.pv2-tile-news{background:#e8f5f4}.pv2-tile-feedback{background:#eaf5ef}.pv2-tile-info{background:#f1edf8}
.pv2-row-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;overflow:hidden}
.pv2-row-copy>span,.pv2-identity-copy>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv2-chevron{width:18px;height:18px;flex-shrink:0;display:flex;align-items:flex-start;justify-content:flex-start}
.pv2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.pv2-asset img{display:block;flex-shrink:0}.pv2-asset .asset-dark{display:none}
[data-theme=dark] .pv2-asset .asset-light{display:none}[data-theme=dark] .pv2-asset .asset-dark{display:block}
[data-theme=dark] .pv2-avatar{background:#3c3456;color:#b0a7e2}
[data-theme=dark] .pv2-divider:before,[data-theme=dark] .pv2-divider:after{background:#423b56}
[data-theme=dark] .pv2-group-surface>.pv2-row+.pv2-row{border-color:#423b56}
[data-theme=dark] .pv2-tile-children{background:#3c3025}[data-theme=dark] .pv2-tile-family{background:#342d49}[data-theme=dark] .pv2-tile-premium{background:#433a2a}[data-theme=dark] .pv2-tile-gift{background:#3d2b38}[data-theme=dark] .pv2-tile-link{background:#273545}[data-theme=dark] .pv2-tile-news{background:#263c3e}[data-theme=dark] .pv2-tile-feedback{background:#293c33}[data-theme=dark] .pv2-tile-info{background:#352e43}
html[data-lunora-ui="2"][data-secondary-route^="profile-"] .v2-bottom:not(.pv2-bottom){display:none}
.pv2-bottom[hidden]{display:none!important}
.pv2-secondary-nav{box-sizing:border-box;display:flex;width:144px;height:72px;gap:24px;padding:12px;border-radius:36px;background:var(--lunora-surface);box-shadow:0 6px 18px rgba(41,35,55,.09),0 1px 4px rgba(41,35,55,.04)}
.pv2-secondary-nav>button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;padding:0;margin:0;border:0;border-radius:24px;background:none;cursor:pointer}
.pv2-secondary-nav>.pv2-nav-profile{background:#f7e6ed}
.pv2-nav-profile .pv2-avatar{width:32px;height:32px;border-radius:16px;background:#e8e0f0;color:#66536e;font-size:16px;line-height:20px}
html[data-lunora-ui="2"] .bottom-nav .nav-item[data-tab=profile].active #navProfileAvatar{font-size:16px;line-height:20px;background:#e8e0f0;color:#66536e}
[data-theme=dark][data-lunora-ui="2"] .bottom-nav .nav-item[data-tab=profile].active #navProfileAvatar{background:#625471;color:#f5f0ff}
[data-theme=dark] .pv2-secondary-nav>.pv2-nav-profile{background:#503746}
[data-theme=dark] .pv2-nav-profile .pv2-avatar{background:#625471;color:#f5f0ff}
.pv2-children-card{padding:16px;display:flex;flex-direction:column;gap:12px}
.pv2-child-row{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:44px;padding-right:4px}
.pv2-child-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:10px;background:#ece7ff;color:#5d4ba6;font-size:20px;overflow:clip}
.pv2-child-avatar img{width:44px;height:44px;object-fit:cover}
.pv2-child-row .pv2-row-copy{height:44px;gap:0}
.pv2-child-name{font-size:14px;line-height:20px;font-weight:500}.pv2-child-detail{font-size:13px;line-height:18px;color:var(--lunora-muted)}
.pv2-child-edit{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:44px;padding:0;border:0;background:none}
.pv2-child-edit:before{content:'';position:absolute;inset:0 -14px}
.pv2-child-edit .pv2-asset{width:16px;height:16px;background-color:var(--lunora-navigation-icon);-webkit-mask:url(../assets/profile-v2/light/edit.svg) center / contain no-repeat;mask:url(../assets/profile-v2/light/edit.svg) center / contain no-repeat}
.pv2-child-edit .pv2-asset img{position:absolute;visibility:hidden}
.pv2-add-child{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;margin:12px 0 0;padding:0;border:0;border-radius:12px;background:#ece7ff;color:#5d4ba6;font-size:14px;font-weight:500;line-height:20px}
[data-theme=dark] .pv2-add-child{background:#3c3456;color:#b0a7e2}
.pv2-about-card{padding:0}
.pv2-about-card .pv2-row{height:76px;min-height:76px;gap:12px}
.pv2-about-card .pv2-row:disabled{opacity:1;cursor:default}
.pv2-about-card .pv2-row-copy{gap:2px;height:46px}
.pv2-about-card .pv2-row-subtitle{height:22px}
.pv2-about-card .pv2-tile-link{background:#ebf4fc}
[data-theme=dark] .pv2-about-card .pv2-tile-link{background:#35313a}
.pv2-about-card .pv2-chevron{width:16px;height:16px}
.pv2-about-card .pv2-row{position:relative;text-decoration:none;min-height:76px;height:auto;padding-top:15px;padding-bottom:15px}
.pv2-about-card .pv2-row+.pv2-row:before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:var(--lunora-border,#e5e0f0)}
.pv2-about-card .pv2-row-copy{height:auto;min-height:44px;justify-content:center;overflow:visible}
.pv2-about-card .pv2-row-copy>span{white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
.pv2-about-card .pv2-row-subtitle{height:auto;min-height:18px}
.pv2-about-documents .pv2-tile-info{background:#ece7ff}
[data-theme=dark] .pv2-about-card .pv2-row+.pv2-row:before{background:#423b56}
[data-theme=dark] .pv2-about-documents .pv2-tile-info{background:#352e43}
.pv2-disclaimer{padding:0;margin:4px 0 0;font-size:11px;font-weight:400;line-height:16px;color:var(--lunora-muted)}
.pv2-family-card{padding:16px}.pv2-family-actions{display:flex;gap:16px}
.pv2-edit-card{padding:16px;display:flex;flex-direction:column;gap:20px}
.pv2-photo-row{display:flex;align-items:center;gap:8px}
.pv2-photo-row>.pv2-avatar{width:48px;height:48px;border-radius:12px;font-size:22px;line-height:30px;font-weight:700}
.pv2-photo-button{flex:1;height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:var(--lunora-field);font-size:14px;font-weight:500;color:var(--lunora-text)}
.pv2-edit-field{display:flex;flex-direction:column;gap:8px;margin:0;color:var(--lunora-muted);font-size:12px;line-height:18px;font-weight:500}
.pv2-edit-field input{box-sizing:border-box;width:100%;height:48px;padding:12px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);font-size:14px;line-height:20px}
.pv2-save{width:100%;height:52px;border:0;border-radius:12px;color:#fff;background:#7564cc;font-size:14px;font-weight:500;line-height:20px}
.pv2-edit .pv2-save{font-weight:500}
.pv2-edit-field .lunora-temporal-trigger{height:48px;min-height:48px;padding:14px 12px;gap:10px;border:0;border-radius:12px;background:var(--lunora-field);box-sizing:border-box;font-size:14px;line-height:20px;justify-content:flex-start;text-align:left}
.pv2-edit-field .lunora-temporal-value{flex:1;min-width:0;text-align:left;font-weight:400}
.pv2-edit-field .lunora-temporal-trigger.is-empty .lunora-temporal-value{color:#736d83}
[data-theme=dark] .pv2-edit-field .lunora-temporal-trigger.is-empty .lunora-temporal-value{color:#b8b1c6}
.pv2-edit-field .lunora-temporal-icon{width:18px;height:20px;display:flex;align-items:center;justify-content:center}

.pv2-tile-premium.pv2-tile-free{background:var(--lunora-field,#f1f1f3)}
.pv2-tile-free .pv2-asset{filter:grayscale(1)}

.pv2-mail-row .pv2-tile{color:#199776}.pv2-mail-row .pv2-asset svg{display:block;width:24px;height:24px}:root[data-theme="dark"] .pv2-mail-row .pv2-tile{color:#76cfaf}

/* css/parent-photo-v2.v001.css */
.pp2-dialog{position:fixed;inset:auto;left:50%;top:min(calc(168px + var(--safe-area-top,0px)),max(20px,calc(100dvh - var(--pp2-height,222px) - 20px)));transform:translateX(-50%);width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);margin:0;padding:0;border:0;background:transparent;overflow:visible;color:var(--lunora-text);font-family:Inter,sans-serif;box-sizing:border-box}
.pp2-dialog::backdrop{background:rgba(36,31,75,.32)}
.pp2-body{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:20px;border-radius:20px;background:var(--lunora-surface);box-shadow:0 1px 4px rgba(26,20,41,.04),0 6px 20px rgba(26,20,41,.09);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box}
.pp2-head{display:flex;align-items:center;justify-content:space-between;min-height:44px;flex-shrink:0}
.pp2-head h2{flex:1;min-width:0;margin:0;padding:0;font-size:20px;font-weight:500;line-height:26px}
.pp2-dialog .pp2-close{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer}
.pp2-close:before{content:'';position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field)}
.pp2-close .pp2-asset{position:relative;width:20px;height:20px}
.pp2-description{margin:0;padding:0;font-size:14px;font-weight:400;line-height:21px;color:var(--lunora-muted)}
.pp2-actions{display:flex;align-items:flex-start;gap:8px;flex-shrink:0}
.pp2-dialog .pp2-actions :is(button,.lunora-photo-picker-control){display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;height:48px;min-height:48px;margin:0;padding:0 12px;border:0;border-radius:12px;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px;cursor:pointer}
.pp2-dialog .pp2-primary{background:#7564cc;color:#fff}.pp2-dialog .pp2-secondary{background:var(--lunora-field);color:var(--lunora-text)}
.pp2-dialog .pp2-danger{background:#fff0f3;color:#c44760}[data-theme=dark] .pp2-dialog .pp2-danger{background:#402735;color:#f39aac}
[data-theme=dark] .pp2-body{box-shadow:0 1px 4px rgba(26,20,41,.14),0 6px 20px rgba(26,20,41,.26)}
.pp2-dialog .pp2-actions.pp2-upload-actions button{height:52px;min-height:52px}
.pp2-dialog button:focus-visible{outline:2px solid #7564cc;outline-offset:1px}.pp2-dialog button:disabled{opacity:.5;cursor:default}
.pp2-progress{display:flex;flex-direction:column;gap:8px;flex-shrink:0}
.pp2-track{height:6px;width:100%;border-radius:3px;background:var(--lunora-field);overflow:hidden}
.pp2-bar{width:0;height:6px;border-radius:3px;background:#7564cc}
.pp2-progress-label{font-size:13px;font-weight:400;line-height:18px;color:var(--lunora-muted)}
.pp2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.pp2-asset img{display:block;flex-shrink:0}.pp2-asset .asset-dark{display:none}
[data-theme=dark] .pp2-asset .asset-light{display:none}[data-theme=dark] .pp2-asset .asset-dark{display:block}
.pp2-file-input{position:fixed;left:-9999px;width:1px;height:1px;opacity:0}
.pv2-photo-row>.pv2-remove-photo{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:10px;background:var(--lunora-field)}
.pv2-remove-photo[hidden]{display:none!important}.pv2-photo-row .pv2-avatar img{width:48px;height:48px;object-fit:cover}

/* css/family-v2.v001.css */
.pv2-family-card{padding:16px;display:flex;flex-direction:column;gap:10px}.fv2-members{display:flex;flex-direction:column;gap:10px;margin:0;padding:0}.fv2-member{display:flex;gap:12px;align-items:center;min-height:38px;width:100%;box-sizing:border-box}.fv2-member-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:8px;background:#ece7ff;color:#5d4ba6;font-size:15px;line-height:20px;font-weight:700}.fv2-member-avatar.fv2-owner{background:#ebf4fc;color:#5b9cca}.fv2-member-copy{display:flex;flex-direction:column;min-width:0;flex:1}.fv2-name{font-size:14px;line-height:20px;font-weight:700;color:var(--lunora-text)}.fv2-sub{font-size:13px;line-height:18px;font-weight:400;color:#6d6577}.fv2-name,.fv2-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pv2-family-actions{display:flex;align-items:flex-start;gap:16px;padding-top:14px;width:100%}.pv2-family-actions>.fv2-action{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;height:48px;min-height:48px;border:0;border-radius:12px;padding:0 8px;margin:0;font-family:Inter,sans-serif;font-size:14px;line-height:20px;font-weight:500;box-sizing:border-box;cursor:pointer}.pv2-family-actions>#btnInviteFamily{background:#7564cc;color:white}.pv2-family-actions>#btnLeaveFamily{background:#fff0f2;color:#c5485c}.fv2-member-remove{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;background:transparent;cursor:pointer;flex-shrink:0}
.fv2-invitation-page{gap:16px;padding-bottom:120px}.fv2-invitation-page>h1{font-size:22px;font-weight:700;line-height:28px}.fv2-invite-card{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:16px}.fv2-invite-card>h2{margin:0;font-size:16px;line-height:22px;font-weight:500}.fv2-invite-description{margin:0;color:#6d6577;font-size:14px;line-height:21px;font-weight:400}.fv2-invite-actions{display:flex;gap:8px;height:48px}.fv2-invite-actions>button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;height:48px;padding:0 10px;border:0;border-radius:12px;font-family:Inter,sans-serif;font-size:14px;line-height:20px;font-weight:500;cursor:pointer}.fv2-primary{background:#7564cc;color:#fff}.fv2-secondary{background:var(--lunora-field);color:var(--lunora-text)}.fv2-invite-status{font-size:14px;line-height:21px;color:var(--lunora-muted);margin:0}.fv2-retry{height:44px;background:var(--lunora-field);color:var(--lunora-text);border:0;border-radius:12px;font:500 14px/20px Inter,sans-serif}
.fv2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.fv2-asset img{display:block;flex-shrink:0}.fv2-asset .asset-dark{display:none}[data-theme=dark] .fv2-asset .asset-light{display:none}[data-theme=dark] .fv2-asset .asset-dark{display:block}.fv2-action:focus-visible,.fv2-invite-actions>button:focus-visible,.fv2-dialog-actions>button:focus-visible{outline:2px solid #7564cc;outline-offset:2px}.fv2-invite-actions>button:disabled{opacity:.5;cursor:default}
.fv2-leave-dialog{position:fixed;inset:auto;left:50%;top:min(calc(306px + var(--safe-area-top,0px)),max(20px,calc(100dvh - 242px)));transform:translateX(-50%);width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);margin:0;padding:0;border:0;background:transparent;color:var(--lunora-text);font-family:Inter,sans-serif;box-sizing:border-box;overflow:visible}.fv2-leave-dialog::backdrop{background:rgba(36,31,75,.32)}.fv2-dialog-body{display:flex;flex-direction:column;gap:24px;padding:20px;border-radius:20px;background:var(--lunora-surface);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box}.fv2-dialog-head{display:flex;align-items:center;justify-content:space-between;min-height:44px}.fv2-dialog-head>h2{margin:0;font-size:20px;line-height:26px;font-weight:500;flex:1}.fv2-dialog-close{position:relative;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;cursor:pointer}.fv2-dialog-close:before{content:'';position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field)}.fv2-dialog-close .fv2-asset{position:relative;width:20px;height:20px}.fv2-dialog-body>p{margin:0;font-size:14px;font-weight:400;line-height:21px;color:#6d6577}.fv2-dialog-actions{display:flex;gap:8px;align-items:flex-start}.fv2-dialog-actions>button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;height:48px;padding:0 12px;border:0;border-radius:12px;font:500 14px/20px Inter,sans-serif;cursor:pointer}.fv2-danger{background:#fff0f3;color:#c44760}
[data-theme=dark] .fv2-member-avatar{background:#3c3456;color:#b0a7e2}[data-theme=dark] .fv2-member-avatar.fv2-owner{background:#35313a;color:#a2c7e1}[data-theme=dark] .fv2-sub,[data-theme=dark] .fv2-invite-description,[data-theme=dark] .fv2-dialog-body>p{color:#b8b1c6}[data-theme=dark] .pv2-family-actions>#btnLeaveFamily,[data-theme=dark] .fv2-danger{background:#402735;color:#f39aac}

/* css/child-profile-v2.v001.css */
.cpv2-page{display:flex;flex-direction:column;gap:16px;padding:24px 0 128px;font-family:Inter,sans-serif;color:var(--lunora-text)}.cpv2-title{font-size:24px;line-height:30px;font-weight:500;margin:0}.cpv2-basic-group{display:flex;flex-direction:column;gap:8px}.cpv2-basics{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:16px}.cpv2-photo{display:flex;align-items:center;gap:8px;width:350px;max-width:100%}.cpv2-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:56px;height:56px;border-radius:14px;overflow:clip;background:#ece7ff;color:#5d4ba6;font-size:22px;font-weight:500}.cpv2-avatar>img{width:56px;height:56px;object-fit:cover}.cpv2-photo-change{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;height:52px;min-width:0;padding:0 12px;border:0;border-radius:12px;background:var(--lunora-field);font:500 14px/20px Inter,sans-serif;color:var(--lunora-text)}.cpv2-photo-remove{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:var(--lunora-field)}.cpv2-photo-remove[hidden]{display:none!important}.cpv2-field{display:flex;flex-direction:column;gap:8px;width:350px;max-width:100%;margin:0}.cpv2-field-label{font:500 12px/18px Inter,sans-serif;color:#6d6577;margin:0}.cpv2-field .field-input-wrap{padding:0;border:0;background:none}.cpv2-field .field-input{width:100%;height:48px;margin:0;padding:0 14px;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-text);font:400 13px/18px Inter,sans-serif;box-sizing:border-box}.cpv2-field .lunora-temporal-trigger{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:48px;min-height:48px;padding:0 14px;border:0;border-radius:10px;background:var(--lunora-field);font:400 13px/18px Inter,sans-serif;color:var(--lunora-text);box-sizing:border-box}.cpv2-field .lunora-temporal-value{text-align:left;flex:1}.cpv2-field .lunora-temporal-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center}.cpv2-field .mood-grid{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--lunora-field);height:48px;box-sizing:border-box}.cpv2-field #genderPicker{height:52px}.cpv2-field .mood-card{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:0;padding:0;border:0;border-radius:8px;background:none;box-shadow:none;font:400 14px/20px Inter,sans-serif;color:var(--lunora-muted)}.cpv2-field .mood-card.active{background:#ece7ff;color:var(--lunora-text)}.cpv2-field .mood-text{font:inherit}
.cpv2-section{padding:16px}.cpv2-section-header{display:flex;align-items:center;gap:12px;width:350px;max-width:100%;height:43px;margin:0;padding:0;border:0;background:none;text-align:left;cursor:pointer}.cpv2-section-labels{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.cpv2-section-title{font:500 16px/22px Inter,sans-serif;color:var(--lunora-text)}.cpv2-section-summary{font:400 13px/18px Inter,sans-serif;color:#6d6577;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cpv2-section.expanded .cpv2-section-summary{display:none}.cpv2-section-arrow{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.cpv2-section-arrow>.cpv2-asset:last-child{display:none}.cpv2-section.expanded .cpv2-section-arrow>.cpv2-asset:first-child{display:none}.cpv2-section.expanded .cpv2-section-arrow>.cpv2-asset:last-child{display:inline-flex}.cpv2-expand{display:grid;grid-template-rows:0fr;transition:grid-template-rows 200ms cubic-bezier(.23,1,.32,1),padding-top 200ms cubic-bezier(.23,1,.32,1);padding-top:0}.cpv2-expand-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:16px}.cpv2-section.expanded .cpv2-expand{grid-template-rows:1fr;padding-top:16px}.cpv2-expand .chips-group{display:flex;flex-direction:column;gap:8px}.cpv2-expand .chip-toggle{display:flex;align-items:center;gap:10px;width:100%;height:44px;border:0;border-radius:10px;padding:12px;background:var(--lunora-field);font:400 13px/18px Inter,sans-serif;color:var(--lunora-text);box-sizing:border-box;text-align:left}.cpv2-expand .chip-toggle.active{background:#ece7ff}.cpv2-check{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid #c9c4d3;border-radius:5px;box-sizing:border-box;flex-shrink:0}.cpv2-check>.cpv2-asset{visibility:hidden}.active>.cpv2-check{border-color:#a398cb;background:#ece7ff}.active>.cpv2-check>.cpv2-asset{visibility:visible}.cpv2-field .custom-select-btn{height:48px;min-height:48px;width:100%;border:0;border-radius:10px;background:var(--lunora-field);font:400 13px/18px Inter,sans-serif}.cpv2-actions{display:flex;flex-direction:column;gap:12px;padding-top:8px}.cpv2-actions>#saveChildBtn{height:52px;min-height:52px;margin:0;border:0;border-radius:12px;font:500 14px/20px Inter,sans-serif;background:#7564cc;color:#fff}.cpv2-actions>.cpv2-delete-child{margin:0}
.cpv2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.cpv2-asset img{display:block;flex-shrink:0}.cpv2-asset .asset-dark{display:none}[data-theme=dark] .cpv2-asset .asset-light{display:none}[data-theme=dark] .cpv2-asset .asset-dark{display:block}[data-theme=dark] .cpv2-field-label,[data-theme=dark] .cpv2-section-summary{color:#b8b1c6}[data-theme=dark] .cpv2-field .mood-card.active,[data-theme=dark] .cpv2-expand .chip-toggle.active{background:#3c3456}[data-theme=dark] .cpv2-avatar{background:#3c3456;color:#b0a7e2}@media(prefers-reduced-motion:reduce){.cpv2-expand{transition:none}}
.cpv2-field .mood-grid{margin:0}
.cpv2-field .mood-card{flex-direction:row}
html[data-lunora-ui="2"][data-secondary-route="child-profile"] .v2-bottom:not(.pv2-bottom){display:none}

.cpv2-page #gestationalWeeksField{display:none!important}
.cpv2-page [hidden]{display:none!important}
.cpv2-prematurity{gap:16px}.cpv2-detail-hint{display:flex;align-items:flex-start;gap:8px;width:350px;max-width:100%;margin:0;font:400 13px/18px Inter,sans-serif;color:#6d6577}.cpv2-detail-hint>span:last-child{flex:1;min-width:0}.cpv2-detail-hint>.cpv2-asset{width:16px;height:16px}.cpv2-page #sleepMethodChips .chip-toggle{font-weight:500;line-height:20px}.cpv2-check{position:relative}.cpv2-page #sleepMethodChips .cpv2-check>.cpv2-asset{position:absolute;left:.5px;top:.5px;width:16px;height:16px}
.cpv2-field .custom-select-label{color:var(--lunora-text)!important;font:400 13px/18px Inter,sans-serif}.cpv2-select-arrow{width:18px;height:18px}.cpv2-select-menu{position:fixed!important;inset:auto;margin:0!important;box-sizing:border-box;display:none!important;flex-direction:column;gap:2px;padding:8px!important;border:0!important;border-radius:12px!important;background:var(--lunora-surface)!important;color:var(--lunora-text);box-shadow:0 1px 2px #1a14290a,0 6px 10px #1a142917;overflow-y:auto;overscroll-behavior:contain;z-index:3000}.cpv2-select-menu.open{display:flex!important}.cpv2-select-menu .custom-select-item{flex:none;display:flex;align-items:center;gap:8px;justify-content:space-between;width:100%;height:44px;min-height:44px;padding:0 12px;margin:0;border:0;border-radius:8px;background:var(--lunora-surface);color:var(--lunora-text);text-align:left;font:500 14px/20px Inter,sans-serif;box-sizing:border-box}.cpv2-select-menu .custom-select-item.active{background:#ece7ff;color:#5d4ba6}.cpv2-select-menu .custom-select-item::after{content:none!important}.cpv2-select-menu .custom-select-item>.cpv2-asset{width:18px;height:18px;visibility:hidden}.cpv2-select-menu .custom-select-item.active>.cpv2-asset{visibility:visible}.cpv2-select-menu .custom-select-item:focus-visible,.cpv2-page button:focus-visible{outline:2px solid #7564cc;outline-offset:2px}.cpv2-select-menu .custom-select-item:focus-visible{outline-offset:-2px}
[data-theme=dark] .cpv2-detail-hint{color:#b8b1c6}[data-theme=dark] .cpv2-select-menu{box-shadow:0 1px 2px #1a142924,0 6px 10px #1a142942}[data-theme=dark] .cpv2-select-menu .custom-select-item.active{background:#3c3456;color:#b0a7e2}

.cpv2-page .chip-toggle::before,.cpv2-page .chip-toggle::after{content:none!important}.cpv2-page #concernChips .chip-toggle,.cpv2-page #concernChips .chip-toggle>span:last-child{font-weight:400!important}.cpv2-page #sleepMethodChips .chip-toggle,.cpv2-page #sleepMethodChips .chip-toggle>span:last-child,.cpv2-select-menu .custom-select-item,.cpv2-select-menu .custom-select-item>span:first-child{font-weight:500!important}.cpv2-page .chip-toggle{transition:background-color 140ms ease-out,color 140ms ease-out;white-space:normal}[data-theme=dark] .cpv2-check{border-color:#5d556a}[data-theme=dark] .active>.cpv2-check{border-color:#8f7dba;background:#443858}@media(prefers-reduced-motion:reduce){.cpv2-page .chip-toggle{transition:none}}

/* css/child-photo-v2.v001.css */
.chp2-dialog{position:fixed;inset:auto;left:50%;top:min(calc(168px + var(--safe-area-top,0px)),max(20px,calc(100dvh - var(--pp2-height,222px) - 20px)));transform:translateX(-50%);width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);margin:0;padding:0;border:0;background:transparent;overflow:visible;color:var(--lunora-text);font-family:Inter,sans-serif;box-sizing:border-box}
.chp2-dialog::backdrop{background:rgba(36,31,75,.32)}
.chp2-body{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:20px;border-radius:20px;background:var(--lunora-surface);box-shadow:0 1px 4px rgba(26,20,41,.04),0 6px 20px rgba(26,20,41,.09);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box}
.chp2-head{display:flex;align-items:center;justify-content:space-between;min-height:44px;flex-shrink:0}
.chp2-head h2{flex:1;min-width:0;margin:0;padding:0;font-size:20px;font-weight:500;line-height:26px}
.chp2-dialog .chp2-close{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer}
.chp2-close:before{content:'';position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field)}
.chp2-close .chp2-asset{position:relative;width:20px;height:20px}
.chp2-description{margin:0;padding:0;font-size:14px;font-weight:400;line-height:21px;color:var(--lunora-muted)}
.chp2-actions{display:flex;align-items:flex-start;gap:8px;flex-shrink:0}
.chp2-dialog .chp2-actions :is(button,.lunora-photo-picker-control){display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;height:48px;min-height:48px;margin:0;padding:0 12px;border:0;border-radius:12px;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px;cursor:pointer}
.chp2-dialog .chp2-primary{background:#7564cc;color:#fff}.chp2-dialog .chp2-secondary{background:var(--lunora-field);color:var(--lunora-text)}
.chp2-dialog .chp2-danger{background:#fff0f3;color:#c44760}[data-theme=dark] .chp2-dialog .chp2-danger{background:#402735;color:#f39aac}
[data-theme=dark] .chp2-body{box-shadow:0 1px 4px rgba(26,20,41,.14),0 6px 20px rgba(26,20,41,.26)}
.chp2-dialog .chp2-actions.chp2-upload-actions button{height:52px;min-height:52px}
.chp2-dialog button:focus-visible{outline:2px solid #7564cc;outline-offset:1px}.chp2-dialog button:disabled{opacity:.5;cursor:default}
.chp2-progress{display:flex;flex-direction:column;gap:8px;flex-shrink:0}
.chp2-track{height:6px;width:100%;border-radius:3px;background:var(--lunora-field);overflow:hidden}
.chp2-bar{width:0;height:6px;border-radius:3px;background:#7564cc}
.chp2-progress-label{font-size:13px;font-weight:400;line-height:18px;color:var(--lunora-muted)}
.chp2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.chp2-asset img{display:block;flex-shrink:0}.chp2-asset .asset-dark{display:none}
[data-theme=dark] .chp2-asset .asset-light{display:none}[data-theme=dark] .chp2-asset .asset-dark{display:block}
.chp2-file-input{position:fixed;left:-9999px;width:1px;height:1px;opacity:0}

/* css/child-unsaved-v2.v001.css */
.cpv2-unsaved{position:fixed;inset:auto;left:50%;top:min(calc(320px + var(--safe-area-top,0px)),max(20px,calc(100dvh - 240px)));transform:translateX(-50%);width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);padding:0;margin:0;border:0;background:transparent;color:var(--lunora-text);font-family:Inter,sans-serif;box-sizing:border-box;overflow:visible}.cpv2-unsaved::backdrop{background:rgba(36,31,75,.32)}.cpv2-unsaved-body{display:flex;flex-direction:column;gap:24px;padding:20px;border-radius:20px;background:var(--lunora-surface);box-shadow:0 1px 4px rgba(26,20,41,.04),0 6px 20px rgba(26,20,41,.09);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box}.cpv2-unsaved-head{display:flex;align-items:center;justify-content:space-between;min-height:44px}.cpv2-unsaved-head h2{margin:0;flex:1;font:500 20px/26px Inter,sans-serif}.cpv2-unsaved-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:var(--lunora-surface);cursor:pointer}.cpv2-unsaved-body>p{margin:0;color:#6d6577;font:400 14px/20px Inter,sans-serif}.cpv2-unsaved-actions{display:flex;gap:8px}.cpv2-unsaved-actions button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:48px;padding:0 12px;border:0;border-radius:12px;font:500 14px/20px Inter,sans-serif;cursor:pointer}.cpv2-unsaved-stay{background:#7564cc;color:white}.cpv2-unsaved-leave{background:var(--lunora-field);color:var(--lunora-text)}[data-theme=dark] .cpv2-unsaved-body{box-shadow:0 1px 4px rgba(26,20,41,.14),0 6px 20px rgba(26,20,41,.26)}[data-theme=dark] .cpv2-unsaved-close{background:#3c3456}[data-theme=dark] .cpv2-unsaved-body>p{color:#b8b1c6}

/* css/account-deletion-v2.v001.css */
.adv2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.adv2-asset img{display:block;flex-shrink:0}.adv2-asset .asset-dark{display:none}[data-theme=dark] .adv2-asset .asset-light{display:none}[data-theme=dark] .adv2-asset .asset-dark{display:block}
.adv2-account-group{display:flex;flex-direction:column;gap:8px}.adv2-account-actions{display:flex;align-items:flex-start;gap:12px;padding:16px;height:80px;box-sizing:border-box}.adv2-account-actions button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;height:48px;min-width:0;padding:0 12px;border:0;border-radius:12px;color:#d33d56;background:transparent;font:500 14px/20px Inter,sans-serif}.adv2-account-actions .adv2-logout{background:#fff0f3}.adv2-account-actions .adv2-asset{width:18px;height:18px}
.adv2-dialog{position:fixed;inset:auto;top:max(16px,calc((100dvh - 368px)/2));left:50%;transform:translateX(-50%);width:min(390px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 32px);margin:0;padding:0;border:0;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);box-shadow:0 1px 4px #1a14290a,0 6px 20px #1a142917;overflow-y:auto}.adv2-dialog::backdrop{background:#29244552}.adv2-dialog-body{display:flex;flex-direction:column;gap:24px;padding:20px}.adv2-dialog-head{display:flex;align-items:center;justify-content:space-between;min-height:44px}.adv2-dialog h2{flex:1;min-width:0;margin:0;font:500 20px/26px Inter,sans-serif}.adv2-close{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:10px;background:none}.adv2-close::before{content:'';position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field)}.adv2-close .adv2-asset{position:relative}.adv2-description{margin:0;font:400 14px/20px Inter,sans-serif;color:#6d6577}.adv2-confirm-label{display:flex;flex-direction:column;gap:8px;margin:0;font:400 13px/18px Inter,sans-serif;color:#6d6577}.adv2-input{width:100%;height:48px;min-width:0;padding:0 12px;border:0;border-radius:12px;background:var(--lunora-field);color:var(--lunora-text);font:400 14px/20px Inter,sans-serif;box-sizing:border-box}.adv2-dialog-actions{display:flex;gap:8px}.adv2-dialog-actions button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;height:48px;min-width:0;margin:0;padding:0 12px;border:0;border-radius:12px;font:500 14px/20px Inter,sans-serif}.adv2-secondary{background:var(--lunora-field);color:var(--lunora-text)}.adv2-danger{background:#fff0f3;color:#d33d56}.adv2-danger:disabled{opacity:.45}.adv2-dialog button:focus-visible,.adv2-input:focus-visible,.adv2-status button:focus-visible,.adv2-account-actions button:focus-visible{outline:2px solid #7564cc;outline-offset:2px}
.pv2-overview.has-deletion-status{padding-top:12px;gap:12px}.adv2-status{display:flex;flex-direction:column;gap:8px;padding:16px;flex-shrink:0}.adv2-status h2{margin:0 0 7px;font:500 18px/24px Inter,sans-serif;color:#292344}
.adv2-countdown{margin:0;font:400 13px/18px Inter,sans-serif;color:var(--lunora-text);font-variant-numeric:tabular-nums}
.adv2-track{width:100%;height:5px;overflow:hidden;border-radius:3px;background:#eeeaf6}
.adv2-fill{height:100%;border-radius:3px;background:#fed47a}
.adv2-timeline{display:flex;justify-content:space-between;align-items:start;gap:8px;font:400 13px/18px Inter,sans-serif;color:#6d6577}
.adv2-timeline time:last-child{text-align:end}
.adv2-status-copy{margin:6px 0 0;text-align:center;font:400 13px/18px Inter,sans-serif;color:#6d6577}
.adv2-status-actions{padding-top:11px}
[data-theme=dark] .adv2-timeline{color:#b8b1c6}.adv2-primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;margin:0;padding:0 12px;border:0;border-radius:12px;background:#7564cc;color:#fff;font:500 14px/20px Inter,sans-serif}.adv2-primary .adv2-asset{width:18px;height:18px}
[data-theme=dark] .adv2-dialog{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942}[data-theme=dark] .adv2-dialog::backdrop{background:rgba(8,6,15,.56)}[data-theme=dark] .adv2-description,[data-theme=dark] .adv2-confirm-label,[data-theme=dark] .adv2-status-copy{color:#b8b1c6}[data-theme=dark] .adv2-danger,[data-theme=dark] .adv2-account-actions .adv2-logout{background:#373039;color:#da8e9b}[data-theme=dark] .adv2-account-actions .adv2-delete{color:#da8e9b}[data-theme=dark] .adv2-status h2{color:#f0ecf6}[data-theme=dark] .adv2-track{background:#352f3a}

/* css/subscription-v2.v001.css */
.sv2-status{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;box-sizing:border-box}
.sv2-head{display:flex;gap:12px;align-items:flex-start;min-width:0}
.sv2-crown,.sv2-receipt{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;flex-shrink:0}
.sv2-crown{background:#fff3da}.sv2-receipt{background:#ece7ff}
.sv2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.sv2-asset img{display:block;flex:none}.sv2-asset .asset-dark{display:none}
.sv2-head-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.sv2-name,.sv2-amount{font-size:16px;font-weight:500;line-height:22px}
.sv2-until,.sv2-payment-date{font-size:13px;font-weight:400;line-height:18px;color:#695e8f}
.sv2-remaining{display:flex;flex-direction:column;gap:8px}
.sv2-days{font-size:12px;font-weight:700;line-height:20px}
.sv2-track{height:6px;border-radius:3px;background:#eeebf7;overflow:hidden}.sv2-fill{height:6px;border-radius:3px;background:#fed47a}
.sv2-actions{padding-top:12px}.sv2-renew{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;border:0;border-radius:12px;padding:12px 16px;background:#7564cc;color:white;font-size:14px;font-weight:500;line-height:20px;cursor:pointer}
.sv2-history{display:flex;flex-direction:column;gap:8px}.sv2-history-surface{padding:16px}
.sv2-payment{display:flex;align-items:center;gap:12px;min-height:56px}.sv2-payment+.sv2-payment{margin-top:16px}
.sv2-payment-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.sv2-payment-title{font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.sv2-payment-detail{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;min-width:96px;max-width:48%}
.sv2-badge{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:4px;min-height:24px;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600;line-height:16px;color:var(--lunora-muted);background:var(--secondary);overflow-wrap:anywhere}
.sv2-paid{color:#237a53;background:#e5f5ed;min-width:96px}
.sv2-history-message{margin:0;font-size:13px;line-height:18px;color:var(--lunora-muted)}
.sv2-more{border:0;border-radius:12px;min-height:44px;padding:10px 16px;background:var(--secondary);color:var(--lunora-text);font-size:14px;line-height:20px}.sv2-more[hidden]{display:none}
.sv2-more:disabled{cursor:wait}.sv2-renew:focus-visible,.sv2-more:focus-visible{outline:2px solid #7564cc;outline-offset:2px}
.sv2-free-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sv2-free-copy{margin:0;font-size:14px;line-height:20px;color:#695e8f}
.sv2-status-trial .sv2-renew,.sv2-status-free .sv2-renew{min-height:44px;padding:12px 16px}
[data-theme=dark] .sv2-asset .asset-light{display:none}[data-theme=dark] .sv2-asset .asset-dark{display:block}
[data-theme=dark] .sv2-crown{background:#433a2a}[data-theme=dark] .sv2-receipt{background:#3c3456}
[data-theme=dark] .sv2-until,[data-theme=dark] .sv2-payment-date{color:#b8b1c6}
[data-theme=dark] .sv2-track{background:#35303a}[data-theme=dark] .sv2-paid{background:#213c32;color:#78c7a8}
[data-theme=dark] .sv2-free-copy{color:#b8b1c6}

/* Isolate payment icons from the player's historically shared sv2 prefix. */
.sv2-payment .sv2-badge{align-items:center;justify-content:center;gap:4px;min-height:24px;padding:4px 8px;}
.sv2-payment .sv2-badge .sv2-asset{position:static;width:auto;height:auto;display:inline-flex;align-items:center;justify-content:center;}
.sv2-payment .sv2-badge .sv2-asset img{position:static;}

.sv2-track[hidden]{display:none!important}.sv2-fill{transition:width .3s ease}@media(prefers-reduced-motion:reduce){.sv2-fill{transition:none}}
.pv2-subscription{gap:16px}.pv2-subscription .pv2-page-title{line-height:34px}.sv2-status:not(.sv2-status-trial):not(.sv2-status-free){gap:16px}
.sv2-status:not(.sv2-status-trial):not(.sv2-status-free) .sv2-actions{padding-top:8px}
.sv2-status:not(.sv2-status-trial):not(.sv2-status-free) .sv2-renew{background:#f7f6f9;color:var(--lunora-text)}
.sv2-tariff{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #e5e0f0;padding-top:16px;font:400 14px/20px Inter,sans-serif;color:#695e8f}.sv2-tariff>span:last-child{text-align:right;font-weight:500;color:var(--lunora-text)}
[data-theme=dark] .sv2-status:not(.sv2-status-trial):not(.sv2-status-free) .sv2-renew{background:#2c2839}[data-theme=dark] .sv2-tariff{border-color:#423b56;color:#b8b1c6}

.sv2-terms-link{display:block;padding:0;margin-top:4px;border:0;background:none;color:var(--lunora-purple,#7863c8);font:inherit;font-size:12px;line-height:18px;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.sv2-terms-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}.sv2-terms-link:disabled{opacity:.6;cursor:wait}
.sv2-accepted-stamp{margin:0 0 20px;color:var(--lunora-muted,#777084);font-size:12px;line-height:18px}.sv2-accepted-content{color:var(--lunora-text,#28233b);font:400 15px/1.6 Inter,sans-serif;overflow-wrap:anywhere}.sv2-accepted-content h1{font-size:22px;line-height:1.3;margin:0 0 20px;letter-spacing:-.02em}.sv2-accepted-content h2{font-size:17px;line-height:1.4;margin:24px 0 12px;letter-spacing:-.01em}.sv2-accepted-content h3{font-size:16px;line-height:1.4;margin:20px 0 10px}.sv2-accepted-content p{margin:0 0 14px}.sv2-accepted-content ul,.sv2-accepted-content ol{margin:0 0 14px;padding-inline-start:22px}.sv2-accepted-content a{color:var(--primary,#7863c8);text-decoration:underline;text-underline-offset:3px}#sheet[data-sheet-kind="accepted-terms"] #sheetBody{overflow-y:auto;overscroll-behavior:contain}

.sv2-status-free{gap:6px}.sv2-free-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sv2-free-head h2{margin:0;font:500 16px/22px Inter,sans-serif}.sv2-current{flex:none;padding:3px 8px;border-radius:9px;background:var(--lunora-field,#f7f7fa);color:var(--lunora-muted,#706979);font:500 12px/18px Inter,sans-serif}.sv2-status-free .sv2-free-copy{margin:0;font:400 13px/20px Inter,sans-serif;color:var(--lunora-muted,#706979)}

.sv2-status:not(.sv2-status-trial):not(.sv2-status-free) .sv2-renew,[data-theme=dark] .sv2-status:not(.sv2-status-trial):not(.sv2-status-free) .sv2-renew{background:#7564cc;color:#fff}

.nsv2-section .rv2-secondary{background:var(--lunora-field,#f7f7fa);color:var(--lunora-text)}

.pv2-feature-lock{display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--lunora-muted,#706979)}

.sv2-free-copy strong{font-weight:600}

.sv2-current.sv2-active{color:#237a53;background:#e5f5ed}.sv2-premium-copy{margin:0;font:400 13px/20px Inter,sans-serif;color:var(--lunora-muted,#706979)}
[data-theme=dark] .sv2-current.sv2-active{background:#213c32;color:#78c7a8}

/* css/offer-v2.v001.css */
html[data-lunora-ui="2"][data-secondary-route="subscription-offer"] .v2-bottom:not(.ov2-bottom){display:none}
.ov2-page p,.ov2-page h2,.ov2-page h3{margin:0}.ov2-subtitle{font-size:14px;line-height:20px;color:#706979}
.ov2-periods{display:grid;position:relative;isolation:isolate;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--lunora-surface);border-radius:16px;padding:4px;box-sizing:border-box}
.ov2-periods::before{content:"";position:absolute;inset:4px auto 4px 4px;width:calc(50% - 4px);border-radius:12px;background:var(--lunora-primary);transform:translateX(0);transition:transform 200ms cubic-bezier(.22,1,.36,1);pointer-events:none}
.ov2-periods:has(button:nth-child(2)[aria-pressed=true])::before{transform:translateX(100%)}
.ov2-periods:dir(rtl)::before{inset-inline-start:4px;inset-inline-end:auto}
.ov2-periods:dir(rtl):has(button:nth-child(2)[aria-pressed=true])::before{transform:translateX(-100%)}
.ov2-periods button{position:relative;height:44px;min-width:0;border:0;border-radius:12px;background:transparent;color:var(--lunora-text);display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;line-height:20px;font-weight:500;padding:0 8px}
@media(prefers-reduced-motion:reduce){.ov2-periods::before{transition:none}}
.ov2-periods button[aria-pressed=true]{color:#fff}.ov2-discount{padding:3px 7px;border-radius:6px;background:#ffd47a;color:#292337;font-size:12px;font-weight:700;line-height:16px}
.ov2-premium{display:flex;flex-direction:column;gap:16px;padding:16px;box-sizing:border-box}
.ov2-head{display:flex;align-items:center;gap:12px}.ov2-head h2{font-size:20px;line-height:24px;font-weight:700}
.ov2-tile{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:10px}
.ov2-purple{background:#eee9ff}.ov2-teal{background:#e2f4ed}.ov2-amber{background:#fff3da}.ov2-family{background:#e4f3f6}.ov2-orange{background:#fff0e0}.ov2-blue{background:#e6f2fd}.ov2-violet{background:#f0e8fb}
.ov2-asset{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px}.ov2-asset img{display:block;flex:none}.ov2-asset .asset-dark{display:none}
.ov2-hero{white-space:pre-line;font-size:24px;font-weight:500;line-height:30px}.ov2-description{font-size:14px;line-height:20px;color:#6d6577}
.ov2-price{display:flex;gap:8px;align-items:center}.ov2-amount{font-size:36px;font-weight:700;line-height:46px}.ov2-unit{font-size:14px;line-height:20px;color:#6d6577}
.ov2-price-note{font-size:13px;line-height:18px;color:#6d6577;min-height:18px}.ov2-month-equivalent{color:#7564cc;font-weight:600}
.ov2-feature{display:flex;gap:12px;align-items:center;min-width:0}.ov2-feature-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.ov2-feature h3{font-size:16px;font-weight:500;line-height:22px}.ov2-feature p{font-size:13px;line-height:18px;color:#6d6577}
.ov2-actions{display:flex;flex-direction:column;gap:12px;padding-top:8px}.ov2-promo-label{font-size:12px;font-weight:600;line-height:18px;color:#6d6577}
.ov2-promo-wrap{display:flex;flex-direction:column;gap:6px;padding-top:0}.ov2-actions .ov2-promo-label{display:block;margin:0}.ov2-promo-row{display:flex;gap:8px}.ov2-promo-row input{min-width:0;flex:1;width:0;border:0;border-radius:12px;background:#f7f7fa;color:var(--lunora-text);font-size:13px;line-height:18px;height:44px;box-sizing:border-box;padding:0 12px;box-shadow:none}
.ov2-promo-row input::placeholder{color:#8a859e}.ov2-promo-row button{box-sizing:border-box;flex-shrink:0;width:102px;height:44px;border:0;border-radius:12px;padding:0 12px;background:#f7f7fa;font-size:14px;line-height:20px;font-weight:500;color:var(--lunora-text)}
.ov2-buy{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 16px;min-height:48px;background:#7564cc;color:white;font-size:14px;font-weight:500;line-height:20px;width:100%}.ov2-buy:disabled{background:color-mix(in srgb,#7564cc 45%,var(--lunora-surface));cursor:default}
.ov2-buy-icon{position:relative;display:block;width:18px;height:18px;flex-shrink:0}.ov2-buy-icon .ov2-asset{position:absolute;width:auto;height:auto;left:.7515px;top:1.505px}.ov2-buy-icon .ov2-asset:last-child{left:3px;top:15px}
.ov2-message{font-size:13px;line-height:18px}.ov2-message[hidden]{display:none}.ov2-success{color:#286f4a}.ov2-error{color:#dc3c5b}
.ov2-free{display:flex;flex-direction:column;gap:8px}.ov2-free-surface{display:flex;flex-direction:column;gap:12px;padding:16px}.ov2-free-row{display:flex;gap:12px;align-items:center;min-height:40px;font-size:14px;line-height:20px}
.ov2-page button:focus-visible,.ov2-page input:focus-visible{outline:2px solid #7564cc;outline-offset:2px}
[data-theme=dark] .ov2-asset .asset-light{display:none}[data-theme=dark] .ov2-asset .asset-dark{display:block}
[data-theme=dark] .ov2-purple{background:#38304f}[data-theme=dark] .ov2-teal{background:#243f3a}[data-theme=dark] .ov2-amber{background:#433a2a}[data-theme=dark] .ov2-family{background:#273d45}[data-theme=dark] .ov2-orange{background:#44362c}[data-theme=dark] .ov2-blue{background:#293c51}[data-theme=dark] .ov2-violet{background:#3a304d}
[data-theme=dark] .ov2-subtitle,[data-theme=dark] .ov2-description,[data-theme=dark] .ov2-unit,[data-theme=dark] .ov2-price-note,[data-theme=dark] .ov2-feature p,[data-theme=dark] .ov2-promo-label{color:#b8b1c6}
[data-theme=dark] .ov2-promo-row input,[data-theme=dark] .ov2-promo-row button{background:#2d293c}[data-theme=dark] .ov2-success{color:#78c7a8}[data-theme=dark] .ov2-error{color:#f49aae}
.ov2-icon-selfsleep img{transform:translateY(.5px)}
.ov2-icon-sounds img{transform:translateX(1.25px)}
.ov2-icon-bell img{position:absolute;left:0;top:0}

/* Owner: the six paid benefits share the compact free list rhythm. */
.ov2-premium-features{display:flex;flex-direction:column;gap:12px;}
.ov2-page .ov2-free-row{font:400 14px/20px Inter,sans-serif;}
.ov2-page .ov2-feature h3{font:inherit;}

.ov2-renewal{padding:4px 0;min-height:44px;gap:12px;cursor:pointer}.ov2-renewal[hidden]{display:none!important}.ov2-renewal input[type=checkbox]{appearance:none;-webkit-appearance:none;display:grid;place-content:center;box-sizing:border-box;width:24px;height:24px;margin:5px 0 0;flex:0 0 24px;border:1.5px solid var(--lunora-muted,#706979);border-radius:7px;background:var(--lunora-surface,#fff);cursor:pointer;transition:background-color 150ms ease-out,border-color 150ms ease-out}.ov2-renewal input[type=checkbox]::after{content:'';width:18px;height:18px;background:center/18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12 4.5 4.5L19 7' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");visibility:hidden}.ov2-renewal input[type=checkbox]:checked{background:var(--primary,#7564cc);border-color:var(--primary,#7564cc)}.ov2-renewal input[type=checkbox]:checked::after{visibility:visible}.ov2-renewal input[type=checkbox]:focus-visible{outline:2px solid var(--primary,#7564cc);outline-offset:3px}.ov2-renewal-copy{padding-top:2px;font:400 13px/20px Inter,sans-serif;color:var(--lunora-text)}.ov2-renewal-copy a{color:var(--primary,#7564cc);text-decoration:underline;text-underline-offset:3px}.ov2-renewal-note{display:block;margin-top:4px;font:400 12px/17px Inter,sans-serif;color:var(--lunora-muted,#706979)}
@media(prefers-reduced-motion:reduce){.ov2-renewal input[type=checkbox]{transition:none}}@media(forced-colors:active){.ov2-renewal input[type=checkbox]{appearance:auto;-webkit-appearance:auto}.ov2-renewal input[type=checkbox]::after{display:none}}

.ov2-billing{display:block;margin-top:4px;color:var(--lunora-muted,#706979)}
.ov2-buy.is-requoting:disabled{background:#7564cc;cursor:wait}

.stars-offer-terms{margin:0;font:400 12px/18px Inter,sans-serif;color:var(--lunora-muted,#706979)}.stars-offer-terms[hidden]{display:none}.stars-offer-terms a{color:var(--primary,#7564cc);text-decoration:underline;text-underline-offset:3px}.stars-offer-terms a:focus-visible{outline:2px solid var(--primary,#7564cc);outline-offset:3px}

.ov2-promo-wrap[hidden]{display:none!important}

.ov2-renewal-note[hidden]{display:none!important}

/* Owner239: one page title, direct price, compact benefits and centered consent. */
.ov2-price{align-items:baseline}
.ov2-unit{align-self:baseline}
.ov2-benefits{display:flex;flex-direction:column;gap:10px}
.ov2-features-title{font:600 14px/20px Inter,sans-serif;color:var(--lunora-text)}
.ov2-premium-features{gap:8px}
.ov2-premium-features .ov2-feature{gap:10px;min-height:32px}
.ov2-premium-features .ov2-tile{width:32px;height:32px;border-radius:9px}
.ov2-premium-features .ov2-asset,.ov2-premium-features .ov2-asset img{width:20px;height:20px}
.ov2-premium-features .ov2-asset img{object-fit:contain}
.ov2-page .ov2-renewal{display:flex;align-items:center}
.ov2-page .ov2-renewal input[type=checkbox]{margin:0}
.ov2-page .ov2-renewal-copy{padding-top:0}
.ov2-page .stars-offer-terms{text-align:center}
.ov2-price-note[hidden]{display:none}

/* Owner240: quiet free-plan card, lighter price/title, honest annual comparison. */
.ov2-head h2{font-weight:500}
.ov2-amount{font-weight:400}
.ov2-month-equivalent{color:var(--lunora-muted,#706979);font-weight:500}
.ov2-discount[hidden]{display:none}
.ov2-free-card{display:flex;flex-direction:column;gap:6px;padding:16px;box-sizing:border-box}
.ov2-free-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ov2-free-head h2{font:500 16px/22px Inter,sans-serif}
.ov2-current{flex:none;padding:3px 8px;border-radius:9px;background:var(--lunora-field,#f7f7fa);color:var(--lunora-muted,#706979);font:500 12px/18px Inter,sans-serif}
.ov2-free-copy{font:400 13px/20px Inter,sans-serif;color:var(--lunora-muted,#706979)}

.ov2-month-equivalent{white-space:nowrap}

.ov2-price+.ov2-price-note{margin-top:-10px}

.ov2-inline-page{padding:0}

/* css/checkout-v2.v001.css */
.cv2-dialog{position:fixed;box-sizing:border-box;width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;padding:20px;border:0;border-radius:20px;color:var(--lunora-text);background:var(--lunora-surface);overflow-y:auto;box-shadow:0 1px 4px rgba(26,20,41,.04),0 6px 20px rgba(26,20,41,.09);font-family:Inter,sans-serif}
.cv2-dialog::backdrop{background:rgba(41,36,69,.32)}.cv2-body{display:flex;flex-direction:column;gap:16px}.cv2-head{display:flex;align-items:center;justify-content:space-between;height:44px;flex-shrink:0}
.cv2-status{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px}.cv2-success{background:#e5f5ed}.cv2-pending{background:#fff3da}.cv2-failed{background:#fff0f3}
.cv2-asset{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.cv2-asset img{display:block;flex:none}.cv2-asset .asset-dark{display:none}
.cv2-close{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;padding:0;border-radius:10px;background:transparent;cursor:pointer}.cv2-close-bg{position:absolute;width:36px;height:36px;border-radius:10px;background:#f7f7fa}.cv2-close .cv2-asset{position:relative}
.cv2-copy{display:flex;flex-direction:column;gap:8px}.cv2-title{margin:0;font-size:20px;font-weight:500;line-height:26px}.cv2-description{font-size:14px;line-height:20px;color:#6d6577}.cv2-description p{margin:0}
.cv2-actions{padding-top:8px}.cv2-primary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border:0;border-radius:12px;padding:12px 16px;background:#7564cc;color:#fff;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px;text-align:center;cursor:pointer}.cv2-primary:disabled{cursor:wait}
.cv2-primary:focus-visible,.cv2-close:focus-visible{outline:2px solid #7564cc;outline-offset:2px}.cv2-closing{pointer-events:none}
[data-theme=dark] .cv2-dialog{box-shadow:0 1px 4px rgba(26,20,41,.14),0 6px 20px rgba(26,20,41,.26)}[data-theme=dark] .cv2-dialog::backdrop{background:rgba(8,6,15,.56)}
[data-theme=dark] .cv2-asset .asset-light{display:none}[data-theme=dark] .cv2-asset .asset-dark{display:block}
[data-theme=dark] .cv2-success{background:#213c32}[data-theme=dark] .cv2-pending{background:#493d2d}[data-theme=dark] .cv2-failed{background:#402735}[data-theme=dark] .cv2-close-bg{background:#2d293c}[data-theme=dark] .cv2-description{color:#b8b1c6}

.cv2-resume{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px 16px;border:0;border-radius:12px;background:var(--lunora-bg,#f7f7fa);color:var(--lunora-text);font:inherit;cursor:pointer}.cv2-resume:focus-visible{outline:2px solid #7564cc;outline-offset:2px}.cv2-resume:disabled{cursor:wait}

/* css/chat-v2.v001.css */
/* Source list 282:4521 /879:30538 and delete dialog652:14879 /879:30707. */
.cv2-asset{display:block;position:relative;width:24px;height:24px;flex:none}
.cv2-asset img{display:block;position:absolute;left:0;top:0;max-width:none}
.cv2-asset .asset-dark{display:none}
:root[data-theme="dark"] .cv2-asset .asset-light{display:none}
:root[data-theme="dark"] .cv2-asset .asset-dark{display:block}
.cv2-more,.cv2-close .cv2-asset,.cv2-trash{width:20px;height:20px}
html[data-lunora-ui="2"] .cv2-overlay{max-width:430px;background:var(--lunora-canvas)}
.cv2-overlay:not(.guide-view)>.selfsleep-overlay-nav,.cv2-overlay:not(.guide-view)>#selfSleepOverlayCta{display:none!important}
html[data-lunora-ui="2"] .cv2-overlay .cv2-bottom{position:fixed;z-index:45;max-width:none}
.cv2-bottom[hidden]{display:none!important}
.cv2-nav{box-sizing:border-box;display:flex;flex:none;width:264px;height:72px;border-radius:36px;padding:12px;gap:16px;align-items:center;background:var(--lunora-surface);box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917}
.cv2-nav>button{display:flex;align-items:center;justify-content:center;position:relative;width:48px;height:48px;flex:none;border:0;border-radius:24px;padding:0;background:transparent;color:var(--lunora-text)}
.cv2-nav .is-current{background:#e1edf8}
:root[data-theme="dark"] .cv2-nav .is-current{background:#23364a}
.cv2-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:16px;overflow:hidden;background:#e8e0f0;color:#66536e;font:500 16px/20px Inter,sans-serif}
.cv2-avatar img{width:32px;height:32px;object-fit:cover}
:root[data-theme="dark"] .cv2-avatar{background:#625471;color:#f5f0ff}
.cv2-overlay[data-chat-view="dialogs"] #selfSleepDialogsScreen{padding:12px 20px calc(172px + var(--safe-area-bottom));background:var(--lunora-canvas);scroll-padding-bottom:172px}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-panel-stack{gap:12px}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card{padding:16px;gap:8px;align-items:flex-start;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card-main{display:flex;flex-direction:column;gap:8px;align-items:stretch;border:0;background:none;padding:0;border-radius:0;font:400 13px/17px Inter,sans-serif;color:var(--lunora-text)}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card-top{padding-right:16px;min-height:23px}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card-name{font:500 16px/22px Inter,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-bottom:1px}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card-preview{margin:0;padding:2px 10px 0 0;font:400 13px/17px Inter,sans-serif;color:var(--lunora-text);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-align:left}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card-meta{width:100%;margin:0;gap:8px;font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted)}
.cv2-overlay #selfSleepDialogsScreen .selfsleep-dialog-card-delete{width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-muted)}
.cv2-overlay .selfsleep-panel-error button{display:block;margin:12px auto 0;border:0;border-radius:12px;padding:12px 20px;color:var(--lunora-text);background:var(--lunora-surface)}
.cv2-confirm{box-sizing:border-box;width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);overflow-y:auto;border:0;padding:20px;margin:auto;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);box-shadow:0 1px 4px #1a142909,0 6px 20px #1a142917;outline:none}
.cv2-confirm[open]{display:flex;flex-direction:column;gap:24px}
.cv2-confirm::backdrop{background:rgba(41,36,69,.32)}
:root[data-theme="dark"] .cv2-confirm::backdrop{background:rgba(8,6,15,.56)}
:root[data-theme="dark"] .cv2-confirm{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942}
.cv2-confirm-head{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px}
.cv2-confirm h2{font:500 20px/26px Inter,sans-serif;margin:0;min-width:0;flex:1}
.cv2-close{display:flex;position:relative;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:0;padding:0;background:transparent;border-radius:10px}
.cv2-close::before{content:"";position:absolute;inset:4px;border-radius:10px;background:var(--lunora-field)}
.cv2-confirm-copy{margin:0;font:400 14px/18px Inter,sans-serif;color:var(--lunora-muted);overflow-wrap:anywhere}
.cv2-confirm-actions{display:flex;gap:8px;width:100%}
.cv2-confirm-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;min-width:0;flex:1;border:0;border-radius:12px;padding:0 12px;background:var(--lunora-field);color:var(--lunora-text);font:500 14px/20px Inter,sans-serif}
.cv2-confirm-actions>.cv2-danger{background:#fff0f3;color:#ad3550}
:root[data-theme="dark"] .cv2-confirm-actions>.cv2-danger{background:#402735;color:#f39aac}
.cv2-confirm button:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:3px}
.cv2-confirm button{touch-action:manipulation;transition:transform 120ms var(--lunora-ease)}
.cv2-confirm button:active{transform:scale(.97)}
@media(max-width:370px){.cv2-nav{gap:8px;width:212px;padding:12px 14px}.cv2-nav>button{width:40px;height:48px}.cv2-confirm-head{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.cv2-confirm button{transition:none}}

html[data-lunora-ui="2"] body:has(>.cv2-overlay.open)>.v2-bottom{visibility:hidden;pointer-events:none}

/* Actions stay in the same centred20px target; only the dots turn vertical. */
.cv2-overlay [data-selfsleep-delete-chat] .cv2-more{transform:rotate(90deg);}

.cv2-create form{display:flex;flex-direction:column;gap:12px}
.cv2-create .cv2-confirm-head{margin-bottom:8px}
.cv2-create-label{font:500 14px/20px Inter,sans-serif}
.cv2-create-input{box-sizing:border-box;width:100%;min-width:0;border:1px solid transparent;border-radius:12px;padding:14px 16px;background:var(--lunora-field);color:var(--lunora-text);font:400 16px/22px Inter,sans-serif}
.cv2-create-input:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px}
.cv2-create-error{margin:0;color:var(--lunora-muted);font:400 14px/20px Inter,sans-serif}
.cv2-create .cv2-confirm-actions{margin-top:12px}
.cv2-confirm-actions>.cv2-primary{background:var(--lunora-primary);color:#fff}
.cv2-create button:disabled{opacity:.5;cursor:default}

/* css/chat-conversation-v2.v001.css */
.cvd-asset{display:block;position:relative;flex:none;width:24px;height:24px}
.cvd-asset img{display:block;position:absolute;left:0;top:0;max-width:none}
.cvd-asset .asset-dark{display:none}
:root[data-theme="dark"] .cvd-asset .asset-light{display:none}
:root[data-theme="dark"] .cvd-asset .asset-dark{display:block}
.cvd-paperclip,.cvd-remove{width:20px;height:20px}.cvd-send{width:16px;height:16px}
.cvd-overlay[data-chat-view="balance"] .cv2-nav [data-chat-nav="balance"].is-current{background:#f7efdd}
:root[data-theme="dark"] .cvd-overlay[data-chat-view="balance"] .cv2-nav [data-chat-nav="balance"].is-current{background:#403326}
.cvd-overlay #selfSleepBalanceScreen{padding:16px 20px calc(172px + var(--safe-area-bottom));background:var(--lunora-canvas)}
.cvd-balance{display:flex;flex-direction:column;gap:16px}
.cvd-balance-card{display:flex;flex-direction:column;gap:16px;padding:16px;border-radius:16px;background:var(--lunora-surface);color:var(--lunora-text)}
.cvd-balance-head{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:36px}
.cvd-balance-head h2{font:600 16px/24px Inter,sans-serif;margin:0;min-width:0}
.cvd-balance-head>strong{font:700 28px/36px Inter,sans-serif}
.cvd-balance-caption{font:400 13px/20px Inter,sans-serif;margin:0;color:#695e8f}
:root[data-theme="dark"] .cvd-balance-caption{color:var(--lunora-muted)}
.cvd-meter{height:8px;overflow:hidden;border-radius:4px;background:var(--lunora-track)}
.cvd-meter>div{height:8px;border-radius:4px;background:var(--lunora-gold);transition:width 220ms var(--lunora-ease)}
.cvd-reset{display:flex;align-items:center;justify-content:space-between;gap:8px;font:400 12px/20px Inter,sans-serif;color:#695e8f}
.cvd-reset strong{font-weight:600;color:var(--lunora-text);text-align:right}
:root[data-theme="dark"] .cvd-reset{color:var(--lunora-muted)}
.cvd-package{display:flex;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:var(--lunora-field);font:500 14px/20px Inter,sans-serif}
.cvd-topup{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 12px;border:0;border-radius:12px;background:var(--lunora-primary);color:#fff;font:500 14px/20px Inter,sans-serif;touch-action:manipulation;transition:transform 120ms var(--lunora-ease)}
.cvd-topup:active{transform:scale(.97)}.cvd-topup:disabled{background:var(--lunora-field);color:var(--lunora-muted)}
.cvd-overlay #selfSleepChatScreen.active{display:flex;position:relative;flex:1;min-height:0;flex-direction:column;padding:0;background:var(--lunora-canvas);overflow:hidden}
.cvd-overlay #selfSleepChatMessages{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;gap:16px;padding:12px 20px 24px;scroll-padding-bottom:24px;background:var(--lunora-canvas)}
.cvd-day{display:flex;align-items:center;justify-content:center;min-height:24px;flex:none;font:400 11px/16px Inter,sans-serif;color:#706979}
:root[data-theme="dark"] .cvd-day{color:var(--lunora-muted)}
.cvd-overlay .selfsleep-chat-row{display:flex;align-items:flex-end;gap:8px;flex:none;margin:0;padding:0;max-width:100%;width:100%}
.cvd-overlay .selfsleep-chat-row.user{justify-content:flex-end}
.cvd-overlay .selfsleep-chat-bubble{display:flex;flex-direction:column;gap:4px;padding:12px 14px 10px;border-radius:16px;box-sizing:border-box;max-width:calc(100% - 38px);width:fit-content;background:var(--lunora-surface);color:var(--lunora-text);font:400 14px/18px Inter,sans-serif;overflow-wrap:anywhere}
.cvd-overlay .selfsleep-chat-bubble p{margin:0;font:inherit}
.cvd-overlay .selfsleep-chat-bubble ul,.cvd-overlay .selfsleep-chat-bubble ol{margin:4px 0;padding-left:20px}
.cvd-overlay .selfsleep-chat-bubble .bubble-time{display:block;text-align:right;font:400 11px/16px Inter,sans-serif;color:var(--lunora-muted);margin:0}
.cvd-overlay .selfsleep-chat-row.user .selfsleep-chat-bubble{min-width:118px;background:#7963c6;color:#fff;font-size:15px;line-height:20px}
.cvd-overlay .selfsleep-chat-row.user .bubble-time{color:#fff}
:root[data-theme="dark"] .cvd-overlay .selfsleep-chat-row.user .selfsleep-chat-bubble{background:#6e57ad}
.cvd-overlay .selfsleep-chat-avatar{width:30px;height:30px;min-width:30px;flex:none;border-radius:15px;overflow:hidden;padding:1px;background:var(--lunora-surface)}
.cvd-overlay .selfsleep-chat-avatar img{width:28px;height:28px;max-width:none;border-radius:8px;display:block;object-fit:cover}
.cvd-overlay .selfsleep-chat-input-wrap{display:flex;flex:none;flex-direction:column;gap:8px;position:relative;inset:auto;margin:0 20px calc(120px + var(--safe-area-bottom));padding:12px;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none;max-height:55%;overflow:auto}
.cvd-overlay #selfSleepChatLimit{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;min-height:36px;margin:0;padding:0;font:400 12px/18px Inter,sans-serif;text-align:center;color:var(--lunora-muted);white-space:normal}
.cvd-overlay .selfsleep-chat-input-row{flex:none}
.cvd-overlay #selfSleepChatAttachBtn::before{content:"";position:absolute;inset:-10px}
.cvd-overlay #selfSleepChatScreen #selfSleepChatInput:focus{outline:0;border:0;box-shadow:none}
.cvd-overlay #selfSleepChatScreen #selfSleepChatSend:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px}
.cvd-overlay #selfSleepChatSend:disabled{cursor:default}
.cvd-overlay #selfSleepChatAttachmentList{display:flex;flex-direction:column;gap:8px;margin:0;flex:none}
.cvd-overlay #selfSleepChatAttachmentList:empty{display:none}
.cvd-overlay .selfsleep-chat-attachment-chip{display:flex;align-items:center;gap:10px;min-height:64px;margin:0;padding:10px 12px;border:0;border-radius:12px;background:var(--lunora-field);width:100%;box-sizing:border-box}
.cvd-file-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:10px}
.cvd-overlay .selfsleep-chat-attachment-chip-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.cvd-overlay .selfsleep-chat-attachment-chip-name{font:500 14px/20px Inter,sans-serif;color:var(--lunora-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cvd-overlay .selfsleep-chat-attachment-chip-meta{font:400 11px/14px Inter,sans-serif;color:#655e9a}
:root[data-theme="dark"] .cvd-overlay .selfsleep-chat-attachment-chip-meta{color:var(--lunora-muted)}
.cvd-overlay .selfsleep-chat-attachment-remove{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:0;padding:0;border-radius:8px;background:var(--lunora-field)}
.cvd-chat-title{font:600 20px/28px Inter,sans-serif;margin:4px 0 0;color:var(--lunora-text)}
.cvd-overlay .selfsleep-chat-welcome.cvd-welcome{display:flex;flex-direction:column;gap:12px;align-items:stretch;flex:none;background:var(--lunora-surface);border-radius:16px;padding:20px;margin:0;text-align:left}
.cvd-welcome h2{font:600 18px/24px Inter,sans-serif;margin:0}
.cvd-welcome p{font:400 14px/20px Inter,sans-serif;color:#695e8f;margin:0}
:root[data-theme="dark"] .cvd-welcome p{color:var(--lunora-muted)}
.cvd-keyboard .cv2-bottom{display:none!important}
.cvd-overlay.cvd-keyboard #selfSleepChatScreen{padding-bottom:var(--cvd-keyboard-inset)}
.cvd-overlay.cvd-keyboard .selfsleep-chat-input-wrap{margin-bottom:12px;max-height:70%}
@media(max-width:390px){.cvd-overlay #selfSleepChatInput{font-size:15px}.cvd-overlay .selfsleep-chat-row.user .selfsleep-chat-bubble{background:#ece7ff;color:var(--lunora-text)}.cvd-overlay .selfsleep-chat-row.user .bubble-time{color:var(--lunora-muted)}}
@media(prefers-reduced-motion:reduce){.cvd-meter>div,.cvd-topup{transition:none}}

:root[data-theme="dark"] .cvd-meter{background:#35303a}

.cvd-overlay .selfsleep-chat-bubble{border:0}
.cvd-overlay .selfsleep-chat-input-wrap{width:auto;max-width:none;align-self:stretch}

.cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.assistant .selfsleep-chat-bubble{border:0;border-radius:16px;background:var(--lunora-surface);color:var(--lunora-text)}
.cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.user .selfsleep-chat-bubble{border-radius:16px}

.cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-wrap{background:var(--lunora-surface)}
.cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-wrap::after{display:none}
.cvd-file-icon>.selfsleep-chat-attachment-thumb,.cvd-file-type-compact{display:none}
@media(max-width:390px){.cvd-has-preview>.cvd-asset,.cvd-file-type-desktop{display:none}.cvd-has-preview>.selfsleep-chat-attachment-thumb{display:block;width:40px;height:40px;border-radius:10px;object-fit:cover}.cvd-file-type-compact{display:inline}}

/* The legacy dark stylesheet forces these surfaces with !important. */
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-wrap{background:var(--lunora-surface)!important}
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-row,
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen .selfsleep-chat-attachment-chip,
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen .selfsleep-chat-attachment-remove{background:var(--lunora-field)!important}
:root[data-theme="dark"] .cvd-overlay #selfSleepChatLimit{background:transparent!important;color:var(--lunora-muted)!important}
:root[data-theme="dark"] .cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.assistant .bubble-time{background:transparent!important;color:var(--lunora-muted)!important}

.cvf-asset{display:block;position:relative;flex:none;width:24px;height:24px}.cvf-asset img{display:block;position:absolute;left:0;top:0;max-width:none}.cvf-asset .asset-dark{display:none}:root[data-theme="dark"] .cvf-asset .asset-light{display:none}:root[data-theme="dark"] .cvf-asset .asset-dark{display:block}.cvf-download>.cvf-asset{width:20px;height:20px}
.cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.user .cvf-attachment-bubble{width:342px;max-width:calc(100% - 38px);padding:16px;gap:12px;border-radius:18px 18px 6px 18px;font:400 14px/22px Inter,sans-serif}
.cvd-overlay .cvf-attachment-bubble .selfsleep-chat-bubble-attachments{margin:0;display:flex;flex-direction:column;gap:8px;width:100%}
.cvf-document{display:flex;align-items:center;gap:10px;height:56px;padding:8px;border-radius:12px;background:var(--lunora-surface);width:100%;box-sizing:border-box;color:var(--lunora-text)}
.cvf-format{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:10px}.cvf-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.cvf-name{font:500 14px/20px Inter,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cvf-meta{font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted)}.cvf-download{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border:0;padding:0;border-radius:10px;background:var(--lunora-field);touch-action:manipulation}.cvf-download:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px}.cvf-download:disabled{cursor:progress}
.cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.user .cvf-document .cvf-name{color:var(--lunora-text)}.cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.user .cvf-document .cvf-meta{color:var(--lunora-muted)}

.cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-wrap:not(:has(.selfsleep-chat-attachment-chip)) #selfSleepChatLimit{min-height:18px}

/* One local support action, shared by live replies and restored history. */
[data-lunora-ui="2"] .lunora-chat-support-action{display:block;width:100%;min-height:44px;margin:14px 0 8px;padding:10px 16px;border:0;border-radius:16px;background:#7761cc;color:#fff;font:inherit;font-weight:600;line-height:1.35;cursor:pointer;}
[data-lunora-ui="2"] .lunora-chat-support-action:focus-visible{outline:2px solid #a593ed;outline-offset:3px;}
[data-lunora-ui="2"] .selfsleep-chat-avatar img,[data-lunora-ui="2"] .selfsleep-chat-welcome-icon img{border-radius:50%;object-fit:cover;}
[data-lunora-ui="2"][data-theme="dark"] .lunora-chat-support-action{background:#947be0;color:#fff;}

/* css/chat-states-v2.v001.css */
.cvst-retry-icon{display:block;position:relative;width:20px;height:20px;flex:none}.cvst-retry-icon img{display:block;position:absolute;left:0;top:0;max-width:none}.cvst-retry-icon .asset-dark{display:none}:root[data-theme="dark"] .cvst-retry-icon .asset-light{display:none}:root[data-theme="dark"] .cvst-retry-icon .asset-dark{display:block}
.cvd-overlay #selfSleepChatTypingRow{display:none;margin:0;padding:0;width:100%;flex:none;gap:8px;align-items:flex-end}
.cvd-overlay #selfSleepChatTypingRow.visible{display:flex}
.cvd-overlay #selfSleepChatTypingRow .selfsleep-chat-typing{display:flex;align-items:center;gap:5px;box-sizing:border-box;width:max-content;min-height:32px;padding:11px 16px;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none}
.cvd-overlay #selfSleepChatTypingRow .selfsleep-chat-typing span{width:7px;height:7px;background:var(--lunora-primary);border-radius:50%;animation:ssTyping 1.3s ease-in-out infinite}
.cvd-overlay #selfSleepChatTypingRow .selfsleep-chat-typing span:nth-child(2){animation-delay:.2s}
.cvd-overlay #selfSleepChatTypingRow .selfsleep-chat-typing span:nth-child(3){animation-delay:.4s}
.cvd-overlay #selfSleepChatTypingRow .cvst-typing-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cvd-overlay.cvst-pending #selfSleepChatSend{background:#ece7ff}
:root[data-theme="dark"] .cvd-overlay.cvst-pending #selfSleepChatSend{background:#3c3456}
.cvd-overlay #selfSleepChatMessages .selfsleep-chat-row.user.cvst-failed{flex-direction:column;align-items:flex-end;gap:16px}
.cvst-failure{display:flex;align-items:center;justify-content:flex-end;width:100%;gap:8px;font:400 12px/20px Inter,sans-serif;color:#d33d56}
.cvst-failure button{padding:0;border:0;background:transparent;color:#7564cc;font:600 12px/20px Inter,sans-serif;touch-action:manipulation}
:root[data-theme="dark"] .cvst-failure{color:#f39aac}:root[data-theme="dark"] .cvst-failure button{color:#c4b1f1}
.cvst-failure button:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:3px}.cvst-failure button:disabled{color:var(--lunora-muted)}
.cvst-quota{display:flex;flex-direction:column;gap:8px;width:100%}.cvst-quota[hidden]{display:none}
.cvst-quota p{margin:0;font:400 12px/20px Inter,sans-serif;color:#695e8f}:root[data-theme="dark"] .cvst-quota p{color:var(--lunora-muted)}
.cvd-overlay.cvst-exhausted #selfSleepChatSend{background:var(--lunora-field)}
.cvd-overlay.cvst-file-failed #selfSleepChatSend{opacity:.35}
.cvd-overlay #selfSleepChatScreen .selfsleep-chat-attachment-chip.cvst-file-error{background:#fff0f3!important;gap:8px;padding:12px}
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen .selfsleep-chat-attachment-chip.cvst-file-error{background:#373039!important}
.cvd-overlay #selfSleepChatScreen .cvst-file-error .selfsleep-chat-attachment-chip-meta{font:400 12px/18px Inter,sans-serif;color:#c44760}
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen .cvst-file-error .selfsleep-chat-attachment-chip-meta{color:#f39aac}
.cvst-file-retry{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;padding:0;border:0;border-radius:8px;background:var(--lunora-field)}
@media(prefers-reduced-motion:reduce){.cvd-overlay #selfSleepChatTypingRow .selfsleep-chat-typing span{animation:none;opacity:1}}

.cvd-overlay #selfSleepChatTypingRow{position:relative;inset:auto;max-width:none;z-index:auto}
html[data-lunora-ui="2"] .cvd-overlay #selfSleepChatSend{background:var(--lunora-primary)!important}
html[data-lunora-ui="2"] .cvd-overlay.cvst-pending #selfSleepChatSend:disabled{background:#ece7ff!important}
html[data-lunora-ui="2"][data-theme="dark"] .cvd-overlay.cvst-pending #selfSleepChatSend:disabled{background:#3c3456!important}
html[data-lunora-ui="2"] .cvd-overlay.cvst-exhausted #selfSleepChatSend:disabled{background:var(--lunora-field)!important}
html[data-lunora-ui="2"] .cvd-overlay.cvst-file-failed #selfSleepChatSend:disabled{background:var(--lunora-primary)!important;opacity:.35}

.cvd-overlay #selfSleepChatScreen .cvst-file-error .selfsleep-chat-attachment-chip-meta{margin-top:0}
@media(prefers-reduced-motion:reduce){.cvd-overlay #selfSleepChatSend{transition:none}}

/* css/support-v2.v001.css */
/* Figma support list 1385:16219 /17120, empty16290, unread1471:16737. */
html[data-lunora-ui="2"] .lc-support.active{max-width:430px;background:var(--lunora-canvas);color:var(--lunora-text);z-index:25}
html:has(.lc-support.active) #bottomNav,html:has(.lc-support.active) #globalAddEvent,html:has(.lc-support.active) body>.v2-bottom:not(.lc-bottom){display:none!important}
.lc-support .lc-source-icon{display:block;position:relative;width:24px;height:24px;flex:none}
.lc-source-icon img{position:absolute;left:0;top:0;display:block;max-width:none}
.lc-source-icon .asset-dark{display:none}
:root[data-theme="dark"] .lc-source-icon .asset-light{display:none}
:root[data-theme="dark"] .lc-source-icon .asset-dark{display:block}
html[data-lunora-ui="2"] .lc-support .lc-bottom{position:fixed;z-index:40}
.lc-support .lc-bottom-nav{position:relative;inset:auto;margin:0;transform:none;width:144px;max-width:none;height:72px;padding:12px;display:flex;flex:none;align-items:center;justify-content:center;gap:24px;border-radius:999px;background:var(--lunora-surface);box-shadow:0 6px 18px #29233717,0 1px 4px #2923370a}
.lc-support .lc-bottom-nav>button{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border:0;border-radius:24px;padding:0;background:transparent}
.lc-support .lc-bottom-nav [data-lc-list]{background:#f9e3ee}
.lc-profile-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:16px;overflow:hidden;background:#e8e0f0;color:#66536e;font:500 16px/20px Inter,sans-serif}
.lc-profile-avatar img{width:32px;height:32px;object-fit:cover}
:root[data-theme="dark"] .lc-support .lc-bottom-nav [data-lc-list]{background:#493448}
:root[data-theme="dark"] .lc-profile-avatar{background:#625471;color:#f5f0ff}
:root[data-theme="dark"] .lc-support .lc-bottom-nav{box-shadow:0 6px 18px #00000047,0 1px 4px #00000024}
.lc-support[data-view="list"] .lc-content{padding:20px 20px calc(252px + var(--safe-area-bottom));display:flex;flex-direction:column;gap:16px;align-items:stretch;scroll-padding-bottom:172px}
.lc-page-title{font:500 24px/32px Inter,sans-serif;color:var(--lunora-text);margin:0}
.lc-support .lc-threads{display:flex;flex-direction:column;gap:16px}
.lc-support .lc-thread{display:flex;flex-direction:column;align-items:stretch;gap:12px;flex:none;width:100%;min-width:0;padding:16px;border:0;border-radius:16px;margin:0;background:var(--lunora-surface);box-shadow:none;color:var(--lunora-text);text-align:left}
.lc-thread-title{font:500 16px/22px Inter,sans-serif;overflow-wrap:anywhere}
.lc-thread-preview{font:400 14px/20px Inter,sans-serif;color:var(--lunora-muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.lc-thread-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;width:100%;font:400 12px/18px Inter,sans-serif;color:var(--lunora-muted)}
.lc-thread-meta time{min-width:0;overflow-wrap:anywhere}
.lc-support .lc-badge{padding:4px 8px;border-radius:6px;flex:none;background:#ece7ff;color:#7564cc;font:500 12px/18px Inter,sans-serif}
.lc-support .lc-badge.is-closed{background:#f7f7fa;color:#6d6577}
:root[data-theme="dark"] .lc-support .lc-badge{background:#3c3456;color:#c3b5fd}
:root[data-theme="dark"] .lc-support .lc-badge.is-closed{background:#302b3a;color:#b8b1c6}
.lc-support[data-view="list"] .lc-list-cta{padding:8px 0 0;background:transparent}
.lc-support[data-view="list"] .lc-list-cta button{width:100%;height:48px;min-height:48px;padding:0 16px;border:0;border-radius:12px;background:#7564cc;color:#fff;font:500 14px/20px Inter,sans-serif!important}
.lc-support[data-view="list"] .lc-loading{padding:0;font:400 14px/20px Inter,sans-serif}
.lc-support[data-view="list"] .lc-empty-card{gap:12px}
.lc-support .lc-thread,.lc-support [data-lc-write]{transition:transform 120ms cubic-bezier(.23,1,.32,1)}
.lc-support .lc-thread:active,.lc-support [data-lc-write]:active{transform:scale(.985)}
.lc-support .lc-content:not([data-stable]){scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){.lc-support .lc-thread,.lc-support [data-lc-write]{transition:none}}

/* css/support-compose-v2.v001.css */
/* Source create1385:16361/17262; fields validation16716. */
.lc-create-dialog{box-sizing:border-box;width:calc(100% - 40px);max-width:390px;max-height:calc(100dvh - 40px);overflow-y:auto;border:0;padding:20px;margin:auto;border-radius:20px;background:var(--lunora-surface);color:var(--lunora-text);box-shadow:0 1px 4px #1a14290a,0 6px 20px #1a142917;overscroll-behavior:contain;animation:lc-create-in 220ms cubic-bezier(.32,.72,0,1)}
.lc-create-dialog::backdrop{background:rgba(41,36,56,.32);animation:lc-create-fade 180ms ease-out}
:root[data-theme="dark"] .lc-create-dialog{box-shadow:0 1px 4px #1a142924,0 6px 20px #1a142942}
.lc-create-dialog [hidden]{display:none!important}
.lc-create-dialog .lc-source-icon{display:block;position:relative;flex:none}
.lc-create-form{display:flex;flex-direction:column;gap:24px;margin:0;min-width:0}
.lc-create-head{display:flex;gap:8px;align-items:center;height:36px;flex:none}
.lc-create-head h2{flex:1;min-width:0;margin:0;font:500 20px/26px Inter,sans-serif;color:var(--lunora-text)}
.lc-create-dialog button{font-family:Inter,sans-serif;cursor:pointer;touch-action:manipulation}
.lc-create-dialog button:disabled{cursor:default}
.lc-create-close{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:0;border-radius:10px;padding:0;background:var(--lunora-field)}
.lc-create-close .lc-source-icon{width:20px;height:20px}
.lc-create-fields{display:flex;flex-direction:column;gap:20px;min-width:0}
.lc-create-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;font:400 13px/20px Inter,sans-serif;color:var(--lunora-muted)}
.lc-create-field :is(input,textarea){display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:12px 14px;background:var(--lunora-field);color:var(--lunora-text);border:0;border-radius:10px;font:400 14px/20px Inter,sans-serif;box-shadow:none;outline:none}
.lc-create-field input{height:48px}
.lc-create-field textarea{height:128px;min-height:128px;max-height:128px;resize:none}
.lc-create-field :is(input,textarea)::placeholder{color:var(--lunora-muted);opacity:1}
.lc-create-dialog :is(button,input,textarea):focus-visible{outline:2px solid var(--lunora-primary);outline-offset:3px}
.lc-create-attach-row{display:flex;align-items:center;gap:12px;min-height:36px}
.lc-create-attach{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;width:164px;min-height:36px;padding:8px 12px;background:var(--lunora-field);color:var(--lunora-text);border:0;border-radius:12px;font:500 13px/20px Inter,sans-serif}
.lc-create-attach .lc-source-icon{width:18px;height:18px}
.lc-create-hint{flex:1;min-width:0;font:400 13px/18px Inter,sans-serif;color:var(--lunora-muted)}
.lc-create-actions{display:flex;gap:8px;align-items:stretch}
.lc-create-actions button{flex:1;min-width:0;height:48px;border:0;border-radius:12px;padding:0 16px;background:var(--lunora-field);color:var(--lunora-text);font:500 14px/20px Inter,sans-serif}
.lc-create-actions [data-lc-send]{background:#7564cc;color:#fff}
.lc-create-actions [data-lc-send]:disabled{opacity:.45}
.lc-create-validation{margin:0;font:400 12px/18px Inter,sans-serif;color:#c73b54}
.lc-create-notice{margin:0;font:400 13px/18px Inter,sans-serif;color:var(--lunora-muted);overflow-wrap:anywhere}
.lc-create-notice.is-error{color:#c73b54}
.lc-create-files{display:flex;flex-direction:column;gap:8px}
.lc-create-files:empty{display:none}
.lc-create-files .lc-file{display:flex;align-items:center;gap:8px;padding:8px 10px;min-height:40px;border:0;border-radius:10px;background:var(--lunora-field);color:var(--lunora-text);font:400 13px/18px Inter,sans-serif}
.lc-create-files .lc-file span{min-width:0;flex:1;overflow-wrap:anywhere}
.lc-create-files .lc-file svg{width:16px;height:16px;flex:none}
.lc-create-dialog button{transition:transform 120ms cubic-bezier(.23,1,.32,1)}
.lc-create-dialog button:not(:disabled):active{transform:scale(.97)}
@keyframes lc-create-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lc-create-fade{from{opacity:0}to{opacity:1}}
@media(max-width:360px){.lc-create-attach-row{gap:8px}.lc-create-attach{width:154px}.lc-create-hint{font-size:12px}}
@media(prefers-reduced-motion:reduce){.lc-create-dialog,.lc-create-dialog::backdrop{animation:none}.lc-create-dialog button{transition:none}}

.lc-create-dialog .lc-create-head h2{font-weight:500!important}.lc-create-dialog .lc-create-actions button,.lc-create-dialog .lc-create-attach,.lc-create-dialog .lc-create-attach span{font-weight:500!important}

.lc-create-head h2:focus{outline:none}

.lc-open-notice .lc-create-head{height:auto}.lc-open-notice .lc-create-actions button{background:#7564cc;color:#fff}.lc-open-notice .lc-create-notice{font-size:14px;line-height:20px}

/* css/support-thread-v2.v001.css */
/* Open/closed Support source1385:16503/16574 and dark17404/17475. */
.lc-support[data-view="thread"] .lc-content.is-conversation{position:relative;display:block;padding:0;overflow:hidden}
.lc-thread-scroll{position:absolute;inset:0 0 calc(var(--lc-reply-height,72px) + 132px + var(--safe-area-bottom));display:flex;flex-direction:column;align-items:stretch;gap:16px;min-height:0;padding:20px 20px 16px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.lc-thread-scroll::-webkit-scrollbar{display:none}
.lc-thread-head{display:flex;align-items:flex-start;gap:8px;flex:none;min-width:0}
.lc-thread-head h1{flex:1;min-width:0;overflow-wrap:anywhere;margin:0;color:var(--lunora-text);font:500 20px/26px Inter,sans-serif;font-weight:500!important}
.lc-thread-subject{flex:none;margin:0;overflow-wrap:anywhere;color:var(--lunora-text);font:500 16px/22px Inter,sans-serif;font-weight:500!important}
.lc-support .lc-stream{display:flex;flex-direction:column;gap:16px;padding:0;margin:0;overflow:visible;flex:none;min-width:0}
.lc-day{margin:0;color:var(--lunora-muted);font:400 12px/18px Inter,sans-serif;text-align:center}
.lc-message{display:flex;flex-direction:column;gap:8px;flex:none;width:342px;max-width:100%;border-radius:16px;padding:12px 14px;min-width:0;overflow-wrap:anywhere;background:var(--lunora-surface);color:var(--lunora-text)}
.lc-outgoing{align-self:flex-end;background:#7963c6;color:#fff}
:root[data-theme="dark"] .lc-outgoing{background:#7057a8}
.lc-outgoing:has(.lc-message-files){padding:16px;gap:12px}
.lc-message p{margin:0;white-space:pre-wrap}
.lc-message-text{font:400 14px/20px Inter,sans-serif;color:inherit}
.lc-sender{font:500 12px/18px Inter,sans-serif;color:#7564cc}
:root[data-theme="dark"] .lc-sender{color:#c3b5fd}
.lc-message-time{font:400 12px/18px Inter,sans-serif;color:var(--lunora-muted);text-align:right;width:100%}
.lc-outgoing .lc-message-time{color:#fff}
.lc-message-files{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
.lc-message-file{display:flex;align-items:center;gap:10px;padding:8px;min-width:0;width:100%;height:56px;border-radius:12px;background:var(--lunora-surface);color:var(--lunora-text)}
.lc-file-format{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:10px}
.lc-file-format .lc-source-icon{width:24px;height:24px}
.lc-message-file-copy{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.lc-message-file-name{font:500 14px/20px Inter,sans-serif;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--lunora-text)}
.lc-message-file-meta{font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted)}
.lc-support .lc-download{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:var(--lunora-field)}
.lc-download-slot{position:relative;display:block;width:20px;height:20px}
.lc-download .lc-source-icon{width:18px;height:18px}
.lc-thread-bottom{position:absolute;bottom:calc(120px + var(--safe-area-bottom));left:20px;right:20px}
.lc-support .lc-composer{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:var(--lunora-surface);margin:0}
.lc-support .lc-composer .lc-files{margin:0;gap:8px}
.lc-reply-row,
.cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-row{box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 6px 6px 12px;border:0;border-radius:12px;background:var(--lunora-field);box-shadow:none;transition:none}
.lc-support .lc-chat-attach,
.cvd-overlay #selfSleepChatAttachBtn{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;min-height:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.lc-chat-attach .lc-source-icon{width:20px;height:20px}
.lc-reply-row textarea,
.cvd-overlay #selfSleepChatScreen #selfSleepChatInput{box-sizing:border-box;display:block;resize:none;overflow-y:auto;flex:1;min-width:0;width:0;height:26px;min-height:26px;max-height:72px;margin:0;border:0;outline:0;padding:2px 0;box-shadow:none;border-radius:0;background:transparent;color:var(--lunora-text);font:400 15px/21.75px Inter,sans-serif}
.lc-reply-row textarea::placeholder,
.cvd-overlay #selfSleepChatScreen #selfSleepChatInput::placeholder{color:#746f86;opacity:1}
:root[data-theme="dark"] .lc-reply-row textarea::placeholder,
:root[data-theme="dark"] .cvd-overlay #selfSleepChatScreen #selfSleepChatInput::placeholder{color:var(--lunora-muted)!important;opacity:1!important}
.lc-support .lc-send,
.cvd-overlay #selfSleepChatScreen #selfSleepChatSend{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:10px;background:#7564cc}
.lc-send .lc-source-icon{width:16px;height:16px}
.lc-send:disabled,
.cvd-overlay #selfSleepChatScreen #selfSleepChatSend:disabled{opacity:.45}
.lc-support .lc-closed{padding:12px;border-radius:16px;background:var(--lunora-surface)}
.lc-support .lc-closed p{margin:0;color:var(--lunora-muted);text-align:left;font:400 13px/20px Inter,sans-serif}
.lc-support .lc-closed button{display:block;width:100%;min-height:48px;margin:24px 0 0;padding:0 16px;border:0;border-radius:12px;background:#7564cc;color:#fff;font:500 14px/20px Inter,sans-serif;font-weight:500!important}
.lc-thread-closed .lc-thread-bottom{bottom:calc(128px + var(--safe-area-bottom))}
.lc-thread-closed .lc-thread-scroll{bottom:calc(var(--lc-reply-height,116px) + 140px + var(--safe-area-bottom))}
.lc-keyboard-open .lc-bottom{display:none!important}
.lc-keyboard-open .lc-thread-bottom{bottom:12px}
.lc-keyboard-open .lc-thread-scroll{bottom:calc(var(--lc-reply-height,72px) + 24px)}
.lc-support .lc-system-message{align-self:center;font:400 12px/18px Inter,sans-serif;color:var(--lunora-muted)}
.lc-system-message time{display:none}
.lc-support .lc-reply-row button:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:3px}
.lc-support .lc-reply-row textarea:focus{outline:none}
.lc-support .lc-reply-row:has(textarea:focus),
.cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-row:has(textarea:focus){box-shadow:inset 0 0 0 1px var(--lunora-muted)}
@media (forced-colors:active){
  .lc-support .lc-reply-row:has(textarea:focus),
  .cvd-overlay #selfSleepChatScreen .selfsleep-chat-input-row:has(textarea:focus){outline:1px solid Highlight;outline-offset:1px}
}
@media(prefers-reduced-motion:reduce){.lc-thread-scroll{scroll-behavior:auto}}

/* css/support-recovery-v2.v001.css */
.lc-error-dialog{border-radius:16px}
.lc-error-content{display:flex;flex-direction:column;gap:12px}
.lc-error-body{margin:0;font:400 14px/20px Inter,sans-serif;color:var(--lunora-muted)}
.lc-error-actions{padding-top:12px}
.lc-error-actions [data-failure-retry]{background:#7564cc;color:#fff}
.lc-error-dialog .lc-create-head h2,.lc-error-dialog .lc-create-actions button{font-weight:500!important}

/* css/support-files-v2.v001.css */
/* Figma Ticket Composer/FileError1471:16882 and17405; native glyph dimensions preserved. */
.lc-file-card{display:flex;align-items:center;gap:8px;flex:none;min-width:0;width:100%;height:64px;padding:12px;border-radius:10px;background:var(--lunora-field);color:var(--lunora-text)}
.lc-file-card.is-failed{background:#fff0f3}
:root[data-theme="dark"] .lc-file-card.is-failed{background:#402735}
.lc-file-card-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:10px}
.lc-file-card-icon .lc-source-icon{width:24px;height:24px}
.lc-file-card-copy{display:flex;flex-direction:column;flex:1;min-width:0;gap:2px}
.lc-file-card-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 14px/20px Inter,sans-serif;color:var(--lunora-text)}
.lc-file-card-status{display:block;font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted)}
.is-failed .lc-file-card-status{color:#c44760}
:root[data-theme="dark"] .is-failed .lc-file-card-status{color:#f39aac}
.lc-file-card :is(.lc-file-retry,.lc-file-remove){display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:var(--lunora-field);touch-action:manipulation;cursor:pointer;transition:transform 120ms cubic-bezier(.23,1,.32,1)}
.lc-file-card :is(.lc-file-retry,.lc-file-remove):active{transform:scale(.96)}
.lc-file-card button:disabled{opacity:.45;cursor:default}
.lc-file-card :is(.lc-file-retry,.lc-file-remove) .lc-source-icon{width:20px;height:20px}
.lc-support .lc-composer .lc-files{display:flex;flex-direction:column;flex-wrap:nowrap;gap:8px;margin:0}
.lc-has-failed-file .lc-thread-bottom{bottom:calc(116px + var(--safe-area-bottom))}
.lc-has-failed-file.lc-keyboard-open .lc-thread-bottom{bottom:12px}
@media(prefers-reduced-motion:reduce){.lc-file-card button{transition:none}}

.lc-support .lc-composer .lc-files:empty{display:none}

/* css/player-v2.v001.css */
/* Exact primary Sounds/Music screens282:4945/5365, dark879:30102/30191. */
html[data-lunora-ui="2"] .sounds-overlay{max-width:430px;margin:0 auto;background:var(--lunora-canvas);color:var(--lunora-text);transform:translateY(8px);opacity:0;transition:opacity 180ms cubic-bezier(.32,.72,0,1),transform 200ms cubic-bezier(.32,.72,0,1)}
html[data-lunora-ui="2"] .sounds-overlay.is-open{transform:none;opacity:1}
html[data-lunora-ui="2"] .sounds-overlay .sounds-body{position:absolute;inset:0 0 calc(112px + var(--safe-area-bottom));height:auto;max-width:none;min-height:0;margin:0;padding:20px 20px 24px;overflow-y:auto;display:flex;flex-direction:column;gap:24px;overscroll-behavior:contain;scrollbar-width:none}
.sounds-overlay .sounds-body::-webkit-scrollbar{display:none}
.sounds-overlay .sv2-title{font:500 24px/32px Inter,sans-serif;color:var(--lunora-text);margin:0;flex:none}
.sounds-overlay .sv2-asset{display:block;position:relative;width:24px;height:24px;flex:none}
.sounds-overlay .sv2-asset img{display:block;position:absolute;left:0;top:0;max-width:none}
.sounds-overlay .sv2-asset .asset-dark{display:none}
:root[data-theme="dark"] .sounds-overlay .sv2-asset .asset-light{display:none}
:root[data-theme="dark"] .sounds-overlay .sv2-asset .asset-dark{display:block}
.sounds-overlay .sv2-bottom{position:fixed}
.sounds-overlay .sounds-bottom-nav{position:relative;inset:auto;width:264px;max-width:none;height:72px;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px;margin:0;transform:none;border:0;border-radius:36px;background:var(--lunora-surface);box-shadow:0 1px 4px #1a14290a,0 6px 20px #1a142917}
.sounds-overlay .sounds-nav-btn{display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;min-height:0;padding:0;gap:0;margin:0;border:0;border-radius:24px;background:transparent;color:var(--lunora-text)}
.sounds-overlay [data-tab="noises"].is-active{background:#ece6f7}
.sounds-overlay [data-tab="lullabies"].is-active{background:#f7e6ee}
:root[data-theme="dark"] .sounds-overlay [data-tab="noises"].is-active{background:#382e50}
:root[data-theme="dark"] .sounds-overlay [data-tab="lullabies"].is-active{background:#452d40}
.sv2-parent{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:16px;overflow:hidden;background:#e8e0f0;color:#66536e;font:500 16px/20px Inter,sans-serif}
.sv2-parent img{width:32px;height:32px;object-fit:cover}
:root[data-theme="dark"] .sv2-parent{background:#625471;color:#f5f0ff}
.sounds-overlay .sounds-noise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:0;padding:0;flex:none}
.sounds-overlay .noise-card,.sounds-overlay .noise-card.is-playing{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;min-width:0;height:auto;min-height:132px;margin:0;padding:16px;border:0;border-radius:16px;box-shadow:none;background:var(--lunora-surface);text-align:left;color:var(--lunora-text)}
.sv2-noise-top{display:flex;align-items:center;justify-content:space-between;width:100%;height:44px;flex:none}
.sounds-overlay .noise-card-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;margin:0;border-radius:10px;padding:0;background:#f1f5f9}
.sounds-overlay .tone-pink .noise-card-icon{background:#fce7f3}
.sounds-overlay .tone-mocha .noise-card-icon{background:#f4ece4}
.sounds-overlay .tone-sky .noise-card-icon{background:#e0f2fe}
.sounds-overlay .tone-violet .noise-card-icon{background:#ede9fe}
:root[data-theme="dark"] .sounds-overlay .tone-slate .noise-card-icon{background:#35313a!important}
:root[data-theme="dark"] .sounds-overlay .tone-pink .noise-card-icon{background:#362f39!important}
:root[data-theme="dark"] .sounds-overlay .tone-mocha .noise-card-icon{background:#363038!important}
:root[data-theme="dark"] .sounds-overlay .tone-sky .noise-card-icon{background:#33303b!important}
:root[data-theme="dark"] .sounds-overlay .tone-violet .noise-card-icon{background:#352f3b!important}
.sounds-overlay .noise-card-text{display:flex;flex-direction:column;gap:4px;flex:none;min-width:0;width:100%}
.sounds-overlay .noise-card-title{font:500 16px/22px Inter,sans-serif;margin:0;color:var(--lunora-text);white-space:normal}
.sounds-overlay .noise-card-sub{font:400 13px/18px Inter,sans-serif;margin:0;color:var(--lunora-muted);white-space:normal}
.sounds-overlay .noise-card-play{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;margin:0;padding:3px;background:transparent;border:0;opacity:1}
.sv2-noise-pause{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#7564cc;animation:kf_1180_23940_opacity_0 2s linear;animation-iteration-count:infinite}
@keyframes kf_1180_23940_opacity_0{0%{animation-timing-function:ease-in-out;opacity:1}25%{animation-timing-function:ease-in-out;opacity:.72}50%{animation-timing-function:ease-in-out;opacity:1}75%{animation-timing-function:ease-in-out;opacity:.72}100%{opacity:1}}
.sounds-overlay .lull-player-wrap{display:flex;flex-direction:column;align-items:center;gap:16px;flex:none;width:100%;margin:0;padding:16px;border:0;border-radius:16px;background:var(--lunora-surface);box-shadow:none}
.sounds-overlay .lull-cover{position:relative;display:block;width:224px;height:224px;max-width:100%;flex:none;margin:0;border:0;border-radius:20px;overflow:hidden;box-shadow:none;aspect-ratio:1}
.sounds-overlay .lull-cover-num{position:absolute;left:auto;right:12.34px;top:auto;bottom:7.7px;padding:0;background:none;color:#fff;font:800 28px/36px Inter,sans-serif}
.sounds-overlay .lull-meta{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;margin:0;padding:0;text-align:center}
.sounds-overlay .lull-title{margin:0;font:500 18px/24px Inter,sans-serif;color:var(--lunora-text)}
.sounds-overlay .lull-artist{margin:0;font:400 13px/18px Inter,sans-serif;color:var(--lunora-muted)}
.sounds-overlay .lull-progress{display:flex;flex-direction:column;gap:8px;align-items:stretch;width:100%;padding:12px 0 0;margin:0}
.sv2-seek-track{position:relative;width:100%;height:3.92px;border-radius:1.96px;background:rgba(100,90,180,.1);--seek-progress:0}
.sv2-seek-fill{display:block;height:3.92px;width:calc(var(--seek-progress)*100%);border-radius:2px;background:#7564cc}
.sv2-seek-thumb{position:absolute;top:-4.9px;left:clamp(0px,calc(var(--seek-progress)*100% - 6.8595px),calc(100% - 13.719px));width:13.719px;height:13.719px;pointer-events:none}
.sounds-overlay #lullSeek{position:absolute;inset:auto;left:0;top:-14px;width:100%;height:32px;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer;touch-action:pan-y}
.sv2-seek-track:has(input:focus-visible){outline:2px solid var(--lunora-primary);outline-offset:6px}
.sounds-overlay .lull-time{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;font:400 12px/16px Inter,sans-serif;color:var(--lunora-muted)}
.sounds-overlay .lull-controls{display:flex;align-items:center;justify-content:center;gap:24px;flex:none;height:64px;margin:0;padding:0}
.sounds-overlay .lull-ctl{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:54.874px;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:22px;background:transparent;color:var(--lunora-text)}
.sounds-overlay .lull-play{width:64px;height:64px;gap:5px;min-height:64px;border-radius:32px;background:#7564cc}
.sv2-pause-bar{display:block;width:4px;height:20px;border-radius:1.5px;background:#fff}
.sv2-playlist{display:flex;flex-direction:column;gap:8px;margin:0;flex:none;min-width:0;width:100%}
.sounds-overlay .lull-list-title{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:20px;padding:0;margin:0;text-transform:uppercase;color:var(--lunora-muted);font:500 11px/16px Inter,sans-serif}
.sounds-overlay .lull-list-title::before,.sounds-overlay .lull-list-title::after{content:'';flex:1;height:1px;background:#e2dcf5}
:root[data-theme="dark"] .sounds-overlay .lull-list-title::before,:root[data-theme="dark"] .sounds-overlay .lull-list-title::after{background:#393044}
.sounds-overlay .lull-list{list-style:none;display:flex;flex-direction:column;margin:0;padding:0;border-radius:16px;background:var(--lunora-surface);overflow:hidden;min-width:0}
.sounds-overlay .lull-row,.sounds-overlay .lull-row.is-active{display:block;width:100%;padding:0;margin:0;border:0;border-radius:0;background:transparent;min-width:0}
.sounds-overlay .lull-row+.lull-row{border-top:1px solid var(--line,#f0edf6)}
.sv2-track-button{display:flex;align-items:center;gap:12px;width:100%;min-width:0;margin:0;padding:16px;border:0;border-radius:0;background:transparent;text-align:left;color:var(--lunora-text)}
.sounds-overlay .lull-row-cover{width:40px;height:40px;flex:none;border-radius:8.995px;overflow:hidden}
.sounds-overlay .lull-row-meta{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sounds-overlay .lull-row-title{font:500 14px/20px Inter,sans-serif;margin:0;color:var(--lunora-text)}
.sounds-overlay .lull-row-sub{font:400 12px/18px Inter,sans-serif;margin:0;color:var(--lunora-muted)}
.sounds-overlay .lull-row-action,.sounds-overlay .lull-row.is-active .lull-row-action{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;margin:0;background:transparent}
.sv2-list-pause{display:flex;align-items:center;justify-content:center;gap:4px;width:32px;height:32px;border-radius:10px;background:#7564cc}
.sv2-list-pause i{display:block;width:3px;height:14px;border-radius:1.5px;background:#fff}
.sounds-overlay button{font-family:Inter,sans-serif;cursor:pointer;touch-action:manipulation;transition:transform 120ms cubic-bezier(.23,1,.32,1)}
.sounds-overlay button:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:3px}
.sounds-overlay button:active{transform:scale(.98)}
@media(max-width:360px){.sounds-overlay .sounds-bottom-nav{width:calc(100% - 68px);gap:0;justify-content:space-between}.sounds-overlay .sounds-nav-btn{width:44px;height:44px}.sounds-overlay .lull-cover{width:min(224px,100%);height:auto;aspect-ratio:1}}
@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] .sounds-overlay,.sounds-overlay button{transition:none}.sv2-noise-pause{animation:none}}

html[data-lunora-ui="2"] .sounds-overlay.is-open .sv2-bottom{visibility:visible!important;pointer-events:auto!important}

html[data-lunora-ui="2"] .sounds-overlay .sounds-body{align-self:stretch}

html[data-lunora-ui="2"] .sounds-overlay .sounds-bottom-nav{background:var(--lunora-surface)}
html[data-lunora-ui="2"] .sounds-overlay{transform:translateY(8px)!important;transition:opacity 180ms cubic-bezier(.32,.72,0,1),transform 200ms cubic-bezier(.32,.72,0,1),visibility 200ms!important}
html[data-lunora-ui="2"] .sounds-overlay.is-open{transform:none!important}
@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] .sounds-overlay{transition:none!important}}

.sounds-overlay .sv2-parent{font:500 16px/20px Inter,sans-serif}

.sounds-overlay .lull-list{gap:0}
.sounds-overlay .lull-row,.sounds-overlay .lull-row.is-active{background:transparent!important;box-shadow:none;transition:none}

/* Playback recovery1303:35654/35804 and dark36236/36386; no added modal. */
.sounds-overlay .sv2-recovery{display:flex;flex:none;flex-direction:column;align-items:stretch;gap:24px;margin:0;padding:16px;border-radius:16px;background:var(--lunora-surface);color:var(--lunora-text)}
.sounds-overlay .sv2-recovery:empty{display:none}
.sv2-recovery-text{display:flex;flex-direction:column;gap:8px}
.sounds-overlay .sv2-recovery h2{margin:0;font:500 16px/22px Inter,sans-serif;color:var(--lunora-text)}
.sounds-overlay .sv2-recovery p{margin:0;font:400 14px/20px Inter,sans-serif;color:#6d6577}
:root[data-theme="dark"] .sounds-overlay .sv2-recovery p{color:#b8b1c6}
.sounds-overlay .sv2-recovery button{display:flex;align-items:center;justify-content:center;flex:none;width:100%;height:48px;min-height:48px;margin:0;padding:12px;border:0;border-radius:12px;background:#7564cc;color:white;font:500 14px/20px Inter,sans-serif}
.sounds-overlay [aria-busy="true"] .sv2-asset{animation:kf_1180_23940_opacity_0 2s linear infinite}
@media(prefers-reduced-motion:reduce){.sounds-overlay [aria-busy="true"] .sv2-asset{animation:none}}

/* Fixed navigation must not inherit the screen's entering transform. */
html[data-lunora-ui="2"] .sounds-overlay{transform:none!important;transition:opacity 180ms cubic-bezier(.32,.72,0,1),visibility 180ms!important;}
html[data-lunora-ui="2"] .sounds-overlay.is-open .sounds-body{animation:lunora-sounds-body-in 220ms cubic-bezier(.23,1,.32,1);}
@keyframes lunora-sounds-body-in{from{opacity:.7;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] .sounds-overlay.is-open .sounds-body{animation:none;}}

html[data-lunora-ui="2"] .sounds-overlay .sounds-body{bottom:0!important;padding-bottom:calc(136px + var(--safe-area-bottom,0px))!important;}

html[data-lunora-ui="2"] .sounds-overlay::before{content:"";position:absolute;top:0;left:0;right:0;height:20px;z-index:3;pointer-events:none;background:linear-gradient(180deg,var(--lunora-canvas),rgba(var(--lunora-canvas-rgb),0));}

/* Safe-area clearance belongs to the outer footer, not inside its72px plate. */
html[data-lunora-ui="2"] body .sounds-overlay .sounds-bottom-nav{padding-bottom:12px;}

/* Matched circular playback controls; only the halo moves. */
.sounds-overlay .noise-card.is-playing .noise-card-play{background:transparent;box-shadow:none;animation:none}
:root[data-theme="dark"] .sounds-overlay .noise-card.is-playing .noise-card-play{background:transparent!important;box-shadow:none!important}
.sounds-overlay .sv2-list-pause,.sounds-overlay .sv2-noise-pause{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:4px;flex:none;border-radius:50%;background:#7564cc;animation:none}
.sounds-overlay .sv2-list-pause{width:32px;height:32px}
.sounds-overlay .sv2-noise-pause{width:28px;height:28px}
.sounds-overlay .sv2-list-pause:before,.sounds-overlay .sv2-noise-pause:before{content:'';position:absolute;inset:-3px;border:2px solid #7564cc;border-radius:50%;pointer-events:none;z-index:-1;animation:sv2-playback-halo 1800ms ease-out infinite}
.sounds-overlay .sv2-list-pause i,.sounds-overlay .sv2-noise-pause i{display:block;width:3.5px;height:11px;border-radius:2px;background:#fff;flex:none}
.sounds-overlay .sv2-pause-bar{height:18px;border-radius:2px}
.sounds-overlay .sv2-track-button:focus-visible{outline:none}
.sounds-overlay .sv2-track-button:focus-visible .lull-row-action{outline:2px solid var(--lunora-primary);outline-offset:3px;border-radius:50%}
:root[data-theme="dark"] .sounds-overlay .sv2-list-pause:before,:root[data-theme="dark"] .sounds-overlay .sv2-noise-pause:before{border-color:#b8a9ff}
@keyframes sv2-playback-halo{0%{opacity:.32;transform:scale(.9)}100%{opacity:0;transform:scale(1.36)}}
@media(prefers-reduced-motion:reduce){.sounds-overlay .sv2-list-pause:before,.sounds-overlay .sv2-noise-pause:before{animation:none;opacity:.16;transform:none}}

/* css/knowledge-v2.v001.css */
/* Current knowledge overview272:1821/categories1164:23682/reader652:14662. */
html[data-lunora-ui="2"] .kv2-panel.active{display:block;color:var(--lunora-text);background:var(--lunora-canvas)}
html:has(.kv2-panel.active) #bottomNav,html:has(.kv2-panel.active) #globalAddEvent,html:has(.kv2-panel.active) body>.v2-bottom:not(.kv2-bottom){display:none!important}
.kv2-shell{padding:20px 0 28px;display:flex;flex-direction:column;gap:24px;min-width:0}
.kv2-header,.kv2-content{display:flex;flex-direction:column;gap:24px;min-width:0}
.kv2-header:empty{display:none}
.kv2-panel h1{margin:0;color:var(--lunora-text);font:500 24px/32px Inter,sans-serif}
.kv2-panel h2{margin:0;color:var(--lunora-text);font:600 18px/26px Inter,sans-serif}
.kv2-panel h3{margin:0;color:var(--lunora-text);font:500 16px/22px Inter,sans-serif}
.kv2-panel button{cursor:pointer}
.kv2-search{display:flex;align-items:center;gap:10px;background:var(--lunora-surface);padding:14px;border-radius:14px;min-height:52px}
.kv2-search input{appearance:none;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;color:var(--lunora-text);padding:0;min-width:0;width:100%;height:24px;font:400 16px/24px Inter,sans-serif}
.kv2-search input::placeholder{color:var(--lunora-muted);opacity:1}
.kv2-search input::-webkit-search-cancel-button,.kv2-search input::-webkit-search-decoration{appearance:none;display:none}
.kv2-search:focus-within{outline:2px solid var(--lunora-primary);outline-offset:2px}
.kv2-icon{position:relative;display:flex;align-items:center;justify-content:center;flex:none}
.kv2-icon img{display:block;max-width:none;flex:none}
.kv2-icon .asset-dark{display:none}
:root[data-theme="dark"] .kv2-icon .asset-light{display:none}
:root[data-theme="dark"] .kv2-icon .asset-dark{display:block}
.kv2-icon-feeding img{transform:translateY(-1px)}
.kv2-icon-sleep img{transform:translate(-.368px,-.087px)}
.kv2-icon-chevron img{transform:translateX(.333px)}
.kv2-section{display:flex;flex-direction:column;gap:12px;min-width:0}
.kv2-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.kv2-section-heading button{border:0;padding:0;background:transparent;color:#7564cc;font:400 13px/18px Inter,sans-serif}
.kv2-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;min-width:0;max-width:100%;padding:0 0 2px;overscroll-behavior-x:contain}
.kv2-chips::-webkit-scrollbar{display:none}
.kv2-chips button{flex:none;min-height:38px;border:0;border-radius:10px;background:var(--lunora-surface);padding:10px;color:var(--lunora-muted);font:500 12px/18px Inter,sans-serif;white-space:nowrap}
.kv2-chips button.is-active{background:#7564cc;color:white}
.kv2-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.kv2-category{position:relative;display:flex;align-items:center;gap:12px;min-width:0;width:100%;padding:16px;border:0;border-radius:16px;background:var(--lunora-surface);color:var(--lunora-text);text-align:left;font:600 14px/20px Inter,sans-serif}
.kv2-category>span:not(.kv2-category-icon):not(.kv2-icon){min-width:0;flex:1}
.kv2-category-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:10px;background:#ebe6f7}
.kv2-category-icon[data-tone="sleep"],.kv2-category-icon[data-tone="complementary-feeding"]{border-radius:8px}
.kv2-category-icon[data-tone="complementary-feeding"]{background:#f8f0d9}
.kv2-category-icon[data-tone="development"]{background:#e1f4eb}
.kv2-category-icon[data-tone="pregnancy"]{background:#f9e8f0}
.kv2-category-icon[data-tone="childbirth"]{background:#fff0dd}
.kv2-category-icon[data-tone="routine"]{background:#eee9ff}
.kv2-category-icon[data-tone="family"]{background:#e2f3f7}
.kv2-category-icon[data-tone="care"]{background:#e1f3f1}
.kv2-category-icon[data-tone="safety"]{background:#e6eefa}
.kv2-category-icon[data-tone="health"]{background:#f9e7eb}
:root[data-theme="dark"] .kv2-category-icon{background:#3c3456}
:root[data-theme="dark"] .kv2-category-icon[data-tone="complementary-feeding"]{background:#403326}
:root[data-theme="dark"] .kv2-category-icon[data-tone="development"]{background:#203a31}
:root[data-theme="dark"] .kv2-category-icon[data-tone="pregnancy"]{background:#412b3c}
:root[data-theme="dark"] .kv2-category-icon[data-tone="childbirth"]{background:#403525}
:root[data-theme="dark"] .kv2-category-icon[data-tone="routine"]{background:#342d4b}
:root[data-theme="dark"] .kv2-category-icon[data-tone="family"]{background:#243a43}
:root[data-theme="dark"] .kv2-category-icon[data-tone="care"]{background:#233c3a}
:root[data-theme="dark"] .kv2-category-icon[data-tone="safety"]{background:#2a344a}
:root[data-theme="dark"] .kv2-category-icon[data-tone="health"]{background:#422b35}
.kv2-categories{display:flex;flex-direction:column;background:var(--lunora-surface);padding:8px 0;border-radius:16px;overflow:hidden}
.kv2-categories .kv2-category{height:72px;border-radius:0;font:500 16px/22px Inter,sans-serif}
.kv2-categories .kv2-category:not(:last-child):after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:var(--lunora-track)}
.kv2-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;border:0;border-radius:16px;padding:16px;background:var(--lunora-surface);color:var(--lunora-text);text-align:left}
.kv2-row-copy{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}
.kv2-row-title{font:500 16px/22px Inter,sans-serif;overflow-wrap:anywhere}
.kv2-row-meta,.kv2-total{margin:0;font:400 13px/18px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-featured .kv2-row-meta,.kv2-total{font-size:12px}
.kv2-excerpt{font:400 14px/20px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-results{display:flex;flex-direction:column;gap:12px}
.kv2-panel .kv2-results-count{font:600 14px/20px Inter,sans-serif}
.kv2-more,.kv2-clear{width:100%;border:0;padding:12px;border-radius:12px;background:var(--lunora-surface);color:#7564cc;font:400 14px/20px Inter,sans-serif}
.kv2-clear{color:var(--lunora-text)}
.kv2-more:disabled{opacity:.6}
.kv2-loading{margin:0;color:var(--lunora-muted);font:400 14px/20px Inter,sans-serif}
.kv2-message{display:flex;flex-direction:column;gap:12px;padding:24px;background:var(--lunora-surface);border-radius:20px}
.kv2-message p{margin:0;font:400 14px/20px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-actions{display:flex;gap:8px;margin-top:12px}
.kv2-actions button{flex:1;min-width:0;min-height:48px;border:0;border-radius:12px;padding:12px;background:#7564cc;color:white;font:500 14px/20px Inter,sans-serif}
.kv2-actions button+button{background:var(--lunora-field);color:var(--lunora-text)}
.kv2-article-meta{margin:0;color:#7564cc;font:500 12px/18px Inter,sans-serif}
.kv2-panel .kv2-article-title{font:700 26px/32px Inter,sans-serif}
.kv2-article-excerpt{margin:0;font:400 16px/24px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-toc{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:16px;background:var(--lunora-surface)}
.kv2-toc[hidden]{display:none}
.kv2-toc a{color:#7564cc;font:500 14px/20px Inter,sans-serif;text-decoration:none}
.kv2-article-body{padding:20px;border-radius:16px;background:var(--lunora-surface);color:var(--lunora-text);font:400 16px/24px Inter,sans-serif;overflow-wrap:anywhere}
.kv2-article-body>:first-child{margin-top:0}.kv2-article-body>:last-child{margin-bottom:0}
.kv2-article-body h2{margin:16px 0;font:600 20px/32px Inter,sans-serif;scroll-margin-top:calc(var(--app-top-offset,72px) + 20px)}
.kv2-article-body p,.kv2-article-body ul,.kv2-article-body ol,.kv2-article-body h3{margin:16px 0}
.kv2-article-body img{max-width:100%;height:auto}.kv2-article-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.kv2-article-body th,.kv2-article-body td{padding:8px;border:1px solid var(--lunora-track);font-size:14px}
.kv2-article-body a{color:#7564cc}.kv2-article-body blockquote{margin:16px 0;padding:12px;border-radius:10px;background:var(--lunora-field)}
html[data-lunora-ui="2"] .kv2-panel .kv2-bottom{position:fixed;z-index:40}
.kv2-nav{display:flex;align-items:center;justify-content:center;gap:24px;width:144px;height:72px;margin:0;padding:12px;border-radius:999px;background:var(--lunora-surface);box-shadow:0 6px 18px #29233717,0 1px 4px #2923370a}
.kv2-nav button{display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;border:0;background:transparent;padding:0;border-radius:24px}
.kv2-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:16px;overflow:hidden;background:#e8e0f0;color:#66536e;font:500 16px/20px Inter,sans-serif}
.kv2-avatar img{width:32px;height:32px;object-fit:cover}
:root[data-theme="dark"] .kv2-avatar{background:#625471;color:#f5f0ff}
.kv2-panel button:focus-visible,.kv2-panel a:focus-visible{outline:2px solid #7564cc;outline-offset:3px}
@media(max-width:360px){.kv2-category{padding:12px;gap:8px}.kv2-category-icon{width:36px;height:36px}.kv2-row{padding:14px}}
@media(prefers-reduced-motion:reduce){html[data-lunora-ui="2"] .kv2-panel{animation:none!important}.kv2-panel *{scroll-behavior:auto}}

.kv2-featured{padding:20px}
.kv2-chips [data-k-concern]:nth-child(1){width:114.4px}
.kv2-chips [data-k-concern]:nth-child(2){width:157.6px}
.kv2-chips [data-k-concern]:nth-child(3){width:136px}

/* Guide309:3586/879:31402; chapter1303:32451/32827; suggestions1164:23883. */
.kv2-guide-journey{display:flex;flex-direction:column;gap:20px;padding:20px;border-radius:16px;background:var(--lunora-surface)}
.kv2-panel .kv2-guide-journey h2{font:600 20px/32px Inter,sans-serif}
.kv2-guide-journey>p{margin:0;font:400 14px/20px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-guide-steps{display:grid;grid-template-columns:minmax(0,100fr) minmax(0,25fr) minmax(0,100fr) minmax(0,25fr) minmax(0,100fr);align-items:center}
.kv2-guide-step{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center;font:500 12px/18px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-guide-link{display:flex;align-items:center;justify-content:flex-start}
.kv2-guide-icon-arrow img{transform:translateX(.333px)}
.kv2-guide-pictogram{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#e1f4ea}
.kv2-guide-food{background:#f8f0d9;border-radius:8px}.kv2-guide-observe{background:#e1f3f3}
:root[data-theme="dark"] .kv2-guide-ready{background:#203a31}:root[data-theme="dark"] .kv2-guide-food{background:#403326}:root[data-theme="dark"] .kv2-guide-observe{background:#243b40}
.kv2-panel[data-knowledge-view="chapter"] .kv2-shell,.kv2-panel[data-knowledge-view="chapter"] .kv2-header,.kv2-panel[data-knowledge-view="chapter"] .kv2-content{gap:16px}
.kv2-panel .kv2-chapter-title{font:500 24px/35px Inter,sans-serif}
.kv2-chapter-meta{margin:0;font:400 13px/19px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-chapter-body{font:400 16px/23px Inter,sans-serif}
.kv2-chapter-body h2{margin:0 0 20px;font:600 22px/32px Inter,sans-serif}
.kv2-chapter-body p,.kv2-chapter-body h3,.kv2-chapter-body ul,.kv2-chapter-body ol{margin:20px 0}
.kv2-chapter-body>:last-child{margin-bottom:0}
.kv2-panel .kv2-chapter-body h3{font:600 18px/26px Inter,sans-serif}
.kv2-guide-contents{width:100%;height:48px;min-height:48px;border:0;border-radius:12px;background:#7564cc;color:white;padding:12px;font:500 14px/20px Inter,sans-serif}
.kv2-search-help{display:flex;flex-direction:column;gap:8px;padding:20px;border-radius:18px;background:var(--lunora-surface)}
.kv2-search-help p{margin:0;font:400 13px/18px Inter,sans-serif;color:var(--lunora-muted)}
.kv2-find{width:100%;border:0;border-radius:12px;padding:12px;background:#7564cc;color:white;font:500 14px/20px Inter,sans-serif}


/* Moving through the calendar replaces the date without replaying card entry. */
html[data-lunora-ui="2"] .tab-panel.active #journalList[data-journal-calendar-stable] > :is(.journal-item,.journal-summary-card) {
  animation: none;
}

html[data-lunora-ui="2"] #journalList .journal-item:has(.journal-note,.journal-interruption-badge) > .journal-icon {
  align-self: flex-start;
}

.cpv2-wake-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.cpv2-wake-info {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.cpv2-wake-info .cpv2-asset { width: 18px; height: 18px; }
.cpv2-wake-info:focus-visible,
.cpv2-page #concernChips .chip-toggle:focus-visible {
  outline: 2px solid var(--accent, #7564cc);
  outline-offset: 2px;
}
.cpv2-page #concernChips .chip-toggle.active {
  background: var(--lunora-field);
  color: var(--lunora-text);
}
.cpv2-page #concernChips .chip-toggle.active .cpv2-check {
  border-color: #a398cb;
  background: #ece7ff;
}
[data-theme=dark] .cpv2-page #concernChips .chip-toggle.active .cpv2-check {
  border-color: #aa9ce5;
  background: #3e355c;
}


.lunora-calendar-day.has-calendar-dots{position:relative;padding-bottom:5px}
.lunora-calendar-dots{position:absolute;inset:auto 0 4px;display:flex;justify-content:center;gap:4px;pointer-events:none}
.lunora-calendar-dots span{width:5px;height:5px;border-radius:50%}
:is(.lunora-calendar-dots,.lunora-calendar-legend) [data-kind="poop"]{background:#92562b}
:is(.lunora-calendar-dots,.lunora-calendar-legend) [data-kind="illness"]{background:#ce394d}
:root[data-theme="dark"] :is(.lunora-calendar-dots,.lunora-calendar-legend) [data-kind="poop"]{background:#e1a16c}
:root[data-theme="dark"] :is(.lunora-calendar-dots,.lunora-calendar-legend) [data-kind="illness"]{background:#ff7c89}
.lunora-calendar-day.is-selected .lunora-calendar-dots span{outline:1px solid #fff}


#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editMoodPicker{position:relative;display:flex!important;align-items:center;gap:4px;width:100%;height:52px;min-height:52px;margin:0;padding:4px;border:0;border-radius:12px;box-sizing:border-box;background:var(--lunora-field);}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:44px;min-height:44px;margin:0;padding:0!important;border:0!important;border-radius:9px;background:transparent!important;box-shadow:none!important;font:400 13px/20px Inter,sans-serif!important;color:#6d6577!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-text{padding:0;margin:0;font:400 13px/20px Inter,sans-serif!important;color:inherit!important;transition:color 200ms ease-out;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card.active[data-mood=good]{color:#237a53!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card.active[data-mood=neutral]{color:#956017!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card.active[data-mood=bad]{color:#8d5ba7!important;}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card.active[data-mood=good]{color:#78c7a8!important;}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card.active[data-mood=neutral]{color:#e7b86a!important;}
:root[data-theme=dark] #sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card.active[data-mood=bad]{color:#cfb0e3!important;}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .mood-card{transition:color 200ms ease-out;}
.v2-sleep-datetime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v2-sleep-fields .offset-custom-row.v2-sleep-datetime{flex-wrap:nowrap}
.v2-sleep-fields .offset-custom-row.v2-sleep-datetime>.v2-sleep-field{flex:1;min-width:0}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-sleep-datetime .journal-edit-time-wrap{padding:0}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-sleep-datetime .lunora-temporal-field{width:100%;min-width:0}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-sleep-datetime .lunora-temporal-trigger{justify-content:center;width:100%;min-width:0;padding-inline:10px}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-sleep-datetime .lunora-temporal-value{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editMoodPicker::before{content:"";position:absolute;left:4px;top:4px;width:calc((100% - 16px)/3);height:44px;border-radius:9px;opacity:0;pointer-events:none;transition:transform 200ms ease-out,background-color 200ms ease-out,opacity 200ms ease-out}
#editMoodPicker:has([data-mood][aria-pressed=true])::before{opacity:1!important}
#editMoodPicker:has([data-mood=good][aria-pressed=true])::before{background:#e5f5ed}
#editMoodPicker:has([data-mood=neutral][aria-pressed=true])::before{background:#fff2d8;transform:translateX(calc(100% + 4px))}
#editMoodPicker:has([data-mood=bad][aria-pressed=true])::before{background:#f2e6f8;transform:translateX(calc(200% + 8px))}
:root[data-theme=dark] #editMoodPicker .mood-card:not(.active){color:var(--lunora-muted)!important}
:root[data-theme=dark] #editMoodPicker:has([data-mood=good][aria-pressed=true])::before{background:#213c32}
:root[data-theme=dark] #editMoodPicker:has([data-mood=neutral][aria-pressed=true])::before{background:#4b3c27}
:root[data-theme=dark] #editMoodPicker:has([data-mood=bad][aria-pressed=true])::before{background:#46344f}
@media(prefers-reduced-motion:reduce){#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] #editMoodPicker::before{transition:none}}


.lunora-calendar-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;list-style:none;margin:0;padding:1px 12px 16px;color:var(--lunora-muted);font:400 12px/18px Inter,sans-serif}
.lunora-calendar-legend li{display:inline-flex;align-items:center;gap:6px}
.lunora-calendar-legend span{display:inline-block;flex:0 0 5px;width:5px;height:5px;border-radius:50%}

.cvd-overlay .selfsleep-chat-row.assistant .selfsleep-chat-bubble{min-width:0;gap:8px;line-height:1.46}
.cvd-overlay .selfsleep-chat-row.assistant .selfsleep-chat-section-title{margin:4px 0 0;font-weight:650;color:var(--lunora-text)}
.cvd-overlay .selfsleep-chat-table-scroll{width:100%;min-width:0;max-width:100%;overflow-x:auto;border:1px solid var(--lunora-field);border-radius:10px;scrollbar-width:thin;color:var(--lunora-text)}
.cvd-overlay .selfsleep-chat-table-scroll:focus-visible{outline:2px solid var(--lunora-primary);outline-offset:2px}
.cvd-overlay .selfsleep-chat-table-scroll table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.91em;line-height:1.4;font-variant-numeric:tabular-nums;white-space:normal}
.cvd-overlay .selfsleep-chat-table-scroll.is-wide table{table-layout:auto}
.cvd-overlay .selfsleep-chat-table-scroll th,.cvd-overlay .selfsleep-chat-table-scroll td{padding:7px 8px;text-align:start;vertical-align:top;overflow-wrap:anywhere}
.cvd-overlay .selfsleep-chat-table-scroll th{font-weight:650;background:var(--lunora-field)}
.cvd-overlay .selfsleep-chat-table-scroll :is(th,td):first-child{width:36%}
.cvd-overlay .selfsleep-chat-table-scroll.is-wide :is(th,td){width:auto;min-width:76px}
.cvd-overlay .selfsleep-chat-table-scroll td{border-top:1px solid var(--lunora-field)}
.cvd-overlay .selfsleep-chat-original-body > :is(p,.selfsleep-chat-section-title,.selfsleep-chat-table-scroll){margin-block:8px}

.sv2-track .sv2-fill[data-positive]{min-width:2px}

/* Keep list markers inside knowledge articles and guide chapters. */
:is(.kv2-article-body,.kv2-chapter-body) :is(ul,ol) {
  padding-inline-start: 1.5em;
  list-style-position: outside;
}
:is(.kv2-article-body,.kv2-chapter-body) ol { padding-inline-start: 1.8em; }
:is(.kv2-article-body,.kv2-chapter-body) li { padding-inline-start: .2em; }
:is(.kv2-article-body,.kv2-chapter-body) li + li { margin-block-start: 6px; }
:is(.kv2-article-body,.kv2-chapter-body) li > :is(ul,ol) { margin-block: 6px 0; }
:is(.kv2-article-body,.kv2-chapter-body) li > p { margin-block: 0; }
:is(.kv2-article-body,.kv2-chapter-body) li > p + p { margin-block-start: 6px; }

#sheet .v2-sleep-datetime {
  grid-template-columns: minmax(0, 16fr) minmax(0, 9fr);
}
#sheet .v2-sleep-fields .offset-custom-row.v2-sleep-datetime {
  align-items: start;
}
#sheet .v2-sleep-fields .offset-custom-row.v2-sleep-datetime > .v2-sleep-field {
  flex: 9 1 0;
}
#sheet .v2-sleep-fields .offset-custom-row.v2-sleep-datetime > .v2-sleep-field:first-child {
  flex-grow: 16;
}
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-sleep-datetime .lunora-temporal-trigger {
  padding-inline: 7px;
}
#sheet.v2-sleep-event[data-sheet-kind=sleep-event] .v2-sleep-datetime > :first-child .lunora-temporal-value,
#sheet.v2-event-editor[data-sheet-kind=journal-event-edit] .v2-sleep-datetime > :first-child .lunora-temporal-value {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.sv2-failed{color:#a33249;background:#fbe9ee;min-width:96px}
.sv2-waiting{color:#745105;background:#fff1c7;min-width:96px}
[data-theme=dark] .sv2-failed{color:#ffadc0;background:#482833}
[data-theme=dark] .sv2-waiting{color:#ffda84;background:#493a20}
.sv2-status-icon{flex:0 0 12px;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.referral-qr-dialog{inset:0;margin:auto;height:fit-content;transform:none}
.referral-qr-dialog .adv2-close svg{position:relative;color:var(--lunora-text)}
.referral-qr-dialog .adv2-dialog-body{display:grid;gap:12px}
.referral-qr-dialog .adv2-description{margin:0}
.referral-qr-dialog .referral-qr-image{display:block;width:min(100%,260px,45dvh);height:auto;aspect-ratio:1;margin:4px auto 0;background:white;border-radius:12px}
.pv2-children-card .pv2-add-child{background:#7564cc;color:#fff}
.pv2-children-card .pv2-add-child .pv2-asset img{filter:brightness(0) invert(1)}

.pv2-family-actions{gap:8px}
.pv2-family-actions>#btnInviteFamily{flex:1.1}
.pv2-family-actions>.fv2-copy-inline{background:var(--lunora-field);color:var(--lunora-text)}
.pv2-family-actions>.fv2-action:disabled{opacity:.6;cursor:progress}
.fv2-member-leave{display:grid;place-items:center;flex:none;width:36px;height:36px;border:0;border-radius:10px;background:#fff0f2;color:#ba3c53;padding:0;cursor:pointer}
.fv2-member-leave .fv2-asset{width:18px;height:18px}
[data-theme=dark] .fv2-member-leave{background:#402735;color:#f39aac}

:root:not([data-theme=dark]) .v2-sleep-mood-thumb[data-mood=good],:root:not([data-theme=dark]) #editMoodPicker:has([data-mood=good][aria-pressed=true])::before{background:#cdeedc}
:root:not([data-theme=dark]) .v2-sleep-mood-thumb[data-mood=neutral],:root:not([data-theme=dark]) #editMoodPicker:has([data-mood=neutral][aria-pressed=true])::before{background:#ffe2aa}
:root:not([data-theme=dark]) .v2-sleep-mood-thumb[data-mood=bad],:root:not([data-theme=dark]) #editMoodPicker:has([data-mood=bad][aria-pressed=true])::before{background:#ead2f5}

.lunora-photo-picker-control{position:relative;cursor:pointer}
.lunora-photo-picker-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.lunora-photo-picker-control:focus-within{outline:2px solid var(--lunora-accent,#7564cc);outline-offset:3px}

/* The child editor and onboarding share the same checkbox feedback. */
.cpv2-page #concernChips .cpv2-check {
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}
.cpv2-page #concernChips .cpv2-check > .cpv2-asset {
  opacity: 0;
  transform: scale(.78);
  transition: opacity 160ms ease-out, transform 160ms ease-out, visibility 160ms;
}
.cpv2-page #concernChips .chip-toggle.active .cpv2-check > .cpv2-asset {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .cpv2-page #concernChips .cpv2-check,
  .cpv2-page #concernChips .cpv2-check > .cpv2-asset {
    transition: none;
  }
}

.rbv2-provider-modal.rbv2-dialog.cv2-dialog {
  box-sizing:border-box;
  padding:0;
  width:min(560px, max(320px, calc(100vw - 16px)), 100vw);
  max-width:none;
  max-height:calc(100dvh - 16px);
  overflow:hidden;
}
.rbv2-provider-modal.rbv2-dialog .cv2-body {
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:0;
  height:min(748px,calc(100dvh - 16px));
}
.rbv2-provider-modal .cv2-head {
  box-sizing:border-box;
  height:56px;
  padding-inline:16px 12px;
}
.rbv2-provider-modal.rbv2-dialog .cv2-close {width:44px;height:44px;flex:none}
.rbv2-provider-modal.rbv2-dialog .cv2-close::before {content:none}
.rbv2-provider-modal .rbv2-provider-viewport {
  position:relative;
  min-width:0;
  min-height:0;
  overflow:hidden;
  background:#f2f4f6;
}
.rbv2-provider-modal .rbv2-provider-loading {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  margin:0;
  padding:16px;
  text-align:center;
  color:var(--lunora-muted);
  background:var(--lunora-surface,#fff);
  pointer-events:none;
}
.rbv2-provider-modal .rbv2-provider-loading[hidden] {display:none}
.rbv2-provider-modal .rbv2-provider-frame {
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#fff;
}
.rbv2-provider-modal .rbv2-provider-external {
  justify-self:center;
  display:grid;
  place-items:center;
  min-height:44px;
  margin:4px 12px;
  padding:4px 14px;
  border-radius:12px;
  color:var(--lunora-muted);
  font-size:13px;
  line-height:18px;
  text-align:center;
  text-decoration:none;
}
.rbv2-provider-modal .rbv2-provider-external:hover {text-decoration:underline;text-underline-offset:3px}
.rbv2-provider-modal .rbv2-provider-external:focus-visible {
  outline:2px solid var(--primary,#7564cc);
  outline-offset:1px;
}
.rbv2-provider-modal .rbv2-provider-external.rbv2-provider-handoff {
  background:var(--lunora-field,#f7f7fa);
  color:var(--primary,#7564cc);
  font-weight:500;
}

/* Use the home list chevron for row navigation and disclosure controls. */
html[data-lunora-ui="2"]{
  --lunora-chevron-image:url("../assets/figma-20261114/main/light/imgFrame4.svg");
}
html[data-lunora-ui="2"][data-theme="dark"]{
  --lunora-chevron-image:url("../assets/figma-20261114/main/dark/imgFrame4.svg");
}
html[data-lunora-ui="2"] :is(
  .v2-home-chevron,
  .pv2-chevron,
  :is(#dayPrev,#dayNext) > .lunora-asset,
  .journal-item-chevron,
  .feeding-item-chevron,
  .kv2-icon-chevron,
  .kv2-icon-featured-chevron,
  .global-event-chevron,
  .v2-settings-tour > .lunora-asset,
  .v2-calendar-expand > .lunora-asset,
  .v2-settings-accordion > summary > .lunora-asset,
  .cpv2-section-arrow,
  .cpv2-select-arrow,
  #childSwitcher .chev,
  .ai-insight-chevron,
  .lang-chevron,
  .custom-select-chevron,
  .diary-reminder-archive-chevron,
  .diary-reminder-editor .diary-reminder-choice-trigger > svg
){
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:var(--lunora-chevron-image) center / 18px 18px no-repeat;
  opacity:1;
}
html[data-lunora-ui="2"] :is(.kv2-icon-chevron,.kv2-icon-featured-chevron){width:18px!important;height:18px!important}
html[data-lunora-ui="2"] :is(
  .v2-home-chevron,.pv2-chevron,.journal-item-chevron,.feeding-item-chevron,
  :is(#dayPrev,#dayNext) > .lunora-asset,
  .kv2-icon-chevron,.kv2-icon-featured-chevron,.global-event-chevron,
  .v2-settings-tour > .lunora-asset,.v2-calendar-expand > .lunora-asset,
  .v2-settings-accordion > summary > .lunora-asset,.cpv2-section-arrow,
  .cpv2-select-arrow,#childSwitcher .chev,.ai-insight-chevron,.lang-chevron,
  .custom-select-chevron,.diary-reminder-archive-chevron,
  .diary-reminder-editor .diary-reminder-choice-trigger > svg
) > *{visibility:hidden}
html[data-lunora-ui="2"] :is(
  .v2-calendar-expand > .lunora-asset,.v2-settings-accordion > summary > .lunora-asset,
  .cpv2-section-arrow,.cpv2-select-arrow,#childSwitcher .chev,.ai-insight-chevron,
  .lang-chevron,.custom-select-chevron,.diary-reminder-archive-chevron,
  .diary-reminder-editor .diary-reminder-choice-trigger > svg
){rotate:90deg}
html[data-lunora-ui="2"] #dayPrev > .lunora-asset{rotate:180deg}
html[data-lunora-ui="2"] .cpv2-section.expanded .cpv2-section-arrow{rotate:-90deg}
html[data-lunora-ui="2"] .lunora-calendar-select-trigger::after{
  width:18px;height:18px;flex:0 0 18px;background:var(--lunora-chevron-image) center / 18px 18px no-repeat;rotate:90deg
}
