.edx {
  --ed-dark: #302018;
  --ed-light: var(--paper, #f8f4eb);
  --ed-soft: #eee5d6;
  --ed-rule: #ccbcab;
  --ed-accent: var(--butter, #f3d77c);
  color: var(--ed-dark);
}
.edx .ed-section { padding-block: clamp(48px, 7vw, 105px); }
.edx .ed-dark { color: var(--ed-light); background: var(--ed-dark); --ed-rule: #786352; }
.edx .ed-soft, .edx .ed-scenario-copy { background: var(--ed-soft); }
.edx .ed-inner-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 7vw, 120px); align-items: start; }
.edx .ed-heading { max-width: 65ch; }
.edx .ed-heading h2, .edx .ed-scenario-copy h2 {
  font: 400 clamp(2.5rem, 5vw, 5.8rem)/.96 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
  margin: 0;
}
.edx .ed-heading p, .edx .ed-guide-foot p, .edx .ed-scenario-copy p, .edx .ed-picker p,
.edx .ed-steps p, .edx .ed-sample p { max-width: 59ch; font-size: clamp(.97rem, 1.08vw, 1.1rem); line-height: 1.65; }
.edx .ed-heading p { margin-top: 20px; }
.edx small { display:block; font: 550 .73rem/1.5 var(--mono); letter-spacing:.025em; }
.edx .ed-link { min-height: 44px; display:inline-flex; gap:.68em; align-items:center; padding:.55em 0; border-bottom:1px solid currentColor; width:fit-content; max-width:100%; font-weight:580; line-height:1.35; }
.edx .ed-arrow { display:inline-block; flex:none; transition:transform .22s ease; font-family:var(--sans); }
.edx a:hover .ed-arrow { transform:translate(2px,-2px); }
.edx .ed-dark h2, .edx .ed-dark .ed-link { color:var(--ed-accent); }
.edx .ed-heading + .ed-link, .edx .ed-heading + .ed-actions, .edx .ed-picker > .ed-link { margin-top:22px; }
.edx .ed-actions { display:flex; flex-wrap:wrap; gap:6px 27px; align-items:baseline; }
.edx :where(a,button,summary,input):focus-visible { outline:3px solid #af672b; outline-offset:3px; }
.edx .ed-dark :where(a,button,summary,input):focus-visible { outline-color:var(--ed-accent); }
.edx .ed-steps { list-style:none; margin:0; padding:0; }
.edx .ed-steps li { padding:0 0 22px 22px; border-left:1px solid var(--ed-rule); position:relative; }
.edx .ed-steps li:last-child { padding-bottom:0; }
.edx .ed-steps li::before { position:absolute; content:""; width:7px; height:7px; border-radius:50%; background:var(--ed-accent); left:-4px; top:.62rem; }
.edx .ed-steps h3, .edx .ed-recovery h3 { font:500 clamp(1.27rem, 1.65vw, 1.65rem)/1.2 var(--sans); letter-spacing:-.035em; margin:0 0 9px; }
.edx .ed-materials { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:clamp(14px,2.5vw,35px); margin-top:clamp(25px,3.6vw,55px); }
.edx .ed-sample { border-bottom:1px solid var(--ed-rule); }
.edx .ed-sample summary { display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px; padding-bottom:12px; font-weight:600; }
.edx summary { cursor:pointer; list-style:none; }
.edx summary::-webkit-details-marker { display:none; }
.edx .ed-sample summary img { grid-column:1/-1; width:100%; aspect-ratio:1.72; object-fit:cover; }
.edx .ed-sample:nth-child(2) summary img { object-position:50% 62%; }
.edx .ed-sample summary b, .edx .ed-picker summary b { flex:none; font:400 1.45rem/1 var(--sans); transition:transform .2s ease; }
.edx details[open] > summary b { transform:rotate(45deg); }
.edx .ed-sample > div { padding:2px 0 19px; }
.edx .ed-sample > div a { margin-top:10px; }
.edx .ed-scenario { display:grid; grid-template-columns:1.1fr .9fr; padding-bottom:clamp(42px,6vw,80px); }
.edx .ed-scenario-photo { min-height:260px; }
.edx .ed-scenario-photo img { width:100%; height:100%; max-height:650px; object-fit:cover; }
.edx .ed-scenario-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(25px,4vw,65px); }
.edx .ed-scenario-copy small { margin-bottom:12px; }
.edx .ed-scenario-copy p { margin:18px 0 12px; }
.edx .ed-picker details { border-top:1px solid var(--ed-rule); }
.edx .ed-picker details:last-of-type { border-bottom:1px solid var(--ed-rule); }
.edx .ed-picker summary { min-height:55px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 0; font:550 clamp(1.02rem,1.4vw,1.45rem)/1.36 var(--sans); letter-spacing:-.025em; }
.edx .ed-picker details > div { padding:3px 35px 19px 0; }
.edx .ed-picker p + .ed-actions, .edx .ed-picker p + .ed-link { margin-top:10px; }
.edx .ed-related { padding-bottom:clamp(48px,6vw,90px); }
.edx .ed-related-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 35px; margin-top:27px; }
.edx .ed-related-links a { min-width:0; display:flex; align-items:center; gap:clamp(10px,1.4vw,23px); border-block:1px solid var(--ed-rule); padding:15px 0; }
.edx .ed-related-links img { width:24%; max-width:135px; aspect-ratio:1.35; object-fit:cover; }
.edx .ed-related-links .ed-arrow { margin-left:auto; margin-right:3px; }
.edx .ed-related-links small { margin-bottom:3px; }
.edx .ed-related-links strong { font:500 clamp(1rem,1.35vw,1.4rem)/1.22 var(--sans); letter-spacing:-.035em; }
.edx .ed-table-wrap { min-width:0; }
.edx .ed-heading + .ed-table-wrap { margin-top:clamp(23px,3vw,45px); }
.edx .ed-table { width:100%; border-collapse:collapse; }
.edx .ed-table :is(th,td) { text-align:left; vertical-align:top; padding:clamp(11px,1.5vw,20px) 10px; border-bottom:1px solid var(--ed-rule); line-height:1.46; }
.edx .ed-table :is(th,td):first-child { padding-left:0; }
.edx .ed-table th:last-child,.edx .ed-table td:last-child { padding-right:0; }
.edx .ed-table thead th { font:550 .74rem/1.4 var(--mono); }
.edx .ed-table tbody th { font-weight:590; }
.edx .ed-table tbody tr:last-child :is(th,td) { border-bottom:0; }
.edx .ed-object-links { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.edx .ed-object-links a { min-width:0; }
.edx .ed-object-links img { width:100%; aspect-ratio:1; object-fit:cover; }
.edx .ed-object-links a > span { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid var(--ed-rule); font-weight:570; }
.edx .ed-math { margin-top:24px; max-width:470px; }
.edx .ed-math p { display:flex; align-items:baseline; gap:20px; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--ed-rule); }
.edx .ed-math strong { flex:none; font-weight:600; }
.edx .ed-math p:last-child { color:var(--ed-accent); }
.edx .ed-plan { width:100%; max-width:490px; margin:0 auto; align-self:center; }
.edx .ed-plan-square { position:relative; display:grid; place-items:center; width:min(100%,320px); aspect-ratio:1; margin:0 auto; border:1px dashed var(--ed-accent); background:repeating-linear-gradient(0deg,transparent 0 31px,#ffffff12 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,#ffffff12 31px 32px); }
.edx .ed-plan-ring { display:grid; place-items:center; width:39.85%; aspect-ratio:1; border-radius:50%; background:var(--ed-accent); color:var(--ed-dark); }
.edx .ed-plan-ring b,.edx .ed-plan-square i { font:500 .81rem/1.3 var(--mono); }
.edx .ed-plan-square i { position:absolute; bottom:-.65em; padding:0 10px; background:var(--ed-dark); color:var(--ed-accent); }
.edx .ed-plan figcaption { margin:20px auto 0; text-align:center; max-width:36ch; line-height:1.4; font-size:.85rem; }
.edx .ed-check { min-width:0; margin:0; border:1px solid var(--ed-rule); padding:10px clamp(16px,2vw,27px); }
.edx .ed-check legend { padding:0 8px; font-weight:600; }
.edx .ed-check label { cursor:pointer; display:flex; gap:13px; align-items:flex-start; padding:14px 0; line-height:1.48; }
.edx .ed-check label + label { border-top:1px solid var(--ed-rule); }
.edx .ed-check input { flex:none; width:20px; height:20px; margin:2px 0 0; accent-color:var(--ed-dark); }
.edx .ed-guide-foot { margin-top:26px; padding-top:24px; border-top:1px solid var(--ed-rule); display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.edx .ed-search { margin-top:22px; }
.edx .ed-search label { display:block; font-size:.82rem; margin-bottom:7px; font-weight:600; }
.edx .ed-search > div { display:flex; max-width:460px; }
.edx .ed-search input { flex:1; min-width:0; border:1px solid #968675; border-right:0; background:var(--ed-light); padding:10px 12px; border-radius:0; }
.edx .ed-search button { min-height:44px; border:0; padding:10px 20px; color:var(--ed-accent); background:var(--ed-dark); }
.edx .ed-recovery ul { list-style:none; padding:0; margin:12px 0; display:grid; grid-template-columns:1fr 1fr; gap:0 20px; }
.edx .ed-recovery li a { width:100%; justify-content:space-between; border-color:var(--ed-rule); }
@media (max-width: 800px) {
  .edx .ed-inner-split, .edx .ed-scenario { grid-template-columns:1fr; }
  .edx .ed-scenario-photo { min-height:0; }
  .edx .ed-scenario-photo img { aspect-ratio:1.8; }
  .edx .ed-plan { margin-top:6px; }
  .edx .ed-guide-foot { flex-direction:column; }
  .edx .ed-sample summary img { aspect-ratio:1.2; }
}
@media (max-width: 600px) {
  .edx .ed-materials, .edx .ed-related-links { grid-template-columns:1fr; gap:0; }
  .edx .ed-sample summary { display:flex; gap:15px; padding:12px 0; }
  .edx .ed-sample summary img { width:76px; height:63px; }
  .edx .ed-sample summary b { margin-left:auto; }
  .edx .ed-related-links a + a { border-top:0; }
  .edx .ed-table :is(th,td) { padding-inline:5px; font-size:.85rem; overflow-wrap:anywhere; }
  .edx .ed-table thead th { font-size:.68rem; }
  .edx .ed-object-links { gap:12px; }
  .edx .ed-plan-square { width:min(82%,260px); }
}
@media (prefers-reduced-motion:reduce) {
  .edx .ed-arrow, .edx .ed-sample b, .edx .ed-picker b { transition:none; }
}
