/* ==========================================================================
   Design tokens
   Spacing: 4pt scale. Type: Georgia headings, Inter body. Radii: 6 / 12 / full.
   ========================================================================== */

:root {
  color-scheme:light;

  --bg:#f8f5f0;
  --surface:#fff;
  --surface-2:#efebe5;
  --text:#202e42;
  --muted:#5c6170;
  --accent:#2f6b4f;
  --review:#9a6a0b;
  --accent-hover:#24563f;
  --line:#dfdad2;
  --graph:#647a96;

  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;
  --space-16:64px;
  --space-20:80px;
  --space-24:96px;

  --font-heading:Georgia,"Times New Roman",serif;
  --font-body:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  --fs-xs:12px;
  --fs-sm:14px;
  --fs-md:16px;
  --fs-lg:20px;
  --fs-xl:24px;
  --fs-2xl:32px;
  --fs-3xl:clamp(32px,4vw,48px);
  --fs-display:clamp(56px,8vw,104px);

  --lh-tight:1.1;
  --lh-snug:1.3;
  --lh-body:1.6;

  --r-sm:6px;
  --r-lg:12px;
  --r-full:999px;

  --ease:cubic-bezier(.2,0,0,1);
  --dur:.2s;

  --header-h:80px;
}

:root[data-theme=dark] {
  color-scheme:dark;
  --bg:#111b2b;
  --surface:#182538;
  --surface-2:#1d2b40;
  --text:#f3ede3;
  --muted:#b5bfcd;
  --accent:#8fcaa9;
  --review:#f8de7e;
  --accent-hover:#b0dcc3;
  --line:#344055;
  --graph:#91aac9;
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme=light]) {
    color-scheme:dark;
    --bg:#111b2b;
    --surface:#182538;
    --surface-2:#1d2b40;
    --text:#f3ede3;
    --muted:#b5bfcd;
    --accent:#8fcaa9;
    --review:#f8de7e;
    --accent-hover:#b0dcc3;
    --line:#344055;
    --graph:#91aac9;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

* {
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + var(--space-6));
  -webkit-text-size-adjust:100%;
}

body {
  font-family:var(--font-body);
  font-size:var(--fs-md);
  line-height:var(--lh-body);
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
}

svg {
  display:block;
}

ul {
  list-style:none;
}

[hidden] {
  display:none !important;
}

::selection {
  background:var(--accent);
  color:var(--bg);
}

:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:var(--r-sm);
}

h1,h2,h3 {
  font-family:var(--font-heading);
  font-weight:400;
  line-height:var(--lh-tight);
  letter-spacing:-.02em;
}

h1 {
  font-size:var(--fs-display);
  line-height:1;
  letter-spacing:-.045em;
}

h2 {
  font-size:var(--fs-3xl);
}

h3 {
  font-size:var(--fs-xl);
  line-height:var(--lh-snug);
}

strong {
  font-weight:600;
}

.wrap {
  width:min(1136px,100% - 2 * var(--space-12));
  margin-inline:auto;
}

/* Label style: eyebrows, indices, dates, status tags */
.eyebrow,.panel-heading,.figure-index,.num,.t-date,.pub-status,.project-count,.skill-block h3 {
  font-family:var(--font-body);
  font-size:var(--fs-xs);
  font-weight:500;
  line-height:1.5;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-variant-numeric:tabular-nums;
}

.accent {
  color:var(--accent);
}

/* ==========================================================================
   Header
   ========================================================================== */

.skip-link {
  position:fixed;
  top:var(--space-2);
  left:var(--space-3);
  z-index:100;
  padding:var(--space-2) var(--space-4);
  border-radius:var(--r-sm);
  background:var(--text);
  color:var(--bg);
  font-size:var(--fs-sm);
  transform:translateY(-200%);
}

.skip-link:focus {
  transform:none;
}

.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}

.header-inner {
  height:var(--header-h);
  display:flex;
  align-items:center;
  gap:var(--space-8);
}

.wordmark {
  font-family:var(--font-heading);
  font-size:var(--fs-2xl);
  line-height:1;
  letter-spacing:-.04em;
}

.wordmark span {
  color:var(--accent);
}

.site-nav {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:var(--space-8);
}

.site-nav a {
  position:relative;
  padding:var(--space-3) 0;
  font-size:var(--fs-sm);
  color:var(--muted);
  white-space:nowrap;
  transition:color var(--dur) var(--ease);
}

.site-nav a:hover,.site-nav a[aria-current] {
  color:var(--text);
}

.site-nav a[aria-current]::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:var(--space-1);
  height:2px;
  background:var(--accent);
}

.theme-btn {
  width:40px;
  height:40px;
  flex:none;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:var(--r-full);
  background:transparent;
  color:var(--text);
  cursor:pointer;
  transition:background var(--dur) var(--ease);
}

.theme-btn:hover {
  background:var(--surface-2);
}

.theme-btn svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
}

.reading-progress {
  position:absolute;
  left:0;
  bottom:-1px;
  width:100%;
  height:2px;
  background:var(--accent);
  transform:scaleX(var(--reading-progress,0));
  transform-origin:left;
  pointer-events:none;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.page {
  padding:var(--space-24) 0;
  border-bottom:1px solid var(--line);
}

.section-head {
  margin-bottom:var(--space-10);
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:var(--space-3);
  margin-bottom:var(--space-4);
  color:var(--accent);
}

.idx {
  padding-right:var(--space-3);
  border-right:1px solid var(--line);
  color:var(--muted);
}

.section-lede {
  max-width:64ch;
  margin-top:var(--space-4);
  font-size:var(--fs-md);
  color:var(--muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:var(--space-2);
  padding:var(--space-3) var(--space-6);
  border:1px solid transparent;
  border-radius:var(--r-sm);
  font-size:var(--fs-sm);
  font-weight:500;
  line-height:1;
  transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease),color var(--dur) var(--ease);
}

.btn-primary {
  background:var(--accent);
  color:var(--bg);
}

.btn-primary:hover {
  background:var(--accent-hover);
}

.btn-ghost {
  border-color:var(--line);
  color:var(--text);
}

.btn-ghost:hover {
  background:var(--surface-2);
}

/* Segmented controls (network views, project filters) */
.network-controls button,.project-filters button {
  min-height:40px;
  padding:var(--space-2) var(--space-4);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  background:transparent;
  color:var(--muted);
  font-size:var(--fs-sm);
  cursor:pointer;
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease),border-color var(--dur) var(--ease);
}

.network-controls button:hover,.project-filters button:hover {
  border-color:var(--text);
  color:var(--text);
}

.network-controls button[aria-pressed=true],.project-filters button[aria-pressed=true] {
  background:var(--text);
  border-color:var(--text);
  color:var(--bg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding:var(--space-20) 0 0;
}

.hero-grid {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:var(--space-16);
  align-items:center;
}

.hero-statement {
  margin-top:var(--space-6);
  font-family:var(--font-heading);
  font-size:var(--fs-2xl);
  line-height:var(--lh-snug);
  letter-spacing:-.02em;
}

.hero-description {
  max-width:48ch;
  margin-top:var(--space-4);
  color:var(--muted);
}

.cta-row {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-3);
  margin-top:var(--space-8);
}

.hero-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--space-4);
  margin-top:var(--space-8);
}

.status {
  display:flex;
  align-items:center;
  gap:var(--space-2);
  font-size:var(--fs-xs);
  color:var(--muted);
}

.dot {
  width:8px;
  height:8px;
  flex:none;
  border-radius:var(--r-full);
  background:var(--accent);
}

.socials {
  display:flex;
  gap:var(--space-1);
}

.socials a {
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:var(--r-full);
  color:var(--muted);
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease);
}

.socials a:hover {
  background:var(--surface-2);
  color:var(--text);
}

.socials svg {
  width:16px;
  height:16px;
  fill:currentColor;
}

.network-panel {
  min-width:0;
  padding:var(--space-6);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
}

.panel-heading {
  display:flex;
  justify-content:space-between;
  color:var(--muted);
}

.network-art {
  width:100%;
  height:auto;
  max-height:280px;
  margin:var(--space-2) 0;
  color:var(--graph);
}

.network-orbits {
  stroke:var(--graph);
  stroke-dasharray:3 7;
  opacity:.22;
}

.network-lines {
  fill:none;
  stroke:var(--graph);
  stroke-width:1.25;
  opacity:.65;
  transition:opacity .3s var(--ease);
}

.network-focus {
  fill:none;
  stroke:var(--accent);
  stroke-width:2;
  opacity:0;
  transition:opacity .3s var(--ease);
}

.network-halos {
  fill:var(--graph);
  opacity:.13;
  transition:opacity .3s var(--ease);
}

.network-nodes {
  fill:var(--accent);
  stroke:var(--surface);
  stroke-width:3;
}

.network-labels {
  fill:var(--muted);
  font:500 10px var(--font-body);
  letter-spacing:.08em;
}

.network-panel[data-view=regulation] .network-focus,
.network-panel[data-view=prediction] .network-focus {
  opacity:1;
}

.network-panel[data-view=regulation] .network-lines,
.network-panel[data-view=prediction] .network-lines {
  opacity:.16;
}

.network-panel[data-view=prediction] .network-focus {
  stroke-dasharray:5 7;
}

.network-panel[data-view=regulation] .network-halos {
  opacity:.3;
}

.figure-index {
  color:var(--accent);
}

.network-panel strong {
  display:block;
  margin-top:var(--space-2);
  font-family:var(--font-heading);
  font-size:var(--fs-2xl);
  font-weight:400;
  line-height:var(--lh-tight);
  letter-spacing:-.02em;
}

.network-controls {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
  margin-top:var(--space-5);
}

.network-note {
  min-height:calc(3 * var(--fs-sm) * var(--lh-body));
  margin-top:var(--space-4);
  font-size:var(--fs-sm);
  color:var(--muted);
}

.hero-bottom {
  display:flex;
  justify-content:space-between;
  gap:var(--space-6);
  margin-top:var(--space-16);
  padding-block:var(--space-6);
  border-top:1px solid var(--line);
  font-size:var(--fs-xs);
  color:var(--muted);
}

.hero-bottom span span {
  margin-inline:var(--space-2);
  color:var(--graph);
}

.hero-bottom a {
  color:var(--text);
  white-space:nowrap;
}

.hero-bottom a:hover {
  color:var(--accent);
}

/* ==========================================================================
   Projects
   ========================================================================== */

.project-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-4);
  margin-bottom:var(--space-6);
}

.project-filters {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
}

.project-count {
  color:var(--muted);
  white-space:nowrap;
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--space-6);
}

.card {
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:var(--space-8);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  transition:border-color var(--dur) var(--ease);
  animation:fade-in var(--dur) var(--ease);
}

.card:hover,.card:focus-within {
  border-color:var(--graph);
}

@keyframes fade-in {
  from { opacity:0; }
}

.card .num {
  margin-bottom:var(--space-4);
  color:var(--accent);
}

.card h3 {
  max-width:26ch;
  margin-bottom:var(--space-3);
}

.card>p:not(.num) {
  margin-bottom:var(--space-6);
  font-size:var(--fs-sm);
  color:var(--muted);
}

.card-vis,.mini-stats {
  min-height:152px;
  margin-top:auto;
  padding:var(--space-5) var(--space-4);
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
}

.card-vis {
  display:flex;
  align-items:center;
}

.diagram {
  width:100%;
  height:104px;
}

.diagram .bx {
  fill:var(--surface);
  stroke:var(--line);
  stroke-width:1;
}

.diagram .bx-a {
  fill:var(--surface-2);
  stroke:var(--accent);
  stroke-width:1;
}

.diagram .lbl,.diagram .lbl-a {
  fill:var(--muted);
  font:9px var(--font-body);
}

.diagram .lbl-a {
  fill:var(--accent);
  font-weight:600;
}

.diagram .arw-l,.diagram .edge {
  fill:none;
  stroke:var(--graph);
  stroke-width:1;
}

.diagram .nd {
  fill:var(--graph);
}

.diagram .nd-a {
  fill:var(--accent);
}

.mini-stats {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:var(--space-4);
  padding:var(--space-5) var(--space-6);
}

.n {
  display:block;
  font-size:var(--fs-2xl);
  font-weight:500;
  line-height:var(--lh-tight);
  letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;
}

.l {
  display:block;
  margin-top:var(--space-1);
  font-size:var(--fs-xs);
  color:var(--muted);
}

.stack {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
  margin-top:var(--space-5);
}

.stack li,.pills li {
  padding:var(--space-1) var(--space-2);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  font-size:var(--fs-xs);
  line-height:1.5;
  color:var(--muted);
}

.stack li {
  background:var(--surface-2);
  border-color:var(--surface-2);
}

.card-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:var(--space-6);
  padding-top:var(--space-4);
  border-top:1px solid var(--line);
  font-size:var(--fs-sm);
  font-weight:500;
  color:var(--accent);
}

.card-link:hover {
  color:var(--accent-hover);
  text-decoration:underline;
  text-underline-offset:4px;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:var(--space-20);
}

.about-grid p {
  color:var(--muted);
  line-height:1.75;
}

.about-grid p+p {
  margin-top:var(--space-5);
}

.about-grid strong {
  color:var(--text);
}

.skill-block+.skill-block {
  margin-top:var(--space-6);
}

.skill-block h3 {
  margin-bottom:var(--space-3);
  color:var(--muted);
}

.pills {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
}

.pills li {
  padding:var(--space-1) var(--space-3);
  background:var(--surface);
  font-size:var(--fs-sm);
  color:var(--text);
}

/* ==========================================================================
   Experience
   ========================================================================== */

.t-item {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:var(--space-16);
  padding:var(--space-8) 0;
  border-top:1px solid var(--line);
}

.t-item:last-child {
  padding-bottom:0;
}

.t-head {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--space-3);
}

.t-head h3 {
  order:1;
}

.t-date {
  color:var(--accent);
}

.t-org {
  order:2;
  max-width:36ch;
  font-size:var(--fs-sm);
  color:var(--muted);
}

.t-item ul {
  display:grid;
  gap:var(--space-3);
}

.t-item li {
  position:relative;
  padding-left:var(--space-5);
  font-size:var(--fs-sm);
  line-height:1.7;
  color:var(--muted);
}

.t-item li::before {
  content:"";
  position:absolute;
  top:10px;
  left:0;
  width:4px;
  height:4px;
  border-radius:var(--r-full);
  background:var(--graph);
}

.marker {
  display:none;
}

/* ==========================================================================
   Publications
   ========================================================================== */

.pub {
  display:grid;
  grid-template-columns:160px minmax(0,1fr) 320px;
  column-gap:var(--space-8);
  align-items:start;
  padding:var(--space-8) 0;
  border-top:1px solid var(--line);
}

.pub:last-child {
  padding-bottom:0;
}

.pub-status {
  justify-self:start;
  padding:var(--space-1) var(--space-2);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  background:var(--surface-2);
  color:var(--muted);
}
.pub-status.in-review {
  border-color:var(--review);
  background:color-mix(in srgb, var(--review) 14%, transparent);
  color:var(--review);
}

.pub-status.is-accepted {
  border-color:var(--accent);
  background:color-mix(in srgb, var(--accent) 14%, transparent);
  color:var(--accent);
}

.pub-cite {
  grid-column:2;
  font-size:var(--fs-lg);
  line-height:1.5;
}

.pub-note {
  grid-column:2;
  max-width:80ch;
  margin-top:var(--space-3);
  font-size:var(--fs-sm);
  color:var(--muted);
}

.pub-links {
  grid-column:2;
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-5);
  margin-top:var(--space-4);
}

.pub-link {
  display:inline-flex;
  align-items:center;
  gap:var(--space-2);
  font-size:var(--fs-sm);
  font-weight:500;
  color:var(--accent);
}

.pub-link:hover {
  color:var(--accent-hover);
  text-decoration:underline;
  text-underline-offset:4px;
}

.pub-link svg {
  width:16px;
  height:16px;
  fill:currentColor;
}

.pub-fig {
  grid-column:3;
  grid-row:1 / span 4;
  min-height:0;
  margin-top:0;
}

.diagram .bx-miss {
  stroke-dasharray:3 3;
  fill:transparent;
}

/* ==========================================================================
   Education
   ========================================================================== */

.edu-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--space-6);
}

.edu {
  padding:var(--space-6);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
}

.edu h3 {
  font-size:var(--fs-lg);
}

.edu .org {
  margin:var(--space-2) 0 var(--space-5);
  font-size:var(--fs-sm);
  color:var(--accent);
}

.edu ul {
  display:grid;
  gap:var(--space-2);
}

.edu li {
  font-size:var(--fs-sm);
  color:var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding:var(--space-24) 0 var(--space-10);
}

.contact-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-8);
  padding:var(--space-10);
  background:var(--surface-2);
  border-radius:var(--r-lg);
}

.contact-banner .eyebrow {
  margin-bottom:var(--space-3);
}

.contact-banner h2 {
  font-size:var(--fs-2xl);
}

.contact-banner p:not(.eyebrow) {
  margin-top:var(--space-3);
  font-size:var(--fs-sm);
  color:var(--muted);
}

.contact-banner .btn {
  flex:none;
}

.foot-note {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-6);
  margin-top:var(--space-10);
  padding-top:var(--space-6);
  border-top:1px solid var(--line);
}

.small {
  font-size:var(--fs-xs);
  color:var(--muted);
}

.foot-links {
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-5);
}

.foot-links a {
  font-size:var(--fs-xs);
  color:var(--muted);
  transition:color var(--dur) var(--ease);
}

.foot-links a:hover {
  color:var(--text);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media(max-width:1050px) {
  .wrap {
    width:calc(100% - 2 * var(--space-8));
  }
  .header-inner {
    gap:var(--space-6);
  }
  .site-nav {
    gap:var(--space-5);
  }
  .hero-grid {
    gap:var(--space-10);
  }
  .about-grid {
    gap:var(--space-10);
  }
  .t-item {
    gap:var(--space-8);
  }
  .edu-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .pub {
    grid-template-columns:160px minmax(0,1fr);
  }
  .pub-fig {
    grid-column:2;
    grid-row:auto;
    max-width:440px;
    margin-top:var(--space-5);
  }
}

@media(max-width:760px) {
  :root {
    --header-h:112px;
    --fs-2xl:28px;
  }
  .wrap {
    width:calc(100% - 2 * var(--space-5));
  }
  .header-inner {
    height:auto;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:0;
    padding-top:var(--space-4);
  }
  .site-nav {
    order:3;
    flex-basis:100%;
    justify-content:space-between;
    gap:var(--space-4);
    margin-top:var(--space-2);
    overflow-x:auto;
    scrollbar-width:none;
  }
  .site-nav a {
    font-size:var(--fs-xs);
  }
  .page {
    padding:var(--space-16) 0;
  }
  .hero {
    padding-top:var(--space-12);
  }
  .hero-grid,.project-grid,.about-grid,.edu-grid,.t-item {
    grid-template-columns:1fr;
  }
  .hero-grid {
    gap:var(--space-10);
  }
  .network-art {
    max-height:240px;
  }
  .hero-bottom {
    flex-direction:column;
    gap:var(--space-3);
    margin-top:var(--space-12);
  }
  .section-head {
    margin-bottom:var(--space-8);
  }
  .project-toolbar {
    flex-direction:column;
    align-items:flex-start;
  }
  .card {
    padding:var(--space-6);
  }
  .card h3 {
    max-width:none;
  }
  .card-vis,.mini-stats {
    min-height:0;
  }
  .about-grid {
    gap:var(--space-10);
  }
  .t-item {
    gap:var(--space-5);
    padding:var(--space-6) 0;
  }
  .t-org {
    max-width:none;
  }
  .pub {
    grid-template-columns:1fr;
    row-gap:var(--space-4);
    padding:var(--space-6) 0;
  }
  .pub-cite,.pub-note,.pub-links,.pub-fig {
    grid-column:1;
  }
  .pub-note,.pub-links,.pub-fig {
    margin-top:0;
  }
  .pub-fig {
    max-width:none;
  }
  .edu-grid {
    gap:var(--space-4);
  }
  .site-footer {
    padding-top:var(--space-16);
  }
  .contact-banner {
    flex-direction:column;
    align-items:flex-start;
    gap:var(--space-6);
    padding:var(--space-6);
  }
  .foot-note {
    flex-direction:column;
    align-items:flex-start;
    gap:var(--space-3);
  }
}

@media(max-width:380px) {
  .btn {
    padding-inline:var(--space-4);
  }
  .network-panel,.card {
    padding:var(--space-5);
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none !important;
    animation:none !important;
  }
}

.pub-wt {
  color:var(--muted);
  font-size:var(--fs-sm);
}
