/* Native sheets: lunar + compact registration review sheet (variant A) */
:root{
  --review-sheet-bg:#f5f3f1;
  --review-sheet-surface:#ffffff;
  --review-sheet-primary:#111114;
  --review-sheet-secondary:#6f6b75;
  --review-sheet-tertiary:#8d8992;
  --review-sheet-separator:rgba(60,60,67,.16);
  --review-sheet-accent:#6f56a6;
  --review-sheet-accent-pressed:#604993;
  --review-sheet-footer-bg:rgba(245,243,241,.985);
  --review-sheet-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",sans-serif;
}
@media (prefers-color-scheme: dark){
  :root{
    --review-sheet-bg:#1c1b20;
    --review-sheet-surface:#2a292f;
    --review-sheet-primary:#f7f2f8;
    --review-sheet-secondary:#c9c3cf;
    --review-sheet-tertiary:#9d96a5;
    --review-sheet-separator:rgba(235,235,245,.14);
    --review-sheet-accent:#b8a0ff;
    --review-sheet-accent-pressed:#c7b4ff;
    --review-sheet-footer-bg:rgba(28,27,32,.985);
  }
}
.lunar-date-sheet-viewport,.profile-review-sheet-viewport{position:fixed!important;inset:0!important;z-index:3400!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:0!important;background:rgba(18,10,28,0);backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:hidden!important;overscroll-behavior:none!important;contain:layout style paint;}
.lunar-date-sheet-panel,.profile-review-sheet-panel{position:relative!important;align-self:flex-end!important;width:min(100vw,430px)!important;max-width:min(100vw,430px)!important;max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top))!important;margin:0 auto!important;border-radius:30px 30px 0 0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;will-change:transform!important;transform:translate3d(0,100%,0);opacity:1!important;touch-action:pan-y;contain:layout style paint;}
.lunar-date-sheet-panel{padding:0 18px calc(14px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,rgba(255,251,247,.996),rgba(247,240,255,.992))!important;color:#2f2340!important;box-shadow:0 -14px 36px rgba(13,7,20,.14),0 2px 12px rgba(13,7,20,.06),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.profile-review-sheet-panel{display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden!important;font-family:var(--review-sheet-font)!important;background:var(--review-sheet-bg)!important;color:var(--review-sheet-primary)!important;box-shadow:0 -10px 24px rgba(0,0,0,.12),0 -1px 4px rgba(0,0,0,.04)!important;}
.lunar-date-sheet-panel.is-dragging,.profile-review-sheet-panel.is-dragging{cursor:grabbing;user-select:none!important;-webkit-user-select:none!important}
.lunar-date-sheet-head{position:sticky!important;top:0!important;z-index:4!important;min-height:42px!important;padding:12px 0 10px!important;display:grid!important;place-items:center!important;touch-action:pan-y!important;pointer-events:auto!important;user-select:none!important;-webkit-user-select:none!important;-webkit-touch-callout:none!important;background:linear-gradient(180deg,rgba(255,251,247,.985),rgba(255,251,247,.84) 72%,rgba(255,251,247,0));}
.lunar-date-sheet-grabber{width:64px;height:6px;border-radius:999px;background:linear-gradient(180deg,rgba(123,97,163,.24),rgba(123,97,163,.48));box-shadow:0 1px 3px rgba(45,34,62,.08) inset;}
.lunar-date-sheet-panel .lunar-date-pill{width:max-content!important;max-width:100%!important;margin:0 auto 12px!important;padding:10px 14px!important;font-size:13px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff8ef,#f6ecff)!important;border:1px solid rgba(92,64,132,.16)!important;box-shadow:0 6px 18px rgba(43,34,52,.08)!important;color:#5d3d87!important;}.lunar-date-sheet-panel .lunar-date-pill b,.lunar-date-sheet-panel .lunar-date-pill strong{color:#4a2d73!important;font-weight:900!important}.lunar-date-sheet-panel .lunar-date-pill .date-orbit{color:#7b61a3!important;opacity:1!important}.lunar-date-sheet-panel .hint-strip{margin:0!important;padding:15px!important;border-radius:24px!important;gap:6px!important;background:linear-gradient(160deg,rgba(243,237,255,.95),rgba(255,249,242,.92))!important;border:1px solid rgba(110,84,140,.10)!important}.lunar-date-sheet-panel .hint-strip span{font-size:12px!important;letter-spacing:.02em!important;color:#7f66a1!important;font-weight:900!important}.lunar-date-sheet-panel .hint-strip b{font-size:18px!important;line-height:1.12!important;color:#2f2340!important}.lunar-date-sheet-panel .hint-strip small{font-size:13.5px!important;line-height:1.34!important;color:#584b66!important;font-weight:760!important}.lunar-date-sheet-panel .flow-actions{margin-top:14px!important;gap:10px!important}.lunar-date-sheet-panel .primary,.lunar-date-sheet-panel .ghost{min-height:52px!important;border-radius:18px!important;padding:12px 14px!important}
.profile-review-sheet-header{flex:0 0 auto;padding:2px 18px 0;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;background:var(--review-sheet-bg);}
.profile-review-sheet-handle{width:100%;min-height:28px;display:grid;place-items:center;margin:0;padding:0;border:0;background:transparent;cursor:grab;touch-action:pan-y;}
.profile-review-sheet-handle span{width:36px;height:5px;border-radius:999px;background:#c7c7cc;display:block;}
@media (prefers-color-scheme: dark){.profile-review-sheet-handle span{background:#5f5d66;}}
.profile-review-sheet-header h3{margin:0 0 4px;color:var(--review-sheet-primary);font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:31px;}
.profile-review-sheet-header p{margin:0 0 10px;color:var(--review-sheet-secondary);font-size:15px;font-weight:400;line-height:20px;}
.profile-review-scroll-area{flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 18px 14px;scroll-padding-bottom:14px;}
.profile-review-data-section{margin:0 0 12px;}
.profile-review-data-section:last-child{margin-bottom:0;}
.profile-review-data-section h4{margin:0 0 6px 14px;color:var(--review-sheet-secondary);font-size:13px;font-weight:500;line-height:17px;}
.profile-review-grouped-list{overflow:hidden;border-radius:16px;background:var(--review-sheet-surface);border:0;box-shadow:none;}
.profile-review-data-row{position:relative;min-height:48px;display:grid;grid-template-columns:minmax(98px,.9fr) minmax(0,1.1fr);align-items:center;gap:10px;padding:8px 14px;}
.profile-review-data-row + .profile-review-data-row::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--review-sheet-separator);transform:scaleY(.5);transform-origin:top;}
.profile-review-data-label{min-width:0;color:var(--review-sheet-secondary);font-size:14.5px;font-weight:450;line-height:18px;}
.profile-review-data-value{min-width:0;color:var(--review-sheet-primary);font-size:15.5px;font-weight:600;line-height:19px;text-align:right;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;}
.profile-review-data-row.is-empty .profile-review-data-value{color:var(--review-sheet-tertiary);font-weight:500;}
.profile-review-sticky-actions{flex:0 0 auto;display:grid;gap:2px;padding:6px 18px calc(8px + env(safe-area-inset-bottom));background:var(--review-sheet-footer-bg);border-top:1px solid var(--review-sheet-separator);box-shadow:none;}
.profile-review-save-button,.profile-review-edit-button{font-family:var(--review-sheet-font);appearance:none;-webkit-appearance:none;border:0;min-height:42px;touch-action:manipulation;}
.profile-review-save-button{width:100%;min-height:52px;border-radius:16px;background:linear-gradient(180deg,var(--review-sheet-accent),var(--review-sheet-accent-pressed));color:#fff;font-size:16px;font-weight:600;line-height:20px;box-shadow:0 2px 6px rgba(86,62,135,.10);transition:transform .1s ease,opacity .1s ease;}
.profile-review-save-button:active{transform:scale(.988);opacity:.93;}
.profile-review-save-button:disabled{opacity:.72;pointer-events:none;}
.profile-review-save-button.is-loading span::after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;vertical-align:-2px;animation:profile-review-spin .8s linear infinite;}
.profile-review-edit-button{min-height:42px;border-radius:12px;background:transparent;color:var(--review-sheet-accent);font-size:15.5px;font-weight:500;line-height:20px;}
.profile-review-edit-button:active{background:rgba(111,86,166,.08);}
@keyframes profile-review-spin{to{transform:rotate(360deg)}}
@media (max-width:340px){.profile-review-sheet-header{padding-left:14px;padding-right:14px;}.profile-review-scroll-area{padding-left:14px;padding-right:14px;padding-bottom:12px;}.profile-review-sticky-actions{padding-left:14px;padding-right:14px;}.profile-review-data-row{grid-template-columns:1fr;gap:2px;align-items:start;}.profile-review-data-value{text-align:left;}}
@media (orientation:landscape) and (max-height:520px){.profile-review-sheet-panel{max-height:calc(100dvh - env(safe-area-inset-top))!important;}.profile-review-sheet-handle{min-height:24px;}.profile-review-sheet-header p{margin-bottom:8px;}.profile-review-data-section{margin-bottom:10px;}}
@media (prefers-reduced-motion: reduce){.lunar-date-sheet-panel,.profile-review-sheet-panel{will-change:auto!important}.profile-review-save-button{transition:none;}}

/* Lunar calendar: adaptive create/check event inside the same native bottom sheet */
:root{
  --lunar-sheet-safe-top: env(safe-area-inset-top, 0px);
  --lunar-sheet-safe-bottom: env(safe-area-inset-bottom, 0px);
  --lunar-sheet-vh: var(--visual-viewport-height, var(--tg-viewport-height, 100dvh));
  --lunar-sheet-top-gap: clamp(6px, 1.4dvh, 12px);
  --lunar-sheet-inline-pad: clamp(16px, 5vw, 28px);
  --lunar-sheet-gap: clamp(10px, 1.8dvh, 16px);
  --lunar-sheet-radius: clamp(22px, 6vw, 32px);
}
html:has(.lunar-date-sheet-viewport),
body:has(.lunar-date-sheet-viewport){
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.lunar-date-sheet-viewport{
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  inset:0!important;
  align-items:flex-end!important;
  justify-content:center!important;
  padding:0!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:pan-y!important;
}
.lunar-date-sheet-viewport.is-expanded{background:rgba(18,10,28,0)!important;}
body:has(.lunar-date-sheet-viewport) #app{overflow:hidden!important;overscroll-behavior:none!important;}
.lunar-date-sheet-viewport.is-expanded .lunar-date-sheet-panel{transform:translate3d(0,0,0);}
body.lunar-sheet-drag-active .lunar-date-sheet-body,
body.lunar-sheet-drag-active .lunar-event-form-scene,
body.lunar-sheet-drag-active .decision-modal-scroll,
body.lunar-sheet-drag-active .profile-review-scroll-area{overscroll-behavior:none!important;touch-action:none!important;}
body.lunar-sheet-drag-active .lunar-date-sheet-panel,
body.lunar-sheet-drag-active .profile-review-sheet-panel{touch-action:none!important;}
.lunar-date-sheet-panel{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  border-radius:var(--lunar-sheet-radius) var(--lunar-sheet-radius) 0 0!important;
  max-height:calc(var(--lunar-sheet-vh) - var(--visual-viewport-offset-top, 0px) - var(--lunar-sheet-safe-top) - var(--lunar-sheet-top-gap))!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding-left:var(--lunar-sheet-inline-pad)!important;
  padding-right:var(--lunar-sheet-inline-pad)!important;
  padding-bottom:calc(clamp(14px, 2dvh, 18px) + var(--lunar-sheet-safe-bottom))!important;
}
.lunar-date-sheet-viewport.is-expanded .lunar-date-sheet-panel{
  display:flex!important;
  flex-direction:column!important;
  min-height:min(78dvh, calc(var(--lunar-sheet-vh) - var(--visual-viewport-offset-top, 0px) - var(--lunar-sheet-safe-top) - var(--lunar-sheet-top-gap)))!important;
  max-height:calc(var(--lunar-sheet-vh) - var(--visual-viewport-offset-top, 0px) - var(--lunar-sheet-safe-top) - var(--lunar-sheet-top-gap))!important;
  padding:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(255,251,247,.985),rgba(247,240,255,.972))!important;
  color:#241b32!important;
  box-shadow:0 -18px 48px rgba(13,7,20,.18),inset 0 1px 0 rgba(255,255,255,.86)!important;
}
.lunar-date-sheet-body{
  flex:1 1 auto;
  min-height:0;
  min-width:0;
  width:100%;
  box-sizing:border-box;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding-inline:var(--lunar-sheet-inline-pad);
  padding-bottom:calc(clamp(16px, 2.2dvh, 22px) + var(--lunar-sheet-safe-bottom));
  scroll-padding-top:calc(64px + var(--lunar-sheet-safe-top));
  scroll-padding-bottom:calc(88px + var(--lunar-sheet-safe-bottom));
}
.lunar-date-sheet-scene{
  min-width:0;
  max-width:100%;
  animation:lunarSheetSceneIn .26s cubic-bezier(.22,1,.36,1) both;
}
.lunar-event-form-scene,.lunar-event-result-scene{
  padding:clamp(2px, .5dvh, 6px) 0 0;
  display:grid;
  gap:var(--lunar-sheet-gap);
}
.lunar-event-sheet-head{
  position:sticky!important;
  top:0!important;
  z-index:6!important;
  display:grid!important;
  grid-template-columns:minmax(44px,auto) minmax(0,1fr) minmax(44px,auto)!important;
  align-items:center!important;
  min-height:clamp(54px, 8dvh, 66px)!important;
  padding:clamp(7px, 1.2dvh, 10px) var(--lunar-sheet-inline-pad) clamp(7px, 1.2dvh, 10px)!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border-bottom:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  pointer-events:auto!important;
}
.lunar-event-sheet-head .lunar-date-sheet-grabber{
  grid-column:1/4;
  width:clamp(42px, 14vw, 56px);
  height:5px;
  margin:0 auto clamp(3px, .7dvh, 6px);
}
.lunar-event-sheet-head h3{
  grid-column:2;
  grid-row:2;
  min-width:0;
  margin:0;
  text-align:center;
  font-size:clamp(18px, 5vw, 22px);
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.03em;
  color:#241b32;
  overflow-wrap:anywhere;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-event-sheet-head h3{
  display:none!important;
}
.lunar-sheet-back{
  grid-column:1;
  grid-row:2;
  justify-self:start;
  width:44px;
  min-width:44px;
  height:44px;
  min-height:44px;
  border:0;
  border-radius:999px;
  background:rgba(92,64,132,.09);
  color:#4f3477;
  font-size:34px;
  line-height:30px;
  display:grid;
  place-items:center;
  padding:0;
  touch-action:manipulation;
}
.lunar-sheet-back:active{transform:scale(.96);background:rgba(92,64,132,.14);}
.lunar-event-date-chip{
  min-width:0;
  display:grid;
  gap:clamp(2px, .5dvh, 4px);
  padding:clamp(10px, 2dvh, 14px) clamp(12px, 4vw, 16px);
  border-radius:clamp(18px, 5vw, 24px);
  background:linear-gradient(160deg,rgba(255,255,255,.82),rgba(243,236,255,.78));
  border:1px solid rgba(92,64,132,.10);
  box-shadow:0 8px 22px rgba(43,34,52,.07);
}
.lunar-event-date-chip span,.lunar-event-field span{
  min-width:0;
  font-size:clamp(12px, 3.4vw, 13px);
  line-height:1.25;
  font-weight:850;
  letter-spacing:.02em;
  color:#745d94;
  overflow-wrap:anywhere;
}
.lunar-event-date-chip b{
  min-width:0;
  font-size:clamp(18px, 5vw, 22px);
  line-height:1.16;
  font-weight:950;
  color:#241b32;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}
.lunar-event-date-chip small{
  min-width:0;
  font-size:clamp(13px, 3.6vw, 15px);
  line-height:1.3;
  font-weight:760;
  color:#5b5068;
  overflow-wrap:anywhere;
}
.lunar-event-field{display:grid;gap:clamp(6px, 1dvh, 8px);margin:0;min-width:0;}
.lunar-event-field .input,.lunar-event-field textarea{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:1px solid rgba(92,64,132,.10)!important;
  border-radius:clamp(17px, 5vw, 21px)!important;
  background:rgba(255,255,255,.74)!important;
  color:#241b32!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),0 5px 16px rgba(43,34,52,.045)!important;
  font-size:clamp(16px, 4vw, 18px)!important;
  font-weight:760!important;
  line-height:1.28!important;
  outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  overflow-wrap:anywhere;
}
.lunar-event-field .input{
  min-height:clamp(50px, 7.6dvh, 56px)!important;
  height:auto!important;
  padding:0 clamp(14px, 4vw, 16px)!important;
}
.lunar-event-field textarea{
  min-height:clamp(84px, 16dvh, 116px)!important;
  max-height:min(28dvh, 180px)!important;
  height:auto!important;
  padding:clamp(12px, 2dvh, 15px) clamp(14px, 4vw, 16px)!important;
  resize:none!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
}
.lunar-event-field .input::placeholder,.lunar-event-field textarea::placeholder{color:rgba(76,61,92,.48);font-weight:650;white-space:normal;}
.lunar-event-field .input:focus,.lunar-event-field textarea:focus{
  border-color:rgba(92,64,132,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),0 5px 16px rgba(43,34,52,.045)!important;
  background:rgba(255,255,255,.74)!important;
  caret-color:#241b32!important;
}
.lunar-event-form-scene .field-error-label{margin:calc(-1 * clamp(2px, .7dvh, 5px)) 0 0 2px;color:#a43d55;font-size:clamp(12px,3.2vw,13px);line-height:1.25;font-weight:850;overflow-wrap:anywhere;}
.lunar-event-note{margin:0;color:#5b5068!important;font-size:clamp(14px, 3.7vw, 16px)!important;line-height:1.35!important;font-weight:760!important;overflow-wrap:anywhere;}
.lunar-event-error{margin:0!important;padding:clamp(9px,1.5dvh,11px) clamp(11px,3.5vw,13px)!important;border-radius:clamp(15px,4vw,17px)!important;background:rgba(164,61,85,.09)!important;color:#8d2f48!important;border:1px solid rgba(164,61,85,.12)!important;overflow-wrap:anywhere;}
.lunar-sheet-actions{margin-top:clamp(1px,.5dvh,4px)!important;display:grid!important;gap:clamp(8px,1.4dvh,10px)!important;min-width:0;}
.lunar-sheet-actions .primary,.lunar-sheet-actions .ghost,
.lunar-event-result-scene .flow-actions .primary,.lunar-event-result-scene .flow-actions .ghost{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:auto!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  touch-action:manipulation!important;
}
.lunar-sheet-actions .primary{min-height:clamp(50px,7.5dvh,56px)!important;border-radius:clamp(18px,5vw,21px)!important;font-size:clamp(16px,4vw,18px)!important;font-weight:900!important;}
.lunar-sheet-actions .ghost{min-height:44px!important;border:0!important;background:transparent!important;color:#6f56a6!important;box-shadow:none!important;font-weight:850!important;}
.lunar-event-result-scene .inline-decision-modal{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;animation:lunarSheetSceneIn .26s cubic-bezier(.22,1,.36,1) both!important;}
.lunar-event-result-scene .inline-decision-modal>.pill,.lunar-event-result-scene .inline-decision-modal>h3{display:none!important;}
.lunar-event-result-scene .decision-modal-scroll{max-height:none!important;overflow:visible!important;margin:0!important;}
.lunar-event-result-scene .event-decision-advice-card,.lunar-event-result-scene .event-precheck-copy{border-radius:clamp(18px,5vw,24px)!important;background:rgba(255,255,255,.76)!important;color:#241b32!important;border:1px solid rgba(92,64,132,.10)!important;box-shadow:0 8px 22px rgba(43,34,52,.06)!important;overflow-wrap:anywhere!important;}
.lunar-event-result-scene .flow-actions{margin-top:clamp(10px,1.8dvh,14px)!important;display:grid!important;gap:clamp(8px,1.4dvh,10px)!important;}
.lunar-event-result-scene .flow-actions .primary{min-height:clamp(50px,7.5dvh,56px)!important;border-radius:clamp(18px,5vw,21px)!important;}
.lunar-event-result-scene .flow-actions .ghost{min-height:44px!important;border:0!important;background:transparent!important;color:#6f56a6!important;box-shadow:none!important;}
.lunar-sheet-mode-form .lunar-date-sheet-panel,.lunar-sheet-mode-result .lunar-date-sheet-panel{transition:min-height .26s cubic-bezier(.22,1,.36,1),max-height .26s cubic-bezier(.22,1,.36,1);}
@keyframes lunarSheetSceneIn{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media (min-width:700px){.lunar-date-sheet-panel{max-width:560px!important;margin-inline:auto!important;}.lunar-date-sheet-viewport{padding-inline:clamp(18px,4vw,40px)!important;box-sizing:border-box;}}
@media (max-width:340px){:root{--lunar-sheet-inline-pad:clamp(14px,4.5vw,16px);--lunar-sheet-gap:10px;}.lunar-event-sheet-head{grid-template-columns:44px minmax(0,1fr) 44px!important}.lunar-event-field textarea{min-height:82px!important;max-height:22dvh!important}.lunar-event-note{font-size:14px!important}.lunar-date-sheet-panel .hint-strip{padding:12px!important;border-radius:20px!important}.lunar-date-sheet-panel .flow-actions{gap:8px!important}}
@media (max-height:700px){:root{--lunar-sheet-gap:clamp(8px,1.4dvh,12px);--lunar-sheet-top-gap:6px}.lunar-date-sheet-viewport.is-expanded .lunar-date-sheet-panel{min-height:min(86dvh, calc(var(--lunar-sheet-vh) - var(--visual-viewport-offset-top, 0px) - var(--lunar-sheet-safe-top) - var(--lunar-sheet-top-gap)))!important}.lunar-date-sheet-body{padding-bottom:calc(12px + var(--lunar-sheet-safe-bottom));scroll-padding-bottom:calc(76px + var(--lunar-sheet-safe-bottom));}.lunar-event-date-chip{padding-block:10px}.lunar-event-field textarea{min-height:80px!important;max-height:22dvh!important}.lunar-event-sheet-head{min-height:54px!important}.lunar-sheet-actions .primary{min-height:50px!important}}
@media (orientation:landscape) and (max-height:520px){.lunar-date-sheet-viewport.is-expanded .lunar-date-sheet-panel{min-height:auto!important;max-height:calc(var(--lunar-sheet-vh) - var(--visual-viewport-offset-top, 0px) - var(--lunar-sheet-safe-top) - 4px)!important}.lunar-event-sheet-head{min-height:50px!important}.lunar-event-form-scene,.lunar-event-result-scene{gap:8px}.lunar-event-field textarea{min-height:68px!important;max-height:20dvh!important}}
body.keyboard-open .lunar-date-sheet-viewport.is-expanded .lunar-date-sheet-panel{
  min-height:auto!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 6px)!important;
}
body.keyboard-open .lunar-date-sheet-body{scroll-padding-bottom:calc(96px + var(--lunar-sheet-safe-bottom));}
@media (prefers-reduced-motion: reduce){.lunar-date-sheet-scene,.lunar-event-result-scene .inline-decision-modal{animation:none!important}.lunar-sheet-mode-form .lunar-date-sheet-panel,.lunar-sheet-mode-result .lunar-date-sheet-panel{transition:none!important}}


/* Single persistent lunar event sheet — dateInfo → eventForm → dateResult */
.lunar-date-sheet-viewport{
  min-height:100dvh!important;
  height:100dvh!important;
  background:rgba(18,10,28,0)!important;
  z-index:4200!important;
  padding-top:calc(env(safe-area-inset-top,0px) + var(--visual-viewport-offset-top,0px))!important;
  box-sizing:border-box!important;
}
.lunar-date-sheet-panel{
  background:rgba(251,248,252,.98)!important;
  color:#21182d!important;
  box-shadow:0 -22px 58px rgba(13,7,20,.22),0 -1px 0 rgba(255,255,255,.78) inset!important;
  transition:min-height .38s cubic-bezier(0.22,1,0.36,1),max-height .38s cubic-bezier(0.22,1,0.36,1),border-radius .38s cubic-bezier(0.22,1,0.36,1)!important;
  will-change:transform,min-height,max-height!important;
}
.lunar-date-sheet-head,
.lunar-event-sheet-head{
  background:transparent!important;
}
.lunar-date-sheet-body{
  scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom,0px) + var(--keyboard-inset,0px))!important;
}
.lunar-date-sheet-scene{
  animation:lunarSingleSceneIn .38s cubic-bezier(0.22,1,0.36,1) both!important;
  transform-origin:50% 100%;
}
.lunar-date-info-scene{display:grid;gap:clamp(10px,1.8dvh,16px);}
.lunar-shared-date-chip{
  min-width:0;
  box-sizing:border-box;
  color:#241b32;
  transition:transform .40s cubic-bezier(0.22,1,0.36,1),opacity .34s cubic-bezier(0.22,1,0.36,1),padding .40s cubic-bezier(0.22,1,0.36,1),border-radius .40s cubic-bezier(0.22,1,0.36,1),background .40s cubic-bezier(0.22,1,0.36,1);
}
.lunar-shared-date-chip.is-large{
  display:grid;
  place-items:center;
  text-align:center;
  gap:4px;
  padding:clamp(14px,2.5dvh,20px) clamp(16px,5vw,22px);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(245,238,255,.70));
  border:1px solid rgba(92,64,132,.10);
  box-shadow:0 10px 26px rgba(43,34,52,.07);
}
.lunar-shared-date-chip.is-large .date-orbit{font-size:22px;line-height:1;color:#7452a4;}
.lunar-shared-date-chip.is-large b{font-size:clamp(20px,5.7vw,25px);line-height:1.12;font-weight:950;letter-spacing:-.03em;}
.lunar-shared-date-chip.is-large small{font-size:13px;font-weight:850;color:#735d91;}
.lunar-shared-date-chip.is-large strong{font-size:clamp(16px,4.5vw,19px);font-weight:900;color:#422d60;}
.lunar-shared-date-chip.is-compact{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  padding:10px 13px;
  border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(92,64,132,.09);
  box-shadow:0 8px 20px rgba(43,34,52,.045);
  animation:lunarSharedChipMorph .40s cubic-bezier(0.22,1,0.36,1) both;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-shared-date-chip.is-compact{
  width:100%!important;
  justify-content:center!important;
  text-align:center!important;
  padding:0!important;
  margin:0 auto 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  animation:none!important;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-shared-date-chip.is-compact span[aria-hidden="true"]{
  display:none!important;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-shared-date-chip.is-compact .date-orbit{
  display:none!important;
}
.lunar-shared-date-chip.is-compact b,
.lunar-shared-date-chip.is-compact small{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-shared-date-chip.is-compact b,
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-shared-date-chip.is-compact small{
  flex:0 1 auto!important;
  min-width:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:center!important;
}
.lunar-shared-date-chip.is-compact b{font-size:15px;font-weight:900;color:#2a2036;}
.lunar-shared-date-chip.is-compact small{font-size:14px;font-weight:800;color:#604c79;}
.lunar-shared-date-chip.is-compact em{font-style:normal;color:#9b89b3;}
.lunar-shared-date-chip.is-interactive{position:relative;display:flex;align-items:center;gap:7px;cursor:pointer;padding-block:11px;}
.lunar-shared-date-chip.is-interactive>b{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;}
.lunar-shared-date-chip.is-interactive>small{justify-self:start;}
.lunar-chip-date-input{position:absolute;inset:0;opacity:.001;width:100%;height:100%;border:0;cursor:pointer;-webkit-appearance:none;appearance:none;}
.lunar-shared-date-chip.is-interactive.is-disabled{cursor:default;opacity:.72;}
.lunar-shared-date-chip.is-interactive.is-disabled .lunar-chip-date-input{pointer-events:none;}
.lunar-shared-date-chip.is-interactive:active{transform:scale(.995);}
.lunar-info-foldable{animation:lunarInfoFoldOpen .38s cubic-bezier(0.22,1,0.36,1) both;}
.lunar-sheet-mode-form .lunar-date-sheet-panel,
.lunar-sheet-mode-result .lunar-date-sheet-panel{
  min-height:auto!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 6px)!important;
}
.lunar-event-form-scene{
  gap:clamp(10px,1.7dvh,15px)!important;
}
.lunar-event-form-scene .lunar-event-field,
.lunar-event-form-scene .lunar-event-note,
.lunar-event-form-scene .lunar-sheet-actions,
.lunar-event-form-scene .lunar-event-error{
  opacity:0;
  transform:translate3d(0,10px,0);
  animation:lunarFieldGrow .40s cubic-bezier(0.22,1,0.36,1) forwards;
}
.lunar-event-form-scene .lunar-field-title{animation-delay:.06s;}
.lunar-event-form-scene .lunar-field-note{animation-delay:.13s;}
.lunar-event-form-scene .lunar-event-note,.lunar-event-form-scene .lunar-event-error{animation-delay:.20s;}
.lunar-event-form-scene .lunar-sheet-actions{animation-delay:.27s;}
.lunar-event-form-scene.is-checking .lunar-field-note,
.lunar-event-form-scene.is-checking .lunar-field-title{
  opacity:.60!important;
  filter:saturate(.85);
  transition:opacity .32s cubic-bezier(0.22,1,0.36,1),filter .32s cubic-bezier(0.22,1,0.36,1);
}
.lunar-event-form-scene input:disabled,
.lunar-event-form-scene textarea:disabled{
  opacity:.74!important;
  -webkit-text-fill-color:#5f526d!important;
  background:rgba(255,255,255,.58)!important;
}
.lunar-sheet-actions .primary.is-checking{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
.lunar-btn-spinner{
  width:17px;
  height:17px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  animation:lunarBtnSpin .8s linear infinite;
}
.lunar-event-result-scene{
  gap:clamp(10px,1.7dvh,15px)!important;
}
.lunar-result-grown{
  min-width:0;
  opacity:0;
  transform:translate3d(0,12px,0) scale(.985);
  animation:lunarResultGrow .42s cubic-bezier(0.22,1,0.36,1) .04s forwards;
}
.lunar-event-result-scene .inline-decision-modal{animation:none!important;}
.lunar-event-result-scene .event-decision-advice-card,
.lunar-event-result-scene .event-precheck-copy{
  background:rgba(255,255,255,.78)!important;
  border-radius:24px!important;
  box-shadow:0 10px 26px rgba(43,34,52,.055)!important;
}
body.keyboard-open .lunar-date-sheet-viewport,
body.keyboard-open .lunar-date-sheet-panel{height:auto!important;}
body.keyboard-open .lunar-sheet-mode-form .lunar-date-sheet-panel,
body.keyboard-open .lunar-sheet-mode-result .lunar-date-sheet-panel{
  min-height:auto!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 6px)!important;
}
@keyframes lunarSingleSceneIn{0%{opacity:.001;transform:translate3d(0,10px,0) scale(.992)}100%{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes lunarFieldGrow{to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes lunarResultGrow{to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes lunarSharedChipMorph{0%{transform:translate3d(0,8px,0) scale(1.02);opacity:.66}100%{transform:translate3d(0,0,0) scale(1);opacity:1}}
@keyframes lunarInfoFoldOpen{from{opacity:.001;transform:translate3d(0,10px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes lunarBtnSpin{to{transform:rotate(360deg)}}
@media (max-width:340px){
  .lunar-shared-date-chip.is-large{padding:13px 14px;border-radius:24px;}
  .lunar-shared-date-chip.is-compact{gap:5px;padding:9px 11px;}
  .lunar-shared-date-chip.is-compact b{font-size:14px;}
  .lunar-shared-date-chip.is-compact small{font-size:13px;}
}
@media (prefers-reduced-motion: reduce){
  .lunar-date-sheet-panel,.lunar-date-sheet-scene,.lunar-shared-date-chip,.lunar-result-grown,.lunar-event-form-scene .lunar-event-field,.lunar-event-form-scene .lunar-event-note,.lunar-event-form-scene .lunar-sheet-actions{animation:none!important;transition:none!important;opacity:1!important;transform:none!important;}
}

.lunar-event-result-scene .event-nearest-dates-card{margin-top:12px!important;padding:14px 16px!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(92,64,132,.10)!important;box-shadow:0 8px 22px rgba(43,34,52,.05)!important;}
.lunar-event-result-scene .event-nearest-dates-title{margin:0 0 10px!important;font-size:14px!important;line-height:1.35!important;font-weight:900!important;color:#2a1f39!important;}
.lunar-event-result-scene .event-nearest-dates-list{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:8px!important;}
.lunar-event-result-scene .event-nearest-date-item{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;padding:10px 12px!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(255,248,239,.96),rgba(246,236,255,.82))!important;border:1px solid rgba(111,86,166,.10)!important;-webkit-appearance:none!important;appearance:none!important;text-align:left!important;cursor:pointer!important;}
.lunar-event-result-scene .event-nearest-date-item:active{transform:scale(.995)!important;}
.lunar-event-result-scene .event-nearest-date-item b{font-size:15px!important;line-height:1.2!important;color:#2a1f39!important;}
.lunar-event-result-scene .event-nearest-date-item small{font-size:13px!important;line-height:1.25!important;color:#6f56a6!important;text-align:right!important;}

/* 20260802 one-sheet native flow hardening: one panel, internal scroll, lighter surfaces */
.lunar-date-sheet-viewport{
  height:var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh))!important;
  min-height:0!important;
  padding-top:env(safe-area-inset-top,0px)!important;
  box-sizing:border-box!important;
  transform:none!important;
  will-change:auto!important;
}
.lunar-date-sheet-panel{
  display:flex!important;
  flex-direction:column!important;
  min-height:auto!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - clamp(6px,1.4dvh,12px))!important;
  overflow:hidden!important;
  border-radius:clamp(24px,6vw,32px) clamp(24px,6vw,32px) 0 0!important;
  box-shadow:0 -10px 30px rgba(13,7,20,.12), inset 0 1px 0 rgba(255,255,255,.88)!important;
  transform-origin:50% 100%!important;
  margin-top:auto!important;
}
@media (min-width:520px){.lunar-date-sheet-panel{width:min(100%,430px)!important;max-width:430px!important;}}
.lunar-date-sheet-head{
  flex:0 0 auto!important;
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.lunar-date-sheet-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
  padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;
  scroll-padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))!important;
}
.lunar-date-sheet-scene{
  contain:none!important;
  animation:none!important;
}
.lunar-sheet-mode-info .lunar-date-sheet-panel{animation:none!important;}
.lunar-sheet-mode-form .lunar-date-sheet-panel,.lunar-sheet-mode-result .lunar-date-sheet-panel{animation:none!important;}
.lunar-sheet-back{
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  border-radius:999px!important;box-shadow:0 3px 10px rgba(43,34,52,.055)!important;background:rgba(255,255,255,.62)!important;color:#5d4876!important;
}
.lunar-shared-date-chip{border-radius:22px!important;box-shadow:0 5px 14px rgba(43,34,52,.04)!important;}
.lunar-shared-date-chip.is-large{border-radius:24px!important;box-shadow:0 7px 18px rgba(43,34,52,.055)!important;}
.lunar-event-form-scene .lunar-event-field{gap:6px!important;transition:transform .12s cubic-bezier(0.22,1,0.36,1)!important;}
.lunar-event-form-scene .lunar-event-field:focus-within{
  opacity:1!important;
  transform:translate3d(0,0,0)!important;
  animation:none!important;
}
.lunar-event-field .input,.lunar-event-field textarea{
  min-height:clamp(44px,6.6dvh,50px)!important;
  padding:11px 13px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.70)!important;
  box-shadow:0 4px 12px rgba(43,34,52,.035)!important;
}
.lunar-event-field textarea{min-height:clamp(76px,14dvh,104px)!important;max-height:32dvh!important;resize:none!important;}
.lunar-event-field .input::placeholder,.lunar-event-field textarea::placeholder{color:rgba(64,48,82,.58)!important;}
.lunar-primary-action-row{
  position:sticky!important;
  bottom:0!important;
  z-index:4!important;
  margin-top:2px!important;
  padding-top:10px!important;
  padding-bottom:calc(2px + env(safe-area-inset-bottom,0px))!important;
  background:linear-gradient(180deg,rgba(255,251,247,0),rgba(255,251,247,.94) 22%,rgba(255,251,247,.99))!important;
}
.lunar-primary-action-row .primary{transition:transform .22s cubic-bezier(0.22,1,0.36,1),box-shadow .22s cubic-bezier(0.22,1,0.36,1),background .22s cubic-bezier(0.22,1,0.36,1)!important;}
.lunar-primary-action-row .primary:active{transform:scale(.985)!important;}
.lunar-inline-result-card{
  display:grid!important;gap:clamp(10px,1.7dvh,15px)!important;
  padding:14px!important;border-radius:24px!important;
  background:rgba(255,255,255,.62)!important;border:1px solid rgba(92,64,132,.09)!important;
  box-shadow:0 7px 18px rgba(43,34,52,.045)!important;
  animation:lunarResultGrow .38s cubic-bezier(0.22,1,0.36,1) both!important;
}
.lunar-inline-result-card h3{margin:0!important;font-size:clamp(20px,5.2vw,24px)!important;line-height:1.12!important;letter-spacing:-.03em!important;color:#2a1f39!important;}
.lunar-inline-result-card .decision-modal-scroll{max-height:none!important;overflow:visible!important;padding:0!important;}
.lunar-inline-result-card .event-decision-advice-shell{margin:0!important;}
.lunar-inline-result-card .event-decision-advice-card,.lunar-inline-result-card .event-precheck-copy{border-radius:22px!important;box-shadow:0 5px 14px rgba(43,34,52,.04)!important;}
.lunar-result-secondary{min-height:42px!important;box-shadow:none!important;}
body.keyboard-open .lunar-date-sheet-panel{transform:translate3d(0,0,0)!important;}
body.keyboard-open .lunar-date-sheet-body{scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;}
body.keyboard-open .lunar-sheet-mode-form .lunar-date-sheet-body{
  padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;
  scroll-padding-bottom:calc(max(var(--keyboard-inset,0px), 0px) + 156px + env(safe-area-inset-bottom,0px))!important;
}
body.keyboard-open .lunar-sheet-mode-form .lunar-event-form-scene{
  padding-bottom:0!important;
  min-height:auto!important;
  align-content:start!important;
}
body.keyboard-open .lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-primary-action-row,
body.keyboard-open .lunar-date-sheet-viewport.is-expanded .lunar-primary-action-row{
  position:relative!important;
  bottom:auto!important;
  top:auto!important;
  margin-top:10px!important;
  padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
}
body.keyboard-open .lunar-sheet-mode-form .lunar-event-field textarea,
body.keyboard-open .lunar-sheet-mode-form .lunar-event-field .input{
  scroll-margin-bottom:calc(max(var(--keyboard-inset,0px), 0px) + 168px)!important;
}
@keyframes lunarStageSpringIn{0%{opacity:.001;transform:translate3d(0,14px,0) scale(.986)}72%{opacity:1;transform:translate3d(0,-1px,0) scale(1.003)}100%{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes lunarSheetCardBreathe{0%{transform:translate3d(0,0,0) scale(.992)}100%{transform:translate3d(0,0,0) scale(1)}}
@keyframes lunarSheetExpandSpring{0%{transform:translate3d(0,0,0) scale(.985)}70%{transform:translate3d(0,-2px,0) scale(1.002)}100%{transform:translate3d(0,0,0) scale(1)}}
@keyframes lunarFocusPulse{0%{transform:scale(1)}55%{transform:scale(1.01)}100%{transform:scale(1)}}
@media (max-width:340px){
  .lunar-date-sheet-body{padding-inline:14px!important;}
  .lunar-event-field .input,.lunar-event-field textarea{padding:10px 12px!important;border-radius:16px!important;}
  .lunar-event-field textarea{min-height:72px!important;}
  .lunar-inline-result-card{padding:12px!important;border-radius:22px!important;}
}
@media (prefers-reduced-motion: reduce){
  .lunar-date-sheet-panel,.lunar-date-sheet-scene,.lunar-inline-result-card,.lunar-event-form-scene .lunar-event-field{animation:none!important;transition:none!important;}
}

/* 20260803 pixel-pass: first lunar info sheet copied from 1178x2560 iPhone reference, DPR≈3 */
.lunar-date-sheet-viewport.lunar-sheet-mode-info{
  background:rgba(0,0,0,.48)!important;
  align-items:flex-end!important;
}
.lunar-date-sheet-viewport.is-expanded.lunar-sheet-mode-info .lunar-date-sheet-panel,
.lunar-sheet-mode-info .lunar-date-sheet-panel{
  width:100%!important;
  max-width:none!important;
  height:403px!important;
  min-height:403px!important;
  max-height:403px!important;
  background:#fbf7f4!important;
  border-radius:14px 14px 0 0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  animation:none!important;
  box-sizing:border-box!important;
}
.lunar-sheet-mode-info .lunar-date-sheet-head{
  min-height:31px!important;
  height:31px!important;
  padding:14px 0 0!important;
  flex:0 0 31px!important;
  touch-action:pan-y!important;
  pointer-events:auto!important;
}
.lunar-sheet-mode-info .lunar-date-sheet-grabber{
  width:89px!important;
  height:7px!important;
  border-radius:999px!important;
  background:#f0edf9!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-info .lunar-date-sheet-body{
  height:372px!important;
  padding:0!important;
  overflow:hidden!important;
}
.lunar-date-info-scene{
  height:372px!important;
  padding:0 15px calc(13px + env(safe-area-inset-bottom,0px))!important;
  gap:0!important;
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
}
.lunar-sheet-date-title{
  margin:10px 0 10px!important;
  text-align:center!important;
  font-size:18px!important;
  line-height:20px!important;
  letter-spacing:-.03em!important;
  font-weight:650!important;
  color:#211a33!important;
}
.lunar-sheet-hero-card{
  width:100%!important;
  min-height:68px!important;
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  padding:10px 16px!important;
  border-radius:16px!important;
  background:#f3f0ff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.lunar-sheet-hero-icon{
  width:25px!important;
  height:25px!important;
  flex:0 0 25px!important;
  display:grid!important;
  place-items:center!important;
  color:#7951cc!important;
}
.lunar-sheet-hero-icon svg{
  width:25px!important;
  height:25px!important;
  display:block!important;
  stroke-width:2.35!important;
}
.lunar-sheet-hero-copy{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
  transform:none!important;
}
.lunar-sheet-hero-copy span{
  font-size:13px!important;
  line-height:16px!important;
  font-weight:550!important;
  letter-spacing:-.01em!important;
  text-transform:none!important;
  color:#726b83!important;
}
.lunar-sheet-hero-copy b{
  font-size:16px!important;
  line-height:20px!important;
  letter-spacing:-.02em!important;
  font-weight:760!important;
  color:#211a33!important;
}
.lunar-sheet-body-copy,
.lunar-sheet-meta-copy,
.lunar-sheet-subtle-copy{
  margin:0!important;
}
.lunar-sheet-body-copy{
  margin-top:18px!important;
  font-size:15px!important;
  line-height:20px!important;
  font-weight:400!important;
  letter-spacing:-.01em!important;
  color:#756f7f!important;
  white-space:normal!important;
  overflow:visible!important;
  text-wrap:pretty!important;
}
.lunar-sheet-meta-copy{
  margin-top:12px!important;
  font-size:15px!important;
  line-height:19px!important;
  font-weight:760!important;
  color:#211a33!important;
}
.lunar-sheet-meta-copy strong{font-weight:760!important;color:#211a33!important;}
.lunar-sheet-subtle-copy{
  margin-top:13px!important;
  font-size:14px!important;
  line-height:18px!important;
  font-weight:400!important;
  color:#8f8996!important;
}
.lunar-date-sheet-panel .lunar-date-info-scene .flow-actions.lunar-sheet-actions.lunar-info-actions,
.lunar-info-actions{
  margin-top:18px!important;
  gap:26px!important;
  row-gap:26px!important;
  column-gap:26px!important;
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 auto!important;
}
.lunar-info-actions .primary{
  width:100%!important;
  min-height:35px!important;
  height:35px!important;
  border-radius:13px!important;
  padding:0 16px!important;
  background:#6f43d6!important;
  box-shadow:none!important;
  font-size:15px!important;
  line-height:17px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
}
.lunar-info-actions .primary,
.lunar-info-actions .primary *,
.lunar-info-actions .primary span,
.lunar-info-actions .primary b,
.lunar-info-actions .primary strong,
.lunar-info-actions .primary small{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
}
.lunar-info-actions .primary span{
  white-space:nowrap!important;
  line-height:17px!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
}
.lunar-info-actions .ghost{
  min-height:25px!important;
  height:25px!important;
  padding:0!important;
  color:#211a33!important;
  font-size:15px!important;
  line-height:18px!important;
  font-weight:450!important;
}
.lunar-sheet-mode-info .calendar-fit-summary,
.lunar-sheet-mode-info .personal-lunar-badge{
  margin:0!important;
}
@media (max-width:380px){
  .lunar-sheet-mode-info .lunar-date-sheet-panel{height:403px!important;min-height:403px!important;max-height:403px!important;}
  .lunar-date-info-scene{padding-inline:15px!important;}
}

/* 20260803 literal form-sheet pass from user reference */
.lunar-date-sheet-viewport.lunar-sheet-mode-form{
  background:rgba(14,8,22,.26)!important;
  align-items:flex-end!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-panel{
  width:100%!important;
  max-width:none!important;
  min-height:min(72dvh, 690px)!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 4px)!important;
  background:#fdf8f6!important;
  border-radius:26px 26px 0 0!important;
  box-shadow:0 -8px 24px rgba(24,12,37,.10)!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-head,
.lunar-sheet-mode-form .lunar-event-sheet-head{
  min-height:36px!important;
  height:36px!important;
  padding:12px 0 0!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-grabber,
.lunar-sheet-mode-form .lunar-event-sheet-head .lunar-date-sheet-grabber{
  width:96px!important;
  height:8px!important;
  margin:0 auto!important;
  border-radius:999px!important;
  background:#ede7f7!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-form .lunar-sheet-back,
.lunar-sheet-mode-form .lunar-event-sheet-head h3{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-body{
  padding:14px 32px calc(22px + env(safe-area-inset-bottom,0px))!important;
  scroll-padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))!important;
}
.lunar-sheet-mode-form .lunar-event-form-scene{
  gap:18px!important;
  padding:0!important;
}
.lunar-sheet-mode-form .lunar-form-top-date{
  display:grid!important;
  gap:4px!important;
  justify-items:center!important;
  text-align:center!important;
  margin:2px 0 6px!important;
}
.lunar-sheet-mode-form .lunar-form-top-date b{
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:760!important;
  letter-spacing:-.02em!important;
  color:#2f2143!important;
}
.lunar-sheet-mode-form .lunar-form-top-date small{
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:520!important;
  color:#786d86!important;
}
.lunar-sheet-mode-form .lunar-form-copy{
  display:grid!important;
  gap:0!important;
  margin:0 0 2px!important;
}
.lunar-sheet-mode-form .lunar-form-title{
  margin:0!important;
  text-align:center!important;
  font-size:25px!important;
  line-height:1.12!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
  color:#241b32!important;
}
.lunar-sheet-mode-form .lunar-form-top-date,
.lunar-sheet-mode-form .lunar-form-subtitle,
.lunar-sheet-mode-form .lunar-field-static-date,
.lunar-sheet-mode-form .lunar-form-static-date,
.lunar-sheet-mode-form .lunar-form-static-date-part,
.lunar-sheet-mode-form .lunar-form-static-date em,
.lunar-sheet-mode-form .lunar-form-cta-note{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-event-field{
  gap:10px!important;
}
.lunar-sheet-mode-form .lunar-event-field span,
.lunar-sheet-mode-form .lunar-field-static-date>span{
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:760!important;
  letter-spacing:-.02em!important;
  color:#241b32!important;
}
.lunar-sheet-mode-form .lunar-event-field .input,
.lunar-sheet-mode-form .lunar-event-field textarea{
  border:1.5px solid #e8def4!important;
  border-radius:24px!important;
  background:#fffdfd!important;
  color:#2a2140!important;
  box-shadow:0 2px 8px rgba(119,92,174,.06)!important;
  font-size:18px!important;
  font-weight:500!important;
  line-height:1.3!important;
  caret-color:#2a2140!important;
}
.lunar-sheet-mode-form .lunar-event-field .input{
  min-height:56px!important;
  padding:0 28px!important;
}
.lunar-sheet-mode-form .lunar-event-field textarea{
  min-height:156px!important;
  max-height:none!important;
  padding:18px 22px!important;
  resize:none!important;
}
.lunar-sheet-mode-form .lunar-event-field .input::placeholder,
.lunar-sheet-mode-form .lunar-event-field textarea::placeholder{
  color:#91869e!important;
  opacity:1!important;
}
.lunar-sheet-mode-form .lunar-form-static-date{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  flex-wrap:wrap!important;
}
.lunar-sheet-mode-form .lunar-form-static-date-part{
  display:grid!important;
  place-items:center!important;
  min-width:108px!important;
  height:72px!important;
  padding:0 18px!important;
  border-radius:24px!important;
  border:1.5px solid #e8def4!important;
  background:#fffdfd!important;
  box-shadow:0 2px 8px rgba(119,92,174,.05)!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:760!important;
  color:#241b32!important;
}
.lunar-sheet-mode-form .lunar-form-static-date-part.is-year{
  min-width:170px!important;
}
.lunar-sheet-mode-form .lunar-form-static-date em{
  font-style:normal!important;
  font-size:28px!important;
  line-height:1!important;
  color:#8e839f!important;
}
.lunar-sheet-mode-form .lunar-event-note{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-event-error{
  margin-top:-4px!important;
}
.lunar-sheet-mode-form .lunar-primary-action-row{
  position:sticky!important;
  bottom:0!important;
  z-index:4!important;
  gap:18px!important;
  margin-top:6px!important;
  padding-top:10px!important;
  padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
  background:linear-gradient(180deg,rgba(253,248,246,0),rgba(253,248,246,.95) 24%,#fdf8f6 56%)!important;
}
.lunar-sheet-mode-form .lunar-primary-action-row .primary{
  min-height:52px!important;
  height:52px!important;
  border-radius:18px!important;
  padding:0 22px!important;
  border:0!important;
  background:#7b57d1!important;
  box-shadow:none!important;
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
}
.lunar-sheet-mode-form .lunar-primary-action-row .primary,
.lunar-sheet-mode-form .lunar-primary-action-row .primary *,
.lunar-sheet-mode-form .lunar-primary-action-row .primary span,
.lunar-sheet-mode-form .lunar-primary-action-row .primary b,
.lunar-sheet-mode-form .lunar-primary-action-row .primary strong,
.lunar-sheet-mode-form .lunar-primary-action-row .primary small{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
}
.lunar-sheet-mode-form .lunar-form-cta-main{
  font-size:18px!important;
  line-height:1.1!important;
  font-weight:500!important;
  white-space:nowrap!important;
}
.lunar-sheet-mode-form .lunar-form-cta-note{
  display:block!important;
  text-align:right!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:400!important;
  opacity:.92!important;
}
.lunar-sheet-mode-form .lunar-event-cancel,
.lunar-sheet-mode-form .lunar-primary-action-row .ghost{
  min-height:auto!important;
  height:auto!important;
  padding:0!important;
  color:#241b32!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:450!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media (max-width:380px){
  .lunar-sheet-mode-form .lunar-date-sheet-body{padding-inline:20px!important;}
  .lunar-sheet-mode-form .lunar-form-title{font-size:22px!important;}
  .lunar-sheet-mode-form .lunar-form-static-date{gap:10px!important;}
  .lunar-sheet-mode-form .lunar-form-static-date-part{min-width:86px!important;height:64px!important;font-size:22px!important;border-radius:20px!important;}
  .lunar-sheet-mode-form .lunar-form-static-date-part.is-year{min-width:136px!important;}
}


/* 20260803 form/result parity: make "Запланировать событие" sheet match first/result sheet geometry exactly */
.lunar-date-sheet-viewport.lunar-sheet-mode-form{
  align-items:flex-end!important;
  padding:0!important;
  background:rgba(14,8,22,.26)!important;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-date-sheet-panel,
.lunar-sheet-mode-form .lunar-date-sheet-panel{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:auto!important;
  height:auto!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 8px)!important;
  border-radius:32px 32px 32px 32px!important;
  background:#fdf8f6!important;
  box-shadow:0 -8px 24px rgba(24,12,37,.10)!important;
  overflow:hidden!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-head,
.lunar-sheet-mode-form .lunar-event-sheet-head{
  height:auto!important;
  min-height:0!important;
  padding:12px 24px 20px!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-grabber,
.lunar-sheet-mode-form .lunar-event-sheet-head .lunar-date-sheet-grabber{
  width:48px!important;
  height:6px!important;
  margin:0 auto!important;
  border-radius:3px!important;
  background:#e7dff1!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-form .lunar-sheet-back,
.lunar-sheet-mode-form .lunar-event-sheet-head h3{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-body{
  padding:0 24px 24px!important;
  overflow:visible!important;
  scroll-padding-bottom:24px!important;
}
.lunar-sheet-mode-form .lunar-event-form-scene{
  display:grid!important;
  gap:20px!important;
  padding:0!important;
  margin:0!important;
}
.lunar-sheet-mode-form .lunar-form-copy{
  display:block!important;
  margin:0!important;
  padding:0!important;
}
.lunar-sheet-mode-form .lunar-form-title{
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-family:inherit!important;
  font-size:24px!important;
  line-height:32px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  color:#241b32!important;
}
.lunar-sheet-mode-form .lunar-form-top-date,
.lunar-sheet-mode-form .lunar-form-subtitle,
.lunar-sheet-mode-form .lunar-field-static-date,
.lunar-sheet-mode-form .lunar-form-static-date,
.lunar-sheet-mode-form .lunar-form-static-date-part,
.lunar-sheet-mode-form .lunar-form-static-date em,
.lunar-sheet-mode-form .lunar-form-cta-note,
.lunar-sheet-mode-form .lunar-event-note{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-event-field{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
}
.lunar-sheet-mode-form .lunar-event-field span{
  margin:0!important;
  padding:0!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:22px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:#241b32!important;
}
.lunar-sheet-mode-form .lunar-event-field .input,
.lunar-sheet-mode-form .lunar-event-field textarea{
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #e8def4!important;
  border-radius:18px!important;
  background:#fffdfd!important;
  color:#2a2140!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:22px!important;
  font-weight:400!important;
  caret-color:#2a2140!important;
  outline:none!important;
}
.lunar-sheet-mode-form .lunar-event-field .input{
  height:60px!important;
  min-height:60px!important;
  max-height:60px!important;
  padding:18px!important;
}
.lunar-sheet-mode-form .lunar-event-field textarea{
  height:140px!important;
  min-height:140px!important;
  max-height:140px!important;
  padding:18px!important;
  resize:none!important;
}
.lunar-sheet-mode-form .lunar-event-field .input::placeholder,
.lunar-sheet-mode-form .lunar-event-field textarea::placeholder{
  color:#91869e!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:22px!important;
  font-weight:400!important;
  opacity:1!important;
}
.lunar-sheet-mode-form .lunar-event-field .input:focus,
.lunar-sheet-mode-form .lunar-event-field textarea:focus{
  border-color:#e8def4!important;
  box-shadow:none!important;
  background:#fffdfd!important;
}
.lunar-sheet-mode-form .lunar-event-error{
  margin:0!important;
}
.lunar-sheet-mode-form .lunar-primary-action-row{
  position:static!important;
  display:grid!important;
  gap:20px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.lunar-sheet-mode-form .lunar-primary-action-row .primary{
  width:100%!important;
  height:56px!important;
  min-height:56px!important;
  max-height:56px!important;
  border-radius:18px!important;
  padding:0 18px!important;
  border:0!important;
  background:#7b57d1!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  font-family:inherit!important;
  font-size:18px!important;
  line-height:24px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
}
.lunar-sheet-mode-form .lunar-primary-action-row .primary *,
.lunar-sheet-mode-form .lunar-form-cta-main{
  font-family:inherit!important;
  font-size:18px!important;
  line-height:24px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
}
.lunar-sheet-mode-form .lunar-event-cancel,
.lunar-sheet-mode-form .lunar-primary-action-row .ghost{
  width:100%!important;
  min-height:24px!important;
  height:24px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  font-family:inherit!important;
  font-size:18px!important;
  line-height:24px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  color:#241b32!important;
}
@media (max-width:380px){
  .lunar-sheet-mode-form .lunar-date-sheet-head{padding:12px 24px 20px!important;}
  .lunar-sheet-mode-form .lunar-date-sheet-body{padding:0 24px 24px!important;}
  .lunar-sheet-mode-form .lunar-form-title{font-size:24px!important;line-height:32px!important;}
  .lunar-sheet-mode-form .lunar-event-field .input{height:60px!important;min-height:60px!important;max-height:60px!important;padding:18px!important;border-radius:18px!important;}
  .lunar-sheet-mode-form .lunar-event-field textarea{height:140px!important;min-height:140px!important;max-height:140px!important;padding:18px!important;border-radius:18px!important;}
}


/* 20260803 literal result-sheet pass: reference composition + better alternative dates */
.lunar-date-sheet-viewport.lunar-sheet-mode-result{
  align-items:flex-end!important;
  padding:0!important;
  background:rgba(16,10,22,.38)!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-panel{
  width:100%!important;
  max-width:100%!important;
  min-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 78px)!important;
  height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 78px)!important;
  max-height:calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 8px)!important;
  border-radius:32px 32px 32px 32px!important;
  background:linear-gradient(180deg,#fffaf7 0%,#fff8f5 54%,#fff4ee 100%)!important;
  box-shadow:0 -14px 34px rgba(27,13,42,.18)!important;
  overflow:hidden!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head{
  position:sticky!important;
  top:0!important;
  z-index:8!important;
  min-height:118px!important;
  height:118px!important;
  padding:14px 24px 12px!important;
  display:grid!important;
  grid-template-columns:64px 1fr 64px!important;
  grid-template-rows:18px 64px!important;
  align-items:center!important;
  justify-items:center!important;
  background:linear-gradient(180deg,#fffaf7 0%,rgba(255,250,247,.94) 82%,rgba(255,250,247,.72) 100%)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head .lunar-date-sheet-grabber{
  grid-column:1 / 4!important;
  grid-row:1!important;
  width:48px!important;
  height:6px!important;
  margin:0 auto!important;
  border-radius:3px!important;
  background:#cfc3dc!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .lunar-sheet-back{
  grid-column:1!important;
  grid-row:2!important;
  justify-self:start!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.88)!important;
  border:0!important;
  box-shadow:0 12px 28px rgba(44,31,63,.08)!important;
  color:#6a5692!important;
  font-size:50px!important;
  line-height:48px!important;
  font-weight:380!important;
}
.lunar-sheet-mode-result .lunar-sheet-back span{display:block!important;transform:translateY(-2px)!important;}
.lunar-sheet-mode-result .lunar-event-sheet-head h3{
  grid-column:2!important;
  grid-row:2!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:32px!important;
  line-height:38px!important;
  font-weight:850!important;
  letter-spacing:-.045em!important;
  color:#211631!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-body{
  height:calc(100% - 118px)!important;
  padding:0 24px 24px!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  scroll-padding-bottom:180px!important;
}
.lunar-sheet-mode-result .lunar-event-result-scene{
  display:grid!important;
  gap:22px!important;
  padding:0!important;
  margin:0!important;
}
.lunar-sheet-mode-result .lunar-shared-date-chip{
  width:100%!important;
  min-height:76px!important;
  margin:0!important;
  padding:0 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(39,25,56,.08)!important;
  box-shadow:0 10px 28px rgba(37,25,55,.06), inset 0 1px 0 rgba(255,255,255,.78)!important;
  color:#211631!important;
  overflow:hidden!important;
}
.lunar-sheet-mode-result .lunar-shared-date-chip .moon,
.lunar-sheet-mode-result .lunar-shared-date-chip .lunar-shared-date-moon{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  font-size:34px!important;
  line-height:42px!important;
}
.lunar-sheet-mode-result .lunar-shared-date-chip b,
.lunar-sheet-mode-result .lunar-shared-date-chip strong{
  font-size:25px!important;
  line-height:30px!important;
  font-weight:850!important;
  letter-spacing:-.035em!important;
  color:#211631!important;
}
.lunar-sheet-mode-result .lunar-shared-date-chip small,
.lunar-sheet-mode-result .lunar-shared-date-chip span{
  font-size:22px!important;
  line-height:28px!important;
  font-weight:780!important;
  color:#765da3!important;
}
.lunar-sheet-mode-result .lunar-result-grown{width:100%!important;margin:0!important;padding:0!important;}
.lunar-sheet-mode-result .lunar-inline-result-card{
  display:grid!important;
  gap:22px!important;
  width:100%!important;
  margin:0!important;
  padding:0 0 170px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.lunar-sheet-mode-result .lunar-inline-result-card>.pill{display:none!important;}
.lunar-sheet-mode-result #eventDecisionTitle{
  display:block!important;
  margin:0!important;
  padding:24px 0 10px!important;
  text-align:left!important;
  font-size:36px!important;
  line-height:42px!important;
  font-weight:850!important;
  letter-spacing:-.055em!important;
  color:#211631!important;
}
.lunar-sheet-mode-result .decision-modal-scroll{
  display:grid!important;
  gap:18px!important;
  margin:0!important;
  padding:0!important;
  max-height:none!important;
  overflow:visible!important;
}
.lunar-result-verdict-card{
  min-height:146px!important;
  padding:24px 26px!important;
  border-radius:30px!important;
  border:1px solid rgba(43,34,52,.08)!important;
  box-shadow:0 12px 30px rgba(43,34,52,.055), inset 0 1px 0 rgba(255,255,255,.58)!important;
}
.lunar-result-verdict-card.fit-good{background:linear-gradient(135deg,#e8fbef 0%,#d8f7e2 100%)!important;}
.lunar-result-verdict-card.fit-neutral{background:linear-gradient(135deg,#fff4cf 0%,#ffe7a8 100%)!important;}
.lunar-result-verdict-card.fit-bad{background:linear-gradient(135deg,#ffe6e4 0%,#ffd1cf 100%)!important;}
.lunar-result-verdict-kicker{
  margin:0 0 24px!important;
  font-size:17px!important;
  line-height:20px!important;
  font-weight:850!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  color:rgba(118,93,163,.96)!important;
}
.lunar-result-verdict-card h4{
  margin:0 0 10px!important;
  font-size:30px!important;
  line-height:35px!important;
  font-weight:850!important;
  letter-spacing:-.045em!important;
  color:#211631!important;
}
.lunar-result-verdict-card p:not(.lunar-result-verdict-kicker){
  margin:0!important;
  font-size:18px!important;
  line-height:25px!important;
  font-weight:520!important;
  letter-spacing:-.02em!important;
  color:rgba(34,24,47,.72)!important;
}
.lunar-result-personal-card{
  display:grid!important;
  grid-template-columns:74px 1fr!important;
  gap:22px!important;
  min-height:170px!important;
  padding:26px!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,rgba(255,247,235,.96) 0%,rgba(246,236,255,.94) 100%)!important;
  border:1px solid rgba(118,93,163,.16)!important;
  box-shadow:0 12px 30px rgba(43,34,52,.06), inset 0 1px 0 rgba(255,255,255,.64)!important;
  color:#211631!important;
}
.lunar-result-personal-card.is-locked{background:rgba(255,255,255,.72)!important;border-style:dashed!important;}
.lunar-result-personal-icon{
  width:58px!important;
  height:58px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 10px 24px rgba(67,45,98,.08)!important;
  color:#7654c9!important;
  font-size:24px!important;
  line-height:1!important;
}
.lunar-result-personal-card h4{
  margin:0 0 8px!important;
  font-size:25px!important;
  line-height:31px!important;
  font-weight:850!important;
  letter-spacing:-.04em!important;
  color:#211631!important;
}
.lunar-result-personal-card p,
.lunar-result-personal-card small,
.lunar-result-personal-card .event-decision-line,
.lunar-result-personal-card .event-decision-short{
  margin:0!important;
  font-size:20px!important;
  line-height:29px!important;
  font-weight:700!important;
  letter-spacing:-.03em!important;
  color:rgba(43,34,55,.70)!important;
}
.lunar-result-personal-card small{display:block!important;margin-top:12px!important;color:#765da3!important;}
.lunar-result-personal-card .event-decision-advice-shell,
.lunar-result-personal-card .event-decision-advice-card{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .event-nearest-dates-card{
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .event-nearest-dates-title{
  margin:0 0 8px!important;
  font-size:15px!important;
  line-height:18px!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
  color:#6f6978!important;
}
.lunar-sheet-mode-result .event-nearest-dates-list{display:grid!important;gap:8px!important;margin:0!important;padding:0!important;list-style:none!important;}
.lunar-sheet-mode-result .event-nearest-date-item{
  width:100%!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:10px 14px!important;
  border-radius:16px!important;
  border:1px solid rgba(118,93,163,.10)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 2px 10px rgba(43,34,52,.035)!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-align:left!important;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease!important;
}
.lunar-sheet-mode-result .event-nearest-date-item:active{transform:scale(.985)!important;box-shadow:0 3px 10px rgba(43,34,52,.04)!important;}
.lunar-sheet-mode-result .event-nearest-date-main,
.lunar-sheet-mode-result .event-nearest-date-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.lunar-sheet-mode-result .event-nearest-date-item b{
  font-size:16px!important;
  line-height:19px!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
  color:#241b32!important;
}
.lunar-sheet-mode-result .event-nearest-date-item em{
  font-style:normal!important;
  font-size:15px!important;
  line-height:18px!important;
  font-weight:600!important;
  color:#7654c9!important;
  white-space:nowrap!important;
}
.lunar-sheet-mode-result .event-nearest-date-item strong{
  display:none!important;
}
.lunar-sheet-mode-result .event-nearest-date-item small{
  display:none!important;
}
.lunar-sheet-mode-result .lunar-result-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:12!important;
  display:grid!important;
  gap:26px!important;
  margin:0!important;
  padding:0 0 24px!important;
  background:linear-gradient(180deg,rgba(255,248,245,0) 0%,rgba(255,248,245,.92) 22%,#fff8f5 100%)!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary{
  width:100%!important;
  height:94px!important;
  min-height:94px!important;
  border-radius:28px!important;
  padding:0 24px!important;
  display:grid!important;
  place-items:center!important;
  gap:4px!important;
  background:linear-gradient(100deg,#ffd29b 0%,#f59ab8 50%,#b994ff 100%)!important;
  box-shadow:0 18px 36px rgba(219,129,176,.24)!important;
  border:0!important;
  color:#211631!important;
  -webkit-text-fill-color:#211631!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary span{
  font-size:28px!important;
  line-height:32px!important;
  font-weight:850!important;
  letter-spacing:-.045em!important;
  color:#211631!important;
  -webkit-text-fill-color:#211631!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary small{
  display:block!important;
  font-size:18px!important;
  line-height:22px!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
  color:rgba(33,22,49,.70)!important;
  -webkit-text-fill-color:rgba(33,22,49,.70)!important;
}
.lunar-sheet-mode-result .lunar-result-actions .ghost{
  width:100%!important;
  min-height:40px!important;
  height:40px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:26px!important;
  line-height:32px!important;
  font-weight:780!important;
  letter-spacing:-.04em!important;
  color:#7654c9!important;
}
@media (max-width:380px){
  .lunar-sheet-mode-result .lunar-date-sheet-body{padding-inline:20px!important;}
  .lunar-sheet-mode-result #eventDecisionTitle{font-size:32px!important;line-height:38px!important;}
  .lunar-result-verdict-card h4{font-size:27px!important;line-height:32px!important;}
  .lunar-result-personal-card{grid-template-columns:58px 1fr!important;gap:16px!important;padding:22px!important;}
  .lunar-result-personal-icon{width:50px!important;height:50px!important;}
  .lunar-sheet-mode-result .lunar-result-actions .primary{height:86px!important;min-height:86px!important;}
}


/* 20260803 literal result-screen match */
.lunar-sheet-mode-result .lunar-sheet-back,
.lunar-sheet-mode-result .lunar-event-sheet-head h3,
.lunar-sheet-mode-result .lunar-shared-date-chip{
  display:none!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head{
  display:block!important;
  min-height:24px!important;
  height:24px!important;
  max-height:24px!important;
  padding:10px 0 0!important;
  grid-template-columns:1fr!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head .lunar-date-sheet-grabber{
  display:block!important;
  width:52px!important;
  height:6px!important;
  margin:0 auto!important;
  opacity:.62!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-panel{
  min-height:auto!important;
  height:auto!important;
  max-height:min(86dvh, calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 8px))!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-body{
  flex:0 1 auto!important;
  height:auto!important;
  padding:0 16px calc(18px + env(safe-area-inset-bottom,0px))!important;
  scroll-padding-bottom:24px!important;
}
.lunar-sheet-mode-result .lunar-event-result-scene,
.lunar-sheet-mode-result .lunar-inline-result-card,
.lunar-sheet-mode-result .decision-modal-scroll{
  display:grid!important;
  gap:12px!important;
}
.lunar-sheet-mode-result .lunar-inline-result-card{
  padding:0 0 10px!important;
}
.lunar-sheet-mode-result #eventDecisionTitle{
  display:block!important;
  margin:0!important;
  padding:0 0 4px!important;
  text-align:center!important;
  font-size:23px!important;
  line-height:28px!important;
  font-weight:700!important;
  letter-spacing:-.028em!important;
  color:#241b32!important;
}
.lunar-result-reference-card{
  padding:15px 16px 14px!important;
  border-radius:22px!important;
  background:#f1efff!important;
  border:0!important;
  box-shadow:none!important;
}
.lunar-result-reference-kicker{
  margin:0 0 8px!important;
  font-size:11.5px!important;
  line-height:15px!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  color:#6e5bd7!important;
}
.lunar-result-reference-card h4{
  margin:0 0 5px!important;
  font-size:18px!important;
  line-height:22px!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
  color:#241b32!important;
}
.lunar-result-reference-card p{
  margin:0!important;
  font-size:13px!important;
  line-height:17px!important;
  font-weight:500!important;
  color:#6d6778!important;
}
.lunar-result-reference-verdict{
  display:flex!important;
  align-items:center!important;
  min-height:52px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  font-size:15px!important;
  line-height:19px!important;
  font-weight:700!important;
  letter-spacing:-.018em!important;
}
.lunar-result-reference-verdict.fit-good{background:#e6f3eb!important;color:#24a26f!important;}
.lunar-result-reference-verdict.fit-neutral{background:#fff3d9!important;color:#c6901b!important;}
.lunar-result-reference-verdict.fit-bad{background:#fde7e5!important;color:#d25a5a!important;}
.lunar-result-personal-card{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:78px!important;
  padding:12px 14px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px dashed rgba(125,112,150,.20)!important;
  box-shadow:none!important;
}
.lunar-result-personal-card.is-locked{background:#fff!important;border-style:dashed!important;}
.lunar-result-personal-icon{
  width:40px!important;
  height:40px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  color:#8f8899!important;
  box-shadow:0 1px 2px rgba(36,27,50,.04)!important;
  border:1px solid rgba(125,112,150,.12)!important;
}
.lunar-result-personal-icon.lock-icon svg{
  width:20px!important;
  height:20px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lunar-result-personal-copy{min-width:0!important;}
.lunar-result-personal-title{
  margin:0!important;
  font-size:14px!important;
  line-height:18px!important;
  font-weight:500!important;
  color:#66616d!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:block!important;
}
.lunar-result-personal-card small,
.lunar-result-personal-copy small{
  display:block!important;
  margin-top:3px!important;
  font-size:13px!important;
  line-height:17px!important;
  font-weight:500!important;
  color:#7358d4!important;
}
.lunar-sheet-mode-result .lunar-result-actions{
  position:static!important;
  bottom:auto!important;
  display:grid!important;
  gap:10px!important;
  margin-top:2px!important;
  padding:0!important;
  background:transparent!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary{
  width:100%!important;
  min-height:50px!important;
  height:50px!important;
  padding:0 16px!important;
  border-radius:18px!important;
  border:0!important;
  background:linear-gradient(180deg,#7d5ade,#7352cf)!important;
  box-shadow:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.lunar-sheet-mode-result .lunar-result-primary-inner{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
}
.lunar-sheet-mode-result .lunar-result-primary-inner svg{
  width:19px!important;
  height:19px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  color:#fff!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary span,
.lunar-sheet-mode-result .lunar-result-actions .primary .lunar-result-primary-inner span{
  font-size:15px!important;
  line-height:19px!important;
  font-weight:600!important;
  letter-spacing:-.018em!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary small{display:none!important;}
.lunar-sheet-mode-result .lunar-result-actions .ghost{
  width:100%!important;
  min-height:28px!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:14px!important;
  line-height:18px!important;
  font-weight:500!important;
  letter-spacing:-.015em!important;
  color:#241b32!important;
}
.lunar-sheet-mode-result .event-nearest-dates-card{
  margin:2px 0 0!important;
  padding:10px 0 0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .event-nearest-dates-title{
  margin:0 0 8px!important;
  padding:0 4px!important;
  font-size:13px!important;
  line-height:17px!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
  color:#8a8492!important;
}
.lunar-sheet-mode-result .event-nearest-dates-list{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.lunar-sheet-mode-result .event-nearest-date-item{
  width:100%!important;
  min-height:64px!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  grid-template-areas:'title score' 'meta meta'!important;
  gap:3px 10px!important;
  padding:12px 14px!important;
  border-radius:18px!important;
  border:1px solid rgba(120,108,144,.10)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 1px 1px rgba(36,27,50,.03),0 6px 18px rgba(36,27,50,.04)!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-align:left!important;
}
.lunar-sheet-mode-result .event-nearest-date-item b{grid-area:title!important;font-size:15px!important;line-height:19px!important;font-weight:600!important;letter-spacing:-.018em!important;color:#241b32!important;}
.lunar-sheet-mode-result .event-nearest-date-item em{grid-area:score!important;justify-self:end!important;font-style:normal!important;font-size:12px!important;line-height:16px!important;font-weight:600!important;color:#6e5bd7!important;white-space:nowrap!important;}
.lunar-sheet-mode-result .event-nearest-date-item strong{display:none!important;}
.lunar-sheet-mode-result .event-nearest-date-item small{grid-area:meta!important;max-width:none!important;font-size:12px!important;line-height:16px!important;font-weight:500!important;color:#7f7a86!important;text-align:left!important;}
@media (max-width:380px){
  .lunar-sheet-mode-result .lunar-date-sheet-body{padding-left:14px!important;padding-right:14px!important;}
  .lunar-sheet-mode-result #eventDecisionTitle{font-size:22px!important;line-height:27px!important;}
  .lunar-result-reference-card h4{font-size:17px!important;line-height:21px!important;}
}

/* 20260803 compact result-screen spacing pass: size-only overrides, no structure changes */
.lunar-date-sheet-viewport.lunar-sheet-mode-result{
  padding-left:0!important;
  padding-right:0!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-panel{
  max-height:min(76dvh, calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 88px))!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head{
  min-height:8px!important;
  height:8px!important;
  max-height:8px!important;
  padding:8px 0 0!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head .lunar-date-sheet-grabber{
  transform:translateY(-6px)!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-body{
  padding:0 24px calc(24px + env(safe-area-inset-bottom,0px))!important;
  scroll-padding-bottom:24px!important;
}
.lunar-sheet-mode-result .lunar-event-result-scene,
.lunar-sheet-mode-result .lunar-inline-result-card,
.lunar-sheet-mode-result .decision-modal-scroll{
  gap:16px!important;
}
.lunar-sheet-mode-result .lunar-inline-result-card{
  padding:0!important;
  transform:translateY(-20px)!important;
}
.lunar-sheet-mode-result #eventDecisionTitle{
  padding:0!important;
  font-size:20px!important;
  line-height:25px!important;
  font-weight:700!important;
}
.lunar-result-reference-card{
  padding:9px 16px 8px!important;
  border-radius:20px!important;
}
.lunar-result-reference-kicker{
  margin:0 0 5px!important;
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-result-reference-card h4{
  margin:0 0 3px!important;
  font-size:16px!important;
  line-height:20px!important;
  font-weight:700!important;
}
.lunar-result-reference-card p{
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-result-reference-verdict{
  min-height:56px!important;
  height:56px!important;
  padding:0 16px!important;
  font-size:15px!important;
  line-height:19px!important;
}
.lunar-result-personal-card{
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:10px!important;
  min-height:62px!important;
  padding:8px 12px!important;
  border-radius:20px!important;
}
.lunar-result-personal-icon{
  width:34px!important;
  height:34px!important;
}
.lunar-result-personal-icon.lock-icon svg{
  width:17px!important;
  height:17px!important;
}
.lunar-result-personal-title{
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-result-personal-card h4,
.lunar-result-personal-card .event-decision-line,
.lunar-result-personal-card .event-decision-short{
  font-size:16px!important;
  line-height:20px!important;
  font-weight:700!important;
}
.lunar-result-personal-card p{
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-result-personal-card small,
.lunar-result-personal-copy small{
  margin-top:2px!important;
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-sheet-mode-result .event-nearest-dates-card{
  margin:0!important;
  padding:0!important;
}
.lunar-sheet-mode-result .event-nearest-dates-title{
  margin:0 0 8px!important;
  padding:0!important;
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-sheet-mode-result .event-nearest-dates-list{
  gap:8px!important;
}
.lunar-sheet-mode-result .event-nearest-date-item{
  min-height:56px!important;
  padding:8px 12px!important;
  border-radius:16px!important;
}
.lunar-sheet-mode-result .event-nearest-date-item b{
  font-size:16px!important;
  line-height:19px!important;
}
.lunar-sheet-mode-result .event-nearest-date-item em,
.lunar-sheet-mode-result .event-nearest-date-item small{
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-sheet-mode-result .lunar-result-actions{
  gap:20px!important;
  margin-top:-16px!important;
  padding:0!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary{
  min-height:50px!important;
  height:50px!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary span,
.lunar-sheet-mode-result .lunar-result-actions .primary .lunar-result-primary-inner span,
.lunar-sheet-mode-result .lunar-result-actions .ghost{
  font-size:15px!important;
  line-height:18px!important;
}
.lunar-sheet-mode-result .lunar-result-personal-card p,
.lunar-sheet-mode-result .lunar-result-personal-card .lunar-result-personal-title{
  font-size:15px!important;
  line-height:18px!important;
  font-weight:500!important;
}
@media (max-width:380px){
  .lunar-sheet-mode-result .lunar-date-sheet-body{padding-left:24px!important;padding-right:24px!important;}
  .lunar-sheet-mode-result #eventDecisionTitle{font-size:20px!important;line-height:25px!important;}
  .lunar-result-reference-card h4{font-size:16px!important;line-height:20px!important;}
}

/* 20260803 event form visual parity with result/date sheets — CSS-only */
.lunar-sheet-mode-form .lunar-date-sheet-panel{
  border-radius:32px 32px 0 0!important;
  padding:0!important;
  background:#fff8f5!important;
  overflow:hidden!important;
}
.lunar-sheet-mode-form .lunar-event-sheet-head{
  min-height:24px!important;
  height:24px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  grid-template-columns:44px minmax(0,1fr) 44px!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-grabber{
  width:42px!important;
  height:5px!important;
  border-radius:999px!important;
  background:rgba(123,97,163,.30)!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-form .lunar-event-sheet-head h3,
.lunar-sheet-mode-form .lunar-sheet-back{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-body{
  padding:24px 24px calc(34px + env(safe-area-inset-bottom,0px))!important;
  scroll-padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;
  overflow:visible!important;
}
.lunar-sheet-mode-form .lunar-event-form-scene{
  padding:0!important;
  gap:0!important;
  display:grid!important;
}
.lunar-sheet-mode-form .lunar-form-copy{
  margin:0 0 24px!important;
  padding:0!important;
}
.lunar-sheet-mode-form .lunar-form-title{
  margin:0!important;
  padding:0!important;
  font-size:20px!important;
  line-height:28px!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
  color:#21182d!important;
  text-align:center!important;
}
.lunar-sheet-mode-form .lunar-event-field{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
}
.lunar-sheet-mode-form .lunar-field-title{
  margin-bottom:20px!important;
}
.lunar-sheet-mode-form .lunar-field-note{
  margin-bottom:24px!important;
}
.lunar-sheet-mode-form .lunar-event-field>span{
  font-size:16px!important;
  line-height:20px!important;
  font-weight:600!important;
  color:#5b5068!important;
  letter-spacing:-.01em!important;
}
.lunar-sheet-mode-form .lunar-event-field .input,
.lunar-sheet-mode-form .lunar-event-field textarea{
  width:100%!important;
  box-sizing:border-box!important;
  border-radius:18px!important;
  border:1px solid rgba(92,64,132,.10)!important;
  background:rgba(255,255,255,.92)!important;
  color:#241b32!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),0 5px 16px rgba(43,34,52,.045)!important;
  font-size:16px!important;
  line-height:20px!important;
  font-weight:400!important;
  outline:none!important;
}
.lunar-sheet-mode-form .lunar-event-field .input{
  height:56px!important;
  min-height:56px!important;
  padding:0 16px!important;
}
.lunar-sheet-mode-form .lunar-event-field textarea{
  height:122px!important;
  min-height:122px!important;
  max-height:122px!important;
  padding:16px!important;
  resize:none!important;
}
.lunar-sheet-mode-form .lunar-event-field .input::placeholder,
.lunar-sheet-mode-form .lunar-event-field textarea::placeholder{
  font-size:16px!important;
  line-height:20px!important;
  font-weight:400!important;
  color:rgba(76,61,92,.48)!important;
}
.lunar-sheet-mode-form .lunar-event-field .input:focus,
.lunar-sheet-mode-form .lunar-event-field textarea:focus{
  border-color:rgba(92,64,132,.10)!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),0 5px 16px rgba(43,34,52,.045)!important;
  caret-color:#241b32!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions{
  margin:0!important;
  padding:0!important;
  display:grid!important;
  gap:20px!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary{
  width:100%!important;
  height:56px!important;
  min-height:56px!important;
  border-radius:18px!important;
  padding:0 16px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(180deg,#7d5ade 0%,#7352cf 100%)!important;
  color:#fff!important;
  box-shadow:0 14px 26px rgba(114,82,207,.24),inset 0 1px 0 rgba(255,255,255,.22)!important;
  border:0!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary span,
.lunar-sheet-mode-form .lunar-sheet-actions .primary .lunar-form-cta-main{
  font-size:18px!important;
  line-height:22px!important;
  font-weight:600!important;
  color:#fff!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary small{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .ghost,
.lunar-sheet-mode-form .lunar-event-cancel{
  min-height:24px!important;
  height:24px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6f56a6!important;
  font-size:18px!important;
  line-height:24px!important;
  font-weight:500!important;
}
.lunar-sheet-mode-form .field-error-label{
  margin:-12px 0 12px 2px!important;
}
.lunar-sheet-mode-form .lunar-event-error{
  margin:0 0 24px!important;
}
.lunar-sheet-mode-form #eventNote{
  height:120px!important;
  min-height:120px!important;
  max-height:120px!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-body{
  padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;
}

/* 20260803 form → event-window parity: remove title, shrink handle, match buttons */
.lunar-sheet-mode-form .lunar-event-sheet-head{
  min-height:20px!important;
  height:20px!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-grabber,
.lunar-sheet-mode-form .lunar-event-sheet-head .lunar-date-sheet-grabber{
  grid-column:1/4!important;
  width:56px!important;
  height:5px!important;
  margin:0 auto!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(123,97,163,.24),rgba(123,97,163,.48))!important;
  box-shadow:0 1px 3px rgba(45,34,62,.08) inset!important;
}
.lunar-sheet-mode-form .lunar-form-copy{
  display:none!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-body{
  padding-top:20px!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions{
  gap:20px!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary{
  height:50px!important;
  min-height:50px!important;
  border-radius:18px!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary span,
.lunar-sheet-mode-form .lunar-sheet-actions .primary .lunar-form-cta-main{
  font-size:15px!important;
  line-height:18px!important;
  font-weight:600!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .ghost,
.lunar-sheet-mode-form .lunar-event-cancel{
  min-height:18px!important;
  height:18px!important;
  font-size:15px!important;
  line-height:18px!important;
  font-weight:500!important;
}

/* 20260803 exact parity with info/add-event sheet: panel corners + primary button */
.lunar-sheet-mode-form .lunar-date-sheet-panel{
  border-radius:14px 14px 0 0!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-form .lunar-event-sheet-head{
  min-height:31px!important;
  height:31px!important;
  padding:14px 0 0!important;
  flex:0 0 31px!important;
}
.lunar-sheet-mode-form .lunar-date-sheet-grabber,
.lunar-sheet-mode-form .lunar-event-sheet-head .lunar-date-sheet-grabber{
  width:89px!important;
  height:7px!important;
  background:#f0edf9!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary{
  min-height:35px!important;
  height:35px!important;
  border-radius:13px!important;
  padding:0 16px!important;
  background:#6f43d6!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary,
.lunar-sheet-mode-form .lunar-sheet-actions .primary *,
.lunar-sheet-mode-form .lunar-sheet-actions .primary span,
.lunar-sheet-mode-form .lunar-sheet-actions .primary b,
.lunar-sheet-mode-form .lunar-sheet-actions .primary strong,
.lunar-sheet-mode-form .lunar-sheet-actions .primary small{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
  text-shadow:none!important;
  background-image:none!important;
  white-space:nowrap!important;
}
.lunar-sheet-mode-form .lunar-sheet-actions .primary span,
.lunar-sheet-mode-form .lunar-sheet-actions .primary .lunar-form-cta-main{
  display:block!important;
  width:100%!important;
  font-size:15px!important;
  line-height:17px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-align:center!important;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-form .lunar-date-sheet-panel,
.lunar-date-sheet-viewport.is-expanded.lunar-sheet-mode-form .lunar-date-sheet-panel{
  border-radius:14px 14px 0 0!important;
  box-shadow:none!important;
}

/* 20260803 result-screen parity with info/add-event sheet */
.lunar-sheet-mode-result .lunar-date-sheet-panel,
.lunar-date-sheet-viewport.lunar-sheet-mode-result .lunar-date-sheet-panel,
.lunar-date-sheet-viewport.is-expanded.lunar-sheet-mode-result .lunar-date-sheet-panel{
  border-radius:14px 14px 0 0!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head,
.lunar-sheet-mode-result .lunar-date-sheet-head{
  min-height:31px!important;
  height:31px!important;
  padding:14px 0 0!important;
  flex:0 0 31px!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-grabber,
.lunar-sheet-mode-result .lunar-event-sheet-head .lunar-date-sheet-grabber{
  width:89px!important;
  height:7px!important;
  background:#f0edf9!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary,
.lunar-sheet-mode-result .lunar-sheet-actions .primary{
  min-height:35px!important;
  height:35px!important;
  border-radius:13px!important;
  padding:0 16px!important;
  background:#6f43d6!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary,
.lunar-sheet-mode-result .lunar-result-actions .primary *,
.lunar-sheet-mode-result .lunar-result-actions .primary span,
.lunar-sheet-mode-result .lunar-result-actions .primary b,
.lunar-sheet-mode-result .lunar-result-actions .primary strong,
.lunar-sheet-mode-result .lunar-result-actions .primary small,
.lunar-sheet-mode-result .lunar-sheet-actions .primary,
.lunar-sheet-mode-result .lunar-sheet-actions .primary *,
.lunar-sheet-mode-result .lunar-sheet-actions .primary span,
.lunar-sheet-mode-result .lunar-sheet-actions .primary b,
.lunar-sheet-mode-result .lunar-sheet-actions .primary strong,
.lunar-sheet-mode-result .lunar-sheet-actions .primary small{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-fill-color:#ffffff!important;
  text-shadow:none!important;
  background-image:none!important;
  white-space:nowrap!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary span,
.lunar-sheet-mode-result .lunar-result-actions .primary .lunar-form-cta-main,
.lunar-sheet-mode-result .lunar-sheet-actions .primary span,
.lunar-sheet-mode-result .lunar-sheet-actions .primary .lunar-form-cta-main{
  display:block!important;
  width:100%!important;
  font-size:15px!important;
  line-height:17px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-align:center!important;
}

/* 20260803 result cleanup: remove top stray text, soften verdict, center CTA */
.lunar-sheet-mode-result .decision-modal-scroll,
.lunar-sheet-mode-result .lunar-inline-result-card{
  display:flex!important;
  flex-direction:column!important;
  gap:16px!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head,
.lunar-sheet-mode-result .lunar-date-sheet-head{
  min-height:28px!important;
  height:28px!important;
  max-height:28px!important;
  padding:12px 0 2px!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.lunar-sheet-mode-result .lunar-event-sheet-head > :not(.lunar-date-sheet-grabber),
.lunar-sheet-mode-result .lunar-date-sheet-head > :not(.lunar-date-sheet-grabber),
.lunar-sheet-mode-result .lunar-inline-result-card > .pill,
.lunar-sheet-mode-result .lunar-inline-result-card > h3,
.lunar-sheet-mode-result .decision-modal > .pill,
.lunar-sheet-mode-result .decision-modal > h3,
.lunar-sheet-mode-result #eventDecisionTitle{
  display:none!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-grabber,
.lunar-sheet-mode-result .lunar-event-sheet-head .lunar-date-sheet-grabber{
  margin:0 auto!important;
}

.lunar-sheet-mode-result .lunar-result-reference-card{order:1!important;}
.lunar-sheet-mode-result .lunar-result-personal-card{order:2!important;}
.lunar-sheet-mode-result .lunar-result-reference-verdict{
  order:3!important;
  margin:0!important;
  padding:10px 16px!important;
  min-height:auto!important;
  border-radius:18px!important;
  font-size:15px!important;
  line-height:20px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.lunar-sheet-mode-result .lunar-result-reference-verdict.fit-bad{
  background:rgba(245,236,242,.92)!important;
  border:1px solid rgba(139,103,127,.10)!important;
  color:#8a6270!important;
}
.lunar-sheet-mode-result .event-nearest-dates-card{order:4!important;}
.lunar-sheet-mode-result .event-nearest-dates-title{display:none!important;}

.lunar-sheet-mode-result .lunar-result-actions .primary,
.lunar-sheet-mode-result .lunar-sheet-actions .primary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.lunar-sheet-mode-result .lunar-result-actions .primary svg,
.lunar-sheet-mode-result .lunar-sheet-actions .primary svg,
.lunar-sheet-mode-result .lunar-result-primary-inner > svg{
  display:none!important;
}
.lunar-sheet-mode-result .lunar-result-primary-inner{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
}
.lunar-sheet-mode-result .lunar-result-primary-inner > span,
.lunar-sheet-mode-result .lunar-result-actions .primary span,
.lunar-sheet-mode-result .lunar-sheet-actions .primary span{
  width:100%!important;
  display:block!important;
  text-align:center!important;
  margin:0 auto!important;
}

/* 20260803 relax top crop + remove stretched empty tail on short result */
.lunar-sheet-mode-result .lunar-date-sheet-panel{
  min-height:auto!important;
  height:auto!important;
}
.lunar-date-sheet-viewport.lunar-sheet-mode-result.is-expanded .lunar-date-sheet-panel{
  min-height:auto!important;
  height:auto!important;
  max-height:min(90dvh, calc(var(--tg-viewport-stable-height, var(--tg-viewport-height, 100dvh)) - env(safe-area-inset-top,0px) - 4px))!important;
}
.lunar-sheet-mode-result .lunar-date-sheet-body{
  flex:0 0 auto!important;
  padding-top:10px!important;
  padding-bottom:12px!important;
  scroll-padding-bottom:72px!important;
}
.lunar-sheet-mode-result .lunar-result-actions{
  margin-top:8px!important;
  padding-bottom:8px!important;
}
.lunar-sheet-mode-result .lunar-result-reference-card{
  margin-top:6px!important;
}


/* 20260803 event list Variant A: single airy iOS card */
.soft-card:has(.event-vA){
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.soft-card:has(.event-vA)>h3{
  margin:0 0 14px!important;
  padding:0 2px!important;
  font-size:22px!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
  color:#241b32!important;
  font-weight:900!important;
}
.soft-card:has(.event-vA)>.list{display:grid!important;gap:16px!important;}
.event.event-vA{
  position:relative!important;display:block!important;overflow:hidden!important;margin:0!important;padding:16px!important;
  border-radius:20px!important;border:0!important;outline:0!important;
  background:radial-gradient(circle at 12% 0%, rgba(255,237,248,.64), transparent 35%),linear-gradient(145deg, rgba(255,248,239,.94), rgba(243,235,255,.84))!important;
  box-shadow:0 16px 36px rgba(43,34,52,.105)!important;
  color:#241b32!important;transition:max-height .34s cubic-bezier(.22,1,.36,1), transform .18s ease, box-shadow .22s ease, background .22s ease!important;
}
.event.event-vA:active{transform:scale(.992)!important;}
.event.event-vA.open{box-shadow:0 18px 42px rgba(43,34,52,.13)!important;}
.event-vA-main{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;}
.event-vA-date{
  width:78px!important;height:82px!important;border-radius:20px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  background:linear-gradient(155deg, #f4ddff 0%, #fff0e1 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72), 0 10px 22px rgba(111,86,166,.11)!important;color:#211631!important;flex:0 0 auto!important;
}
.event-vA-date b{display:block!important;font-size:38px!important;line-height:.92!important;font-weight:950!important;letter-spacing:-.06em!important;}
.event-vA-date span{margin-top:8px!important;font-size:16px!important;line-height:1!important;font-weight:850!important;letter-spacing:-.02em!important;text-transform:lowercase!important;}
.event-vA-copy{min-width:0!important;padding-top:1px!important;}
.event-vA-title-row{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:10px!important;align-items:start!important;}
.event-vA-title-row h4{min-width:0!important;margin:0!important;padding:0!important;font-size:22px!important;line-height:1.12!important;font-weight:900!important;letter-spacing:-.045em!important;color:#241b32!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
.event-vA-title-row .today-badge{display:inline-flex!important;vertical-align:middle!important;margin:0 7px 2px 0!important;padding:4px 8px!important;border-radius:999px!important;background:rgba(111,86,166,.10)!important;color:#6f56a6!important;font-size:12px!important;line-height:1!important;font-weight:850!important;letter-spacing:0!important;}
.event-vA-open{width:42px!important;height:42px!important;border-radius:15px!important;border:1px solid rgba(92,64,132,.08)!important;background:linear-gradient(180deg, rgba(255,255,255,.44), rgba(111,86,166,.10))!important;box-shadow:0 8px 16px rgba(43,34,52,.08), inset 0 1px 0 rgba(255,255,255,.45)!important;color:#6f56a6!important;-webkit-appearance:none!important;appearance:none!important;display:grid!important;place-items:center!important;padding:0!important;font-size:30px!important;line-height:1!important;font-weight:500!important;transition:transform .2s cubic-bezier(.22,1,.36,1), background .2s ease!important;}
.event-vA.open .event-vA-open span{transform:rotate(90deg)!important;}
.event-vA-open span{display:block!important;transform-origin:center!important;transition:transform .24s cubic-bezier(.22,1,.36,1)!important;}
.event-vA-meta{margin:8px 0 0!important;font-size:15.5px!important;line-height:1.25!important;font-weight:650!important;color:rgba(43,34,52,.58)!important;letter-spacing:-.02em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.event-vA-status{margin:10px 0 0!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:16px!important;line-height:1.2!important;font-weight:760!important;color:#47a86a!important;letter-spacing:-.02em!important;}
.event-vA-status span{width:8px!important;height:8px!important;border-radius:999px!important;background:currentColor!important;box-shadow:0 0 0 4px rgba(71,168,106,.12)!important;flex:0 0 auto!important;}
.event-vA.bad .event-vA-status{color:#b9824b!important;}
.event-vA.neutral .event-vA-status{color:#8a75b2!important;}
.event-vA-bottom{margin-top:14px!important;padding-top:14px!important;border-top:1px solid rgba(92,64,132,.095)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.event-vA-day{min-width:0!important;display:flex!important;align-items:center!important;gap:12px!important;}
.event-vA-day-icon{width:34px!important;height:34px!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:rgba(111,86,166,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;font-size:16px!important;flex:0 0 auto!important;}
.event-vA-day b{display:block!important;margin:0!important;font-size:15.5px!important;line-height:1.18!important;font-weight:800!important;color:#2a2038!important;letter-spacing:-.025em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.event-vA-day small{display:block!important;margin-top:3px!important;font-size:14px!important;line-height:1.12!important;font-weight:620!important;color:rgba(43,34,52,.56)!important;}
.event-vA-advice{min-width:92px!important;height:38px!important;padding:0 14px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg, rgba(111,86,166,.16), rgba(111,86,166,.28))!important;color:#6f56a6!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.36), 0 8px 16px rgba(43,34,52,.055)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:15px!important;line-height:1!important;font-weight:800!important;-webkit-appearance:none!important;appearance:none!important;white-space:nowrap!important;}
.event-vA .event-menu-panel{margin:12px 0 0!important;border-radius:18px!important;background:rgba(255,248,239,.88)!important;border:1px solid rgba(92,64,132,.10)!important;box-shadow:0 10px 22px rgba(43,34,52,.06)!important;}
.event-vA .event-detail{display:grid!important;grid-template-rows:0fr!important;opacity:0!important;margin-top:0!important;overflow:hidden!important;transition:grid-template-rows .34s cubic-bezier(.22,1,.36,1), opacity .24s ease, margin-top .34s cubic-bezier(.22,1,.36,1)!important;}
.event-vA .event-detail.open{grid-template-rows:1fr!important;opacity:1!important;margin-top:14px!important;}
.event-vA .event-detail-body{min-height:0!important;display:grid!important;gap:12px!important;padding-top:14px!important;border-top:1px solid rgba(92,64,132,.095)!important;}
.event-vA .event-note-text,.event-vA .lunar-event-summary{margin:0!important;font-size:16px!important;line-height:1.42!important;font-weight:560!important;color:rgba(36,27,50,.72)!important;}
.event-vA .event-decision-advice-card,.event-vA .event-personal-lock,.event-vA .ai-loading{margin:0!important;border-radius:18px!important;background:rgba(255,248,239,.64)!important;border:1px solid rgba(92,64,132,.085)!important;box-shadow:none!important;}
.event-vA .event-expanded-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}

/* 20260804 final kill-switch: remove inherited root frame + generic .event pseudo layers */
.event.event-vA,
.event.event-vA.open{
  border:0!important;
  outline:0!important;
  box-shadow:0 14px 32px rgba(8,5,14,.28)!important;
  overflow:hidden!important;
}
.event.event-vA.open{
  box-shadow:0 18px 38px rgba(8,5,14,.34)!important;
}
.event.event-vA::before,
.event.event-vA::after{
  content:none!important;
  display:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:none!important;
}
@media (max-width:370px){
  .event.event-vA{padding:14px!important;}
  .event-vA-main{grid-template-columns:70px minmax(0,1fr)!important;gap:13px!important;}
  .event-vA-date{width:70px!important;height:76px!important;border-radius:18px!important;}
  .event-vA-date b{font-size:36px!important;}
  .event-vA-title-row{grid-template-columns:minmax(0,1fr) 38px!important;}
  .event-vA-title-row h4{font-size:21px!important;}
  .event-vA-open{width:38px!important;height:38px!important;}
  .event-vA-advice{min-width:84px!important;padding-inline:12px!important;}
}


/* 20260803 Variant A compact pass */
.event.event-vA{padding:14px!important;border-radius:20px!important;}
.event-vA-main{grid-template-columns:72px minmax(0,1fr)!important;gap:14px!important;}
.event-vA-date{width:72px!important;height:74px!important;border-radius:19px!important;}
.event-vA-date b{font-size:37px!important;}
.event-vA-date span{margin-top:6px!important;font-size:15.5px!important;}
.event-vA-title-row{grid-template-columns:minmax(0,1fr) 38px!important;gap:8px!important;}
.event-vA-title-row h4{font-size:22px!important;line-height:1.08!important;}
.event-vA-open{width:38px!important;height:38px!important;border-radius:14px!important;font-size:28px!important;}
.event-vA-meta{margin-top:6px!important;font-size:15px!important;}
.event-vA-status{margin-top:8px!important;font-size:16px!important;}
.event-vA-bottom{margin-top:11px!important;padding-top:11px!important;}
.event-vA-day-icon{width:32px!important;height:32px!important;font-size:15px!important;}
.event-vA-day{gap:10px!important;}
.event-vA-day b{font-size:15px!important;}
.event-vA-day small{font-size:13.5px!important;margin-top:2px!important;}
.event-vA-advice{height:34px!important;min-width:86px!important;font-size:14.5px!important;padding-inline:12px!important;}
.event-vA .event-detail.open{margin-top:12px!important;}
.event-vA .event-detail-body{padding-top:12px!important;gap:10px!important;}
.event-vA .small-btn{min-height:38px!important;border-radius:15px!important;font-size:14.5px!important;}
.event-vA .event-decision-advice-card,.event-vA .event-personal-lock,.event-vA .ai-loading{padding:12px!important;border-radius:17px!important;}
@media (max-width:370px){
  .event.event-vA{padding:13px!important;}
  .event-vA-main{grid-template-columns:66px minmax(0,1fr)!important;gap:12px!important;}
  .event-vA-date{width:66px!important;height:70px!important;}
  .event-vA-date b{font-size:35px!important;}
  .event-vA-date span{font-size:15px!important;}
}


/* 20260803 Variant A section title contrast pass */
.soft-card:has(.event-vA)>h3{
  color:#f7edff!important;
  text-shadow:0 1px 10px rgba(36,27,50,.32)!important;
  margin-top:4px!important;
}


/* 20260803 Variant A width stability pass */
.soft-card:has(.event-vA)>.list{
  width:100%!important;
  max-width:430px!important;
  margin-inline:auto!important;
  justify-items:stretch!important;
}
.event.event-vA{
  width:100%!important;
  max-width:430px!important;
  box-sizing:border-box!important;
  justify-self:stretch!important;
}
.event.event-vA.open{width:100%!important;max-width:430px!important;}


/* 20260803 dark refine for upcoming events */
.soft-card:has(.event-vA){
  padding-inline:2px!important;
}
.soft-card:has(.event-vA)>h3{
  color:#f6eefc!important;
  text-shadow:none!important;
  margin:0 0 16px!important;
  padding:2px 2px 0!important;
  font-size:23px!important;
  line-height:1.14!important;
  letter-spacing:-.03em!important;
  overflow:visible!important;
}
.soft-card:has(.event-vA)>.list{
  gap:14px!important;
  max-width:430px!important;
}
.event.event-vA{
  background:linear-gradient(180deg, rgba(56,44,70,.96), rgba(42,33,54,.96))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 14px 32px rgba(8,5,14,.28), inset 0 1px 0 rgba(255,255,255,.05)!important;
  color:#f7f0fb!important;
}
.event.event-vA.open{
  box-shadow:0 18px 38px rgba(8,5,14,.34), inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.event-vA-date{
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
  color:#fff6ff!important;
}
.event-vA-date b,
.event-vA-date span,
.event-vA-title-row h4,
.event-vA-day b{
  color:#fff8ff!important;
}
.event-vA-title-row h4{
  line-height:1.12!important;
}
.event-vA-title-row .today-badge{
  background:rgba(255,255,255,.10)!important;
  color:#efe5ff!important;
}
.event-vA-edit{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.04)!important;
  color:#f3eaff!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  font-size:18px!important;
  line-height:1!important;
}
.event-vA-meta,
.event-vA-day small,
.event-vA .event-note-text,
.event-vA .lunar-event-summary{
  color:rgba(241,232,248,.68)!important;
}
.event-vA-status{
  color:#7ed8a2!important;
}
.event-vA-status span{
  box-shadow:0 0 0 4px rgba(126,216,162,.12)!important;
}
.event-vA.bad .event-vA-status{color:#d6b170!important;}
.event-vA.neutral .event-vA-status{color:#c4b4de!important;}
.event-vA-bottom{
  width:100%!important;
  border:0!important;
  background:transparent!important;
  padding:11px 0 0!important;
  margin-top:11px!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  text-align:left!important;
  box-shadow:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.event-vA-bottom-right{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
.event-vA-advice{
  min-width:auto!important;
  height:32px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:rgba(173,141,231,.14)!important;
  color:#dbcaff!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:760!important;
}
.event-vA-expand{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  color:rgba(241,232,248,.72)!important;
  font-size:18px!important;
  line-height:1!important;
  transition:transform .24s cubic-bezier(.22,1,.36,1)!important;
}
.event-vA.open .event-vA-expand{transform:rotate(180deg)!important;}
.event-vA .event-detail-body{
  border-top:1px solid rgba(255,255,255,.08)!important;
}
.event-vA .event-decision-advice-card,
.event-vA .event-personal-lock,
.event-vA .ai-loading{
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  color:#f7f0fb!important;
}
.event-vA .event-expanded-actions{
  display:block!important;
}
.event-vA .event-menu-panel,
.event-vA-open{
  display:none!important;
}


/* 20260803 dark refine contrast pass */
.event-vA .event-detail-body,
.event-vA .event-decision-advice-card,
.event-vA .event-personal-lock,
.event-vA .ai-loading{
  color:#f7f1fb!important;
}
.event-vA .event-decision-advice-card,
.event-vA .event-personal-lock,
.event-vA .ai-loading{
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.09)!important;
}
.event-vA .event-note-text,
.event-vA .lunar-event-summary,
.event-vA .event-decision-advice-card p,
.event-vA .event-personal-lock p,
.event-vA .event-personal-lock small,
.event-vA .ai-loading p{
  color:rgba(247,241,251,.84)!important;
}
.event-vA .event-decision-advice-card b,
.event-vA .event-personal-lock b,
.event-vA .ai-loading b,
.event-vA .event-decision-advice-card strong,
.event-vA .event-personal-lock strong{
  color:#fff8ff!important;
}


/* 20260803 menu-clean pass */
.event-vA-title-row{
  grid-template-columns:minmax(0,1fr) 30px!important;
  align-items:start!important;
}
.event-vA-edit{display:none!important;}
.event-kebab{
  width:30px!important;
  height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff8ff!important;
  display:grid!important;
  place-items:center!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  opacity:.96!important;
}
.event-kebab.active{opacity:1!important;}
.event-kebab .kebab-stars{
  display:block!important;
  font-size:26px!important;
  line-height:1!important;
  letter-spacing:-.08em!important;
  transform:translateY(-1px)!important;
}
.event-vA .event-menu-panel{
  display:block!important;
  margin:6px 0 2px auto!important;
  width:min(190px, calc(100% - 18px))!important;
  border-radius:16px!important;
  background:rgba(33,24,43,.96)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 18px 36px rgba(8,5,14,.34)!important;
  overflow:hidden!important;
}
.event-vA .event-menu-title{display:none!important;}
.event-vA .event-menu-panel button{
  width:100%!important;
  min-height:46px!important;
  padding:0 14px!important;
  border:0!important;
  background:transparent!important;
  color:#f7f1fb!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  font-size:15px!important;
  font-weight:700!important;
  text-align:left!important;
}
.event-vA .event-menu-panel button+button{
  border-top:1px solid rgba(255,255,255,.07)!important;
}
.event-vA .event-menu-panel button span{
  width:18px!important;
  text-align:center!important;
  color:rgba(247,241,251,.88)!important;
}
.event-vA .event-menu-panel button.danger,
.event-vA .event-menu-panel button.danger span{
  color:#ffb6bd!important;
}
.event-vA-bottom{
  justify-content:flex-end!important;
  min-height:28px!important;
  padding-top:8px!important;
  margin-top:8px!important;
}
.event-vA-day,
.event-vA-day-icon,
.event-vA-advice{
  display:none!important;
}
.event-vA-bottom-right{
  width:100%!important;
  justify-content:flex-end!important;
  display:flex!important;
}
.event-vA-expand{
  width:22px!important;
  height:22px!important;
  font-size:20px!important;
  color:rgba(247,241,251,.78)!important;
}


/* 20260803 bottom affordance tighten */
.event-vA-bottom{
  min-height:18px!important;
  padding-top:4px!important;
  margin-top:6px!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
}
.event-vA-bottom-right{padding-right:2px!important;}
.event-vA-expand{
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  color:rgba(247,241,251,.62)!important;
}


/* 20260803 suggested-date status badges */
.lunar-event-result-scene .event-nearest-date-main{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
}
.lunar-event-result-scene .event-nearest-date-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:88px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:900!important;
  letter-spacing:0!important;
}
.lunar-event-result-scene .event-nearest-date-badge.is-good{
  color:#2f8b56!important;
  background:rgba(86,185,120,.14)!important;
}
.lunar-event-result-scene .event-nearest-date-badge.is-neutral,
.lunar-event-result-scene .event-nearest-date-badge.is-cautious{
  color:#7d68a6!important;
  background:rgba(125,104,166,.12)!important;
}
.lunar-event-result-scene .event-nearest-date-item.is-good{
  border-color:rgba(86,185,120,.18)!important;
}
.lunar-event-result-scene .event-nearest-date-item.is-neutral,
.lunar-event-result-scene .event-nearest-date-item.is-cautious{
  border-color:rgba(125,104,166,.14)!important;
}


/* 20260803 event heading + iOS menu fix */
.soft-card:has(.event.event-vA) > h3{
  position:relative!important;
  z-index:2!important;
  margin-left:8px!important;
  padding-left:8px!important;
  overflow:visible!important;
  text-indent:0!important;
  clip-path:none!important;
}
.soft-card:has(.event.event-vA){
  overflow:visible!important;
}
.event.event-vA{
  overflow:visible!important;
}
.event-vA-title-row{
  grid-template-columns:minmax(0,1fr) 34px!important;
  column-gap:8px!important;
}
.event-kebab,
.event-kebab.active,
.event-kebab:active,
.event-kebab:focus,
.event-kebab:focus-visible{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.event-kebab::before,
.event-kebab::after{
  content:none!important;
  display:none!important;
}
.event-kebab .kebab-stars{
  display:block!important;
  color:rgba(241,232,248,.96)!important;
  opacity:1!important;
  font-size:24px!important;
  line-height:1!important;
  letter-spacing:0!important;
  transform:translateY(-2px)!important;
  text-shadow:none!important;
  filter:none!important;
}
.event-vA-bottom{
  min-height:10px!important;
  margin-top:4px!important;
  padding-top:2px!important;
  border-top:0!important;
  background:transparent!important;
}
.event-vA-bottom-right{
  width:100%!important;
  min-height:0!important;
}
.event-vA-expand{
  display:none!important;
}
.event-vA .event-menu-panel.ios-menu-panel{
  position:absolute!important;
  top:42px!important;
  right:10px!important;
  z-index:30!important;
  width:min(184px, calc(100% - 24px))!important;
  margin:0!important;
  padding:6px 0!important;
  border-radius:14px!important;
  background:rgba(28,28,30,.94)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(24px)!important;
  -webkit-backdrop-filter:blur(24px)!important;
  overflow:hidden!important;
}
.event-vA .event-menu-panel.ios-menu-panel::before,
.event-vA .event-menu-panel.ios-menu-panel::after{
  content:none!important;
  display:none!important;
}
.event-vA .event-menu-panel.ios-menu-panel .event-menu-title{
  display:none!important;
}
.event-vA .event-menu-panel.ios-menu-panel button{
  min-height:44px!important;
  padding:0 16px!important;
  justify-content:flex-start!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  color:#ffffff!important;
  font-size:17px!important;
  font-weight:400!important;
  line-height:22px!important;
  letter-spacing:-.01em!important;
  box-shadow:none!important;
}
.event-vA .event-menu-panel.ios-menu-panel button:hover,
.event-vA .event-menu-panel.ios-menu-panel button:active{
  background:rgba(255,255,255,.08)!important;
}
.event-vA .event-menu-panel.ios-menu-panel button + button{
  border-top:0.5px solid rgba(255,255,255,.16)!important;
}
.event-vA .event-menu-panel.ios-menu-panel button span{
  display:none!important;
}
.event-vA .event-menu-panel.ios-menu-panel button.danger{
  color:#ff453a!important;
}


/* 20260803 event recommendation preview + dedicated chevron */
.event.event-vA{
  cursor:pointer!important;
  transform-origin:center center!important;
  transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .28s cubic-bezier(.2,.8,.2,1), background .28s cubic-bezier(.2,.8,.2,1)!important;
  -webkit-tap-highlight-color:transparent!important;
  touch-action:manipulation!important;
}
.event.event-vA:active{
  transform:scale(.98)!important;
}
.event.event-vA:focus-visible{
  outline:2px solid rgba(216,202,255,.55)!important;
  outline-offset:3px!important;
}
.event-vA-title-row{
  grid-template-columns:minmax(0,1fr) 34px!important;
  column-gap:8px!important;
}
.event-vA-status-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 38px!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:8px!important;
  min-width:0!important;
}
.event-vA-status-copy{
  min-width:0!important;
  display:grid!important;
  gap:4px!important;
}
.event-vA-status{
  margin:0!important;
}
.event-vA-preview{
  margin:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  color:rgba(241,232,248,.66)!important;
  font-size:14.5px!important;
  line-height:1.24!important;
  font-weight:520!important;
  letter-spacing:-.015em!important;
}
.event-vA-chevron,
.event-vA-chevron.active,
.event-vA-chevron:active,
.event-vA-chevron:focus,
.event-vA-chevron:focus-visible{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.055)!important;
  color:rgba(247,241,251,.92)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
  display:grid!important;
  place-items:center!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  outline:none!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent!important;
}
.event-vA-chevron::before,
.event-vA-chevron::after{
  content:none!important;
  display:none!important;
}
.event-vA-chevron svg{
  width:20px!important;
  height:20px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.35!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transform:rotate(0deg)!important;
  transform-origin:center!important;
  transition:transform .34s cubic-bezier(.22,1,.36,1)!important;
}
.event-vA.open .event-vA-chevron svg{
  transform:rotate(180deg)!important;
}
.event-vA-bottom{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
.event-vA-bottom-right,
.event-vA-expand{
  display:none!important;
}
.event-vA .event-detail{
  display:grid!important;
  grid-template-rows:0fr!important;
  opacity:0!important;
  margin-top:0!important;
  overflow:hidden!important;
  transition:grid-template-rows .42s cubic-bezier(.22,1,.36,1), opacity .28s cubic-bezier(.22,1,.36,1), margin-top .42s cubic-bezier(.22,1,.36,1)!important;
}
.event-vA .event-detail.open{
  grid-template-rows:1fr!important;
  opacity:1!important;
  margin-top:12px!important;
}
.event-vA .event-detail-body{
  min-height:0!important;
}
@media (max-width:370px){
  .event-vA-status-row{grid-template-columns:minmax(0,1fr) 36px!important;gap:8px!important;}
  .event-vA-chevron{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;}
  .event-vA-preview{font-size:14px!important;}
}
@media (prefers-reduced-motion: reduce){
  .event.event-vA,.event-vA .event-detail,.event-vA-chevron svg{transition:none!important;}
  .event.event-vA:active{transform:none!important;}
}


/* 20260803 event detail true zero-height collapse */
.event-vA .event-detail:not(.open) .event-detail-body{
  overflow:hidden!important;
  padding-top:0!important;
  border-top:0!important;
}
.event-vA .event-detail.open .event-detail-body{
  overflow:visible!important;
  padding-top:12px!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
}


/* 20260803 event detail final no-gap collapse */
.event-vA .event-detail{
  max-height:0!important;
  opacity:0!important;
  margin-top:0!important;
  overflow:hidden!important;
  transition:max-height .42s cubic-bezier(.22,1,.36,1), opacity .28s cubic-bezier(.22,1,.36,1), margin-top .42s cubic-bezier(.22,1,.36,1)!important;
}
.event-vA .event-detail.open{
  max-height:900px!important;
  opacity:1!important;
  margin-top:12px!important;
}
.event-vA .event-detail:not(.open) .event-detail-body{
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.event-vA .event-detail.open .event-detail-body{
  margin:0!important;
  padding:12px 0 0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  overflow:visible!important;
}


/* 20260803 chevron without circle + safer advice padding */
.event-vA-chevron,
.event-vA-chevron.active,
.event-vA-chevron:active,
.event-vA-chevron:focus,
.event-vA-chevron:focus-visible{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  color:rgba(247,241,251,.88)!important;
}
.event-vA-chevron svg{
  width:18px!important;
  height:18px!important;
  stroke-width:2.5!important;
}
.event-vA-status-row{
  grid-template-columns:minmax(0,1fr) 28px!important;
  gap:12px!important;
}
.event-vA .event-decision-advice-shell,
.event-vA .event-decision-advice-card{
  box-sizing:border-box!important;
  width:100%!important;
}
.event-vA .event-decision-advice-card{
  padding:16px 16px 18px!important;
  border-radius:20px!important;
  background:rgba(214,206,220,.78)!important;
}
.event-vA .event-decision-advice-card > :first-child,
.event-vA .event-decision-advice-card p:first-child,
.event-vA .event-decision-advice-card .event-decision-rich-text > :first-child{
  margin-top:0!important;
}
.event-vA .event-decision-advice-card p,
.event-vA .event-decision-advice-card li,
.event-vA .event-decision-advice-card .event-decision-line{
  padding-inline:2px!important;
}
@media (max-width:370px){
  .event-vA-status-row{grid-template-columns:minmax(0,1fr) 26px!important;gap:10px!important;}
  .event-vA-chevron{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;}
  .event-vA .event-decision-advice-card{padding:15px 14px 17px!important;}
}


/* 20260803 expanded event card as iOS sections, no large gray advice block */
.event-vA .event-detail-body{
  gap:12px!important;
  padding-top:14px!important;
}
.event-vA .event-note-text,
.event-vA .lunar-event-summary,
.event-vA .event-ai-body,
.event-vA .event-expanded-actions{
  margin:0!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.07)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  color:#f6eefb!important;
}
.event-vA .event-note-text,
.event-vA .lunar-event-summary,
.event-vA .event-ai-body{
  font-size:15.5px!important;
  line-height:1.42!important;
  font-weight:560!important;
  letter-spacing:-.015em!important;
}
.event-vA .event-note-text{
  color:rgba(247,240,251,.84)!important;
}
.event-vA .lunar-event-summary{
  color:rgba(238,229,246,.74)!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:grid!important;
  gap:10px!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished h4{
  margin:2px 2px 0!important;
  padding:0 2px!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:rgba(219,202,255,.62)!important;
}
.event-vA .event-ai-body{
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028))!important;
}
.event-vA .event-ai-body.event-ai-verdict{
  padding:15px 16px!important;
  font-size:18px!important;
  line-height:1.22!important;
  font-weight:820!important;
  letter-spacing:-.03em!important;
  color:#fff7e5!important;
  background:linear-gradient(180deg, rgba(214,177,112,.16), rgba(214,177,112,.08))!important;
  border-color:rgba(214,177,112,.18)!important;
}
.event-vA.good .event-ai-body.event-ai-verdict{
  color:#ecfff2!important;
  background:linear-gradient(180deg, rgba(126,216,162,.16), rgba(126,216,162,.08))!important;
  border-color:rgba(126,216,162,.18)!important;
}
.event-vA.neutral .event-ai-body.event-ai-verdict{
  color:#f3ecff!important;
  background:linear-gradient(180deg, rgba(196,180,222,.16), rgba(196,180,222,.08))!important;
  border-color:rgba(196,180,222,.18)!important;
}
.event-vA .event-expanded-actions{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.event-vA .event-expanded-actions .small-btn{
  width:100%!important;
  justify-content:center!important;
  min-height:42px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#efe5ff!important;
}
@media (max-width:370px){
  .event-vA .event-note-text,
  .event-vA .lunar-event-summary,
  .event-vA .event-ai-body,
  .event-vA .event-expanded-actions{padding:13px 14px!important;border-radius:17px!important;}
  .event-vA .event-ai-body.event-ai-verdict{padding:14px 14px!important;font-size:17px!important;}
}


/* 20260803 expanded event card: single iOS text surface, no inner cards */
.event-vA .event-detail{
  background:transparent!important;
}
.event-vA .event-detail.open{
  margin-top:12px!important;
}
.event-vA .event-detail-body{
  display:grid!important;
  gap:10px!important;
  padding-top:14px!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:transparent!important;
}
.event-vA .event-note-text,
.event-vA .lunar-event-summary,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished,
.event-vA .event-decision-advice-shell,
.event-vA .event-decision-advice-card,
.event-vA .event-ai-body,
.event-vA .event-expanded-actions,
.event-vA .event-personal-lock,
.event-vA .ai-loading{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.event-vA .event-note-text,
.event-vA .lunar-event-summary,
.event-vA .event-ai-body,
.event-vA .event-decision-short,
.event-vA .event-decision-line{
  color:#f5eef9!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:540!important;
  letter-spacing:-.018em!important;
}
.event-vA .event-note-text{
  color:rgba(245,238,249,.88)!important;
}
.event-vA .lunar-event-summary{
  color:rgba(230,219,238,.70)!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished{
  display:grid!important;
  gap:8px!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished h4{
  margin:2px 0 2px!important;
  padding:0!important;
  color:rgba(216,202,255,.60)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.event-vA .event-ai-body,
.event-vA .event-decision-line{
  color:#f5eef9!important;
}
.event-vA .event-ai-body.event-ai-verdict,
.event-vA .event-decision-verdict,
.event-vA .event-decision-short.event-decision-verdict{
  color:#f0c982!important;
  font-size:17px!important;
  line-height:1.32!important;
  font-weight:820!important;
  letter-spacing:-.025em!important;
}
.event-vA.good .event-ai-body.event-ai-verdict,
.event-vA.good .event-decision-verdict,
.event-vA.good .event-decision-short.event-decision-verdict{
  color:#89ddb0!important;
}
.event-vA.neutral .event-ai-body.event-ai-verdict,
.event-vA.neutral .event-decision-verdict,
.event-vA.neutral .event-decision-short.event-decision-verdict{
  color:#d9c9f6!important;
}
.event-vA .event-decision-label{
  color:rgba(216,202,255,.80)!important;
  font-weight:760!important;
}
.event-vA .event-expanded-actions{
  margin-top:2px!important;
}
.event-vA .event-expanded-actions .small-btn{
  width:100%!important;
  min-height:42px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#efe5ff!important;
  justify-content:center!important;
  box-shadow:none!important;
}
@media (max-width:370px){
  .event-vA .event-note-text,
  .event-vA .lunar-event-summary,
  .event-vA .event-ai-body,
  .event-vA .event-decision-short,
  .event-vA .event-decision-line{font-size:15.5px!important;line-height:1.43!important;}
  .event-vA .event-ai-body.event-ai-verdict,
  .event-vA .event-decision-verdict,
  .event-vA .event-decision-short.event-decision-verdict{font-size:16.5px!important;}
}


/* 20260803 final flatten: no inner chips/cards inside expanded event */
.event-vA .event-ai-body,
.event-vA .event-ai-body.event-ai-verdict,
.event-vA .event-decision-short,
.event-vA .event-decision-line,
.event-vA .event-decision-short.event-decision-verdict,
.event-vA .event-decision-verdict{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished *,
.event-vA .event-decision-advice-shell,
.event-vA .event-decision-advice-shell *,
.event-vA .event-decision-advice-card,
.event-vA .event-decision-advice-card *{
  box-shadow:none!important;
}
.event-vA .event-ai-body,
.event-vA .event-decision-line,
.event-vA .event-ai-body *,
.event-vA .event-decision-line *{
  color:#f5eef9!important;
}
.event-vA .event-ai-body.event-ai-verdict,
.event-vA .event-decision-verdict,
.event-vA .event-decision-short.event-decision-verdict{
  color:#f0c982!important;
  margin-bottom:2px!important;
}
.event-vA.good .event-ai-body.event-ai-verdict,
.event-vA.good .event-decision-verdict,
.event-vA.good .event-decision-short.event-decision-verdict{color:#89ddb0!important;}
.event-vA.neutral .event-ai-body.event-ai-verdict,
.event-vA.neutral .event-decision-verdict,
.event-vA.neutral .event-decision-short.event-decision-verdict{color:#d9c9f6!important;}


/* 20260803 specificity fix for flattened expanded event */
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body *,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict *{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body *{
  color:#f5eef9!important;
}
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict,
.event-vA .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict *{
  color:#f0c982!important;
}
.event-vA.good .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict,
.event-vA.good .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict *{color:#89ddb0!important;}
.event-vA.neutral .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict,
.event-vA.neutral .ai-advice.event-ai.compact-ai.event-ai-polished .event-ai-body.event-ai-verdict *{color:#d9c9f6!important;}

/* 20260804 event card: flat readable detail + no white frame + free keeps status only */
.event-vA .event-detail.open .event-detail-body{
  padding-top:12px!important;
  border-top:0!important;
}
.event-vA .event-detail-body,
.event-vA .event-detail-body *{
  box-shadow:none!important;
}
.event-vA .event-detail-body .event-note-text,
.event-vA .event-detail-body .lunar-event-summary,
.event-vA .event-detail-body .event-personal-lock,
.event-vA .event-detail-body .event-personal-lock p,
.event-vA .event-detail-body .event-personal-lock small,
.event-vA .event-detail-body .event-personal-lock b,
.event-vA .event-detail-body .ai-loading,
.event-vA .event-detail-body .ai-loading p,
.event-vA .event-detail-body .ai-loading small,
.event-vA .event-detail-body .ai-loading b,
.event-vA .event-detail-body .ai-advice,
.event-vA .event-detail-body .ai-advice h4,
.event-vA .event-detail-body .ai-advice p,
.event-vA .event-detail-body .event-decision-advice-card,
.event-vA .event-detail-body .event-decision-advice-card p,
.event-vA .event-detail-body .event-decision-advice-card b,
.event-vA .event-detail-body .event-decision-advice-card strong,
.event-vA .event-detail-body .event-decision-label,
.event-vA .event-detail-body .event-decision-line,
.event-vA .event-detail-body .event-decision-short{
  color:#f5eef9!important;
}
.event-vA .event-detail-body .event-personal-lock,
.event-vA .event-detail-body .ai-loading,
.event-vA .event-detail-body .ai-advice,
.event-vA .event-detail-body .event-decision-advice-shell,
.event-vA .event-detail-body .event-decision-advice-card{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.event-vA .event-detail-body .event-personal-lock-orb{
  display:none!important;
}
.event-vA .event-detail-body .event-personal-lock{
  display:block!important;
}
.event-vA .event-detail-body .event-personal-lock b,
.event-vA .event-detail-body .event-personal-lock p,
.event-vA .event-detail-body .event-personal-lock small{
  display:block!important;
  margin:0!important;
  padding:0!important;
}
.event-vA .event-detail-body .event-personal-lock p,
.event-vA .event-detail-body .event-personal-lock small{
  margin-top:6px!important;
}

/* 20260804 remove visible light stroke from upcoming event preview cards */
.event.event-vA,
.event.event-vA.open{
  border:0!important;
  box-shadow:0 14px 32px rgba(8,5,14,.28)!important;
  outline:0!important;
  outline-offset:0!important;
  background-clip:padding-box!important;
}

/* 20260804 event free-lock artifact kill-switch: remove clipped glow/square in collapsed free advice block */
.event-vA .event-detail-body .event-personal-lock,
.event-vA .event-detail-body .event-personal-lock *,
.event-vA .event-detail-body .event-personal-lock::before,
.event-vA .event-detail-body .event-personal-lock::after,
.event-vA .event-detail-body .event-personal-lock *::before,
.event-vA .event-detail-body .event-personal-lock *::after{
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.event-vA .event-detail-body .event-personal-lock{
  position:relative!important;
  overflow:visible!important;
}
.event-vA .event-detail-body .event-personal-lock > div,
.event-vA .event-detail-body .event-personal-lock > div *{
  background:transparent!important;
}
.event-vA .event-detail-body .event-personal-lock-orb{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}
.event-vA-date{
  border:0!important;
  box-shadow:none!important;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02))!important;
}

/* 20260804 final kill switch for outer stroke around the whole event card */
.soft-card .list .event.event-vA,
.soft-card .list .event.event-vA.open,
.today-events .event.event-vA,
.today-events .event.event-vA.open{
  border:none!important;
  outline:none!important;
  box-shadow:0 14px 32px rgba(8,5,14,.28)!important;
  -webkit-box-shadow:0 14px 32px rgba(8,5,14,.28)!important;
}

/* 20260804 remove nested inner card/frame; keep content on the root card surface */
.event.event-vA .event-vA-main,
.event.event-vA .event-vA-copy,
.event.event-vA .event-vA-status-copy,
.event.event-vA .event-vA-title-row,
.event.event-vA .event-vA-status-row{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.event.event-vA .event-vA-main::before,
.event.event-vA .event-vA-main::after,
.event.event-vA .event-vA-copy::before,
.event.event-vA .event-vA-copy::after,
.event.event-vA .event-vA-status-copy::before,
.event.event-vA .event-vA-status-copy::after,
.event.event-vA .event-vA-title-row::before,
.event.event-vA .event-vA-title-row::after,
.event.event-vA .event-vA-status-row::before,
.event.event-vA .event-vA-status-row::after{
  content:none!important;
  display:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:none!important;
}


/* iOS system-settings style email prompt — 20260804-162159 */
body[data-step="home"] .account-auth-prompt.account-auth-ios-card,
.account-auth-prompt.account-auth-ios-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  margin:14px 0 0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:rgba(23,21,30,.78)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:none!important;
  color:#f7f3fb!important;
  -webkit-tap-highlight-color:transparent!important;
  cursor:pointer!important;
}
.account-auth-prompt.account-auth-ios-card:active,
.account-auth-prompt.account-auth-ios-card.is-pressed{
  background:rgba(31,29,39,.82)!important;
  opacity:.86!important;
}
.account-auth-ios-main{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:16px!important;
  min-height:116px!important;
  padding:20px!important;
}
.account-auth-ios-icon{
  width:56px!important;
  height:56px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 56px!important;
  background:#5b3a91!important;
  color:#fffaf6!important;
  box-shadow:none!important;
}
.account-auth-ios-icon svg{
  width:30px!important;
  height:30px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.account-auth-ios-copy{
  min-width:0!important;
  display:grid!important;
  gap:6px!important;
}
.account-auth-ios-copy h3,
body[data-step="home"] .account-auth-ios-copy h3{
  margin:0!important;
  color:#fffaf6!important;
  font-size:20px!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  font-weight:800!important;
}
.account-auth-ios-copy p,
body[data-step="home"] .account-auth-ios-copy p{
  margin:0!important;
  color:rgba(246,241,250,.68)!important;
  font-size:15px!important;
  line-height:1.34!important;
  font-weight:400!important;
  letter-spacing:-.01em!important;
}
.account-auth-ios-actions{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr 1px 1fr!important;
  align-items:center!important;
  min-height:56px!important;
  height:56px!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
}
.account-auth-ios-action{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  height:56px!important;
  min-height:56px!important;
  margin:0!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-size:17px!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
  -webkit-tap-highlight-color:transparent!important;
}
.account-auth-ios-action:active{
  background:rgba(255,255,255,.055)!important;
  opacity:.72!important;
}
.account-auth-ios-connect{
  color:#b888ff!important;
  font-weight:600!important;
}
.account-auth-ios-plus{
  display:inline-block!important;
  color:#b888ff!important;
  font-size:24px!important;
  line-height:0!important;
  font-weight:400!important;
  transform:translateY(-1px)!important;
}
.account-auth-ios-later{
  color:rgba(246,241,250,.70)!important;
  font-weight:400!important;
}
.account-auth-ios-action-divider{
  width:1px!important;
  height:32px!important;
  display:block!important;
  background:rgba(255,255,255,.10)!important;
  align-self:center!important;
}
@media (max-width:360px){
  .account-auth-ios-main{grid-template-columns:52px minmax(0,1fr)!important;column-gap:13px!important;padding:18px!important;min-height:112px!important}
  .account-auth-ios-icon{width:52px!important;height:52px!important;flex-basis:52px!important}
  .account-auth-ios-copy h3,body[data-step="home"] .account-auth-ios-copy h3{font-size:19px!important}
  .account-auth-ios-copy p,body[data-step="home"] .account-auth-ios-copy p{font-size:14.5px!important}
  .account-auth-ios-action{font-size:16px!important;padding:0 8px!important;gap:6px!important}
}


/* Compact settings email block rollback + purple arrow CTA — 20260804-171132 */
.account-settings-minimal{
  padding:16px 14px 14px!important;
  display:grid!important;
  gap:8px!important;
}
.account-link-compact{
  margin:0 0 12px!important;
  gap:10px!important;
}
.account-link-compact .pill,
.account-settings-minimal .pill{
  display:none!important;
}
.account-settings-minimal .auth-email-minimal{
  margin:0!important;
}
.account-link-compact .auth-email-field{
  gap:6px!important;
}
.account-link-compact .auth-email-field>span{
  font-size:12px!important;
  color:rgba(255,250,246,.72)!important;
}
.account-settings-minimal .auth-email-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.account-settings-minimal #settingsAccountEmailInput{
  min-height:48px!important;
}
.account-settings-minimal .auth-email-settings-cta{
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  min-height:48px!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:linear-gradient(135deg,#7b5cff 0%,#6b47d8 100%)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(72,45,133,.22), inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.account-settings-minimal .auth-email-settings-cta span{
  font-size:22px!important;
  line-height:1!important;
  font-weight:800!important;
}
.account-settings-minimal .auth-email-settings-cta:active{
  opacity:.82!important;
  background:linear-gradient(135deg,#7352f2 0%,#6039d0 100%)!important;
}
.account-settings-minimal .auth-email-settings-cta[disabled],
.account-settings-minimal .auth-email-settings-cta[aria-disabled="true"]{
  opacity:.46!important;
  box-shadow:none!important;
}
.account-settings-minimal .account-link-notice{
  margin:0 0 2px!important;
}


/* Transparent arrow button like email input — 20260804-172015 */
.account-settings-minimal .auth-email-settings-cta{
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
  color:rgba(255,250,246,.96)!important;
  backdrop-filter:saturate(1.02) blur(6px)!important;
  -webkit-backdrop-filter:saturate(1.02) blur(6px)!important;
}
.account-settings-minimal .auth-email-settings-cta:active{
  background:rgba(255,255,255,.16)!important;
  opacity:1!important;
}


/* Extra top headroom for email label in Telegram iOS focus flow — 20260804-172954 */
.account-link-card.account-link-compact.account-settings-minimal{
  padding-top:20px!important;
}
.account-link-card.account-link-compact .auth-email-field{
  gap:8px!important;
}

/* Install app card literal UI match + stable email row focus — 20260804-184650 */
.install-app-card.install-app-card-minimal{
  margin:0 0 14px!important;
}
.install-app-settings-row{
  width:100%!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:14px!important;
  min-height:88px!important;
  padding:14px 16px 12px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(90,67,114,.94),rgba(73,51,98,.94))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 24px rgba(20,12,31,.14)!important;
  color:#fffafc!important;
  text-align:left!important;
  -webkit-tap-highlight-color:transparent!important;
}
.install-app-settings-row:active{
  opacity:.96!important;
  background:linear-gradient(180deg,rgba(96,72,122,.96),rgba(78,55,106,.96))!important;
}
.install-app-settings-icon{
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.18),rgba(255,255,255,.04) 42%,rgba(0,0,0,0) 70%),linear-gradient(180deg,rgba(197,132,255,.38),rgba(109,70,183,.36))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 20px rgba(29,17,44,.16)!important;
}
.install-app-settings-icon svg{
  width:24px!important;
  height:24px!important;
  display:block!important;
}
.install-app-settings-copy{
  min-width:0!important;
  display:grid!important;
  gap:4px!important;
  align-content:center!important;
}
.install-app-settings-copy strong{
  display:block!important;
  margin:0!important;
  color:#fffafc!important;
  font-size:16px!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  font-weight:800!important;
}
.install-app-settings-copy small{
  display:block!important;
  margin:0!important;
  color:rgba(250,243,255,.82)!important;
  font-size:12.5px!important;
  line-height:1.34!important;
  font-weight:500!important;
}
.install-app-settings-cta{
  align-self:end!important;
  justify-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 0 1px!important;
  color:#f4e9ff!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
}
.install-app-settings-cta i{
  font-style:normal!important;
  font-size:20px!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
  color:rgba(244,233,255,.94)!important;
}
@media (max-width:380px){
  .install-app-settings-row{grid-template-columns:42px minmax(0,1fr)!important;row-gap:8px!important;padding:12px 14px 11px!important}
  .install-app-settings-cta{grid-column:2!important;justify-self:start!important;padding-top:0!important}
}

.account-link-card.account-link-compact.account-settings-minimal .auth-email-row .auth-email-settings-cta{
  transform:translate3d(0,0,0)!important;
}
.account-link-card.account-link-compact.account-settings-minimal .auth-email-row{
  min-height:48px!important;
  align-items:stretch!important;
}
.account-link-card.account-link-compact.account-settings-minimal #settingsAccountEmailInput{
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  line-height:22px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.account-link-card.account-link-compact.account-settings-minimal #settingsAccountEmailInput:focus,
.account-link-card.account-link-compact.account-settings-minimal #settingsAccountEmailInput:focus-visible{
  transform:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
  scroll-margin-top:0!important;
}
.account-link-card.account-link-compact.account-settings-minimal .auth-email-settings-cta{
  align-self:stretch!important;
}
@media (max-width:380px){
  .install-app-settings-row{grid-template-columns:68px minmax(0,1fr)!important;row-gap:14px!important;padding:20px 18px 16px!important}
  .install-app-settings-cta{grid-column:2!important;justify-self:start!important;padding-top:2px!important}
}

/* Email-required modal reference match — 20260804-191320 */
.install-app-overlay--email-required{
  align-items:center!important;
  justify-content:center!important;
  padding:24px 18px calc(24px + env(safe-area-inset-bottom,0px))!important;
  background:rgba(23,12,33,.34)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}
.install-app-dialog--email-required{
  width:min(100%,392px)!important;
  max-width:min(100%,392px)!important;
  margin:0!important;
  padding:28px 26px 22px!important;
  border-radius:32px!important;
  background:linear-gradient(180deg,rgba(255,250,247,.985),rgba(254,247,244,.985))!important;
  color:#241735!important;
  box-shadow:0 28px 80px rgba(18,7,28,.28),0 8px 24px rgba(18,7,28,.10),inset 0 1px 0 rgba(255,255,255,.88)!important;
  border:1px solid rgba(92,64,132,.08)!important;
  display:grid!important;
  gap:0!important;
}
.install-app-dialog--email-required .install-app-email-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0 0 24px!important;
}
.install-app-dialog--email-required .install-app-email-pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 18px!important;
  border-radius:999px!important;
  background:#eee6e8!important;
  color:#5f4f78!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
.install-app-dialog--email-required .install-app-email-close{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(120,95,151,.18)!important;
  background:linear-gradient(180deg,#fff,#fbf7ff)!important;
  color:#6e5a8f!important;
  box-shadow:0 4px 14px rgba(60,40,94,.08),inset 0 1px 0 rgba(255,255,255,.92)!important;
  display:grid!important;
  place-items:center!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:700!important;
}
.install-app-dialog--email-required .install-app-email-title{
  margin:0 0 18px!important;
  color:#20142f!important;
  font-size:32px!important;
  line-height:1.03!important;
  font-weight:900!important;
  letter-spacing:-.055em!important;
  text-align:left!important;
}
.install-app-dialog--email-required .install-app-email-copy{
  margin:0 0 28px!important;
  color:#46385a!important;
  font-size:15px!important;
  line-height:1.42!important;
  font-weight:500!important;
  letter-spacing:-.015em!important;
}
.install-app-dialog--email-required .install-app-email-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  margin:0!important;
}
.install-app-dialog--email-required .install-app-email-secondary,
.install-app-dialog--email-required .install-app-email-primary{
  min-height:72px!important;
  height:72px!important;
  border-radius:24px!important;
  padding:0 18px!important;
  font-size:16px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
  box-shadow:none!important;
  justify-content:center!important;
}
.install-app-dialog--email-required .install-app-email-secondary{
  border:1px solid rgba(113,91,145,.14)!important;
  background:linear-gradient(180deg,#ffffff,#fbfbff)!important;
  color:#2d1f3d!important;
  box-shadow:0 2px 10px rgba(38,24,56,.05),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.install-app-dialog--email-required .install-app-email-primary{
  border:0!important;
  background:linear-gradient(90deg,#ffd98f 0%,#ffb7ce 47%,#c4a5ff 100%)!important;
  color:#241735!important;
  box-shadow:0 10px 22px rgba(193,140,220,.22)!important;
}
.install-app-dialog--email-required .install-app-email-primary span{
  color:inherit!important;
}
.install-app-dialog--email-required .install-app-email-secondary:active,
.install-app-dialog--email-required .install-app-email-primary:active,
.install-app-dialog--email-required .install-app-email-close:active{
  transform:none!important;
  filter:brightness(.98)!important;
}
@media (max-width:380px){
  .install-app-dialog--email-required{
    padding:24px 20px 20px!important;
    border-radius:28px!important;
  }
  .install-app-dialog--email-required .install-app-email-title{
    font-size:28px!important;
  }
}

/* Welcome email modal: full-width input + arrow CTA — 20260804-192119 */
.welcome-email-auth-card .welcome-email-auth-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 56px!important;
  align-items:stretch!important;
  gap:12px!important;
}
.welcome-email-auth-card .welcome-email-auth-row>.input,
.welcome-email-auth-card #accountEmailInput{
  width:100%!important;
  min-width:0!important;
  flex:none!important;
  min-height:56px!important;
  height:56px!important;
  padding:0 20px!important;
  border-radius:22px!important;
}
.welcome-email-auth-card .welcome-email-auth-submit--arrow{
  width:56px!important;
  min-width:56px!important;
  max-width:56px!important;
  height:56px!important;
  min-height:56px!important;
  padding:0!important;
  border-radius:22px!important;
  display:grid!important;
  place-items:center!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
.welcome-email-auth-card .welcome-email-auth-submit--arrow span{
  display:none!important;
}
@media (max-width:380px){
  .welcome-email-auth-card .welcome-email-auth-row{
    grid-template-columns:minmax(0,1fr) 52px!important;
    gap:10px!important;
  }
  .welcome-email-auth-card .welcome-email-auth-row>.input,
  .welcome-email-auth-card #accountEmailInput,
  .welcome-email-auth-card .welcome-email-auth-submit--arrow{
    height:52px!important;
    min-height:52px!important;
    border-radius:20px!important;
  }
  .welcome-email-auth-card .welcome-email-auth-submit--arrow{
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    font-size:26px!important;
  }
}

/* Buttons matched to home email reminder block — 20260804-192210 */
.install-app-dialog--email-required .install-app-email-actions{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr 1px 1fr!important;
  align-items:center!important;
  gap:0!important;
  min-height:56px!important;
  height:56px!important;
  margin:4px -26px -22px!important;
  border-top:1px solid rgba(92,64,132,.10)!important;
}
.install-app-dialog--email-required .install-app-email-actions::before{
  content:''!important;
  position:relative!important;
  width:1px!important;
  height:32px!important;
  background:rgba(92,64,132,.10)!important;
  justify-self:center!important;
  order:2!important;
  display:block!important;
}
.install-app-dialog--email-required .install-app-email-secondary,
.install-app-dialog--email-required .install-app-email-primary{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  height:56px!important;
  min-height:56px!important;
  margin:0!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:500!important;
  letter-spacing:-.02em!important;
}
.install-app-dialog--email-required .install-app-email-secondary{
  grid-column:1!important;
  color:rgba(70,56,90,.68)!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
.install-app-dialog--email-required .install-app-email-primary{
  grid-column:3!important;
  color:#b888ff!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
.install-app-dialog--email-required .install-app-email-primary span{
  color:inherit!important;
  font-weight:600!important;
}
.install-app-dialog--email-required .install-app-email-secondary:active,
.install-app-dialog--email-required .install-app-email-primary:active{
  background:rgba(92,64,132,.055)!important;
  opacity:.82!important;
  filter:none!important;
}
@media (max-width:380px){
  .install-app-dialog--email-required .install-app-email-actions{
    margin:4px -20px -20px!important;
  }
  .install-app-dialog--email-required .install-app-email-secondary,
  .install-app-dialog--email-required .install-app-email-primary{
    height:56px!important;
    min-height:56px!important;
    font-size:16px!important;
  }
}


/* Email auth code step: dark iOS-style OTP screen — 20260804-194800 */
.auth-code-stage{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(28,28,30,.98),rgba(18,18,20,.985))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.auth-code-stage::before{display:none!important;content:none!important;}
.account-auth-code-stage{display:grid!important;gap:14px!important;}
.account-auth-code-top{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:44px!important;}
.account-auth-code-top>:last-child{justify-self:end!important;}
.account-auth-code-back,.account-auth-code-change{appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;padding:0!important;margin:0!important;color:#0a84ff!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",sans-serif!important;cursor:pointer!important;}
.account-auth-code-back{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border-radius:999px!important;color:#f5f5f7!important;background:rgba(255,255,255,.06)!important;font-size:30px!important;line-height:1!important;}
.account-auth-code-back:active{opacity:.82!important;transform:scale(.97)!important;}
.account-auth-code-timer,.account-auth-code-change{font-size:15px!important;line-height:20px!important;font-weight:500!important;letter-spacing:-.01em!important;}
.account-auth-code-timer{color:rgba(235,235,245,.62)!important;font-variant-numeric:tabular-nums!important;}
.account-auth-code-change:active{opacity:.72!important;}
.account-auth-code-title{margin:0!important;color:#ffffff!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",sans-serif!important;font-size:31px!important;line-height:1.08!important;font-weight:700!important;letter-spacing:-.04em!important;}
.account-auth-code-copy{margin:0!important;color:rgba(235,235,245,.72)!important;font-size:17px!important;line-height:1.35!important;font-weight:400!important;letter-spacing:-.01em!important;}
.account-auth-code-copy b,.account-auth-code-copy strong{color:#ffffff!important;font-weight:600!important;overflow-wrap:anywhere!important;}
.account-auth-code-status{margin:0!important;color:#ffb4ab!important;font-size:14px!important;line-height:1.35!important;font-weight:500!important;}
.account-auth-code-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.account-auth-code-field{position:relative!important;margin-top:4px!important;}
.account-auth-code-otp{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;pointer-events:none!important;}
.account-auth-code-cell{min-width:0!important;height:56px!important;border-radius:16px!important;display:grid!important;place-items:center!important;background:rgba(44,44,46,.95)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;color:#ffffff!important;font-size:26px!important;line-height:1!important;font-weight:600!important;font-variant-numeric:tabular-nums!important;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease!important;}
.account-auth-code-cell.active{border-color:#0a84ff!important;box-shadow:0 0 0 1px rgba(10,132,255,.42),inset 0 1px 0 rgba(255,255,255,.05)!important;}
.account-auth-code-cell.filled{background:rgba(58,58,60,.98)!important;color:#ffffff!important;}
.account-auth-code-input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:.015!important;color:transparent!important;background:transparent!important;border:0!important;caret-color:transparent!important;font-size:16px!important;letter-spacing:18px!important;padding:0!important;margin:0!important;z-index:2!important;}
.account-auth-code-input:focus,.account-auth-code-input:focus-visible{outline:none!important;box-shadow:none!important;}
.account-auth-code-submit{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important;margin:0!important;overflow:hidden!important;}
.welcome-email-auth-card.auth-code-stage,.account-link-card.auth-code-stage{padding:18px!important;border-radius:28px!important;}
.welcome-email-auth-card.auth-code-stage .account-auth-code-title{font-size:29px!important;}
.account-auth-screen.auth-code-stage{padding:18px!important;border-radius:28px!important;}
.account-auth-screen.auth-code-stage .account-auth-code-top{margin-bottom:2px!important;}
.account-auth-screen.auth-code-stage .account-auth-code-title{font-size:30px!important;}
.account-auth-screen.auth-code-stage .account-auth-code-copy{font-size:16px!important;}
.welcome-email-auth-card.auth-code-stage .welcome-email-auth-head{display:none!important;}
@media (max-width:380px){
  .welcome-email-auth-card.auth-code-stage,.account-link-card.auth-code-stage,.account-auth-screen.auth-code-stage{padding:16px!important;border-radius:24px!important;}
  .account-auth-code-stage{gap:12px!important;}
  .account-auth-code-title{font-size:28px!important;}
  .account-auth-code-copy{font-size:15px!important;}
  .account-auth-code-otp{gap:8px!important;}
  .account-auth-code-cell{height:52px!important;border-radius:14px!important;font-size:24px!important;}
}
