.ds {
  --ds-rule: #ccd9cc;
  --ds-forest: #123f2d;
  --ds-light: #eef5e9;
  padding-top: clamp(38px, 4.5vw, 76px);
  padding-bottom: 12px;
}
.ds h1, .ds h2, .ds h3 { text-wrap: balance; }
.ds-index-head { padding-bottom: clamp(30px, 3.3vw, 50px); }
.ds-trade-shortcuts { display: none; }
.ds-index-head h1, .ds-article-head h1 { max-width: 15ch; }
.ds-index-head p, .ds-article-head > div > p {
  color: var(--copy); font-size: clamp(1.16rem, 1.55vw, 1.45rem);
  max-width: 54ch; line-height: 1.46; margin: 16px 0 0;
}
.ds-directory-entry {
  display: grid; grid-template-columns: minmax(210px, .77fr) minmax(0, 1.23fr);
  gap: clamp(25px, 5vw, 74px); align-items: center;
  padding: clamp(23px, 2.8vw, 40px) 0; border-top: 1px solid var(--ds-rule);
}
.ds-photo-link, .ds-article-head figure, .ds-photo-strip a { overflow: hidden; background: #e5ede2; }
.ds-photo-link { display: block; border-radius: 6px; aspect-ratio: 2.15; }
.ds-photo-link img, .ds-article-head img, .ds-photo-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ds-photo-link img, .ds-photo-strip img { transition: transform .35s ease; }
.ds-photo-link:hover img, .ds-photo-strip a:hover img, .ds-photo-strip a:focus-visible img { transform: scale(1.04); }
.ds-directory-copy { max-width: 59ch; }
.ds-directory-copy h2 { margin: 0 0 10px; }
.ds-directory-copy h2 a { color: inherit; text-decoration: none; }
.ds-directory-copy h2 a:hover { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; }
.ds-arrow { display: inline-block; font: 400 .66em var(--body); vertical-align: .1em; color: var(--green); }
.ds-directory-copy p, .ds-reading, .ds-lesson > div > p, .ds-other p { color: var(--copy); }
.ds-directory-copy p { margin: 0 0 14px; }
.ds-crosslinks { display: flex; align-items: baseline; gap: 6px 22px; flex-wrap: wrap; }
.ds-crosslinks a { font-size: 1rem; font-weight: 620; }
.ds-other {
  padding: clamp(24px, 3.6vw, 52px); margin-top: clamp(27px, 3.8vw, 56px);
  background: var(--ds-forest); border-radius: 8px;
}
.ds-other h2, .ds-other p { color: #fff; }
.ds-other p { max-width: 67ch; }
.ds a.ds-text-action { color: #d9f6c8; display: inline-block; font-weight: 650; padding: 3px 0; }
.ds-learn-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 70px); }
.ds-photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.ds-photo-strip a { aspect-ratio: .92; color: white; display: block; position: relative; border-radius: 5px; }
.ds-photo-strip img { position: absolute; inset: 0; }
.ds-photo-strip a::after { position: absolute; content: ""; inset: 30% 0 0; background: linear-gradient(transparent, #0e2718db); }
.ds-photo-strip a span { z-index: 1; position: absolute; bottom: 9px; left: 9px; right: 7px; font-weight: 650; font-size: clamp(.9rem, 1.1vw, 1.08rem); line-height: 1.1; }
.ds-matcher { display: grid; grid-template-columns: 1fr 1fr; background: var(--ds-light); border: 1px solid var(--ds-rule); border-radius: 8px; overflow: hidden; }
.ds-pick, .ds-picked { padding: clamp(25px, 3.5vw, 49px); }
.ds-pick h2 { max-width: 18ch; font-size: clamp(1.5rem, 2.55vw, 2.5rem); }
.ds-fields { display: grid; gap: 12px; }
.ds [hidden] { display: none !important; }
.ds-fields label { display: grid; gap: 4px; color: var(--ds-forest); font-weight: 650; font-size: .95rem; }
.ds-fields select { width: 100%; min-height: 45px; border: 1px solid #94ad99; border-radius: 4px; background-color: white; padding: 6px 10px; font: 500 1.02rem var(--body); }
.ds-picked { background: var(--ds-forest); color: #fff; display: flex; align-items: center; }
.ds-picked h3 { color: white; margin: 0; max-width: 20ch; font-size: clamp(1.5rem, 2.8vw, 2.9rem); line-height: 1.13; }
.ds-picked p { max-width: 50ch; margin: 12px 0 16px; color: #edf8e9; }
.ds-result-link { display: inline-flex; gap: 12px; align-items: center; background: #c7efac; color: var(--ds-forest); border-radius: 4px; padding: 9px 15px; min-height: 42px; font-weight: 700; text-decoration: none; }
.ds-result-link:hover { background: #e1f7d0; }
.ds-picked :focus-visible, .ds-other :focus-visible { outline-color: #e1f7d0; }
.ds-article-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(26px, 6vw, 94px); align-items: center; padding-bottom: clamp(36px, 4vw, 66px); }
.ds-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 20px; }
.ds-guide-actions > a { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; font-weight: 650; }
.ds-article-head figure { margin: 0; border-radius: 7px; aspect-ratio: 1.47; }
.ds-stack-section, .ds-lesson { margin-top: clamp(33px, 5vw, 78px); scroll-margin-top: 20px; }
.ds-article-head + .ds-stack-section { margin-top: 0; }
.ds-stack-section h2 { margin-bottom: 22px; }
.ds-stack { border-top: 2px solid var(--ds-forest); }
.ds-stack table { width: 100%; }
.ds-stack thead th { font-size: .95rem; background: var(--ds-light); }
.ds-stack th, .ds-stack td { padding: 13px 16px; line-height: 1.43; }
.ds-stack tbody th { width: 21%; }
.ds-stack td { width: 39.5%; color: var(--copy); }
.ds-lesson { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 5vw, 92px); padding-top: clamp(22px, 3vw, 45px); border-top: 1px solid var(--ds-rule); }
.ds-lesson h2 { max-width: 18ch; }
.ds-reading > :first-child, .ds-process { margin-top: 0; }
.ds-reading p { margin-bottom: 15px; }
.ds-reading { max-width: 69ch; }
.ds-process { list-style: none; padding: 0; margin-bottom: 0; counter-reset: procedure; }
.ds-process li { position: relative; padding-left: 43px; counter-increment: procedure; margin-top: 0; }
.ds-process li::before { content: counter(procedure); position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; background: #e9f5e3; color: var(--ds-forest); font-weight: 700; text-align: center; line-height: 28px; }
.ds-process strong { font-family: var(--display); font-weight: 650; font-size: 1.09rem; }
.ds-process p { color: var(--copy); }
.ds-note { border-left: 3px solid #6caa6f; margin: 1.3em 0; padding: 13px 20px; background: #f2f7ef; }
.ds-note p:last-child, .ds-example p:last-child { margin-bottom: 0; }
.ds-example { padding: clamp(18px, 2.5vw, 30px); background: var(--ds-light); border-radius: 5px; margin: 22px 0; }
.ds-example h3 { margin-top: 0; }
.ds-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 18px 0; }
.ds-number { display: flex; flex-direction: column; border-top: 1px solid #b6cab8; padding-top: 8px; }
.ds-number strong { font-family: var(--display); font-weight: 640; font-variant-numeric: tabular-nums; font-size: clamp(1.2rem, 1.9vw, 1.9rem); color: var(--ds-forest); }
.ds-number small, .ds-number span { font-size: .83rem; }
@media(max-width:760px) {
  .ds { padding-top: 28px; }
  .ds-directory-entry { grid-template-columns: minmax(112px,.55fr) minmax(0,1fr); gap: 17px; align-items: start; }
  .ds-photo-link { aspect-ratio: 1; }
  .ds-directory-copy h2 { font-size: 1.55rem; }
  .ds-crosslinks { gap: 5px 13px; }
  .ds-index-head { padding-bottom: 24px; }
  .ds-trade-shortcuts { display: flex; flex-wrap: wrap; gap: 0 17px; margin-top: 10px; }
  .ds-trade-shortcuts a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; font-weight: 650; }
  .ds-learn-head { display: flex; align-items: stretch; flex-direction: column; gap: 19px; }
  .ds-photo-strip a { aspect-ratio: 1.65; }
  .ds-matcher { grid-template-columns: 1fr; }
  .ds-pick, .ds-picked { padding: 20px; }
  .ds-article-head { grid-template-columns: 1fr; gap: 23px; padding-bottom: 32px; }
  .ds-article-head figure { aspect-ratio: 2; }
  .ds-lesson { grid-template-columns: 1fr; gap: 10px; }
  .ds-stack th, .ds-stack td { padding: 10px; }
  .ds-values { gap: 10px; }
}
@media(max-width:480px) {
  .ds-directory-entry { display: block; }
  .ds-photo-link { aspect-ratio: 2.35; margin-bottom: 15px; }
  .ds-directory-copy h2 { font-size: 1.8rem; }
  .ds-stack thead { position:absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; }
  .ds-stack :is(table,tbody,tr,th,td) { display: block; }
  .ds-stack tbody th, .ds-stack td { width: 100%; padding: 0; border: none; }
  .ds-stack tbody tr { padding: 14px 0; border-bottom: 1px solid var(--ds-rule); }
  .ds-stack tbody th { font-size: 1.12rem; }
  .ds-stack td { margin-top: 8px; }
  .ds-stack td::before { content: attr(data-title); display: block; font-weight: 650; font-size: .86rem; color: var(--ink); }
  .ds-number small { font-size: .77rem; }
}
@media(prefers-reduced-motion:reduce) {
  .ds-photo-link img, .ds-photo-strip img { transition: none; }
  .ds-photo-link:hover img, .ds-photo-strip a:hover img, .ds-photo-strip a:focus-visible img { transform: none; }
}
.visit-sheet{max-width:850px;padding:clamp(18px,3.5vw,44px);border:1px solid var(--ds-rule);border-top:4px solid var(--green);border-radius:6px;background:#f7faf4;scroll-margin-top:18px}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.sheet-head h2,.sheet-head p{margin-top:0}.sheet-head p,.sheet-check small{color:var(--copy)}.sheet-head button{flex-shrink:0}
.visit-sheet-fields{display:grid;grid-template-columns:2fr 1fr;gap:16px}.visit-sheet-fields label,.sheet-notes{display:grid;gap:4px;font-weight:650}.visit-sheet input:not([type=checkbox]){width:100%;min-width:0;min-height:44px;font:inherit;font-weight:400;border:1px solid #90a993;border-radius:4px;background:white;padding:7px 10px}.sheet-progress{margin-top:18px;font-weight:650}
.visit-sheet fieldset{min-width:0;margin:22px 0 0;padding:0;border:0}.visit-sheet legend{padding:0 0 7px;font:650 1.2rem var(--display);color:var(--ink)}.sheet-check{display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--ds-rule);padding:11px 0;cursor:pointer}.sheet-check small{display:block;margin-top:2px;font-size:.96rem}.sheet-check input{width:20px;height:20px;accent-color:var(--green);flex:none;margin:4px 0}.sheet-notes{margin-top:16px}.sheet-paper-value{display:none}
@media(max-width:600px){.sheet-head{flex-direction:column;gap:0}.sheet-head button{margin-bottom:15px}.visit-sheet-fields{grid-template-columns:1fr}.sheet-check{line-height:1.35}}
@media print{
  .first-customer > :not(.visit-sheet){display:none!important}.first-customer,.visit-sheet{width:100%;max-width:none;margin:0;padding:0;border:0;background:white}.sheet-head button,.sheet-progress{display:none!important}.sheet-head h2{font-size:21pt}.sheet-head p{font-size:10pt}.visit-sheet-fields{display:grid;grid-template-columns:2fr 1fr}.visit-sheet fieldset{margin-top:10pt;break-inside:avoid}.sheet-check{padding:3pt 0;gap:8pt}.sheet-check strong,.visit-sheet-fields,.sheet-notes{font-size:10pt}.sheet-check small{font-size:9pt}.sheet-check input{width:12pt;height:12pt;margin:2pt 0}.visit-sheet .sheet-paper-value{display:block;min-height:16pt;border-bottom:1px solid #a4b4a8;font-weight:400;overflow-wrap:anywhere}.js .visit-sheet input:not([type=checkbox]){display:none}.sheet-head{display:block}
}
.sheet-credit{display:none}
@page clean-visit{size:letter;margin:.55in}
@media print{.first-customer{page:clean-visit}.first-customer .sheet-credit{display:block;font-size:9pt;text-align:right;color:#516755;margin-top:14pt}.first-customer .sheet-head p{display:none}}
