#budget-entry { display: none; }
html.entry-cover-active { background: #f7fbff; }
html.entry-cover-active body { margin: 0; }
html.entry-cover-active body > :not(#budget-entry):not(script):not(style) { display: none !important; }
html.entry-cover-active #budget-entry { display: grid; }
#budget-entry, #budget-entry * { box-sizing: border-box; }
#budget-entry {
  --entry-navy: #072d64;
  --entry-blue: #0878ed;
  --entry-yellow: #ffde2e;
  --entry-muted: #385f73;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr);
  padding: clamp(16px, 3svh, 24px) max(18px, calc((100% - 1160px) / 2));
  overflow-x: hidden;
  overflow-y: auto;
  background: #f7fbff;
  color: var(--entry-navy);
  font-family: Arial, Helvetica, sans-serif;
  line-height: normal;
}
#budget-entry .entry-art, #budget-entry .entry-light { position: absolute; inset: 0; width: 100%; height: 100%; }
#budget-entry .entry-art { z-index: -4; object-fit: cover; object-position: center; }
#budget-entry .entry-light { z-index: -2; pointer-events: none; background: linear-gradient(180deg, rgba(234,248,255,.18), rgba(255,255,255,.08) 48%, rgba(255,255,255,.04)); }
#budget-entry .entry-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--entry-muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#budget-entry .entry-location { display: flex; align-items: center; gap: 8px; }
#budget-entry .entry-location svg { width: 17px; height: 17px; flex: 0 0 17px; }
#budget-entry .entry-content { justify-self: center; align-self: center; text-align: center; width: min(700px, 100%); padding: clamp(24px, 7svh, 64px) 0 clamp(22px, 5svh, 40px); }
#budget-entry .entry-welcome { margin: 0 0 8px; color: var(--entry-muted); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.2; font-weight: 400; }
#budget-entry h1 { margin: 0; color: var(--entry-navy); font-size: clamp(46px, 7vw, 64px); line-height: 1.04; letter-spacing: 0; font-weight: 800; }
#budget-entry .entry-painting { color: var(--entry-blue); }
#budget-entry .entry-highlight { display: block; width: 82px; height: 7px; border-radius: 3px; background: var(--entry-yellow); margin: 20px auto 26px; transform: rotate(-3deg); }
#budget-entry .entry-actions { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 0 auto; width: min(430px, 100%); }
#budget-entry .entry-action { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 16px 20px; border-radius: 12px; font-size: 19px; line-height: 1.3; font-weight: 700; text-decoration: none; border: 2px solid transparent; pointer-events: auto; -webkit-tap-highlight-color: transparent; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
#budget-entry .entry-primary { color: #fff; background: var(--entry-blue); box-shadow: 0 9px 24px rgba(8,122,236,.18); }
#budget-entry .entry-secondary { color: var(--entry-navy); background: rgba(255,255,255,.97); border-color: #e0eaf1; }
#budget-entry .entry-budget { color: var(--entry-navy); background: #fff4a8; border-color: #f1d957; box-shadow: 0 9px 22px rgba(187,149,0,.12); }
#budget-entry .entry-action svg { width: 21px; height: 21px; flex: 0 0 21px; }
#budget-entry .entry-action:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,52,91,.15); }
#budget-entry .entry-primary:hover { background: #0566c4; }
#budget-entry .entry-secondary:hover { background: #fff; border-color: var(--entry-blue); }
#budget-entry .entry-budget:hover { background: #ffef7a; border-color: #dfc331; }
#budget-entry .entry-action:active { transform: translateY(0); }
#budget-entry :focus-visible { outline: 3px solid var(--entry-navy); outline-offset: 5px; }
@media (max-width: 700px) {
  #budget-entry { padding: 16px; }
  #budget-entry .entry-topline { font-size: 13px; }
  #budget-entry .entry-content { padding: clamp(20px, 6svh, 34px) 0 20px; }
  #budget-entry h1 { font-size: clamp(38px, 10.5vw, 48px); }
  #budget-entry h1 span { display: block; }
  #budget-entry .entry-welcome { font-size: 18px; margin-bottom: 8px; }
  #budget-entry .entry-highlight { width: 70px; height: 6px; margin: 14px auto 18px; }
  #budget-entry .entry-actions { max-width: 360px; gap: 10px; }
  #budget-entry .entry-action { min-height: 52px; font-size: 17px; padding: 12px 15px; }
  #budget-entry .entry-action svg { width: 19px; height: 19px; flex-basis: 19px; }
  #budget-entry .entry-art { top: auto; bottom: 0; height: min(42svh, 300px); object-position: center bottom; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
  #budget-entry .entry-light { background: linear-gradient(180deg, rgba(234,248,255,.48), rgba(255,255,255,.12) 60%, transparent); }
}
@media (max-width: 360px) {
  #budget-entry { padding: 14px; }
  #budget-entry h1 { font-size: 37px; }
  #budget-entry .entry-topline { font-size: 12px; }
}
@media (max-height: 680px) {
  #budget-entry { padding-top: 14px; padding-bottom: 14px; }
  #budget-entry .entry-content { padding-top: 18px; padding-bottom: 18px; }
  #budget-entry .entry-welcome { margin-bottom: 6px; }
  #budget-entry .entry-highlight { margin-top: 12px; margin-bottom: 16px; }
  #budget-entry .entry-action { min-height: 50px; padding-top: 11px; padding-bottom: 11px; }
}
@media (max-height: 560px) {
  #budget-entry .entry-topline { font-size: 11px; }
  #budget-entry .entry-content { padding-top: 12px; padding-bottom: 12px; }
  #budget-entry .entry-welcome { font-size: 16px; }
  #budget-entry h1 { font-size: clamp(34px, 8.5vw, 44px); }
  #budget-entry .entry-highlight { margin-top: 10px; margin-bottom: 12px; }
  #budget-entry .entry-actions { gap: 8px; }
  #budget-entry .entry-action { min-height: 46px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #budget-entry *, #budget-entry *::before, #budget-entry *::after { animation: none !important; transition: none !important; }
}

/* Soft blue makes the Rain Day entry distinct. */
#budget-entry .entry-rain{background:#dceeff;color:#072d64;border-color:#b5d7f5;box-shadow:0 7px 20px rgba(8,120,237,.10)}
#budget-entry .entry-rain:hover{background:#cce5ff;border-color:#8fc1ee}
