/* /community-info — the border and travel dashboard (owner, 18 November
   2026: "a dashboard with waiting times, live cameras, current exchange rate
   ... the Walpole ferry as well"). Phone first: the two bridge waits side by
   side, then the cameras, the exchange rate and the ferry in one column;
   from 980px the waits sit beside the rate, the cameras run the full width
   under them and the ferry is three blocks across.
   White cards on hairlines, the site's blue for links and buttons, one deep
   teal for a short wait and one berry for a long one (the words say it too).
   Inter, nothing under 14px, every tap 44px. */
.ci-page{--ci-ink:#22312b;--ci-muted:#55635c;--ci-line:#d5dcd7;--ci-blue:#356382;--ci-blue-up:#3c7194;--ci-label:#35576b;--ci-tint:#e6eef3;--ci-tint-line:#cfdbe3;--ci-clear:#146a81;--ci-long:#a64f79;
  display:block;max-width:1120px;margin:0 auto;padding:0 0 32px;background:#fff;color:var(--ci-ink);font-family:'Inter',system-ui,sans-serif;font-size:16px;line-height:1.45}
.ci-page *{box-sizing:border-box}
.ci-page h1,.ci-page h2,.ci-page h3,.ci-page p,.ci-page ul,.ci-page dl,.ci-page dd{margin:0}
.ci-page ul{padding:0;list-style:none}
.ci-page [hidden]{display:none!important}
.ci-page section{scroll-margin-top:96px}
.ci-page a{color:var(--ci-blue);text-decoration:underline;text-underline-offset:3px}
.ci-page a:focus-visible,.ci-page input:focus-visible,.ci-page select:focus-visible{outline:3px solid var(--ci-blue);outline-offset:2px;border-radius:8px}
.ci-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ci-hero,.ci-grid,.ci-sources{padding-inline:20px}

.ci-hero{padding-top:10px}
.ci-hero h1{font-size:clamp(32px,7vw,46px);font-weight:800;letter-spacing:-.03em;line-height:1.08}
.ci-lede{margin-top:10px;max-width:60ch;font-size:17px;color:var(--ci-muted);text-wrap:balance}
.ci-checked{margin-top:8px;font-size:15px;font-weight:600;color:var(--ci-label)}
.ci-checked:empty{display:none}
.ci-jump{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ci-page .ci-jump a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--ci-tint-line);border-radius:10px;background:var(--ci-tint);color:var(--ci-ink);font-size:15px;font-weight:600;text-decoration:none}
.ci-jump .ci-wide{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.ci-sec{margin-top:32px}
.ci-a-bridge{margin-top:24px}
.ci-page h2{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.2}
.ci-page h3{margin-top:22px;font-size:17px;font-weight:700;line-height:1.3}
.ci-note{margin-top:4px;font-size:15px;color:var(--ci-muted)}
.ci-fine{margin-top:10px;font-size:15px;color:var(--ci-muted)}
.ci-fine a,.ci-sub a,.ci-links a,.ci-sources a,.ci-phones a,.ci-docks a{display:inline-block;padding-block:13px;margin-block:-13px;font-weight:600}
.ci-links{margin-top:10px;font-size:15px}

/* A tile: a white card on a hairline. The wait tiles carry their direction
   on a narrow tinted strip. */
.ci-tile{border:1px solid var(--ci-tint-line);border-radius:12px;background:#fff;overflow:hidden}
.ci-waits{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px}
.ci-page .ci-dir{margin:0;padding:9px 12px;background:var(--ci-tint);font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ci-label)}
.ci-live{padding:12px}
.ci-wait .ci-live{min-height:168px}
.ci-big{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.12;overflow-wrap:anywhere}
.ci-big[data-level="clear"]{color:var(--ci-clear)}
.ci-big[data-level="long"]{color:var(--ci-long)}
.ci-big.ci-none{font-size:18px;font-weight:700;letter-spacing:0;line-height:1.3;color:var(--ci-muted)}
.ci-sub{margin-top:4px;font-size:15px;color:var(--ci-muted)}
.ci-more{margin-top:10px;padding-top:8px;border-top:1px solid var(--ci-line);font-size:15px}
.ci-more li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 8px;padding:2px 0;font-weight:600}
.ci-more span{font-weight:400;color:var(--ci-muted)}
.ci-src{margin-top:10px;font-size:14px;color:var(--ci-muted)}

.ci-tolls{margin-top:20px;padding-top:2px;border-top:1px solid var(--ci-line)}
.ci-tolls h3{margin-top:16px}
.ci-pairs{margin-top:6px}
.ci-pairs>div{display:flex;gap:12px;padding:10px 0;font-size:16px}
.ci-pairs>div+div{border-top:1px solid var(--ci-line)}
.ci-pairs dt{flex:0 0 108px;font-weight:600}
.ci-pairs dd{flex:1;min-width:0}
.ci-fares dt{flex:1}
.ci-fares dd{flex:none;font-weight:700;font-variant-numeric:tabular-nums}
.ci-docks dt{flex-basis:124px}
.ci-page .ci-docks a{display:block;width:fit-content}

/* Cameras: the two at the bridge full width on a phone, the six on the
   highway two across. The whole tile opens the picture. */
.ci-cams{display:grid;gap:10px;margin-top:10px}
.ci-cams-road{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ci-page .ci-cam{display:block;border:1px solid var(--ci-line);border-radius:12px;overflow:hidden;background:#fff;color:var(--ci-ink);text-decoration:none}
/* Every picture sits in a box of one shape, so the tiles line up whatever
   size a camera sends and nothing moves when a picture arrives or fails. */
.ci-cam-pic{position:relative;display:block;aspect-ratio:4/3;background:var(--ci-tint);overflow:hidden}
.ci-cams-bridge .ci-cam-pic{aspect-ratio:16/9}
.ci-cam img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;font-size:14px;color:var(--ci-muted)}
.ci-cam-name{display:flex;align-items:center;min-height:44px;padding:4px 12px;font-size:15px;font-weight:600;line-height:1.25}
.ci-cam.is-off img{visibility:hidden}
.ci-cam.is-off .ci-cam-pic::after{content:"Camera not answering right now";position:absolute;inset:0;display:grid;place-items:center;padding:12px;text-align:center;font-size:15px;color:var(--ci-muted)}

/* The exchange rate and its converter. */
.ci-a-rate .ci-tile{margin-top:14px}
.ci-rate-big{font-size:24px}
.ci-convert{padding:12px;border-top:1px solid var(--ci-line)}
.ci-convert label{display:block;font-size:15px;font-weight:600}
.ci-convert-row{display:flex;gap:8px;margin-top:6px}
.ci-convert input,.ci-convert select{min-width:0;min-height:48px;padding:0 12px;border:1px solid #8fa3b0;border-radius:10px;background:#fff;color:var(--ci-ink);font:inherit;font-size:16px}
.ci-convert input{flex:1 1 96px}
.ci-convert select{flex:2 1 150px}
.ci-convert-out{min-height:28px;margin-top:8px;font-size:20px;font-weight:800;letter-spacing:-.01em}

/* The ferry. */
.ci-facts{margin-top:10px}
.ci-facts li{padding:8px 0;font-size:16px}
.ci-facts li+li{border-top:1px solid var(--ci-line)}
.ci-status{margin-top:12px;padding:14px;border:1px solid var(--ci-tint-line);border-radius:12px;background:var(--ci-tint)}
.ci-status h3{margin-top:0}
.ci-status p{margin-top:4px;font-size:15px}
.ci-btns{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}
.ci-page .ci-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--ci-blue);border-radius:10px;background:var(--ci-blue);color:#fff;font-size:15px;font-weight:600;text-decoration:none}
.ci-page .ci-btn-quiet{background:#fff;color:var(--ci-blue)}
.ci-phones{padding-top:4px}
.ci-sail{width:100%;margin-top:8px;border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.ci-sail th{width:50%;padding:0 0 8px;text-align:left;font-size:14px;font-weight:700;color:var(--ci-muted)}
.ci-sail td{padding:9px 0;border-top:1px solid var(--ci-line)}

.ci-sources{margin-top:36px;padding-top:4px}
.ci-sources h2{padding-top:20px;border-top:1px solid var(--ci-line);font-size:17px;letter-spacing:0}
.ci-sources ul{margin-top:8px;font-size:15px;color:var(--ci-muted)}
.ci-sources li{padding:5px 0}

@media (hover:hover){
  .ci-page .ci-btn:hover{background:var(--ci-blue-up);border-color:var(--ci-blue-up);color:#fff}
  .ci-page .ci-jump a:hover,.ci-page .ci-cam:hover .ci-cam-name{text-decoration:underline;text-underline-offset:3px}
}
@media (min-width:480px){
  .ci-jump .ci-wide{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
  .ci-jump .ci-narrow{display:none}
  .ci-live{padding:14px 16px 16px}
  .ci-page .ci-dir{padding-inline:16px}
  .ci-big{font-size:36px}
  .ci-rate-big{font-size:28px}
  .ci-wait .ci-live{min-height:176px}
}
@media (min-width:600px){
  .ci-cams-bridge{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .ci-cams-road{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:980px){
  .ci-page{padding-bottom:48px}
  .ci-hero{padding-top:28px}
  .ci-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"bridge rate" "cams cams" "ferry ferry";gap:0 48px;align-items:start}
  .ci-a-bridge{grid-area:bridge}
  .ci-a-rate{grid-area:rate}
  .ci-a-cams{grid-area:cams}
  .ci-a-ferry{grid-area:ferry}
  .ci-sec{margin-top:40px}
  .ci-ferry-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px;align-items:start}
  .ci-ferry-col>h3:first-child{margin-top:10px}
  .ci-sail td{padding:7px 0}
}
