.fp-shell {
  --fp-ink: #10202c;
  --fp-muted: #5d6f7b;
  --fp-border: rgba(16, 32, 44, 0.14);
  --fp-card: rgba(255, 255, 255, 0.82);
  --fp-card-solid: #fff;
  --fp-paper: #f8f3e9;
  --fp-ridge: #203040;
  --fp-ridge-glow: rgba(32, 48, 64, 0.16);
  --fp-dust: #19b7a7;
  --fp-accent: #0e9f8f;
  --fp-blue: #1877d5;
  --fp-amber: #e79a19;
  --fp-green: #16a85c;
  --fp-red: #e5484d;

  color: var(--fp-ink);
}

.theme-dark .fp-shell {
  --fp-ink: #edf7ff;
  --fp-muted: #9eb0bc;
  --fp-border: rgba(211, 230, 239, 0.18);
  --fp-card: rgba(13, 22, 28, 0.78);
  --fp-card-solid: #101a21;
  --fp-paper: #e9ded0;
  --fp-ridge: #273849;
  --fp-ridge-glow: rgba(20, 184, 166, 0.18);
  --fp-dust: #34d5c5;
  --fp-accent: #55dccd;
}

.fp-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--fp-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(231, 248, 244, 0.82) 50%, rgba(255, 246, 229, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(14, 159, 143, 0.08) 34px 35px);
  padding: 12px;
  box-shadow: 0 18px 44px rgba(10, 24, 34, 0.1);
}

.fp-board[data-active-step='1'] .fp-canvas-actions,
.fp-board[data-active-step='2'] .fp-canvas-actions #fp-clear,
.fp-board[data-active-step='2'] .fp-canvas-actions #fp-export,
.fp-board[data-active-step='3'] .fp-canvas-actions #fp-export {
  display: none;
}

.fp-board[data-active-step='3'] .fp-canvas-panel canvas {
  cursor: crosshair;
}

.fp-workflow {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.fp-workflow span {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--fp-border);
  border-radius: 8px;
  background: var(--fp-card);
  padding: 7px;
  color: var(--fp-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.fp-workflow b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--fp-muted), transparent 84%);
  color: var(--fp-ink);
}

.fp-workflow span[data-active='true'] {
  border-color: color-mix(in srgb, var(--fp-accent), transparent 34%);
  background: color-mix(in srgb, var(--fp-accent), transparent 86%);
  color: var(--fp-ink);
}

.fp-workflow span[data-done='true'] b {
  background: var(--fp-accent);
  color: #fff;
}

.fp-board::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed color-mix(in srgb, var(--fp-accent), transparent 70%);
  border-radius: 7px;
  pointer-events: none;
}

.theme-dark .fp-board {
  background:
    linear-gradient(135deg, rgba(7, 15, 20, 0.96), rgba(8, 38, 39, 0.88) 54%, rgba(44, 35, 22, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(85, 220, 205, 0.07) 34px 35px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.fp-canvas-panel,
.fp-controls,
.fp-flow,
.fp-evidence table {
  position: relative;
  z-index: 1;
}

.fp-canvas-panel {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--fp-accent), transparent 58%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 18%),
    var(--fp-paper);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.56),
    0 18px 40px rgba(13, 33, 42, 0.14);
}

.fp-upload {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(231, 248, 244, 0.82)),
    var(--fp-paper);
  color: var(--fp-ink);
  text-align: center;
}

.fp-upload[data-has-image='true'] {
  display: none;
}

.fp-upload svg {
  width: 42px;
  height: 42px;
  color: var(--fp-accent);
}

.fp-upload strong {
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  line-height: 1;
}

.fp-upload span {
  color: var(--fp-muted);
  font-weight: 850;
}

.fp-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.fp-canvas-panel canvas {
  display: block;
  width: 100%;
  min-height: 540px;
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
}

.fp-canvas-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 5;
  max-width: min(520px, calc(100% - 24px));
  border: 1px solid color-mix(in srgb, var(--fp-accent), transparent 50%);
  border-radius: 999px;
  background: rgba(9, 18, 24, 0.72);
  color: #f2fbff;
  padding: 7px 12px;
  box-shadow: 0 14px 30px rgba(10, 24, 34, 0.14);
}

.theme-dark .fp-canvas-hint {
  background: rgba(9, 18, 24, 0.84);
}

.fp-canvas-hint strong {
  font-size: clamp(0.84rem, 1.7vw, 1rem);
  line-height: 1.1;
}

.fp-canvas-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), transparent 18%, transparent 78%, rgba(255, 255, 255, 0.28)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(14, 159, 143, 0.08) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(14, 159, 143, 0.06) 39px 40px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.theme-dark .fp-canvas-panel::after {
  mix-blend-mode: soft-light;
}

.fp-glass {
  position: absolute;
  z-index: 4;
  width: 124px;
  height: 124px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 8px rgba(14, 159, 143, 0.12),
    0 18px 38px rgba(12, 26, 35, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 120ms ease;
}

.fp-canvas-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.fp-canvas-actions button,
.fp-selector button,
.fp-legend button,
.fp-evidence button {
  min-height: 38px;
  border: 1px solid var(--fp-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--fp-ink);
  font-size: inherit;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(10, 24, 34, 0.06);
}

.fp-canvas-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}

.fp-canvas-actions svg {
  width: 18px;
  height: 18px;
}

.theme-dark .fp-canvas-actions button,
.theme-dark .fp-selector button,
.theme-dark .fp-legend button,
.theme-dark .fp-evidence button {
  background: rgba(9, 18, 24, 0.82);
}

.fp-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--fp-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(10, 24, 34, 0.08);
}

.theme-dark .fp-controls {
  background: rgba(13, 22, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.fp-step-panel {
  display: none;
}

.fp-step-panel[data-active='true'] {
  display: contents;
}

.fp-step-panel[data-fp-panel='1'] .fp-step-heading {
  grid-column: 1 / 3;
  grid-row: 1;
}

.fp-step-panel[data-fp-panel='1'] .fp-primary-action {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: auto;
  min-width: 200px;
}

.fp-step-panel[data-fp-panel='2'] .fp-step-heading {
  grid-column: 1 / -1;
  grid-row: 1;
  border-bottom: 1px solid var(--fp-border);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.fp-step-panel[data-fp-panel='2'] .fp-selector {
  grid-column: 1;
  grid-row: 2;
}

.fp-step-panel[data-fp-panel='2'] .fp-compact-sliders {
  grid-column: 2;
  grid-row: 2;
}

.fp-step-panel[data-fp-panel='2'] .fp-primary-action {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  width: auto;
  min-width: 200px;
}

.fp-step-panel[data-fp-panel='3'] .fp-step-heading {
  grid-column: 1 / -1;
  grid-row: 1;
  border-bottom: 1px solid var(--fp-border);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.fp-step-panel[data-fp-panel='3'] .fp-legend {
  grid-column: 1;
  grid-row: 2;
}

.fp-step-panel[data-fp-panel='3'] .fp-active-minutia {
  grid-column: 2;
  grid-row: 2;
}

.fp-step-panel[data-fp-panel='3'] .fp-mark-actions {
  grid-column: 3;
  grid-row: 2;
}

.fp-step-panel[data-fp-panel='3'] .fp-primary-action {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  width: auto;
  min-width: 200px;
}

.fp-step-panel[data-fp-panel='4'] .fp-step-heading {
  grid-column: 1 / 3;
  grid-row: 1;
}

.fp-step-panel[data-fp-panel='4'] .fp-primary-action {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: auto;
  min-width: 200px;
}

.fp-step-nav {
  grid-column: 3;
  grid-row: 3;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-self: center;
}

.fp-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: var(--fp-accent);
  color: #fff;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 159, 143, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-dark .fp-primary-action {
  color: #052d29;
}

.fp-primary-action:hover:not(:disabled) {
  background: var(--fp-dust);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(14, 159, 143, 0.45);
}

.fp-primary-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.fp-step-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--fp-border);
  border-radius: 8px;
  background: transparent;
  color: var(--fp-ink);
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-dark .fp-step-nav button {
  border-color: rgba(255, 255, 255, 0.15);
}

.fp-step-nav button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-1.5px);
}

.theme-dark .fp-step-nav button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.fp-step-nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.fp-step-nav svg,
.fp-primary-action svg {
  width: 18px;
  height: 18px;
}

.fp-board[data-active-step='1'] .fp-step-nav,
.fp-board[data-active-step='2'] .fp-step-nav,
.fp-board[data-active-step='4'] .fp-step-nav {
  display: none;
}

.fp-step-heading {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.fp-step-heading span {
  color: var(--fp-accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fp-step-heading strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fp-ink);
}

.fp-step-heading p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}


.fp-shell .fp-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(0, 0, 0, 0.06);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--fp-border);
}

.theme-dark .fp-shell .fp-selector {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.fp-shell .fp-selector button {
  border: none;
  background: transparent;
  color: var(--fp-muted);
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  min-width: 0;
  padding: 0 8px;
  min-height: 44px;
  font-weight: 700;
}

.fp-shell .fp-selector button:hover {
  color: var(--fp-ink);
  background: rgba(255, 255, 255, 0.05);
}

.fp-shell .fp-selector button[data-active='true'] {
  background: var(--fp-accent);
  color: #052d29;
  box-shadow: 0 4px 12px rgba(14, 159, 143, 0.25);
}

.theme-dark .fp-shell .fp-selector button[data-active='true'] {
  background: var(--fp-accent);
  color: #052d29;
  box-shadow: 0 4px 12px rgba(14, 159, 143, 0.4);
}

.fp-compact-sliders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fp-slider {
  display: grid;
  gap: 6px;
  color: var(--fp-muted);
  font-size: 0.8rem;
  font-weight: 700;
  grid-template-columns: 1fr auto;
}

.fp-slider span {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fp-slider input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 0, 0, 0.08);
  height: 4px;
  border-radius: 2px;
  outline: none;
}

.theme-dark .fp-slider input[type="range"] {
  background: rgba(255, 255, 255, 0.12);
}

.fp-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fp-accent);
  border: 2px solid var(--fp-card-solid);
  cursor: pointer;
  box-shadow: 0 0 8px var(--fp-accent);
  transition: transform 0.1s ease;
}

.fp-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.fp-slider strong {
  color: var(--fp-accent);
  font-size: 0.95rem;
  background: rgba(14, 159, 143, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(14, 159, 143, 0.2);
  line-height: 1;
}

.fp-readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fp-step-panel[data-fp-panel='2'] .fp-readouts,
.fp-step-panel[data-fp-panel='3'] .fp-readouts,
.fp-step-panel[data-fp-panel='4'] .fp-readouts {
  display: none;
}

.fp-readouts div,
.fp-flow {
  min-height: 86px;
  border: 1px solid color-mix(in srgb, var(--fp-accent), transparent 68%);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--fp-accent), transparent 84%), transparent),
    var(--fp-card);
  padding: 12px;
}

.fp-readouts span,
.fp-flow span {
  display: block;
  color: var(--fp-muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fp-readouts strong,
.fp-flow strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.05rem, 3vw, 1.48rem);
  line-height: 1.1;
}

.fp-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.fp-legend button {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 7px 12px;
  text-align: left;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.fp-legend button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: color-mix(in srgb, var(--legend-color), transparent 50%);
}

.fp-legend small {
  grid-column: 2 / 4;
  color: var(--fp-muted);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.1;
}

.fp-legend b {
  color: var(--fp-muted);
  font-size: 0.72rem;
}

.fp-legend button[data-active='true'] {
  border-color: color-mix(in srgb, var(--legend-color), transparent 34%);
  background: color-mix(in srgb, var(--legend-color), transparent 86%);
}

.fp-legend button[data-full='true'] {
  opacity: 0.52;
  cursor: not-allowed;
}

.fp-legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--legend-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--legend-color), transparent 84%);
}

.fp-legend button:nth-child(1) { --legend-color: var(--fp-red); }
.fp-legend button:nth-child(2) { --legend-color: var(--fp-blue); }
.fp-legend button:nth-child(3) { --legend-color: var(--fp-amber); }
.fp-legend button:nth-child(4) { --legend-color: var(--fp-green); }

.fp-active-minutia {
  display: grid;
  gap: 4px;
  min-height: 58px;
  border: 1px solid color-mix(in srgb, var(--fp-accent), transparent 75%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--fp-accent), transparent 94%);
  padding: 10px 12px;
}

.fp-active-minutia span {
  color: var(--fp-muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fp-active-minutia strong {
  font-size: 0.98rem;
  line-height: 1;
}

.fp-active-minutia p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.25;
}

.fp-mark-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.fp-mark-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  border: 1px solid var(--fp-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--fp-ink);
  font-size: 0.78rem;
  font-weight: 900;
  transition: all 0.2s ease;
}

.fp-mark-actions button:hover:not(:disabled) {
  background: var(--fp-card-solid);
  border-color: color-mix(in srgb, var(--fp-accent), transparent 50%);
  transform: translateY(-1px);
}

.theme-dark .fp-mark-actions button {
  background: rgba(9, 18, 24, 0.82);
}

.fp-mark-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.fp-mark-actions svg {
  width: 16px;
  height: 16px;
}

.fp-evidence {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.fp-board[data-active-step='4'] .fp-evidence {
  display: grid;
}

.fp-evidence table {
  width: 100%;
  min-width: 520px;
  overflow: hidden;
  border: 1px solid var(--fp-border);
  border-spacing: 0;
  border-radius: 8px;
  background: var(--fp-card);
  backdrop-filter: blur(10px);
}

.fp-evidence th,
.fp-evidence td {
  border-bottom: 1px solid var(--fp-border);
  padding: 10px 12px;
  text-align: left;
}

.fp-evidence th {
  color: var(--fp-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fp-evidence td {
  font-weight: 820;
}

.fp-evidence td span {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot), transparent 84%);
}

.fp-icon-button {
  display: inline-grid;
  width: 36px;
  min-height: 34px;
  place-items: center;
  padding: 0;
}

.fp-icon-button svg {
  width: 18px;
  height: 18px;
}

.fp-checklist {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin: 0;
  border-left: 3px solid var(--fp-accent);
  padding: 2px 0 2px 10px;
  color: var(--fp-muted);
  font-size: 0.88rem;
  font-weight: 850;
}

@media (max-width: 860px) {
  .fp-board,
  .fp-controls,
  .fp-evidence {
    grid-template-columns: 1fr;
  }

  .fp-step-panel[data-active='true'] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .fp-step-panel[data-active='true'] > * {
    grid-column: 1;
    grid-row: auto;
  }

  .fp-step-panel[data-active='true'] .fp-primary-action {
    width: 100%;
    align-self: stretch;
  }

  .fp-step-nav {
    grid-column: 1;
    grid-row: auto;
    justify-content: stretch;
    width: 100%;
  }

  .fp-step-nav button {
    width: 100%;
  }

  .fp-compact-sliders {
    grid-template-columns: 1fr;
  }

  .fp-mark-actions {
    grid-template-columns: 1fr;
  }

  .fp-workflow {
    grid-template-columns: 1fr 1fr;
  }

  .fp-evidence {
    overflow-x: auto;
  }

  .fp-evidence table {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .fp-board {
    padding: 10px;
  }

  .fp-selector,
  .fp-readouts,
  .fp-legend,
  .fp-workflow {
    grid-template-columns: 1fr;
  }

  .fp-canvas-panel canvas {
    min-height: 430px;
  }

  .fp-canvas-actions {
    right: 8px;
    bottom: 8px;
  }
}
