/* Approved V02 botanical background and edge foliage. */
/* Icons belong to the title, never a left gutter beside notice text. */
.info-card { grid-template-columns: 1fr; }
.card-content h2 { display: inline-flex !important; align-items: center; gap: 9px; vertical-align: middle; }
.card-content h2 .card-icon { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; }
.status-pill { vertical-align: middle; }
#water-details { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; }
#water-details-content p { overflow-wrap: anywhere; line-height: 1.5; }
#weather-details { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; }
#weather-details .dialog-card { min-width: 0; }
#weather-details-content p { overflow-wrap: anywhere; line-height: 1.5; }
#area-dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; }
#area-dialog .dialog-card { display: grid; gap: 12px; min-width: 0; }
#area-dialog select { width: 100%; min-height: 44px; font-size: 16px; }
#area-dialog input[type="search"] { width:100%; min-height:44px; font:inherit; font-size:16px; padding:12px; border:1px solid #a9c7bf; border-radius:10px; }
.provider-summary p { margin:3px 0; font-size:inherit; }
#area-dialog p { margin: 0; }
#area-dialog small { display: block; line-height: 1.4; }
#area-dialog button:disabled { opacity: .55; cursor: wait; }
body { background-image: url('assets/site-background-web.jpg?v=bb0fd3eee252'); background-size: cover; background-position: center top; background-attachment: fixed; }
.page-shell { position: relative; isolation: isolate; }
.page-shell::before { content: none; }
.page-shell > * { position: relative; z-index: 1; }
.site-header { position: relative; z-index: 3; background: transparent; }
.brand-logo { display: block; width: min(410px, 44vw); height: auto; object-fit: contain; object-position: left center; }
.hero-panel { position: relative; overflow: hidden; }
.info-card { position: relative; overflow: visible; }
.card-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-panel::after, .hero-panel::before { content: ''; position: absolute; pointer-events: none; z-index: 1; background: url('assets/hero-foliage-web.png?v=8e1276c7bfd9') center bottom / 100% 100% no-repeat; -webkit-mask-image: radial-gradient(ellipse 92% 115% at 78% 100%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 92% 115% at 78% 100%, #000 62%, transparent 100%); }
.hero-panel::before { right: -12px; left: auto; bottom: -22px; width: 410px; height: 190px; opacity: .62; }
.hero-panel > * { position: relative; z-index: 2; }
.card-content small .source-check { border-left: 1px solid currentColor; padding-left: 8px; margin-left: 8px; }
.source-line { display: flex; flex-wrap: wrap; gap: 3px 8px; }
.source-line > span { display: inline; min-width: 0; }
.source-line .source-check { border-left: 1px solid currentColor; padding-left: 8px; margin-left: 8px; }
.hero-panel::after { display: none; }
.info-card::before, .info-card::after { content: none; }

/* Dense desktop reading pass: no oversized empty ad reservation. */
.ad-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 22px; }
.ad-slot { min-height: 58px; border: 1px dashed rgba(235,214,139,.62); border-radius: 18px; background: rgba(7,42,43,.48); display: grid; place-items: center; color: rgba(250,245,224,.7); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 901px) {
  .page-shell { width: min(100% - 48px, 1280px); max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
  .hero-panel { grid-column: 1 / -1; }
  .power-card, .water-card, .tips-card { grid-column: auto; }
  .ad-rail { grid-column: 1 / -1; margin-top: 0; /* Parent grid already provides an 18px row gap. */ }
  .site-header { min-height: 76px; padding: 14px 32px; }
  .prototype-banner { margin-bottom: 14px; }
  .hero-panel { min-height: 220px !important; padding: 18px 32px 14px !important; overflow: hidden; }
  .hero-copy { padding: 0 !important; }
  .hero-copy h1 { font-size: clamp(1.75rem, 3.2vw, 2.9rem); line-height: 1; margin: 6px 0 12px; max-width: none; white-space: nowrap; }
  .hero-copy h2 { font-size: 1.35rem; margin-bottom: 8px; }
  .hero-message { font-size: 1rem; margin-bottom: 12px; }
  .source-line { align-items: center; white-space: normal; font-size: .69rem; line-height: 1.35; }
  .source-check { border-left: 1px solid currentColor; padding-left: 10px; }
  .hero-copy .primary-button { margin-top: 8px; padding: 11px 16px; }
  .ceecee-wrap { position: absolute; top: 10px; right: 18px; width: 210px; height: 175px; padding: 0; align-items: flex-start; justify-content: flex-end; }
  .ceecee-wrap img { width: 170px; height: 170px; max-height: none; }
  .ceecee-wrap p { bottom: 2px; right: 0; font-size: 10px; }
  .info-card { min-height: 230px; padding: 18px 22px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .info-card .card-icon { flex: 0 0 auto; }
  .info-card .card-content { display: block; width: 100%; min-width: 0; }
  .info-card .card-content h2 { display: inline-block; margin-right: 8px; }
  .info-card .card-actions { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .info-card .card-actions a { text-align: left; }
  .info-card .card-actions .primary-button { width: 100%; }
  .info-card h2 { font-size: 1.8rem; }
  .info-card .card-lead { font-size: 1.05rem; margin: 6px 0; }
  .info-card p { margin: 4px 0; }
  .card-content small { display: block; font-size: .68rem; line-height: 1.35; white-space: normal; }
  .card-content small > span { display: inline; }
  .card-content small .source-check { display: inline; padding-left: 8px; margin-left: 8px; border-left: 1px solid currentColor; }
}
/* Air-quality information stays inside the approved headline and typography. */
.hero-copy #air-quality-headline{margin:4px 0;font-size:var(--mcc-card-body-desktop,11px);line-height:1.3;}
.hero-copy #air-quality-headline p{margin:2px 0;font-size:inherit;}
.hero-copy #air-quality-headline .air-quality-lead{font-size:var(--mcc-card-main-desktop,12px);font-weight:850;}
.air-quality-category{display:inline;padding:1px 4px;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone;}
@media(max-width:599px){.hero-copy #air-quality-headline{font-size:var(--mcc-card-body-phone,9px);}.hero-copy #air-quality-headline .air-quality-lead{font-size:var(--mcc-card-main-phone,10px);}}

/* Compact mobile-landscape layout: keep the overview scannable and avoid stacked desktop spacing. */
@media (min-width: 600px) and (max-width: 900px) and (orientation: landscape) {
  .hero-panel::before { right: -8px; left: auto; bottom: -14px; width: 270px; height: 125px; opacity: .56; }
  .hero-panel::after { display: none; }
  .site-header { min-height: 64px; padding: 12px 22px; flex-direction: row; align-items: center; gap: 14px; }
  .brand { gap: 8px; }
  .brand-mark { font-size: 28px; }
  .brand strong { font-size: 19px; }
  .brand-logo { width: min(260px, 72vw); }
  .brand small { font-size: 11px; }
  .area-control { flex-direction: row; align-items: center; gap: 7px; font-size: 12px; white-space: normal; min-width: 0; }
  .area-control > span:first-child { font-size: 19px; }
  .outline-button { padding: 8px 12px; font-size: 12px; }
  .page-shell { padding: 10px 16px 18px; }
  .prototype-banner { padding: 9px; font-size: 12px; border-radius: 10px; }
  .hero-panel { display: block; min-height: 0; margin-top: 12px; border-radius: 18px; }
  .hero-copy { padding: 20px 22px; }
  .hero-copy::before { content: ''; float: right; width: 150px; height: 148px; margin-left: 12px; }
  .eyebrow { font-size: 9px; margin-bottom: 7px; }
  .hero-copy h1 { font-size: 34px; margin-bottom: 9px; }
  .hero-copy h2 { font-size: 17px; margin-bottom: 7px; }
  .hero-message { font-size: 13px; margin-bottom: 9px; }
  .source-line { font-size: 10px; line-height: 1.35; }
  .hero-copy .primary-button { padding: 9px 13px; font-size: 12px; margin-top: 8px; }
  .ceecee-wrap { position: absolute; top: 10px; right: 12px; width: 150px; height: 150px; min-height: 0; padding: 0; }
  .ceecee-wrap img { width: 150px; height: 150px; max-height: none; }
  .ceecee-wrap p { display: none; }
  .info-card { grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; margin-top: 12px; border-radius: 18px; }
  .card-icon { width: 44px; height: 44px; font-size: 24px; }
  .card-content h2 { font-size: 21px; margin-right: 8px; }
  .status-pill { font-size: 11px; padding: 5px 9px; }
  .card-content p { font-size: 12px; margin: 5px 0; }
  .card-lead { font-size: 15px !important; }
  .card-content small { font-size: 10px; line-height: 1.35; }
  .card-actions { gap: 8px; }
  .card-actions a { font-size: 11px; }
  .card-actions .primary-button { padding: 10px 11px; font-size: 11px; }
  .tip-illustration { display: block; font-size: 32px; }
  .tip-illustration small { font-size: 9px; }
  footer { padding: 0 18px 14px; font-size: 9px; flex-direction: row; align-items: center; }
  .ad-rail { gap: 8px; margin-bottom: 14px; }
  .ad-slot { min-height: 42px; font-size: .6rem; }
}

/* Keep the headline compact throughout the complete portrait-tablet range. */
@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
  .site-header { min-height: 0; padding: 18px 24px; gap: 14px; }
  .site-header, .area-control, footer { align-items: flex-start; flex-direction: column; }
  .area-control { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; }
  .page-shell { width: 100%; padding: 14px 24px 24px; }
  .hero-panel, .info-card { grid-template-columns: 1fr; }
  .hero-panel { display: block; min-height: 0; margin-top: 12px; }
  .hero-copy { padding: 22px 24px; }
  .hero-copy::before { content: ''; float: right; width: 162px; height: 158px; margin-left: 12px; }
  .hero-copy h1 { font-size: clamp(28px, 4.5vw, 38px); white-space: normal; margin-bottom: 12px; }
  .hero-copy h2 { font-size: 19px; line-height: 1.25; }
  .hero-message { font-size: 16px; margin-bottom: 12px; }
  .source-line { font-size: 11px; line-height: 1.4; }
  .ceecee-wrap { position: absolute; top: 12px; right: 14px; width: 162px; height: 162px; min-height: 0; padding: 0; }
  .ceecee-wrap img { width: 162px; height: 162px; max-height: none; }
  .ceecee-wrap p { display: none; }
  .hero-panel::before { width: 250px; height: 114px; right: -14px; bottom: -20px; opacity: .45; }
  .info-card { gap: 12px; padding: 20px 22px; margin-top: 14px; }
  .card-actions { align-items: stretch; }
  .card-actions a { text-align: left; }
  .tip-illustration { display: none; }
  .ad-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

/* Portrait phones: keep the hero and each event group compact enough to scan. */
@media (max-width: 599px) {
  .hero-panel::before { right: -18px; left: auto; bottom: -16px; width: 190px; height: 86px; opacity: .42; }
  .hero-panel::after { display: none; }
  .site-header { min-height: 0; padding: 16px 18px; gap: 12px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 11px; }
  .area-control { width: 100%; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; font-size: 13px; }
  .area-control > span:first-child { font-size: 20px; }
  .outline-button { padding: 8px 11px; font-size: 11px; }
  .page-shell { padding: 10px 12px 18px; }
  .prototype-banner { padding: 10px 8px; font-size: 11px; line-height: 1.4; }
  .hero-panel { display: block; min-height: 0; margin-top: 12px; border-radius: 18px; position: relative; overflow: hidden; }
  .hero-copy { padding: 20px 18px 24px; }
  .hero-copy::before { content: ''; float: right; width: 106px; height: 114px; margin-left: 10px; }
  .eyebrow { font-size: 8px; letter-spacing: .08em; margin-bottom: 8px; }
  .hero-copy h1 { font-size: 28px; line-height: 1; margin-bottom: 10px; }
  .hero-copy h2 { font-size: 15px; line-height: 1.2; margin-bottom: 8px; }
  .hero-message { font-size: 12px; line-height: 1.25; margin-bottom: 10px; }
  .source-line { display: block; font-size: 10px; line-height: 1.4; }
  .source-line > span { display: inline; }
  .source-line .source-check { display: inline; border-left: 0; padding-left: 0; margin-left: 0; }
  .source-line .source-check::before { content: ' | '; white-space: pre; }
  .hero-copy .primary-button { padding: 9px 10px; font-size: 10px; white-space: nowrap; }
  .ceecee-wrap { position: absolute; top: 10px; right: 7px; bottom: auto; display: block; width: 112px; height: 112px; padding: 0; min-height: 0; }
  .ceecee-wrap:before { width: 125px; height: 125px; filter: blur(20px); }
  .ceecee-wrap img { display: block; width: 112px; height: 112px; object-fit: contain; }
  .ceecee-wrap p { display: none; }
  .ad-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 16px 0 14px; }
  .ad-slot { min-height: 38px; border-radius: 12px; font-size: .48rem; letter-spacing: .06em; }
  .info-card { grid-template-columns: 1fr; gap: 8px 12px; padding: 17px 16px; margin-top: 12px; border-radius: 18px; }
  .card-icon { width: 42px; height: 42px; font-size: 23px; }
  .card-content h2 { font-size: 23px; margin-right: 5px; }
  .status-pill { font-size: 10px; padding: 5px 8px; }
  .card-content p { font-size: 13px; line-height: 1.28; margin: 6px 0; }
  .card-lead { font-size: 16px !important; line-height: 1.2 !important; }
  .card-content small { display: block; font-size: 10px; line-height: 1.4; }
  .card-content small > span { display: inline; }
  .card-content small .source-check { display: inline; border-left: 0; padding-left: 0; margin-left: 0; }
  .card-content small .source-check::before { content: ' | '; white-space: pre; }
  .card-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; }
  .card-actions a { font-size: 10px; line-height: 1.15; text-align: left; }
  .card-actions .primary-button { flex: 1; padding: 10px 9px; font-size: 10px; white-space: nowrap; }
  .tip-illustration { display: none; }
  footer { display: block; padding: 0 16px 14px; font-size: 9px; line-height: 1.5; }
  footer span { display: block; }
}

/* Clip decoration without creating a scroll container on dialog focus return. */
.hero-panel { overflow: clip !important; }

/* Move the preposition and full location together; oversized locations wrap safely. */
.location-phrase { display: inline-block; max-width: 100%; vertical-align: top; overflow-wrap: anywhere; }

/* Keep dates and clock times as units across all card widths. */
.readable-unit { display: inline-block; max-width: 100%; vertical-align: baseline; overflow-wrap: normal; }

/* Greeting stays above the wings, clear of the decorative foliage. */
.ceecee-wrap p { display:block; top:0; bottom:auto; right:0; width:170px; color:#164d36; font-size:12px; line-height:1.35; text-align:center; z-index:3; }
.ceecee-wrap p span { display:block; }
.ceecee-wrap img { margin-top:36px; }
@media(min-width:901px){.ceecee-wrap { height:211px; }.hero-panel { min-height:244px!important; }}
@media(min-width:600px) and (max-width:900px){.ceecee-wrap { height:198px; }.ceecee-wrap p { width:162px; }}
@media(max-width:599px){.ceecee-wrap { height:148px; }.ceecee-wrap p { width:112px; font-size:10px; }.hero-copy::before { height:150px; }}

/* Compact greeting belongs beside the head, just above the left wing. */
.ceecee-wrap p { top:28px; right:105px; width:110px; font-size:8px; line-height:1.3; }
.ceecee-wrap img { margin-top:0; }
@media(min-width:901px){.ceecee-wrap { height:175px; }.hero-panel { min-height:220px!important; }}
@media(min-width:600px) and (max-width:900px){.ceecee-wrap { height:162px; }.ceecee-wrap p { right:100px; width:105px; }}
@media(max-width:599px){.ceecee-wrap { height:112px; }.ceecee-wrap p { top:16px; right:65px; width:90px; font-size:7px; }.hero-copy::before { height:114px; }}

/* Improve supplied yellow logo contrast over the continuous background. */
.brand-logo { filter: drop-shadow(0 2px 2px rgba(0,20,18,.95)) drop-shadow(0 0 5px rgba(0,20,18,.75)); }

/* Landing-page feathered compositing: blur the masked duplicate, never the original. */
.cc-effects { position:absolute;right:0;top:0;width:170px;height:170px;pointer-events:none; }
.cc-tail { position:absolute;left:8%;top:59%;width:41%;height:37%;border-radius:50%;background:radial-gradient(ellipse,#fff9d9 0,#ffe46dcc 28%,#f7bd4266 52%,transparent 76%);filter:blur(5px);animation:cc-tail 4s ease-in-out infinite; }
.cc-antennae { position:absolute;inset:0;background:radial-gradient(circle at 65% 6%,#fff9db 0,#ffdb70bb 3%,transparent 10%),radial-gradient(circle at 90% 16%,#fff9db 0,#ffdb70bb 3%,transparent 9%);filter:blur(2px);animation:cc-breathe 3.8s ease-in-out infinite; }
.cc-feather { position:absolute;inset:0;filter:blur(1.1px);mix-blend-mode:screen; }.cc-feather.lower { filter:blur(1.4px); }
.cc-wing { position:absolute;inset:0;background:url('assets/ceecee-approved-web.png?v=229aaa7dc64f') center/contain no-repeat;filter:brightness(1.45) saturate(1.2);transform-origin:42% 47%;animation:cc-flutter 1.8s ease-in-out infinite; }
.cc-wing.top { clip-path:polygon(7% 40%,13% 36%,27% 35%,40% 38%,43% 44%,32% 49%,10% 49%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 28%,#000e 32%,#0006 39%,transparent 44%);mask-image:linear-gradient(90deg,#000 0%,#000 28%,#000e 32%,#0006 39%,transparent 44%);opacity:.58; }
.cc-wing.lower { clip-path:polygon(13% 69%,16% 63%,24% 57%,41% 50%,44% 55%,32% 72%,20% 81%,16% 80%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 28%,#000e 32%,#0006 39%,transparent 44%);mask-image:linear-gradient(90deg,#000 0%,#000 28%,#000e 32%,#0006 39%,transparent 44%);opacity:.32;transform-origin:43% 54%;animation-delay:-.18s; }
.cc-spark { position:absolute;width:3px;height:3px;background:#fff9ce;border-radius:50%;box-shadow:0 0 3px 1px #b78228bb,0 0 8px 3px #f4c84a99;animation:cc-spark 8s ease-in-out infinite; }
.cc-spark.s1{left:3%;top:24%;}.cc-spark.s2{left:12%;top:64%;animation-delay:-3s;}.cc-spark.s3{left:42%;top:95%;animation-delay:-5s;}.cc-spark.s4{left:96%;top:36%;animation-delay:-2s;}.cc-spark.s5{left:85%;top:80%;animation-delay:-6s;}
@keyframes cc-flutter{0%,100%{transform:rotate(0) scaleY(1);opacity:.38}12%{transform:rotate(-2deg) scaleY(.94);opacity:.82}25%{transform:rotate(1deg) scaleY(1.03);opacity:.45}35%{transform:rotate(-1.4deg) scaleY(.96);opacity:.78}52%{transform:rotate(0) scaleY(1);opacity:.4}}
@keyframes cc-tail{0%,100%{opacity:.25;transform:scale(.9)}50%{opacity:.95;transform:scale(1.1)}}
@keyframes cc-breathe{0%,100%{opacity:.3}50%{opacity:1}}
@keyframes cc-spark{0%,100%{opacity:.2;transform:translateY(0)}35%,65%{opacity:1}80%{opacity:.3;transform:translateY(-8px)}}
@media(min-width:600px) and (max-width:900px){.cc-effects{width:162px;height:162px;}}
@media(max-width:599px){.cc-effects{width:112px;height:112px;}}
html[data-motion="off"] .cc-effects *{animation:none!important;}.cc-effects .cc-spark{animation-play-state:running;}
@media(prefers-reduced-motion:reduce){.cc-effects *{animation:none!important;}.cc-spark{display:none;}}



/* Feather the artwork boundary; rectangular source alpha must not cast a box shadow. */
.ceecee-wrap img { filter:none; -webkit-mask-composite:source-in; mask-composite:intersect; -webkit-mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent),linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent),linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
@media(max-width:599px){.ceecee-wrap p{font-size:6px;width:96px;right:65px;line-height:1.25;}}


/* Compact phone actions with a larger invisible touch area. */
@media(max-width:599px){
.hero-copy .primary-button[data-action="updates"],#power .primary-button[data-action="power"],#water .primary-button[data-action="water"],#local-bulletin .primary-button[data-action="bulletin"]{position:relative;min-height:0!important;padding:4px 10px!important;border-radius:10px;box-shadow:0 4px 10px #075e5a22;}
.hero-copy .primary-button[data-action="updates"]::after,#power .primary-button[data-action="power"]::after,#water .primary-button[data-action="water"]::after,#local-bulletin .primary-button[data-action="bulletin"]::after{content:"";position:absolute;inset:-16px 0;}
}


/* Compact desktop and tablet card actions, matching the approved phone treatment. */
@media(min-width:600px){
.hero-copy .primary-button[data-action="updates"],#power .primary-button[data-action="power"],#water .primary-button[data-action="water"],#local-bulletin .primary-button[data-action="bulletin"]{position:relative;min-height:0!important;padding:6px 12px!important;border-radius:10px;box-shadow:0 4px 10px #075e5a22;}
.hero-copy .primary-button[data-action="updates"]::after,#power .primary-button[data-action="power"]::after,#water .primary-button[data-action="water"]::after,#local-bulletin .primary-button[data-action="bulletin"]::after{content:"";position:absolute;inset:-10px 0;}
}

/* One quiet greeting above the wing. */
.ceecee-wrap p{font-weight:400;color:#45615c;white-space:nowrap;}


#power-details{max-width:min(92vw,720px);max-height:88vh;overflow:auto;}#power-details .dialog-card{min-width:0;}#power-details li{margin:8px 0;line-height:1.5;}#power-details h4{margin:18px 0 8px;}#power-details details{margin-top:20px;}#power-details summary{cursor:pointer;font-weight:700;}

.power-map-example{margin-top:18px;}.power-map-example summary{font-weight:700;cursor:pointer;}.power-map-example figure{margin:12px 0;}.power-map-example img{display:block;width:100%;height:auto;border-radius:10px;}.power-map-example figcaption{font-size:12px;line-height:1.4;margin-top:8px;}

/* Review placement for the national climate card; utility order stays intact. */
.page-shell > .enso-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 22px 26px; }
.enso-card .enso-kicker { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #496344; margin: 0 0 8px; }
.enso-card .enso-state { display: inline-block; background: #edf1df; color: #354b26; border-radius: 20px; padding: 5px 10px; font-size: 12px; margin: 6px 0 10px; }
.enso-card #enso-warning { color: #79421d; font-weight: 600; }
.enso-card .enso-scope { font-size: 12px; line-height: 1.5; color: #52604c; }
.enso-card #enso-crosscheck { font-size: 12px; }
.enso-card .card-actions { align-self: center; }
@media(max-width: 700px) { .page-shell > .enso-card { grid-template-columns: 1fr; padding: 18px; gap: 10px; } }

/* October 7 owner order: headline, Local Bulletin, Power, Water, advertisements. */
.headline-tip { border-top:1px solid #49634430; padding-top:4px; margin:4px 0; }
.headline-tip .tip-label { font-size:11px;font-weight:600;margin:0 0 4px;color:#456044; }
.headline-tip #tips-lead { margin:0 0 3px;font-size:14px;line-height:1.45; }
.headline-tip #tip-detail { font-size:12px;line-height:1.4; }
.bulletin-card .card-content h2 { margin-bottom:8px; }
.bulletin-entry { padding:12px 0;border-bottom:0; }
.bulletin-entry:last-child { border-bottom:0;padding-bottom:0; }
.bulletin-entry h3 { font-size:15px;line-height:1.45;margin:4px 0 7px; }
.bulletin-entry p { font-size:13px;line-height:1.5;margin:5px 0; }
.bulletin-entry small { font-size:11px;display:block;line-height:1.45; }
.bulletin-links { display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:8px;font-size:12px; }
#enso .enso-state { padding:3px 8px;background:#edf1df;border-radius:10px;display:inline-block;font-size:11px; }
#enso[data-level="watch"] .enso-state {background:#fff0c9;color:#70511a;}
#enso-warning {color:#725122;}
#bulletin-details {width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;}
#bulletin-details .dialog-card {min-width:0;}
#bulletin-details-content {display:grid;gap:10px;}
#bulletin-details .dialog-card>.primary-button {width:auto;justify-self:start;min-height:0;padding:6px 16px;border-radius:10px;font-size:14px;}
@media(min-width:901px) {.page-shell {grid-template-columns:repeat(2,minmax(0,1fr));}.page-shell>.bulletin-card {grid-column:1/-1;}.page-shell>.power-card,.page-shell>.water-card {grid-column:auto;} }

/* October 7 reviewed corrections: three desktop cards, readable metadata, calm levels. */
@media(min-width:901px){.page-shell{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;}.page-shell>.bulletin-card,.page-shell>.power-card,.page-shell>.water-card{grid-column:auto;align-self:stretch;}}
.bulletin-card,.power-card,.water-card{align-content:start;}

.hero-panel .source-line,.info-card .card-content small,.bulletin-entry small,#enso-checked,#earthquake-checked{font-size:6px!important;line-height:1.5!important;}
#local-bulletin .primary-button{justify-self:start;align-self:start;}
.bulletin-entry[data-level="amber"]{border-left:3px solid #b68120;padding-left:10px;background:#fff6df;}
.bulletin-entry[data-level="red"]{border-left:3px solid #b13b36;padding-left:10px;background:#fff0ed;}
.bulletin-entry[data-level="neutral"]{border-left:0;}

/* Restore approved theme spacing; equal row height without a fixed minimum. */
@media(min-width:901px){.page-shell>.info-card{min-height:0;}.page-shell>.info-card .card-actions{margin-top:0;}}

/* Owner correction: compact consecutive headline guidance and source lines. */
.hero-copy .hero-message{margin:4px 0;}
.hero-copy .headline-tip{margin:4px 0;padding-top:4px;}
.hero-copy .headline-tip .tip-label,.hero-copy .headline-tip #tips-lead{margin:0 0 2px;}
.hero-copy .headline-tip #tip-detail{display:block;}
.hero-copy .source-line{margin:4px 0;}

/* Owner correction: compact spacing inside bulletin and utility cards. */
.page-shell>.info-card .card-content p{margin:4px 0;}
.page-shell>.info-card .card-content small{display:block;margin:4px 0;}
.page-shell>.info-card .card-actions{margin-top:4px;gap:4px;}
.page-shell>.info-card .bulletin-entry{padding:4px 0;}
.page-shell>.info-card .bulletin-entry h3{margin:4px 0;}

/* Owner October 8: no divider; tip follows forecast guidance closely. */
.hero-copy .hero-message{margin-bottom:2px;}
.hero-copy .headline-tip{border-top:0;padding-top:0;margin-top:0;}

/* Owner October 8: source and original advisory stay together. */
.page-shell>.info-card{gap:4px;}
.page-shell>.info-card .card-actions{margin-top:0;}
.page-shell>.info-card .card-content small:last-child{margin-bottom:0;}

/* Keep Water source and action adjacent; no extra row alignment space. */
.page-shell>#water{gap:2px;align-items:start;}
.page-shell>#water .card-actions{margin-top:0;align-self:start;}

/* Owner October 8: forecast advice together; sources in their own compact group. */
.hero-copy #forecast-headline{margin-bottom:0;}
.hero-copy #forecast-message{margin-top:2px;}
.hero-copy .weather-sources{margin-top:8px;margin-bottom:4px;}
.hero-copy .weather-sources .source-line{margin:0 0 2px;}

/* Owner October 8: consistent compact information/source footers. */
.hero-copy .weather-sources .source-line{margin:0;line-height:1.25!important;}
.page-shell>.info-card .card-content small{margin:6px 0 0;line-height:1.25!important;}
.page-shell>#water #water-schedule{font-size:6px!important;line-height:1.25!important;margin:6px 0 0;}
.page-shell>#water #water-schedule:not([hidden])+small{margin-top:0;}
.page-shell>.info-card .card-actions{margin-top:0;gap:2px;}

/* Owner October 8: Bulletin title/icon and lead spacing match utility cards. */
.bulletin-card .card-content h2{margin-bottom:0;}
#local-bulletin #bulletin-summary{padding-top:0;}
#local-bulletin .card-icon{background:#dfe8c9;color:#496344;}

/* Owner October 8: advisory heading and scope message belong together. */
#local-bulletin #bulletin-heading{margin-bottom:0;line-height:1.2;}
#local-bulletin #bulletin-line{margin-top:0;}
#grid-unknown{margin:4px 0 0;font-size:var(--mcc-card-body-desktop,11px);line-height:1.3;}
#grid-unknown .status-pill{background:#E3E7E4;color:#001800;vertical-align:baseline;}
@media(max-width:767px){#grid-unknown{font-size:var(--mcc-card-body-phone,9px);}}

/* Owner October 8: source/action proximity and primary Power action first. */
#local-bulletin #bulletin-summary{padding-bottom:0;}
.page-shell>#local-bulletin{gap:2px;}
#power .card-actions{flex-direction:row;align-items:center;flex-wrap:nowrap;}
#power .card-actions .primary-button{flex:0 0 auto;width:auto;}
#power .card-actions a{font-size:6px!important;line-height:1.25;text-align:left;}

/* Owner October 8: sources are the final, left-aligned footer on every card. */
.hero-copy .weather-sources{margin-top:4px;margin-bottom:0;text-align:left;}
.page-shell>.info-card>.card-source-footer{display:block;font-size:6px!important;line-height:1.25!important;margin:2px 0 0;text-align:left;align-self:start;justify-self:start;}
.page-shell>.info-card .card-actions{align-items:flex-start;justify-content:flex-start;justify-self:start;}
#power .card-actions{align-items:center;}
.page-shell>.info-card .card-actions .primary-button{width:auto;flex:0 0 auto;}
.page-shell>.info-card .card-content h2{justify-content:flex-start;}
.page-shell>#water #water-schedule{font-size:8.5px!important;line-height:1.25!important;margin:4px 0;}
@media(max-width:599px){.page-shell>#water #water-schedule{font-size:7px!important;}}

/* Owner October 8: extra daily tip follows the weather details action. */
.hero-copy>.primary-button+.headline-tip{margin-top:4px;}

/* Owner October 8: bold segment label, closely paired regular tip lines. */
.hero-copy .headline-tip .tip-label{font-weight:700;}
.hero-copy .headline-tip #tips-lead{font-weight:400;margin-bottom:0;}
.hero-copy .headline-tip #tip-detail{font-weight:400;margin-top:0;}

/* Owner October 8: forecast and utility/Bulletin main messages share emphasis. */
.hero-copy #forecast-headline{font-size:10.5px!important;font-weight:850;line-height:1.25!important;}
@media(max-width:599px){.hero-copy #forecast-headline{font-size:8.5px!important;}}

/* Severity belongs to badges only; report headings remain black. */
#bulletin-heading{color:#000000!important;}
.bulletin-entry[data-level]{border-left:0;background:transparent;padding-left:0;}

/* October 8: one compact notice layout; owner-approved outer card theme retained. */
:is(#weather-details,#power-details,#water-details,#bulletin-details) .dialog-card{position:relative;box-sizing:border-box;width:min(92vw,720px);min-width:0;max-height:88vh;overflow:auto;padding:16px;display:block;font-size:14.5px;line-height:1.4}
:is(#weather-details,#power-details,#water-details,#bulletin-details) .dialog-close{position:absolute;top:6px;right:8px;margin:0;padding:4px 8px;font-size:24px;line-height:1;background:transparent;border:0}
:is(#weather-details,#power-details,#water-details,#bulletin-details) h2{margin:0 32px 8px 0;font-size:20px;line-height:1.2}
:is(#weather-details,#power-details,#water-details,#bulletin-details) h3{font-size:17px;margin:10px 0 6px}
:is(#weather-details,#power-details,#water-details,#bulletin-details) p{margin:6px 0}
:is(#weather-details,#power-details,#water-details,#bulletin-details) .primary-button{margin-top:10px}
.notice-record{margin:10px 0 12px;overflow-wrap:anywhere}.notice-record p{margin:6px 0}.notice-record .status-pill{white-space:normal;font-size:12px;line-height:1.4}.notice-record mark{background:#fff1a8;color:#10212b;font-weight:700;border-radius:3px;padding:0 2px}.notice-record figure{margin:8px 0}.notice-record img{display:block;max-width:100%;height:auto}.notice-record figcaption{font-size:12px;margin-top:4px}.notice-record details{margin:6px 0}.notice-record summary{font-size:12px;cursor:pointer}.ceecee-popup-tip{margin:8px 0}.ceecee-popup-tip p{margin:2px 0!important}.notice-card-fields{font-size:inherit;line-height:1.4}.notice-card-fields p{margin:3px 0;font-size:inherit}.notice-card-fields details,.notice-card-fields figure{display:none}

:is(#weather-details,#power-details,#water-details,#bulletin-details){width:min(94vw,720px);max-width:calc(100% - 20px);overflow:hidden}
:is(#weather-details,#power-details,#water-details,#bulletin-details) .dialog-card{width:100%;max-width:100%;overflow-x:hidden}
:is(#weather-details,#power-details,#water-details,#bulletin-details) p{font-size:14.5px;line-height:1.4}

:is(#weather-details-content,#power-details-content,#water-details-content,#bulletin-details-content){display:block;gap:0}

.notice-record .reference-label{background:transparent;color:inherit;font-weight:400;padding:0;}

/* Shared utility card fields match the approved Busay view in every scope. */
.page-shell>.info-card .notice-card-fields p,.page-shell>.info-card .provider-note{font-size:10.5px!important;line-height:1.25!important;margin:3px 0;}
@media(max-width:599px){.page-shell>.info-card .notice-card-fields p,.page-shell>.info-card .provider-note{font-size:8.5px!important;}}
.provider-notes{margin:0;padding:0;}

/* Owner October 12: shared card roles; titles, actions and source sizes retained. */
.page-shell .hero-copy #forecast-headline,
.page-shell>:is(#local-bulletin,#power,#water) .card-content .card-lead{font-size:var(--mcc-card-main-desktop,12px)!important;}
.page-shell .hero-copy #forecast-message,
.page-shell .hero-copy .notice-card-fields p,
.page-shell .hero-copy .headline-tip .tip-label,
.page-shell .hero-copy .headline-tip #tips-lead,
.page-shell .hero-copy .headline-tip #tip-detail,
.page-shell>.info-card .notice-card-fields p,
.page-shell>.info-card .provider-note,
.page-shell>#water #water-schedule{font-size:var(--mcc-card-body-desktop,11px)!important;}
.hero-copy .weather-sources .source-line{display:block;gap:0;}
@media(max-width:599px){
 .page-shell .hero-copy #forecast-headline,
 .page-shell>:is(#local-bulletin,#power,#water) .card-content .card-lead{font-size:var(--mcc-card-main-phone,10px)!important;}
 .page-shell .hero-copy #forecast-message,
 .page-shell .hero-copy .notice-card-fields p,
 .page-shell .hero-copy .headline-tip .tip-label,
 .page-shell .hero-copy .headline-tip #tips-lead,
 .page-shell .hero-copy .headline-tip #tip-detail,
 .page-shell>.info-card .notice-card-fields p,
 .page-shell>.info-card .provider-note,
 .page-shell>#water #water-schedule{font-size:var(--mcc-card-body-phone,9px)!important;}
 .page-shell .status-pill{font-size:var(--mcc-badge-phone,6.5px)!important;}
}

#hazard-headline,#hazard-status{font-size:var(--mcc-card-body-desktop,11px);line-height:1.3;margin:3px 0;}
#hazard-headline p,#hazard-status p{font-size:inherit;margin:1px 0;}
#hazard-headline .hazard-lead{font-size:var(--mcc-card-main-desktop,12px);font-weight:850;}
.hazard-level{display:inline;padding:1px 4px;border-radius:4px;font-size:7px;}
@media(max-width:599px){#hazard-headline,#hazard-status{font-size:var(--mcc-card-body-phone,9px);}#hazard-headline .hazard-lead{font-size:var(--mcc-card-main-phone,10px);}.hazard-level{font-size:6.5px;}}
