:root {
  --slate: #525d76;
  --slate-2: #7c869c;
  --slate-ink: #ffffff;
  --window: #ffffff;
  --panel: #ebebeb;
  --head: #ccd6df;
  --rule: #abb7c1;
  --ink: #111111;
  --ink-2: #555555;
  --link: #660a0a;
  --link-hover: #a3141a;
  --lime: #69bd3e;
  --band: #0b7a12;
  --band-ink: #ffffff;
  --lime-ink: #2e6e12;
  --alert: #cc0000;
  --zebra: #f4f6f8;
  --hover: #eef7e8;
  --focus: #ffcc00;
  --ui: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  --body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 10px;
  color-scheme: light; }

@media (prefers-color-scheme: dark) {
  :root {
    --slate: #1c2130;
    --slate-2: #3a4258;
    --slate-ink: #e9ecf1;
    --window: #232835;
    --panel: #2c3240;
    --head: #364056;
    --rule: #4b5568;
    --ink: #e9ecf1;
    --ink-2: #aab1bd;
    --link: #f0a3a3;
    --link-hover: #ffc4c4;
    --lime: #7fd055;
    --band: #1f6b1a;
    --band-ink: #f2fff0;
    --lime-ink: #8fdc66;
    --alert: #ff6b6b;
    --zebra: #272d3a;
    --hover: #2d3a2c;
    color-scheme: dark; } }

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--slate);
  color: var(--ink);
  font: 16px/1.55 var(--body); }

a {
  color: var(--link);
  text-underline-offset: 0.15em; }

a:hover {
  color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px; }

img {
  max-width: 100%;
  height: auto; }

.ds-titlebar {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1rem 16px 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  color: var(--slate-ink); }

.ds-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--slate-ink);
  text-decoration: none; }

.ds-brand:hover {
  color: var(--slate-ink); }

.ds-mark {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #111;
  background: #fff; }

.ds-wordmark {
  font: italic 900 2rem/1 var(--display);
  letter-spacing: -0.03em; }

.ds-wordmark .ds-sub {
  color: var(--lime); }

.ds-tagline {
  flex: 1 1 18rem;
  margin: 0;
  font: italic 700 0.85rem/1.4 var(--body);
  opacity: 0.9; }

.ds-band {
  background: var(--band);
  color: var(--band-ink);
  font: 700 0.8rem/1.4 var(--ui);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35); }

.ds-band-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.45rem 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem; }

.ds-shell {
  max-width: 68rem;
  margin: 1.25rem auto 0;
  padding: 0 16px 2rem;
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start; }

.ds-rail {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 6px 6px 6px 6px;
  padding: 0.4rem 0;
  font: 0.8rem/1.3 var(--ui);
  position: sticky;
  top: 1rem; }

.ds-rail ul {
  list-style: none;
  margin: 0;
  padding: 0; }

.ds-rail a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  color: var(--ink);
  text-decoration: none; }

.ds-rail a:hover {
  background: var(--hover); }

.ds-rail a[aria-current="page"] {
  background: #111;
  color: #fff;
  font-weight: 700; }

.ds-rail .ds-host {
  font-size: 0.7rem;
  color: var(--ink-2); }

.ds-rail a[aria-current="page"] .ds-host {
  color: #bbb; }

.ds-rail hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0.4rem 0.75rem; }

.ds-window {
  background: var(--window);
  border: 1px solid #000;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 1.25rem 1.5rem 1.75rem;
  min-width: 0;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }

.ds-window h1,
.ds-window h2 {
  font-family: var(--body);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.2rem; }

.ds-window h1 {
  font-size: 1.75rem;
  margin: 0 0 0.9rem; }

.ds-window h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem; }

.ds-window h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem; }

.ds-window > :first-child {
  margin-top: 0; }

.ds-meta,
.ds-window .meta {
  font: 0.8rem/1.4 var(--ui);
  color: var(--ink-2); }

.ds-host {
  font-family: var(--mono); }

.ds-files {
  width: 100%;
  border-collapse: collapse;
  font: 0.85rem/1.4 var(--ui);
  border: 1px solid var(--rule); }

.ds-files th {
  background: var(--head);
  color: var(--ink);
  text-align: left;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  white-space: nowrap; }

.ds-files td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top; }

.ds-files tbody tr:nth-child(even) td {
  background: var(--zebra); }

.ds-files tbody tr:hover td {
  background: var(--hover); }

.ds-files .ds-name {
  font-weight: 700; }

.ds-files .ds-desc {
  display: block;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 0.15rem; }

.ds-files .ds-num,
.ds-files time {
  font-family: var(--mono);
  white-space: nowrap;
  color: var(--ink-2); }

.ds-files .ds-empty td {
  color: var(--ink-2);
  font-style: italic; }

@media (max-width: 640px) {
  .ds-files .ds-hide-sm {
    display: none; } }

.ds-btn {
  display: inline-block;
  font: 700 0.8rem/1 var(--ui);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #555;
  background: linear-gradient(#fdfdfd, #c9ccd2);
  color: #111;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff; }

.ds-btn:hover {
  color: #111;
  background: linear-gradient(#fff, #d8dbe0); }

.ds-btn-go {
  border-color: #2e6e12;
  background: linear-gradient(#8fd96a, #4f9e2a);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.ds-btn-go:hover {
  color: #fff;
  background: linear-gradient(#9ee27a, #59ad31); }

.ds-badge {
  display: inline-block;
  font: 700 0.7rem/1 var(--ui);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  background: var(--lime);
  color: #0b2b02;
  vertical-align: middle; }

.ds-badge-soon {
  background: var(--panel);
  color: var(--ink-2);
  border: 1px solid var(--rule); }

.ds-progress {
  height: 14px;
  border: 1px solid #555;
  background: var(--panel);
  border-radius: 2px;
  overflow: hidden; }

.ds-progress > span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 12px); }

.ds-callout {
  border: 1px solid var(--rule);
  border-left: 6px solid var(--lime);
  background: var(--panel);
  padding: 0.75rem 1rem;
  margin: 1rem 0; }

.ds-callout-alert {
  border-left-color: var(--alert); }

.ds-status {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font: 0.75rem/1.4 var(--ui); }

.ds-status-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.5rem 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center; }

.ds-status .ds-online::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 0.4rem;
  box-shadow: 0 0 0 1px #2e6e12; }

.ds-status .ds-right {
  margin-left: auto; }

.ds-status button {
  font: inherit;
  color: var(--link);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer; }

.post p {
  margin: 0 0 1.1rem; }

.post-image {
  display: block;
  margin: 1.25rem 0;
  border: 1px solid #000; }

.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font: 0.8rem var(--ui);
  color: var(--ink-2);
  margin: -0.4rem 0 1.25rem; }

.post ul,
.post ol {
  padding-left: 1.25rem; }

.ds-window pre {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 0.6rem 0.75rem;
  font: 0.85rem/1.4 var(--mono); }

.ds-intro {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem; }

.ds-intro img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 2px solid #000;
  border-radius: 8px;
  flex: none; }

.ds-intro p {
  margin: 0; }

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 30rem;
  margin: 0 auto;
  background: var(--window);
  color: var(--ink);
  border: 1px solid #000;
  border-radius: 6px;
  font: 0.85rem/1.45 var(--ui);
  z-index: 1000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  overflow: hidden; }

.consent::before {
  content: "Cookies";
  display: block;
  background: linear-gradient(90deg, var(--slate), var(--slate-2));
  color: #fff;
  font-weight: 700;
  padding: 0.3rem 0.75rem; }

.consent[hidden] {
  display: none; }

.consent p {
  margin: 0.75rem 0.9rem; }

.consent-actions {
  display: flex;
  gap: 0.6rem;
  margin: 0 0.9rem 0.85rem; }

.consent button {
  font: 700 0.8rem/1 var(--ui);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #555;
  background: linear-gradient(#fdfdfd, #c9ccd2);
  color: #111;
  cursor: pointer; }

.consent-reopen {
  font: inherit;
  color: var(--link);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer; }

.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem; }

.sg-swatch {
  border: 1px solid var(--rule);
  font: 0.75rem/1.35 var(--ui);
  background: var(--window); }

.sg-chip {
  height: 56px;
  border-bottom: 1px solid var(--rule); }

.sg-swatch div + div {
  padding: 0.4rem 0.5rem; }

.sg-swatch code {
  font-family: var(--mono); }

.sg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 0.75rem 0 1.25rem; }

.sg-type p {
  margin: 0.25rem 0; }

.sg-demo {
  border: 1px dashed var(--rule);
  padding: 1rem;
  margin: 0.75rem 0 1.25rem;
  background: var(--slate); }

.sg-demo-window {
  background: var(--window);
  border: 1px solid #000;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 1rem; }

@media (max-width: 760px) {
  .ds-shell {
    grid-template-columns: 1fr;
    margin-top: 0.75rem; }
  .ds-rail {
    position: static;
    padding: 0;
    overflow-x: auto; }
  .ds-rail ul {
    display: flex; }
  .ds-rail li {
    flex: none; }
  .ds-rail a {
    padding: 0.55rem 0.8rem; }
  .ds-rail .ds-host,
  .ds-rail hr,
  .ds-rail .ds-rail-extra {
    display: none; }
  .ds-window {
    padding: 1rem;
    border-radius: 0 0 var(--radius) var(--radius); }
  .ds-wordmark {
    font-size: 1.6rem; }
  .ds-mark {
    width: 44px;
    height: 44px; }
  .ds-intro {
    flex-direction: column;
    align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important; } }
