/* The Best of page (/vote/<town>) in the website's three-column shell (redesign stage 3). Website only: every rule sits under
   html.web-shell. The ballot's own styles stay in the page (api/short-link.js); this sizes it for the middle column and styles
   the rail's goal card, which the page did not load before. */
html.web-shell .wt-right,html.web-shell .wt-rail-after{--card:#fffdf9;--line:#ebe2d6;--muted:#6f6258;--ink:#2d231d;--green:#46684b;--paper:#faf7f2;--orange-dark:#95391d;--sans:-apple-system,system-ui,sans-serif}

html.web-shell .town-goal{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;margin:4px 0 18px;padding:16px;background:var(--card,#fffdf9);border:1px solid var(--line);border-radius:22px;max-width:760px;box-sizing:border-box}
html.web-shell .town-goal .tg-main{display:grid;gap:8px;min-width:0}
html.web-shell .town-goal .eyebrow{margin:0;color:var(--muted);text-transform:uppercase}
html.web-shell .town-goal p{margin:0}
html.web-shell .town-goal .tg-big b{font:900 32px/1 'Archivo',var(--sans);font-stretch:85%;color:var(--ink)}
html.web-shell .town-goal .tg-big small{font-size:15px;font-weight:500;color:var(--muted)}
html.web-shell .town-goal .tg-bar{height:12px;border-radius:9px;background:var(--line);overflow:hidden}
html.web-shell .town-goal .tg-bar i{display:block;height:100%;border-radius:9px;background:var(--green,#46684b)}
html.web-shell .town-goal .tg-hit{font-weight:700;color:var(--green,#46684b)}
html.web-shell .town-goal .tg-wins{list-style:none;margin:0;padding:0;display:grid;gap:6px}
html.web-shell .town-goal .tg-wins li{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14.5px;min-width:0;overflow-wrap:anywhere}
html.web-shell .town-goal .tg-wins img{width:28px;height:28px;flex:none}
html.web-shell .town-goal .tg-crawls,html.web-shell .town-goal .tg-sub{color:var(--muted);font-size:14px;line-height:1.45;overflow-wrap:anywhere}
html.web-shell .town-goal .tg-crawls a{color:var(--orange-dark,#95391d);font-weight:700}
html.web-shell .town-goal .tg-app{background:var(--ink);color:var(--paper,#faf7f2);border-radius:12px;padding:10px 14px;font-weight:700;font-size:14px;line-height:1.3;text-align:center;text-decoration:none;white-space:nowrap}
html.web-shell .town-goal .tg-app:hover,html.web-shell .town-goal .tg-app:focus-visible{background:#000;color:#fff}
@media (max-width:480px){html.web-shell .town-goal{grid-template-columns:minmax(0,1fr)}html.web-shell .town-goal .tg-app{justify-self:start}}
/* the ballot in 680 */
html.web-shell .ws-vote .vt{max-width:none;margin:0;padding:0 0 24px}
html.web-shell .ws-vote .vt-hero{margin-top:12px;padding:28px 26px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
html.web-shell .ws-vote .vt-hero h1{font-size:clamp(30px,3vw,40px)}
html.web-shell .ws-vote .vt-btn{min-width:0;width:100%}
html.web-shell .ws-vote .vt-qr{width:auto}
html.web-shell .ws-vote .vt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html.web-shell .ws-vote .vt-row{grid-template-columns:minmax(0,1fr)}
html.web-shell .ws-vote .vt-steps li{font-size:14px;padding:14px 8px}
@media(max-width:859px){html.web-shell .ws-vote .vt-hero{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){html.web-shell .ws-vote .vt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html.web-shell .ws-vote .vt-bar{bottom:calc(58px + env(safe-area-inset-bottom))}
