/* Heritage & Duty — Ross County Republican Party.
   Tokens copied verbatim from the design system; component rules are ports of the
   React kit's inline styles (Button, Input, Card, Alert, Badge, StarList, StripeRule). */

:root {
  /* ---- Brand core ---- */
  --brand-red: #b22234;
  --brand-red-bright: #cc2b3f;
  --brand-red-dark: #8f0020;
  --brand-red-deep: #6d0018;
  --brand-navy: #2f3d73;
  --brand-navy-dark: #222c55;
  --brand-gold: #d4af37;
  --brand-white: #ffffff;

  /* ---- Surfaces ---- */
  --surface: #fbfaf9;
  --surface-container-low: #f6f4f3;
  --background: #fbfaf9;

  --wash-red: radial-gradient(900px 520px at 12% -10%, rgba(178, 34, 52, .16), transparent 62%);
  --wash-blue: radial-gradient(760px 520px at 96% 108%, rgba(47, 61, 115, .14), transparent 60%);
  --wash-page: var(--wash-red), var(--wash-blue), linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);

  /* ---- Content ---- */
  --on-surface: #191517;
  --on-surface-variant: #5c5155;
  --border-input: rgba(25, 21, 23, .14);
  --error: #ba1a1a;
  --on-error-container: #93000a;
  --success: #2f6b3f;
  --on-success-container: #12401f;

  --text-heading: #191517;
  --text-body: var(--on-surface);
  --text-muted: var(--on-surface-variant);

  /* ---- Type ---- */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Archivo Narrow", "Archivo", Arial, sans-serif;

  /* ---- Glass ---- */
  --glass-filter: blur(24px) saturate(1.6);
  --glass-filter-heavy: blur(40px) saturate(1.8);
  --glass-white: rgba(255, 255, 255, .62);
  --glass-white-strong: rgba(255, 255, 255, .80);
  --glass-border: 1px solid rgba(255, 255, 255, .65);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .9);
  --glass-sheen: linear-gradient(160deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .10) 42%, rgba(255, 255, 255, 0) 70%);
  --glass-shadow: 0 8px 32px rgba(25, 21, 23, .10), 0 1px 2px rgba(25, 21, 23, .05);
  --glass-shadow-red: 0 10px 30px rgba(178, 34, 52, .28);
  --focus-ring: 0 0 0 3px rgba(178, 34, 52, .30);

  /* ---- Shape ---- */
  --radius: 10px;
  --radius-md: 14px;
  --radius-card: 20px;
  --radius-full: 9999px;
  --stripe-accent: 3px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --transition-base: all var(--dur-base) var(--ease-standard);
}

*, *::before, *::after { box-sizing: border-box; }

/* Author display rules below would otherwise beat the UA stylesheet's [hidden]. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--text-body);
  background: var(--wash-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */

.shell { display: flex; flex-direction: column; min-height: 100vh; }
.wrap { width: 100%; max-width: 420px; margin: 0 auto; padding: 0 16px; }
.wrap--wide { max-width: 1100px; }

.page {
  flex: 1;
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise var(--dur-base) var(--ease-standard) both;
}
.page--centered { align-items: center; text-align: center; padding: 40px 0; gap: 24px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: var(--glass-filter-heavy);
  backdrop-filter: var(--glass-filter-heavy);
  border-bottom: 1px solid rgba(25, 21, 23, .06);
}
.masthead__inner {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
/* The lockup already carries the party name, so no separate eyebrow is set in type. */
.masthead__logo {
  width: 100%;
  max-width: 208px;
  height: auto;
  display: block;
}
.masthead__title {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 31px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--text-heading);
}

/* ---------- Motifs ---------- */

.tricolor { display: flex; height: 3px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--brand-red); }
.tricolor span:nth-child(2) { background: rgba(255, 255, 255, .85); }
.tricolor span:nth-child(3) { background: var(--brand-navy); }

.stripe-rule {
  display: flex;
  width: 100%;
  height: 9px;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(25, 21, 23, .12);
}
.stripe-rule span { flex: 1; }
.stripe-rule span:nth-child(1) { background: var(--brand-red); }
.stripe-rule span:nth-child(2) { background: rgba(255, 255, 255, .9); }
.stripe-rule span:nth-child(3) { background: var(--brand-navy); }
.stripe-rule--red { height: 2px; background: var(--brand-red); }
.stripe-rule--short { max-width: 220px; }
.rule-gap { margin: 8px 0 14px; }

.star-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.star-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.star-list li::before {
  content: "\2605";
  color: var(--brand-red);
  font-size: 15px;
  line-height: 24px;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(178, 34, 52, .28);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-label);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-red-dark);
}
.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--text-heading);
}
.lede { margin: 0; font-size: 16px; line-height: 24px; color: var(--text-muted); }
.intro { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* ---------- Badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-label);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--brand-red-bright), var(--brand-red));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.badge--neutral {
  background: var(--glass-white);
  color: var(--text-muted);
  border: 1px solid rgba(25, 21, 23, .08);
  box-shadow: none;
}
.badge--navy {
  background: rgba(47, 61, 115, .10);
  color: var(--brand-navy);
  border: 1px solid rgba(47, 61, 115, .24);
  box-shadow: none;
}

/* ---------- Card ---------- */

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--glass-white-strong);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-sheen);
  pointer-events: none;
}
.card--accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--stripe-accent);
  background: var(--brand-red);
}
.card__inner { position: relative; padding: 22px; }
.card__inner--tight { padding: 18px; }
.card--block { width: 100%; text-align: left; }

/* ---------- Fields ---------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.field__label {
  font-family: var(--font-label);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field__label .req { color: var(--brand-red); margin-left: 4px; }
.field input {
  height: 56px;
  padding: 0 16px;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--on-surface);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition-base);
  box-shadow: inset 0 1px 2px rgba(25, 21, 23, .05);
}
.field input:focus {
  border-color: rgba(178, 34, 52, .55);
  box-shadow: var(--focus-ring);
}
.field input[aria-invalid="true"] {
  border-color: rgba(186, 26, 26, .6);
  box-shadow: 0 0 0 3px rgba(186, 26, 26, .14);
}
.field__msg { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.field__msg--error { color: var(--error); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  min-height: 48px;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
}
.consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand-red);
  flex-shrink: 0;
  cursor: pointer;
}
.consent input:focus-visible { outline: 3px solid rgba(178, 34, 52, .3); outline-offset: 2px; }
.consent[data-invalid="true"] input { outline: 2px solid var(--error); outline-offset: 2px; }

/* Honeypot: off-screen rather than display:none so naive bots still fill it. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Test mode. Deliberately unlike the brand so it can never read as production chrome. */
.testbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 2px dashed #a8862a;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, .16);
  font-size: 14px;
  line-height: 20px;
  color: #5a4610;
}
.testbar strong { font-weight: 700; }
.testbar a { color: var(--brand-red-dark); font-weight: 600; word-break: break-all; }
.testbar[hidden] { display: none; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 30px;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}
.btn--block { width: 100%; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-sheen);
  pointer-events: none;
}
.btn > span { position: relative; }

.btn--primary {
  background: linear-gradient(180deg, var(--brand-red-bright) 0%, var(--brand-red) 55%, var(--brand-red-dark) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  box-shadow: var(--glass-shadow-red), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .20);
}
.btn--primary:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--brand-red-bright) 0%, var(--brand-red-bright) 55%, var(--brand-red) 100%);
}
.btn--primary:active:not(:disabled) {
  background: linear-gradient(0deg, var(--brand-red-bright) 0%, var(--brand-red) 55%, var(--brand-red-dark) 100%);
  box-shadow: 0 4px 12px rgba(178, 34, 52, .24), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn--glass {
  background: var(--glass-white);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  color: var(--brand-red-dark);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}
.btn--glass::before { background: none; }
.btn--glass:hover { background: rgba(255, 255, 255, .74); }

.btn:focus-visible { outline: none; box-shadow: var(--focus-ring), var(--glass-shadow-red); }
.btn:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }

/* ---------- Alert ---------- */

.alert {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  background: linear-gradient(150deg, rgba(47, 61, 115, .14), rgba(255, 255, 255, .55));
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
}
.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--stripe-accent);
  background: var(--brand-navy);
}
.alert__title {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-navy);
}
.alert--error { background: linear-gradient(150deg, rgba(186, 26, 26, .14), rgba(255, 255, 255, .55)); }
.alert--error::before { background: var(--error); }
.alert--error .alert__title { color: var(--on-error-container); }
.alert--success { background: linear-gradient(150deg, rgba(47, 107, 63, .14), rgba(255, 255, 255, .55)); }
.alert--success::before { background: var(--success); }
.alert--success .alert__title { color: var(--on-success-container); }
.alert[hidden] { display: none; }

/* ---------- Confirmation ---------- */

.medallion {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--brand-red-bright), var(--brand-red-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: var(--glass-shadow-red), inset 0 2px 0 rgba(255, 255, 255, .5);
}

.audit {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 14px;
  line-height: 20px;
}
.audit dt { color: var(--text-muted); }
.audit dd { margin: 0; word-break: break-word; }

.terms-quote { margin: 10px 0 0; font-size: 16px; line-height: 24px; }

/* ---------- Footer ---------- */

.footer {
  padding: 28px 16px 36px;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
}
.footer__line { margin: 0 0 4px; }
.footer__line:last-child { margin-bottom: 0; }
.footer__line--copy { margin-top: 12px; }
.footer a { color: var(--brand-red-dark); }

/* ---------- Admin ---------- */

.admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { flex: 1 1 140px; }
.stat__value {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  color: var(--text-heading);
}
.stat__label {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.adminbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--glass-white);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  font-size: 14px;
}
.adminbar__who { color: var(--text-muted); }
.adminbar__links { display: flex; gap: 16px; align-items: center; }
.adminbar__links a { color: var(--brand-red-dark); text-decoration: none; font-weight: 600; }
.adminbar__links a[aria-current="page"] { text-decoration: underline; }
.adminbar form { display: inline; }

.linkbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--brand-red-dark);
  cursor: pointer;
}
.linkbtn:hover:not(:disabled) { text-decoration: underline; }
.linkbtn:disabled { color: var(--outline, #a99a9c); cursor: default; opacity: .55; }
.linkbtn--danger { color: var(--error); font-weight: 500; }

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--text-heading);
}

.winner { margin: 0 0 4px; }
.winner__name {
  margin: 8px 0 2px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  color: var(--text-heading);
}
.winner__meta { margin: 0 0 2px; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.draw-history { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.draw-history summary { cursor: pointer; font-weight: 600; color: var(--brand-red-dark); }
.draw-history ul { margin: 10px 0 0; padding-left: 18px; }
.draw-history li { margin-bottom: 4px; }

.tablebar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tablebar__search { flex: 1 1 240px; }
.tablebar__search input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--on-surface);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition-base);
}
.tablebar__search input:focus {
  border-color: rgba(178, 34, 52, .55);
  box-shadow: var(--focus-ring);
}
.tablebar__count { font-size: 13px; color: var(--text-muted); }

.pager {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  font-size: 14px;
}
.pager[hidden] { display: none; }
.pager__label { color: var(--text-muted); }

.table-scroll { overflow-x: auto; }
table.entries { width: 100%; border-collapse: collapse; font-size: 14px; }
table.entries th, table.entries td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(25, 21, 23, .08);
  white-space: nowrap;
}
table.entries th {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
table.entries tr:last-child td { border-bottom: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

@media (max-width: 640px) {
  .headline { font-size: 30px; line-height: 36px; }
}

.prize {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 28px;
  font-weight: 700;
  color: var(--brand-red-dark);
}

/* Admin forms sit inside a 1100px shell; unconstrained inputs stretch absurdly wide. */
.form--narrow { max-width: 420px; }
.form--narrow input { max-width: 100%; }

/* ---------- Draw entropy pad ---------- */

.entropy {
  position: relative;
  height: 180px;
  max-width: 420px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(178, 34, 52, .35);
  background: rgba(255, 255, 255, .55);
  overflow: hidden;
  touch-action: none;
  transition: border-color var(--dur-base) var(--ease-standard);
}
.entropy--active { border-color: var(--brand-red); background: rgba(255, 255, 255, .75); }
.entropy--ready { border-style: solid; border-color: var(--success); }
.entropy__elephant {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  filter: drop-shadow(0 4px 10px rgba(178, 34, 52, .3));
}
.entropy--active .entropy__elephant { cursor: grabbing; }

.entropy__bar {
  max-width: 420px;
  height: 8px;
  margin: 12px 0 6px;
  border-radius: var(--radius-full);
  background: rgba(25, 21, 23, .10);
  overflow: hidden;
}
.entropy__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--brand-red), var(--brand-red-bright));
  transition: width 90ms linear;
}
.entropy--ready ~ .entropy__bar .entropy__fill { background: var(--success); }

/* ---------- Collapsible card section ---------- */

.collapse { position: relative; }
.collapse__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.collapse__summary::-webkit-details-marker { display: none; }
.collapse__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--text-heading);
}
.collapse__title::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 10px;
  color: var(--brand-red);
  font-family: var(--font-ui);
  transition: transform var(--dur-base) var(--ease-standard);
}
.collapse[open] .collapse__title::before { transform: rotate(90deg); }
.collapse__note { font-size: 14px; color: var(--text-muted); }
.collapse__summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius); }
.collapse > .card__inner { padding-top: 0; }

/* ---------- Assets page ---------- */

.asset { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.asset__art {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(25, 21, 23, .08);
}
.asset__art img { display: block; max-width: 100%; height: auto; }
.asset__preview--square img { width: 150px; }
.asset__preview--sheet img { width: 130px; }
.asset__preview--wide { background: var(--surface-container-low, #f6f4f3); }
.asset__preview--wide img { width: 200px; }
.asset__body { flex: 1 1 260px; min-width: 0; }
.asset__body .section-title { margin-bottom: 6px; }
.asset__files {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}
.asset__files li { display: flex; flex-direction: column; gap: 4px; }
.btn--sm { height: 40px; padding: 0 20px; font-size: 15px; }

.rowactions { display: flex; gap: 14px; align-items: center; }
.rowactions form { display: inline; }
