.fs-controls {
  --fs-rule: var(--line, #d8dfdd);
  --fs-blue: #135b80;
  --fs-paper: #fffefa;
  color: #192c32;
}
.fs-controls h3, .fs-controls h4, .fs-controls p,
.fs-inspector p { margin: 0; }
.fs-controls h3 {
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.fs-edge-row {
  display: flex;
  gap: .85rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
  border-block-end: 1px solid var(--fs-rule);
}
.fs-edge-info>span, .fs-package header>span {
  color: #526366;
  font-size: .78rem;
  line-height: 1.4;
}
.fs-edge-open {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55rem;
  padding: 3px 0 3px .35rem;
  border: 0;
  color: var(--fs-blue);
  background: transparent;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}
.fs-chip {
  width: 51px;
  height: 29px;
  border-radius: 5px;
  flex: none;
  background: #44504c url('/countertop-studio/moonstone-v1/assets/finishes/edge-thumbnails.webp') var(--fs-thumb) center / 500% 100% no-repeat;
}
.fs-arrow { font-weight: 400; font-size: 1.3rem; }
.fs-package { padding-block: 15px 17px; }
.fs-package header, .fs-stage-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.fs-package-choices, .fs-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 4px;
  margin-block-start: .65rem;
}
.fs-package-choices button, .fs-profiles button, .fs-stage-tools button {
  min-height: 44px;
  padding: .38rem .3rem;
  border: 1px solid #cbd6d7;
  border-radius: 9px;
  background: rgba(255,255,255,.76);
  color: #32474f;
  font: inherit;
  font-size: .84rem;
  font-weight: 550;
  line-height: 1.25;
  cursor: pointer;
}
.fs-package-choices button[aria-pressed="true"],
.fs-profiles button[aria-pressed="true"], .fs-stage-tools button[aria-pressed="true"] {
  color: #fff;
  background: #135b80;
  border-color: #135b80;
}
.fs-controls .fs-shared {
  margin-block-start: .7rem;
  font-size: .82rem;
  color: #4b6066;
  line-height: 1.5;
}
.fs-package-detail {
  margin-top: .8rem;
  border: 1px solid var(--fs-rule);
  border-radius: 13px;
  padding: 13px;
  display: grid;
  gap: 11px;
  background: var(--fs-paper);
}
.fs-package-title { display: flex; gap: 12px; align-items: center; }
.fs-package-title img { width: 64px; height: 49px; border-radius: 6px; object-fit: cover; }
.fs-package-title h4 { font-size: 1.02rem; letter-spacing: -.025em; }
.fs-package-title p, .fs-package-detail>p, .fs-advice p { color: #334b52; font-size: .86rem; line-height: 1.45; }
.fs-advice { background: #eaf3f5; padding: 11px 13px; border-radius: 8px; }
.fs-advice strong { display: block; margin-bottom: 3px; font-size: .84rem; color: #174a64; }
.fs-later {
  justify-self: start;
  min-height: 44px;
  padding: 0 .25rem;
  margin-block: -9px;
  border: 0;
  background: transparent;
  color: var(--fs-blue);
  font: inherit;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.fs-inspector {
  display: grid;
  gap: .6rem;
  color: #1c333b;
}
.fs-stage {
  min-width: 0;
  width: 100%;
  aspect-ratio: 2/1;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(ellipse at 40% 25%, #68716a, #36413e 90%);
}
.fs-stage canvas,.fs-stage svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.fs-stage :is(canvas,svg):active { cursor: grabbing; }
.fs-stage [hidden] { display: none !important; }
.fs-stage-tools { font-size: .8rem; color: #52656d; }
.fs-stage-tools button { padding-inline: 13px; }
.fs-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}
.fs-profiles button { flex: 1 1 30%; padding-inline: 7px; }
.fs-inspector .fs-edge-description { min-height: 2.9em; color: #42575f; font-size: .91rem; line-height: 1.45; }
.fs-controls button:focus-visible,.fs-inspector :is(button,canvas,svg):focus-visible { outline: 3px solid #4089b0; outline-offset: 2px; }
