:root {
  --bg: #0c2b33;
  --ink: #ede8dd;
  --body: #c9d5d5;
  --muted: #b9c8c9;
  --line: #24505b;
  --sand: #e9b872;
  --pad: clamp(20px, 5vw, 64px);
  --serif: Spectral, Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: var(--sand); }
a:hover { color: #f6d9a8; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
button { font: inherit; }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #1a4755; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.scrim { position: absolute; left: 0; right: 0; pointer-events: none; }
.scrim-all { inset: 0; background: rgba(12,43,51,.34); }
.scrim-top { top: 0; height: 200px; background: linear-gradient(to bottom, rgba(12,43,51,.7), rgba(12,43,51,0)); }
.scrim-bottom { bottom: 0; height: 62%; background: linear-gradient(to top, rgba(12,43,51,.88), rgba(12,43,51,0)); }
.site-header { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 24px var(--pad) 0; }
.brand { font-family: var(--serif); font-size: 22px; color: #f4f0e6; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #f4f0e6; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero-text { position: relative; margin-top: auto; padding: 96px var(--pad) 72px; }
.hero-text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1.04; letter-spacing: -.015em; margin: 0; max-width: 900px; text-wrap: balance; color: #f4f0e6; }
.caption { margin-top: 28px; font-size: 13px; color: #d3dddd; }

/* layout */
.layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 clamp(32px, 6vw, 96px); padding: 0 var(--pad); }
.sidebar { flex: 1 1 240px; max-width: 280px; padding: 56px 0 40px; font-size: 15px; color: #c3d1d2; display: grid; gap: 14px; align-content: start; }
.sidebar p { margin: 0; }
.sidebar a { display: inline-flex; align-items: center; min-height: 44px; }
main { flex: 999 1 520px; min-width: 0; max-width: 880px; padding: 56px 0 40px; }
main section { margin-bottom: 112px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; margin: 0 0 28px; }
.lede { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; text-wrap: pretty; }
.sublede { margin: 0 0 96px; font-size: 18px; color: var(--body); max-width: 680px; text-wrap: pretty; }

/* tabs and filters */
.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabs button { min-height: 48px; padding: 0; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font-size: 16px; color: var(--muted); }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--sand); }
.tabs button:hover { color: var(--ink); }
.panel-desc { margin: 0; font-size: 20px; max-width: 680px; text-wrap: pretty; }
.insights { list-style: none; margin: 40px 0 0; padding: 0; max-width: 720px; }
.insights li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.insights .n { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.1; color: var(--sand); width: 28px; flex: none; }
.insights h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; margin: 0 0 6px; }
.insights p { margin: 0; font-size: 16px; color: var(--body); text-wrap: pretty; }
.print-only { display: none; }

/* rows (publications, courses, press) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows li[hidden] { display: none; }
.rows li > div { flex: 1 1 320px; }
.rows .year { width: 52px; flex: none; font-size: 14px; color: var(--muted); padding-top: 4px; }
.rows .date { width: 130px; flex: none; font-size: 14px; color: var(--muted); padding-top: 2px; }
.rows .code { width: 150px; flex: none; font-size: 13px; color: var(--muted); padding-top: 5px; }
.rows .title { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.3; text-wrap: pretty; color: var(--ink); }
.rows a.title { text-decoration: none; }
.rows a.title:hover { color: var(--sand); }
.rows .meta { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.rows .desc { display: block; font-size: 15px; color: var(--body); margin-top: 6px; text-wrap: pretty; }
.press-list .title { font-family: var(--sans); font-size: 17px; line-height: 1.4; }
.note { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.intro { margin: 0 0 40px; font-size: 18px; color: var(--body); max-width: 680px; text-wrap: pretty; }
.advising { margin: 32px 0 0; font-size: 16px; color: var(--body); max-width: 680px; text-wrap: pretty; }
.advising .lead { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.feature { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; max-width: 720px; text-wrap: balance; color: var(--sand); }
.feature .meta { display: block; font-family: var(--sans); font-size: 15px; color: var(--muted); margin-top: 8px; }

/* form */
form { display: grid; gap: 22px; max-width: 600px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 22px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #c3d1d2; }
input, textarea { min-height: 44px; background: transparent; border: 0; border-bottom: 1px solid #8fa7aa; font: inherit; font-size: 17px; color: var(--ink); padding: 6px 0; border-radius: 0; }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.send { justify-self: start; min-height: 48px; padding: 0 30px; background: var(--sand); color: var(--bg); border: 0; border-radius: 2px; font-weight: 600; cursor: pointer; }
.send:hover { background: #f6d9a8; }

.site-footer { padding: 24px var(--pad) 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .hero { min-height: 640px; }
  .sidebar { max-width: none; padding-bottom: 0; }
  .rows .date, .rows .code { width: 100%; }
}
@media print {
  .hero-img, .scrim { display: none; }
  .print-only { display: block; }
  [hidden] { display: block !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* nav current page */
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* home intro */
.intro { max-width: 880px; padding: 88px var(--pad) 120px; }
.intro .lede { margin: 0 0 28px; }
.affil { margin: 0; font-size: 15px; color: var(--muted); }

/* inner pages */
.inner .site-header { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.page { max-width: 880px; padding: 72px var(--pad) 96px; min-height: 60vh; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.015em; margin: 0 0 40px; }
.page .sublede { margin: 0 0 48px; }

/* about */
.page.wide { max-width: 1120px; }
/* Phone: portrait first, then text, then the "Currently" list. Wide screens: text on the left, portrait above "Currently" on the right. */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.about-photo { margin: 0; width: 168px; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: #0a252d; }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) 248px; grid-template-areas: "text photo" "text side"; gap: 40px clamp(48px, 6vw, 88px); }
  .about-text { grid-area: text; }
  .about-photo { grid-area: photo; width: 100%; }
  .about-side { grid-area: side; }
}
.about-text p { margin: 0 0 22px; font-size: 18px; color: var(--body); max-width: 620px; text-wrap: pretty; }
.about-text .lede { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); margin-bottom: 28px; }
.side-h { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; }
.about-side .side-h:not(:first-child) { margin-top: 44px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.plain strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 2px; }

/* home research areas */
.areas { padding: 0 var(--pad) 40px; margin-top: -1px; }
.areas a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: clamp(32px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.015em; transition: color .25s ease, padding-left .35s ease; }
.areas a:first-child { border-top: 1px solid var(--line); }
.areas a:hover, .areas a:focus-visible { color: var(--sand); padding-left: 16px; }
.areas .arrow { font-family: var(--sans); font-size: .4em; transition: transform .35s ease; }
.areas a:hover .arrow, .areas a:focus-visible .arrow { transform: translateX(8px); }

/* motion */
.rule { display: block; width: 56px; height: 3px; background: var(--sand); margin-bottom: 28px; transform-origin: left; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: none; }
.page-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--sand); margin-top: 24px; }
.rows li { transition: padding-left .3s ease; }
.rows li:hover { padding-left: 10px; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: drift 28s ease-in-out infinite alternate; }
  .hero-text h1 { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .rule { animation: grow .8s .05s ease both; }
  .areas a { animation: rise .8s both; }
  .areas a:nth-child(1) { animation-delay: .5s; }
  .areas a:nth-child(2) { animation-delay: .62s; }
  .areas a:nth-child(3) { animation-delay: .74s; }
  .page > * { animation: rise .7s both; }
  .page > *:nth-child(2) { animation-delay: .08s; }
  .page > *:nth-child(3) { animation-delay: .16s; }
  .page > *:nth-child(n+4) { animation-delay: .24s; }
  @view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) { .areas a, .rows li, .site-header nav a::after { transition: none; } }
.nb { white-space: nowrap; }

/* hero sub-line and buttons */
.hero-sub { margin: 24px 0 0; font-size: 19px; color: #e4e9e8; max-width: 540px; text-wrap: pretty; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-links a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font-size: 16px; font-weight: 600; text-decoration: none; border-radius: 999px; border: 1.5px solid var(--sand); background: var(--sand); color: var(--bg); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.hero-links a:hover { background: #f6d9a8; border-color: #f6d9a8; color: var(--bg); transform: translateY(-2px); }
.hero-links a span { transition: transform .3s ease; }
.hero-links a:hover span { transform: translateX(5px); }
.hero-links a.quiet { background: rgba(12,43,51,.35); color: #f4f0e6; border-color: rgba(244,240,230,.7); backdrop-filter: blur(4px); }
.hero-links a.quiet:hover { background: #f4f0e6; border-color: #f4f0e6; color: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-sub { animation: rise 1s .45s cubic-bezier(.2,.7,.2,1) both; }
  .hero-links { animation: rise 1s .6s cubic-bezier(.2,.7,.2,1) both; }
}

/* map page */
.page.mapwide { max-width: 1240px; }
.map-intro { margin: -8px 0 32px; font-size: 18px; color: var(--body); max-width: 680px; text-wrap: pretty; }
.map-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.map-frame { position: relative; border-radius: 4px; overflow: hidden; background: #0a252d; border: 1px solid var(--line); }
#worldmap svg { display: block; width: 100%; height: auto; cursor: grab; }
#worldmap svg:active { cursor: grabbing; }
.ocean { fill: #0a252d; }
.land { fill: #17414e; stroke: #2f6575; stroke-width: .6; vector-effect: non-scaling-stroke; }
.states { fill: none; stroke: #28596a; stroke-width: .5; vector-effect: non-scaling-stroke; }
.pin { cursor: pointer; outline: none; }
.pin .hit { fill: transparent; }
.pin .dot { fill: var(--sand); stroke: #0a252d; stroke-width: 1.5; transition: fill .2s ease; }
.pin .halo { fill: none; stroke: var(--sand); stroke-width: 1.5; opacity: .55; }
.pin:hover .dot { fill: #fff; }
.pin:focus-visible .halo { stroke: #fff; opacity: 1; stroke-width: 2.5; }
.pin.selected .halo { stroke: var(--sand); }
.pin.off { display: none; }
.pin.region .dot { fill: rgba(233,184,114,.28); stroke: var(--sand); stroke-dasharray: 3 3; stroke-width: 2; }
.pin.region .halo { stroke-dasharray: 2 5; r: 22px; }
.pin .label { opacity: 0; pointer-events: none; fill: #f4f0e6; font-family: var(--sans); font-size: 13px; font-weight: 500; paint-order: stroke; stroke: #0a252d; stroke-width: 3.5px; stroke-linejoin: round; transition: opacity .2s ease; }
.pin:hover .label, .pin:focus .label, .pin.selected .label { opacity: 1; }
.map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #0c2b33; }
.zoom-btns { margin-left: auto; display: flex; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; background: transparent; color: var(--ink); border: 1px solid #3a6672; border-radius: 999px; cursor: pointer; font-size: 14px; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.round { width: 40px; padding: 0; font-size: 20px; line-height: 1; }
.map-panel { min-height: 320px; }
.map-hint { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.place-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.place-list li { border-bottom: 1px solid var(--line); }
.place-list button { width: 100%; text-align: left; background: transparent; border: 0; padding: 14px 0; min-height: 44px; cursor: pointer; color: var(--ink); display: block; transition: padding-left .3s ease; }
.place-list button:hover { padding-left: 8px; }
.pl-name { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.pl-cats { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.map-back { background: transparent; border: 0; color: var(--sand); cursor: pointer; padding: 0; min-height: 44px; font-size: 15px; }
.map-back:hover { color: #f6d9a8; }
.map-place { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 4px 0 8px; outline: none; }
.map-cats { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.map-lead { margin: 0 0 20px; font-size: 18px; color: var(--ink); text-wrap: pretty; }
.map-sub { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); margin: 24px 0 8px; }
.map-work { margin: 0; padding-left: 18px; color: var(--body); font-size: 15px; }
.map-work li { margin-bottom: 8px; text-wrap: pretty; }
.map-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 15px; }
.map-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.map-note.in-frame { margin: 0; padding: 0 14px 14px; background: #0c2b33; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .pin:not(.region) .halo { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
}
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } .map-panel { min-height: 0; } }

/* grouped rows (map panel and research page) */
.item-rows, .paper-rows { list-style: none; margin: 0; padding: 0; }
.item-rows li, .paper-rows li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--body); }
.item-rows li:first-child, .paper-rows li:first-child { border-top-color: var(--ink); }
.ry { flex: none; width: 52px; font-size: 13px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.item-rows div, .paper-rows a { flex: 1; text-wrap: pretty; }
.iv { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.paper-rows a { color: var(--ink); text-decoration: none; }
.paper-rows a:hover { color: var(--sand); }
.idea-list { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--body); }
.idea-list li { padding: 10px 0; border-top: 1px solid var(--line); text-wrap: pretty; }
.idea-list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row .chip { display: inline-flex; align-items: center; text-decoration: none; }
.research-layout { align-items: start; }
.research-layout .place-list button[aria-pressed="true"] .pl-name { color: var(--sand); }
.research-layout .place-list { position: sticky; top: 24px; }
.research-detail .panel[hidden] { display: none; }
@media (max-width: 900px) { .research-layout .place-list { position: static; } }
.research-layout { grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 56px; }
@media (max-width: 900px) { .research-layout { grid-template-columns: 1fr; gap: 24px; } }
.ry { width: 68px; white-space: nowrap; }
.more-papers { border-top: 1px solid var(--line); }
.more-papers summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--sand); font-size: 15px; }
.more-papers[open] summary { display: none; }
.more-papers .paper-rows li:first-child { border-top-color: var(--line); }
.hero-sub { max-width: 820px; }

/* map: highlight note, dimmed places, category links */
.pin.dim { opacity: .75; }
.pin.dim .dot { fill: #6f8c95; }
.pin.dim .halo { display: none; }
.pin.dim:hover .dot { fill: #c9d6d9; }
.place-list li.dim button { opacity: .5; }
.area-note { margin: 0 0 16px; padding: 10px 14px; border-left: 2px solid var(--sand); background: #0c2b33; font-size: 15px; color: var(--body); }
.area-note[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; min-height: 32px; color: var(--sand); text-decoration: underline; cursor: pointer; font: inherit; }
.map-cats a { color: var(--muted); text-decoration: underline; text-decoration-color: #3a6672; text-underline-offset: 3px; }
.map-cats a:hover { color: var(--sand); }
.research-layout .place-list button { border-left: 2px solid transparent; padding-left: 14px; }
.research-layout .place-list button[aria-pressed="true"] { border-left-color: var(--sand); }
.research-layout .place-list button:hover { padding-left: 18px; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 16px; }
.rows li:target, .rows li.hit { outline: 1px solid var(--sand); outline-offset: 6px; }
.panel-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; margin: 16px 0 0; }
.panel-links .map-link { margin-top: 0; }
.panel-links a:first-child { padding: 0 20px; border: 1px solid #3a6672; border-radius: 999px; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.panel-links a:first-child:hover { background: var(--ink); color: var(--bg); }
.pin.dim.selected { opacity: 1; }
.pin.selected .dot { fill: var(--sand); }
.pin.selected .halo, .pin.dim.selected .halo { display: inline; opacity: 1; stroke-width: 2.5; r: 15px; animation: none; }
.area-status { margin: -16px 0 16px; min-height: 22px; font-size: 14px; color: var(--muted); }
.map-lead { text-wrap: pretty; }
.rows a.title::after { content: " \2197"; font-family: var(--sans); font-size: .62em; color: var(--sand); white-space: nowrap; }
.rows .code .coll { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); opacity: .8; }
.page .intro { padding: 0; max-width: 680px; margin: 0 0 44px; }
.feature a { color: inherit; text-decoration: underline; text-decoration-color: rgba(232,184,109,.4); text-decoration-thickness: 1px; text-underline-offset: 7px; transition: text-decoration-color .2s ease; }
.feature a::after { content: " \2197"; font-family: var(--sans); font-size: .6em; }
.feature a:hover { text-decoration-color: var(--sand); }

/* Shaded states and countries on the map */
.shape { cursor: pointer; vector-effect: non-scaling-stroke; transition: fill .2s ease, stroke .2s ease, opacity .2s ease; }
.shape.main { fill: rgba(233,184,114,.5); stroke: var(--sand); stroke-width: 1.5; }
.shape.tint { fill: rgba(233,184,114,.2); stroke: rgba(233,184,114,.55); stroke-width: 1; }
.shape.main:hover, .shape.main:focus-visible { fill: rgba(246,217,168,.7); outline: none; }
.shape.tint:hover { fill: rgba(233,184,114,.35); }
.shape.sel { fill: rgba(246,217,168,.75); stroke: #fff; stroke-width: 2; }
.shape.dim { opacity: .25; }
.shape.lit.main { fill: rgba(233,184,114,.75); }
.shapes-mode.deep .shape.main:not(.sel) { fill: rgba(233,184,114,.18); }
.shapes-mode.deep .shape.tint { fill: rgba(233,184,114,.08); }
.shapes-mode .pin:not(.selected) { display: none; }
.shapes-mode .pin.region { display: none; }
.shape.island { stroke-width: 3.5; stroke-linejoin: round; }
.shape.island.sel { stroke-width: 3.5; }
.island-hit { fill: none; stroke: transparent; vector-effect: non-scaling-stroke; pointer-events: stroke; cursor: pointer; }
