.fde-desk {
  --fde-ink: #272c28;
  --fde-muted: #5d625a;
  --fde-line: #c8cbc0;
  --fde-green: #2d453b;
  --fde-paper: #fffdf6;
  --fde-rust: #95452f;
  max-width: 1320px;
  margin-inline: auto;
  color: var(--fde-ink);
}

.fde-desk .fde-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 0 clamp(24px, 2.5vw, 40px);
}
.fde-desk .fde-heading h1 {
  font: 620 clamp(43px, 4.25vw, 66px)/1.13 var(--font-title);
  letter-spacing: -.055em;
  color: var(--fde-ink);
}
.fde-desk .fde-heading p { margin: 9px 0 0; font-size: 15px; color: var(--fde-muted); }
.fde-header-actions, .fde-next-actions, .fde-start-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 21px;
}
.fde-desk :is(.fde-primary,.fde-new,.fde-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid var(--fde-ink);
  border-radius: 3px;
  background: var(--fde-ink);
  color: #fffef8;
  font: 620 14px/1.45 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
}
.fde-desk .fde-secondary { border-color: #b3b5a9; background: transparent; color: var(--fde-ink); }
.fde-desk .fde-new > span { font-size: 16px; font-weight: 450; }
.fde-desk :is(.fde-primary,.fde-new):hover { background: #405446; border-color: #405446; color: #fff; }
.fde-desk .fde-secondary:hover { background: #edede5; }
.fde-desk :is(a,button):focus-visible { outline: 2px solid var(--fde-rust); outline-offset: 4px; }

.fde-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(27px, 3vw, 44px);
  align-items: start;
}
.fde-sheet, .fde-start {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  margin: 0;
  min-width: 0;
  border: 1px solid #bfc5b9;
  border-radius: 3px;
  background: var(--fde-paper);
}
.fde-project-cover, .fde-start-intro {
  position: relative;
  padding: clamp(22px, 2.2vw, 34px);
  background: var(--fde-green);
  color: #fffdf1;
  isolation: isolate;
  border-radius: 2px 0 0 2px;
}
.fde-project-cover::after, .fde-start-intro::after {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: clamp(50px, 7vw, 105px);
  height: clamp(50px, 7vw, 105px);
  background: repeating-linear-gradient(45deg, transparent 0 7px, #e3e5ca38 7px 8px);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: -1;
}
.fde-file-label, .fde-next-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #e5e7d8;
  font: 580 13px/1.4 var(--font-sans);
}
.fde-file-label i {
  position: relative;
  width: 18px;
  height: 13px;
  border: 1.3px solid currentColor;
  border-radius: 1px;
}
.fde-file-label i::before {
  content: '';
  position: absolute;
  left: -1.3px;
  bottom: 100%;
  width: 9px;
  height: 3px;
  border: 1.3px solid currentColor;
  border-bottom: 0;
  border-radius: 1px 2px 0 0;
}
.fde-project-cover h2, .fde-start-intro h2 {
  margin: 12px 0 8px;
  color: inherit;
  font: 600 clamp(26px, 2.3vw, 36px)/1.28 var(--font-title);
  letter-spacing: -.045em;
}
.fde-project-brief, .fde-start-intro > p:last-child {
  margin: 0;
  color: #e0e4d8;
  font: 400 15px/1.72 var(--font-sans);
}
.fde-project-brief {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.fde-source { display: inline-flex; align-items: center; min-height: 37px; margin-top: 5px; color: #f2f0d9; font-size: 13px; text-underline-offset: 4px; }
.fde-project-cover .fde-source:hover { color: white; }

.fde-next, .fde-start-actions { align-self:center; padding:clamp(22px,2.2vw,34px); }
.fde-next-label { color: var(--fde-rust); }
.fde-next-label::before { content: ''; display: inline-block; width: 21px; height: 2px; background: currentColor; }
.fde-next h3 { margin: 10px 0 5px; font: 620 clamp(23px, 2vw, 31px)/1.35 var(--font-title); letter-spacing: -.035em; }
.fde-next-reason { margin: 0; color: var(--fde-muted); font: 400 15px/1.7 var(--font-sans); }
.fde-next-actions { margin-top: clamp(16px,1.6vw,25px); }
.fde-desk .fde-primary { background: var(--fde-green); border-color: var(--fde-green); }
.fde-desk .fde-primary span { margin-left: 7px; font-size: 17px; }
.fde-text-link, .fde-example { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--fde-muted); font: 510 14px/1.55 var(--font-sans); text-decoration: underline; text-underline-offset: 4px; }

.fde-route { min-width: 0; }
.fde-route h2, .fde-project-list h2 { margin: 0; color: var(--fde-ink); font: 620 clamp(25px,2.2vw,32px)/1.32 var(--font-title); letter-spacing: -.04em; }
.fde-route ol { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin:16px 0 0; padding:0; list-style:none; counter-reset:phase; border-top:2px solid var(--fde-ink); border-bottom:1px solid var(--fde-line); }
.fde-route li { display:flex; flex-direction:column; min-width:0; counter-increment:phase; padding:18px clamp(15px,1.65vw,26px) 14px; border-left:1px solid var(--fde-line); }
.fde-route li:first-child { border-left:0; }
.fde-route li.fde-route-suggested { box-shadow:inset 0 3px var(--fde-rust); background:#f3f0e7; }
.fde-route-heading { display:flex; gap:10px; align-items:baseline; }
.fde-route-heading::before { content:counter(phase,decimal-leading-zero); color:var(--fde-muted); font:550 14px/1.4 var(--font-sans); font-variant-numeric:tabular-nums; }
.fde-route-suggested .fde-route-heading::before { color:var(--fde-rust); }
.fde-route-heading h3 { margin:0; color:var(--fde-ink); font:620 clamp(20px,1.8vw,26px)/1.4 var(--font-title); letter-spacing:-.035em; }
.fde-phase-help { margin:9px 0 14px; color:var(--fde-muted); font:400 15px/1.65 var(--font-sans); }
.fde-phase-outcome { margin:auto 0 0; padding-top:12px; border-top:1px solid var(--fde-line); color:var(--fde-ink); font:570 15px/1.6 var(--font-sans); }
.fde-phase-outcome > span { margin-right:4px; color:var(--fde-muted); font-size:13px; font-weight:450; }
.fde-phase-record { margin:5px 0 0; color:#365746; font:490 14px/1.55 var(--font-sans); }
.fde-route-links { display:flex; flex-wrap:wrap; gap:0 12px; margin-top:6px; }
.fde-route-links a { display:inline-flex; align-items:center; min-height:34px; color:var(--fde-muted); font:520 14px/1.5 var(--font-sans); text-decoration:underline; text-decoration-color:#bfc2b6; text-underline-offset:4px; }
.fde-route-links > a:hover,.fde-route-links > a[data-suggested-step],.fde-desk .fde-text-link:hover,.fde-desk .fde-example:hover { color:var(--fde-rust); text-decoration-color:currentColor; }
.fde-project-list { min-width:0; border-top:1px solid var(--fde-line); padding-top:14px; }
.fde-project-list h2 { font-size:23px; }
.fde-project-list ul { list-style: none; margin: 10px 0 0; padding: 0; }
.fde-project-list li { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--fde-line); padding: 11px 0; }
.fde-project-list li > div { min-width: 0; }
.fde-project-list strong, .fde-project-list small { display: block; }
.fde-project-list strong { color: var(--fde-ink); font-size: 16px; font-weight: 620; }
.fde-project-list small { color: var(--fde-muted); font-size: 13px; }
.fde-project-list small a { color: inherit; text-underline-offset: 3px; }
.fde-project-list button, .fde-example { background: none; border: none; cursor: pointer; }
.fde-project-list button { flex: none; min-height: 42px; padding: 0 2px; color: var(--fde-green); font: 620 14px/1.5 var(--font-sans); }
.fde-example { justify-self:start; padding:0; }

@media (min-width: 1081px) {
  @supports (grid-template-rows: subgrid) {
    .fde-route li { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
    .fde-phase-outcome { align-self: start; margin-top: 0; }
    .fde-phase-record { grid-row: 4; }
    .fde-route-links { grid-row: 5; align-self: end; }
  }
}

@media (max-width: 1080px) {
  .fde-route ol { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fde-route li:nth-child(odd) { border-left:0; }
  .fde-route li:nth-child(n+3) { border-top:1px solid var(--fde-line); }
}
@media (max-width: 700px) {
  .fde-desk .fde-heading { display:block; padding-bottom:17px; }
  .fde-desk .fde-heading h1 { font-size:37px; }
  .fde-desk .fde-heading p { margin-top:5px; font-size:14px; }
  .fde-header-actions { margin-top:12px; flex-direction:row-reverse; justify-content:flex-end; gap:9px; }
  .fde-spread { gap:24px; }
  .fde-sheet,.fde-start { grid-template-columns:minmax(0,1fr); }
  .fde-project-cover,.fde-start-intro,.fde-start-actions,.fde-next { padding:16px 18px; }
  .fde-project-cover,.fde-start-intro { border-radius:2px 2px 0 0; }
  .fde-project-cover h2,.fde-start-intro h2 { margin:8px 0 4px; font-size:25px; }
  .fde-project-brief { -webkit-line-clamp:2; }
  .fde-project-brief,.fde-start-intro > p:last-child,.fde-next-reason { font-size:14px; }
  .fde-next h3 { font-size:22px; margin-top:5px; }
  .fde-next-actions { margin-top:10px; }
  .fde-route h2 { font-size:25px; }
}
@media (max-width: 540px) {
  .fde-route ol { grid-template-columns:minmax(0,1fr); margin-top:10px; }
  .fde-route li { border:0; border-top:1px solid var(--fde-line); padding:14px 13px; }
  .fde-route li:first-child { border-top:0; }
  .fde-route li.fde-route-suggested { box-shadow:inset 3px 0 var(--fde-rust); }
  .fde-phase-help { margin:5px 0 7px; }
  .fde-phase-outcome { border:0; padding:0; }
  .fde-route-links { margin:0; }
  .fde-route-links > a { min-height:38px; }
}
