/* Demo 08: measured CG crop, true message dock, fitted forecast views. */
.weather-app{height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.weather-app>.station-card,.weather-app>.products,.weather-app>.gm-product-banner,.weather-app>.mode-banner{flex-shrink:0}.weather-app>.map-panel{flex:1 1 0!important;min-height:100px!important;height:auto!important;margin-bottom:0!important;overflow:hidden}.weather-app>.gm-dock{position:relative;flex:0 0 auto;min-height:0;z-index:3300;padding:0 8px 5px;background:#dcebf4}.gm-dock:has(.gm-bar[hidden]){padding:0}.weather-app .gm-dock>.gm-web-bar,.weather-app.gm-has-message .gm-dock>.gm-web-bar{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;margin:0!important;height:58px}.gm-bar.gm-compact{grid-template-columns:174px minmax(0,1fr) 105px}.gm-bar .gm-meta{display:none!important}.gm-focus-button{border:0;border-left:1px solid #64caff;background:#e8f7ff;color:#0d3c6b;font:700 12px Lato,Arial;cursor:pointer;padding:8px;line-height:1.2}.gm-focus-button:focus-visible{outline:3px solid #ffcf49;outline-offset:-4px}.gm-focus-button:hover{background:white}
/* CG source is 1560x145 with 128 transparent pixels before its red tab and 19 vertical padding pixels. Crop with background positioning; don't place title over that padding. */
.gm-product-banner{gap:0;padding:0 12px 0 10px}.gm-product-banner>img{width:105px;margin-right:10px}.gm-product-banner:before{left:125px;right:0;background-position:right center;background-size:108.94% 136.8%;background-repeat:no-repeat}.gm-product-banner>strong{padding-left:30px;line-height:1.1}.gm-program-product{padding-left:30px;gap:0}.gm-program-product>img{width:280px;margin-right:20px}.gm-program-product:before{left:330px}.gm-program-product>strong{padding-left:35px}.gm-product-banner>span{font-size:8px}
/* Card always lives in the map's remaining height, never under the dock. */
.weather-app .forecast-card{display:flex;flex-direction:column;top:8px!important;bottom:8px!important;max-height:calc(100% - 16px)!important;height:auto!important;overflow:hidden!important;overscroll-behavior:none}.forecast-card>.sheet-handle,.forecast-card>#mapCardBack{display:none!important}.forecast-card>.city-strip{position:relative!important;top:auto!important;flex:none;min-height:48px;height:48px}.forecast-card>.hub-tabs{position:static!important;top:auto!important;flex:none;height:34px;min-height:34px}.forecast-card .hub-tabs>button{font-size:12px}.forecast-card>#forecastPanel{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.forecast-card>#forecastPanel[hidden]{display:none!important}.forecast-card #forecastPanel>.weather-priority,.forecast-card #forecastPanel>.observed-metrics,.forecast-card #forecastPanel>.observation-info,.forecast-card #forecastPanel>.gm-more-conditions,.forecast-card #forecastPanel>.lead-rotation,.forecast-card #forecastPanel>.forecast-nav,.forecast-card #forecastPanel>.forecast-body{display:none!important}.forecast-card>#otherPanel,.forecast-card>#videoPanel{min-height:0;overflow:auto}.forecast-card[data-sheet=map]{height:48px!important;top:auto!important;min-height:48px;max-height:48px!important}.forecast-card[data-sheet=map]>.hub-tabs,.forecast-card[data-sheet=map]>#forecastPanel,.forecast-card[data-sheet=map]>#otherPanel,.forecast-card[data-sheet=map]>#videoPanel{display:none!important}
.gm-forecast-ui{display:flex;flex-direction:column;gap:7px;min-height:0;flex:1;padding:9px;background:#e8f0f6;font-family:Lato,Arial;color:#123a64;overflow:hidden}.gm-right-now{display:flex;align-items:center;gap:10px;background:linear-gradient(110deg,#064184,#0c61ae);padding:10px;color:white;border-radius:4px;flex:none}.gm-right-now>div{flex:1;min-width:0}.gm-right-now small{display:block;font-size:9px;letter-spacing:.8px}.gm-right-now strong{font-size:16px}.gm-right-now .gm-temperature{font-size:32px;min-width:65px}.gm-right-now .gm-weather-icon{width:48px;height:48px}.gm-now-wind{font-size:12px;max-width:85px}.gm-temperature{font:700 29px/1.2 Lato,Arial;display:inline-flex;justify-content:center;align-items:center;border-radius:4px;background:linear-gradient(#fff,#dbeaf6);color:#073265;padding:4px 7px;border:1px solid #bfd8e9;text-shadow:none;box-shadow:0 1px 2px #15395933;white-space:nowrap}.gm-weather-icon{width:50px;height:50px;object-fit:contain}.gm-no-icon{display:inline-flex;align-items:center;justify-content:center;min-width:36px;color:inherit}.gm-glance-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-height:0}.gm-glance-tile{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 5px;background:linear-gradient(#1769b7,#073c80);color:white;border-radius:5px;min-width:0}.gm-glance-tile>b{font-size:12px}.gm-glance-tile .gm-temperature{font-size:30px}.gm-glance-tile>small{font-size:10px;line-height:1.15;text-align:center}.gm-glance-tile .gm-weather-icon{width:58px;height:54px}.gm-forecast-actions,.gm-page-actions{display:flex;gap:6px;flex:none}.gm-forecast-actions button,.gm-page-actions button,.gm-highlight-entry{flex:1;background:#12579c;color:#fff;border:1px solid #3678ad;border-radius:4px;min-height:33px;font:700 12px Lato,Arial;padding:6px;cursor:pointer}.gm-forecast-actions [aria-pressed=false]{background:#e9f2f9;color:#19476f}.gm-page-actions{justify-content:space-between;align-items:center}.gm-page-actions>small{text-align:center;font-size:9px}.gm-page-actions button{flex:0 1 100px}.gm-page-actions button:disabled{opacity:.45;cursor:default}.gm-highlight-entry{background:#f8fbff;color:#124b7b;flex:none}.gm-forecast-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}.gm-forecast-heading>strong{font-size:15px}.gm-forecast-heading>button{border:1px solid #9bb5cb;background:white;color:#164976;border-radius:3px;padding:6px;font:700 11px Lato,Arial}.gm-daily-list,.gm-hour-list{display:grid;gap:4px;flex:1;min-height:0}.gm-daily-list{grid-template-rows:repeat(7,minmax(0,1fr))}.gm-hour-list{grid-template-rows:repeat(3,minmax(0,1fr))}.gm-daily-row,.gm-hour-row{display:grid;align-items:center;gap:7px;background:linear-gradient(110deg,#1763ae,#084481);color:white;min-width:0;min-height:0;padding:5px 8px;border-radius:3px;overflow:hidden}.gm-daily-row{grid-template-columns:44px 44px minmax(45px,1fr) minmax(38px,.8fr) minmax(58px,1fr)}.gm-hour-row{grid-template-columns:57px 50px 70px minmax(0,1fr)}.gm-daily-row.weekend{background:linear-gradient(110deg,#267abd,#0e559d)}.gm-period-time{font-size:17px;white-space:nowrap}.gm-daily-row .gm-temperature{font-size:24px;padding:2px 4px}.gm-daily-row .gm-weather-icon{width:43px;height:38px;max-height:100%}.gm-low{font:700 23px Lato,Arial;color:#fff;text-align:center;white-space:nowrap}.gm-period-info{display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:1.2}.gm-period-info>small{font-size:11px}.gm-hour-row .gm-temperature{font-size:31px}.gm-hour-row .gm-period-time{font-size:17px}.gm-forecast-source{font:400 8px/1.3 Lato,Arial;text-align:left;border:0;background:transparent;color:#375d7d;padding:1px;cursor:pointer;flex:none;max-height:30px;overflow:hidden}.gm-source-status{display:block;font:400 10px/1.3 Lato,Arial;color:#365572;margin:2px 0;flex:none}.gm-daily-key{font:700 9px Lato,Arial;flex:none}.gm-quick-home{display:none}.gm-quick-home[hidden]{display:none!important}.gm-highlights-nav{min-width:80px}.gm-ranking-list{display:grid;gap:6px;margin:12px 0}.gm-ranking-list>button{font:700 14px Lato,Arial;border:1px solid #9dbad2;padding:9px;text-align:left;background:#f7fbff;color:#144a79;cursor:pointer}.gm-ranking-list small{display:block;font:400 10px Lato,Arial;margin-top:4px}.gm-rank-pin{display:block;background:#073e79e8;border:1px solid #86d9ff;padding:5px;color:white;font:700 12px Lato,Arial;white-space:nowrap;border-radius:3px}
.gm-featured{outline:1px solid #f5d764!important;outline-offset:-2px;animation:gmFeatured 9s ease-in-out infinite!important}.gm-message-entrance{position:absolute;inset:0;z-index:5000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:linear-gradient(#062857c9,#071f4de8),url('/gm-demo-16/gm/assets/background.jpg') center/cover;font-family:Lato,Arial;color:white;text-align:center;animation:gmEntranceIn .25s ease-out}.gm-message-entrance>img{width:min(300px,38%);height:auto;object-fit:contain}.gm-message-entrance>h1{font:700 clamp(24px,5vw,72px)/1.08 Lato,Arial;margin:0 7%;max-width:85%}.gm-message-entrance>button{font:700 16px Lato,Arial;color:#123b68;background:#f3faff;border:1px solid #a9cfe8;border-radius:4px;padding:11px 20px}.gm-message-entrance>.gm-dismiss-slate{font-size:11px;background:transparent;color:#e3f3ff;border:0;padding:4px}.gm-theme-winter{background-color:#1d4d78}.gm-theme-flooding{background-color:#143e60}.gm-theme-severe,.gm-theme-tornado{border-top:5px solid #c52138}.gm-tv-seven{position:absolute;inset:0;z-index:860;background:#10518d url('/gm-demo-16/gm/assets/background.jpg') center/cover;font-family:Lato,Arial;padding:30px 45px 115px;display:flex;flex-direction:column;gap:15px;color:#fff}.gm-tv-board-title{display:flex;align-items:center;background:#edf4f9 url('/gm-demo-16/gm/assets/cg.png') right center/108.94% 136.8%;padding:6px 20px;gap:28px;min-height:100px;color:#111;font:700 44px Lato,Arial}.gm-tv-board-title img{width:230px;height:92px;object-fit:contain}.gm-tv-board-title strong{font-weight:700}.gm-tv-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;flex:1;min-height:0}.gm-tv-column{display:flex;flex-direction:column;align-items:center;position:relative;background:linear-gradient(#0047a0,#003879);min-width:0}.gm-tv-column>b{width:100%;text-align:center;color:#101923;background:linear-gradient(white,#dce7f2);padding:4px;font-size:34px}.gm-tv-column.weekend>b{background:#cb170e;color:white}.gm-tv-column>img{width:100%;max-height:170px;object-fit:contain;margin:15px auto}.gm-tv-column>.gm-no-icon{height:170px}.gm-tv-column>small{font-size:24px}.gm-tv-high{font-size:52px;font-weight:700;text-align:center;color:#092853;background:linear-gradient(white,#c8d9eb);width:100%;margin-top:auto;padding:3px}.gm-tv-low{font-size:46px;font-weight:700;background:#053275;color:white;align-self:flex-end;width:75%;text-align:center;padding:3px}.gm-tv-seven>.gm-source-status{color:#eef6ff;font-size:15px}.gm-tv-seven~.gm-program-bar{z-index:890}
@keyframes gmFeatured{0%,100%{box-shadow:0 0 3px #ffdc6855}50%{box-shadow:0 0 12px #ffdc6899}}@keyframes gmEntranceIn{from{opacity:.1}to{opacity:1}}
@media(max-width:700px){.weather-app>.map-panel{min-height:80px!important}.gm-product-banner:before{left:88px}.gm-product-banner>img{width:69px;margin-right:11px}.gm-product-banner>strong{padding-left:12px;font-size:17px}.gm-dock>.gm-web-bar.gm-compact,.weather-app.gm-has-message .gm-dock>.gm-web-bar.gm-compact{height:70px!important;min-height:70px;max-height:70px;grid-template-columns:minmax(0,1fr) 88px;grid-template-rows:18px 47px;padding:0 7px}.gm-dock .gm-badge{grid-column:1/-1;grid-row:1}.gm-dock .gm-lineShell{grid-column:1;grid-row:2;margin-right:8px}.gm-focus-button{grid-column:2;grid-row:2;border-radius:3px;font-size:11px;padding:4px;align-self:center;min-height:36px}.gm-dock .gm-message,.gm-dock .gm-previous{font-size:15px;line-height:21px}.weather-app>.gm-dock{padding:0 5px 3px}.weather-app.gm-quick-visible .forecast-card{display:none!important}.weather-app.gm-quick-visible>.gm-quick-home{display:flex;flex:none;flex-direction:column;gap:5px;padding:6px 8px;background:#e6f0f7;color:#133f6e;font-family:Lato,Arial}.gm-quick-home .gm-right-now{padding:5px 8px;gap:7px}.gm-quick-home .gm-right-now strong{font-size:14px}.gm-quick-home .gm-right-now small{font-size:8px}.gm-quick-home .gm-right-now .gm-temperature{font-size:26px;padding:3px 5px}.gm-quick-home .gm-right-now .gm-weather-icon{width:34px;height:30px}.gm-quick-home .gm-now-wind{font-size:10px}.gm-quick-home .gm-glance-tiles{gap:5px}.gm-quick-home .gm-glance-tile{display:grid;grid-template-columns:32px 1fr;grid-template-rows:16px 30px;gap:0 3px;padding:4px 6px;align-items:center}.gm-quick-home .gm-glance-tile>b{grid-column:1/-1;font-size:10px;text-align:center}.gm-quick-home .gm-glance-tile .gm-weather-icon{width:31px;height:30px}.gm-quick-home .gm-glance-tile .gm-temperature{font-size:23px;padding:2px 4px;min-width:0}.gm-quick-home .gm-glance-tile>small{display:none}.gm-quick-home .gm-forecast-actions button{min-height:29px;font-size:11px;padding:4px}.gm-quick-home .gm-highlight-entry{min-height:25px;font-size:10px;padding:4px}.weather-app.gm-forecast-expanded #map{visibility:hidden}.weather-app.gm-forecast-expanded .gm-web-tools,.weather-app.gm-forecast-expanded .gm-scan-badge,.weather-app.gm-forecast-expanded .gm-model-status{display:none!important}.weather-app.gm-forecast-expanded .forecast-card{inset:0!important;position:absolute!important;width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;border-radius:0}.gm-forecast-ui{gap:5px;padding:7px}.forecast-card>.city-strip{height:42px;min-height:42px}.forecast-card>.hub-tabs{height:31px;min-height:31px}.gm-daily-row{grid-template-columns:38px 36px minmax(38px,1fr) minmax(32px,.7fr) minmax(53px,1fr);padding:3px 7px;gap:5px}.gm-daily-row .gm-weather-icon{width:35px;height:32px}.gm-daily-row .gm-period-time{font-size:15px}.gm-daily-row .gm-temperature,.gm-low{font-size:23px}.gm-period-info{font-size:11px}.gm-hour-row{grid-template-columns:53px 44px 62px minmax(0,1fr);gap:5px;padding:5px 7px}.gm-hour-row .gm-temperature{font-size:29px}.gm-hour-row .gm-weather-icon{width:42px;height:40px}.gm-forecast-heading>strong{font-size:13px}.gm-forecast-actions button{min-height:30px;font-size:11px}.gm-message-entrance{gap:16px}.gm-message-entrance>button{font-size:14px}.products>.gm-highlights-nav{display:none}.gm-forecast-source{font-size:8px;max-height:24px}.gm-source-status{font-size:9px}.gm-daily-key{font-size:8px}}
@media(max-height:720px) and (max-width:700px){.gm-quick-home .gm-right-now{display:none}.gm-quick-home .gm-highlight-entry{display:none}.weather-app>.station-card{height:56px!important;min-height:56px!important}.gm-daily-row .gm-weather-icon{height:25px}.gm-daily-row .gm-temperature,.gm-low{font-size:20px}.gm-forecast-actions button{min-height:26px}.gm-daily-key{display:none}}
@media(prefers-reduced-motion:reduce){.gm-featured,.gm-message-entrance{animation:none!important}}
.gm-standby{position:absolute;inset:0;z-index:4500;background:#061d3e;display:flex;align-items:center;justify-content:center}.gm-standby>img{width:100%;height:100%;object-fit:contain}.gm-standby-general{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:35px;color:#fff;background:linear-gradient(#06245399,#062453cc),url('/gm-demo-16/gm/assets/background.jpg') center/cover;font-family:Lato,Arial;text-align:center}.gm-standby-general>img{width:300px;height:140px;object-fit:contain}.gm-standby-general h1{font:700 64px/1.1 Lato,Arial;max-width:75%;margin:0}.gm-standby-general h2{font:700 28px Lato,Arial;margin:0}.controls #featureFlags label{display:inline-flex;gap:5px;margin:5px;font-size:11px}
