/* WS40 Network block (DT-179, DT-180, DT-181): map strip and nearby stations table. Content only: card and title come from the Consolle. */
.ws40-net { max-width: 100%; box-sizing: border-box; }
.ws40-net .ws40-nmap + .ws40-nstations { margin-top: 14px; }
.ws40-nnear { max-width: 100%; box-sizing: border-box; overflow-x: auto; }
.ws40-nnear__t { width: 100%; border-collapse: collapse; font-size: .92em; }
.ws40-nnear__t th { text-align: left; font-weight: 600; opacity: .65; padding: 4px 8px 6px 0; white-space: nowrap; }
.ws40-nnear__t td { padding: 7px 8px 7px 0; border-top: 1px dashed rgba(128, 134, 154, .28); vertical-align: top; }
.ws40-nnear__t td small { display: block; opacity: .65; }
.ws40-nnear__d--up { color: #c2410c; }
.ws40-nnear__d--down { color: #1558b8; }
.ws40-nnear__badge { margin-top: 8px; font-size: .8em; opacity: .7; }
.ws40-nnear--empty { font-size: .9em; opacity: .75; }

/* Links to the stations: visible as links, to favour the exchange of visits between the stations of the network. */
.ws40-nlink { color: #1558b8; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(21, 88, 184, .35); text-underline-offset: 3px; }
.ws40-nlink::after { content: "\00a0\2197"; font-size: .85em; text-decoration: none; display: inline-block; }
.ws40-nlink:hover, .ws40-nlink:focus { color: #0b3d82; text-decoration-color: currentColor; }

/* Surface: strong white cards with a navy header band, readable on any page background (default); plain = no surface, inside a Consolle card. */
.ws40-net .ws40-nmap iframe { border: 3px solid #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(5, 20, 50, .40); }
.ws40-net .ws40-nnear { background: #fff; color: #0b1b33; border-radius: 16px; padding: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(5, 20, 50, .40); }
.ws40-net .ws40-nnear--empty { padding: 14px 18px; }
.ws40-net .ws40-nnear__t th { background: #0b3a8c; color: #fff; opacity: 1; padding: 12px 14px; text-transform: uppercase; font-size: .78em; letter-spacing: .06em; }
.ws40-net .ws40-nnear__t td { padding: 11px 14px; border-top: 1px solid #e3eaf5; }
.ws40-net .ws40-nnear__t tbody tr:nth-child(even) td { background-color: #f1f6ff; }
.ws40-net .ws40-nnear__t tbody tr:hover td { background-color: #dbe9ff; }
.ws40-net .ws40-nnear__badge { padding: 0 14px 12px; }
.ws40-net .ws40-nlink { color: #0b3a8c; font-weight: 700; }
.ws40-net--plain .ws40-nmap iframe { border: 0; border-radius: 0; box-shadow: none; }
.ws40-net--plain .ws40-nnear { background: transparent; color: inherit; border-radius: 0; box-shadow: none; overflow: visible; }
.ws40-net--plain .ws40-nnear__t th { background: transparent; color: inherit; opacity: .65; padding: 4px 8px 6px 0; text-transform: none; font-size: inherit; letter-spacing: 0; }
.ws40-net--plain .ws40-nnear__t td { padding: 7px 8px 7px 0; border-top: 1px dashed rgba(128, 134, 154, .28); }
.ws40-net--plain .ws40-nnear__t tbody tr:nth-child(even) td, .ws40-net--plain .ws40-nnear__t tbody tr:hover td { background-color: transparent; }
.ws40-net--plain .ws40-nlink { color: #1558b8; font-weight: 600; }
.ws40-net--plain .ws40-nnear__badge { padding: 0; }

/* DT-182: live numbers, weather twin, coloured temperatures, wind bars, freshness dots, refresh flash. */
.ws40-nmap__ins { transition: opacity .25s ease; }
.ws40-ntwin { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(135deg, #fff, #eaf2ff); color: #0b1b33; box-shadow: 0 10px 30px rgba(5, 20, 50, .40); }
.ws40-ntwin > i { font-style: normal; font-size: 2.2em; line-height: 1; }
.ws40-ntwin em { font-style: normal; font-size: .75em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0b3a8c; }
.ws40-ntwin__n { font-size: 1.15em; font-weight: 700; }
.ws40-ntwin__n small { font-weight: 400; opacity: .65; }
.ws40-ntwin__s { opacity: .8; }
.ws40-net--plain .ws40-ntwin { background: rgba(128, 134, 154, .13); color: inherit; box-shadow: none; border-radius: 10px; }
.ws40-net--plain .ws40-ntwin em { color: inherit; opacity: .7; }
.ws40-pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-weight: 700; white-space: nowrap; }
.ws40-nnear__w { background-image: linear-gradient(90deg, rgba(21, 88, 184, .22) var(--w, 0%), transparent var(--w, 0%)); background-repeat: no-repeat; }
.ws40-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #9aa5b8; vertical-align: middle; }
.ws40-dot--live { background: #22c55e; animation: ws40pulse 2s ease-out infinite; }
.ws40-dot--recent { background: #f59e0b; }
.ws40-nnear__t td small span { white-space: nowrap; }
@keyframes ws40pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.ws40-flash { animation: ws40flash 1.6s ease-out; }
@keyframes ws40flash { 0% { background-color: #fde68a; } 100% { background-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .ws40-dot--live, .ws40-flash { animation: none; } .ws40-nmap__ins { transition: none; } }

/* DT-183: three compact tiles (network, warmest, coldest) and the thermometer of the network above the map. */
.ws40-nmap__stats { margin: 0 0 12px; }
.ws40-ntiles { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; }
.ws40-ntile { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 16px; border-radius: 14px; background: #fff; color: #0b1b33; border-left: 5px solid #0b3a8c; box-shadow: 0 8px 22px rgba(5, 20, 50, .35); }
.ws40-ntile > i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eef3fb; font-style: normal; font-size: 1.15em; line-height: 1; }
.ws40-ntile__b { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.ws40-ntile__p { display: block; font-size: .8em; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; white-space: nowrap; }
.ws40-ntile--net .ws40-ntile__p { text-transform: uppercase; }
.ws40-ntile--net { flex-wrap: nowrap; }
.ws40-ntile__p b { font-size: 1.55em; font-weight: 800; letter-spacing: 0; margin-right: 3px; opacity: 1; color: #0b1b33; }
.ws40-ntile--net .ws40-ntile__b { flex-direction: row; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.ws40-ntile__p small { font-size: .85em; font-weight: 700; opacity: .6; }
.ws40-ntile__w { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88em; }
.ws40-ntile__w a { text-decoration: none; }
.ws40-ntile__w a:hover { text-decoration: underline; }
.ws40-ntile--warm { border-left-color: #f08a2b; }
.ws40-ntile--warm > i { background: #fff1e4; }
.ws40-ntile--warm b { color: #c2410c; }
.ws40-ntile--cold { border-left-color: #3b8be0; }
.ws40-ntile--cold > i { background: #e6f1ff; }
.ws40-ntile--cold b { color: #1558b8; }
.ws40-nthermo { margin-top: 10px; padding: 32px 18px 10px; border-radius: 14px; background: #fff; color: #0b1b33; box-shadow: 0 8px 22px rgba(5, 20, 50, .35); }
.ws40-nthermo__track { position: relative; height: 12px; border-radius: 99px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 1px 4px rgba(5, 20, 50, .35); }
.ws40-nthermo__you { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 4px solid #0b3a8c; box-shadow: 0 3px 10px rgba(5, 20, 50, .5); }
.ws40-nthermo__you em { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 99px; background: #0b3a8c; color: #fff; font-style: normal; font-weight: 700; font-size: .78em; white-space: nowrap; }
.ws40-nthermo__you em::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: #0b3a8c; }
.ws40-nthermo__ends { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; font-size: .85em; font-weight: 700; }
.ws40-nthermo__ends > span { flex: none; opacity: .75; white-space: nowrap; }
.ws40-nfact { display: flex; gap: 8px; align-items: center; justify-content: center; min-width: 0; flex: 1; font-weight: 600; font-size: 1.05em; }
.ws40-nfact i { font-style: normal; flex: none; }
.ws40-nfact .ws40-nmap__ins { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ws40-nthermo--solo { padding: 10px 18px; }
.ws40-net--plain .ws40-ntile, .ws40-net--plain .ws40-nthermo { background: rgba(128, 134, 154, .13); color: inherit; box-shadow: none; border-radius: 10px; }
.ws40-net--plain .ws40-ntile > i { background: rgba(128, 134, 154, .2); }
.ws40-net--plain .ws40-ntile__p b { color: inherit; }
@media (max-width: 760px) {
	.ws40-ntiles { grid-template-columns: 1fr 1fr; }
	.ws40-ntile--net { grid-column: 1 / -1; }
	.ws40-nthermo__ends { flex-wrap: wrap; }
	.ws40-nfact { order: 3; flex-basis: 100%; }
}

/* DT-184: the control bar of the map (search, what the bubbles show, units, whole network, your station, full screen). */
.ws40-nbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 12px; border-radius: 14px; background: #fff; color: #0b1b33; box-shadow: 0 8px 22px rgba(5, 20, 50, .35); }
.ws40-nbar[hidden], .ws40-nbar [hidden] { display: none; }
.ws40-nbar__q { position: relative; flex: 1 1 220px; min-width: 180px; }
.ws40-nbar__q input { box-sizing: border-box; width: 100%; padding: 8px 14px 8px 36px; border: 1px solid #d5deec; border-radius: 99px; background: #f4f7fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b3a8c' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M16 16l6 6'/%3E%3C/svg%3E") no-repeat 12px 50%; color: #0b1b33; font: inherit; font-size: .9em; }
.ws40-nbar__q input:focus { outline: 2px solid #2a6fe0; outline-offset: 1px; background-color: #fff; }
.ws40-nbar__r { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: 320px; overflow: auto; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(5, 20, 50, .45); }
.ws40-nbar__r button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: .9em; text-align: left; cursor: pointer; }
.ws40-nbar__r button:hover, .ws40-nbar__r button:focus { background: #eef3fb; outline: 0; }
.ws40-nbar__r small { opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws40-nbar__none { padding: 8px 10px; opacity: .7; font-size: .9em; }
.ws40-nbar__seg { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: #eef3fb; }
.ws40-nbar__seg button, .ws40-nbar__ic button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: inherit; font: inherit; font-size: .85em; font-weight: 600; line-height: 1; cursor: pointer; }
.ws40-nbar__seg button { padding: 7px 10px; border-radius: 99px; }
.ws40-nbar__seg button em { font-style: normal; }
.ws40-nbar__seg button:hover { background: rgba(11, 58, 140, .1); }
.ws40-nbar__seg button.is-on { background: #0b3a8c; color: #fff; }
.ws40-nbar__ic { display: flex; gap: 6px; }
.ws40-nbar__ic button { justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #eef3fb; font-size: 1.1em; }
.ws40-nbar__ic button:hover { background: #dbe7fb; }
.ws40-nmap [data-goto] { cursor: pointer; } /* scoped: never the theme's elements */
.ws40-ntile[data-goto]:hover { transform: translateY(-1px); }
.ws40-nmap:fullscreen { display: flex; flex-direction: column; box-sizing: border-box; padding: 12px; background: #0b3a8c; overflow: auto; }
.ws40-nmap:-webkit-full-screen { display: flex; flex-direction: column; box-sizing: border-box; padding: 12px; background: #0b3a8c; overflow: auto; }
.ws40-nmap:fullscreen iframe { flex: 1; height: auto !important; min-height: 300px; }
.ws40-nmap:-webkit-full-screen iframe { flex: 1; height: auto !important; min-height: 300px; }
.ws40-nmap:fullscreen .ws40-nmap__stats { display: none; }
.ws40-nmap:-webkit-full-screen .ws40-nmap__stats { display: none; }
.ws40-net--plain .ws40-nbar { background: rgba(128, 134, 154, .13); color: inherit; box-shadow: none; border-radius: 10px; }
.ws40-net--plain .ws40-nbar__q input, .ws40-net--plain .ws40-nbar__seg, .ws40-net--plain .ws40-nbar__ic button { background-color: rgba(128, 134, 154, .15); }
@media (max-width: 900px) { .ws40-nbar__seg button em { display: none; } }
@media (max-width: 560px) { .ws40-nbar__q { flex-basis: 100%; } }

/* DT-185: under the map, the thermometer of the network and the weather twin side by side. */
.ws40-nmap__low { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.ws40-nmap__low:not(:empty) { margin-top: 14px; }
.ws40-nmap__low .ws40-nthermo { flex: 1.8 1 380px; min-width: 0; margin-top: 0; }
.ws40-nmap__low .ws40-ntwin { flex: 1 1 300px; min-width: 0; margin: 0; padding: 10px 18px; }
.ws40-nmap__low .ws40-ntwin > i { font-size: 1.9em; }
.ws40-nmap__low .ws40-ntwin__n { line-height: 1.25; }
.ws40-nmap:fullscreen .ws40-nmap__low { display: none; }
.ws40-nmap:-webkit-full-screen .ws40-nmap__low { display: none; }
.ws40-nthermo .ws40-nfact { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e3eaf5; }
.ws40-nthermo--solo .ws40-nfact { margin: 0; padding: 0; border: 0; }
.ws40-net--plain .ws40-nthermo .ws40-nfact { border-top-color: rgba(128, 134, 154, .28); }
.ws40-ntwin__ic { flex: none; width: 52px; height: 40px; }
