/* Worked steel design guide, in the site's palette: slate text and borders, brand teal accents.
   Brand: 50 #ecfbfb 100 #d4f5f5 200 #a8eaeb 400 #61cccd 500 #4fcccd 600 #47b8b8 700 #378e8f 800 #2d7172 900 #1f4e4f
   Slate: 50 #f8fafc 100 #f1f5f9 200 #e2e8f0 300 #cbd5e1 400 #94a3b8 500 #64748b 600 #475569 700 #334155 900 #0f172a */
.sde-page{color:#334155;background:#fff;line-height:1.7}
.sde-container{width:min(100% - 48px,1280px);margin-inline:auto}

/* Hero: same treatment as the other engineering guides. */
.sde-hero{background:linear-gradient(to bottom,#ecfbfb,#fff 85%);border-bottom:1px solid #e2e8f0;padding:20px 0 52px}
.sde-breadcrumb{display:flex;gap:6px;flex-wrap:wrap;color:#64748b;font-size:12px;margin-bottom:20px}
.sde-breadcrumb a{color:#475569;font-weight:600;text-decoration:none}
.sde-breadcrumb a:hover{color:#378e8f}
.sde-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.sde-hero .sde-eyebrow{display:inline-flex;align-items:center;gap:6px;border:1px solid #a8eaeb;background:rgb(255 255 255 / .85);border-radius:9999px;padding:4px 12px;color:#378e8f;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin:0 0 14px}
.sde-page h1{font-size:clamp(36px,4vw,48px);line-height:1.1;letter-spacing:-.025em;font-weight:700;margin:0 0 18px;color:#0f172a}
.sde-page h1 em{font-style:normal;color:#47b8b8}
.sde-lead{font-size:16px;line-height:1.75;color:#475569;max-width:560px;margin:0}
.sde-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.sde-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 20px;border:2px solid #47b8b8;border-radius:8px;background:#47b8b8;color:#fff;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 1px 2px rgb(15 23 42 / .06);transition:background-color .15s,border-color .15s}
.sde-button:hover{color:#fff;background:#378e8f;border-color:#378e8f}
.sde-button--light{color:#378e8f;background:#fff;border-color:#a8eaeb}
.sde-button--light:hover{color:#378e8f;background:#ecfbfb;border-color:#61cccd}
.sde-meta{font-size:12px;color:#64748b;line-height:1.7;margin:16px 0 0}

.sde-hero-figure{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin:0;box-shadow:0 18px 40px -28px rgb(15 23 42 / .35);overflow:hidden}
.sde-figure-head{display:flex;justify-content:space-between;gap:15px;padding:16px 20px;border-bottom:1px solid #f1f5f9;font-size:13px;font-weight:600;color:#0f172a}
.sde-figure-head span{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.sde-hero-figure img{display:block;width:100%;height:auto;padding:26px 15px}
.sde-brief-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 20px;gap:16px;background:#f8fafc;border-block:1px solid #f1f5f9}
.sde-brief-stats strong{display:block;font-size:22px;line-height:1.4;color:#0f172a;letter-spacing:-.02em}
.sde-brief-stats span{font-size:12px;color:#64748b}
.sde-hero-figure figcaption{padding:12px 20px;font-size:12px;color:#64748b;line-height:1.6}

/* Results strip */
.sde-result-strip{display:grid;grid-template-columns:repeat(4,1fr) 1.15fr;gap:28px;padding-block:28px;border-bottom:1px solid #e2e8f0}
.sde-result-strip>div>span{font-size:12px;font-weight:600;color:#64748b}
.sde-result-strip strong{display:block;font-size:24px;color:#0f172a;line-height:1.4;letter-spacing:-.02em}
.sde-result-strip strong small{font-size:12px;font-weight:500;color:#64748b;letter-spacing:0}
.sde-meter{height:6px;background:#f1f5f9;border-radius:9999px;margin-top:10px;overflow:hidden}
.sde-meter i{display:block;height:100%;background:#47b8b8;border-radius:9999px}
.sde-result-strip p{font-size:12px;color:#64748b;margin:2px 0;line-height:1.7}
.sde-result-strip p strong{font-size:13px;margin-bottom:4px}

/* Body and contents list (same look as the guide contents on the calculator page) */
.sde-body-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:64px;padding-block:52px 80px}
.sde-outline{align-self:start;position:sticky;top:110px}
.sde-outline nav>p{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin:0 0 10px}
.sde-outline nav>a{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:11px;font-weight:600;text-decoration:none;padding:6px 8px;border-radius:8px;transition:background-color .15s}
.sde-outline nav>a span{color:#475569;font-size:13px;font-weight:600}
.sde-outline nav>a:hover{background:#ecfbfb}
.sde-outline nav>a:hover span{color:#378e8f}
.sde-outline-download{display:block;border-top:1px solid #e2e8f0;margin-top:16px;padding:16px 8px 0;font-size:13px;font-weight:600;color:#378e8f;text-decoration:none}
.sde-outline-download:hover{color:#2d7172}

.sde-article{min-width:0;max-width:960px}
.sde-section{scroll-margin-top:108px;margin-bottom:52px;padding-bottom:44px;border-bottom:1px solid #e2e8f0}
.sde-section:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.sde-section .sde-eyebrow{margin:0 0 8px;color:#378e8f;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.sde-section h2{font-size:30px;letter-spacing:-.025em;line-height:1.25;color:#0f172a;font-weight:700;margin:0 0 18px}
.sde-section>p:not(.sde-eyebrow){font-size:16px;line-height:1.75;color:#475569;margin:0 0 18px}
.sde-section a:not(.sde-button){color:#378e8f;font-weight:600;text-decoration:none}
.sde-section a:not(.sde-button):hover{color:#2d7172;text-decoration:underline;text-underline-offset:3px}

/* Section properties: table beside the drawing */
.sde-properties{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:28px;margin-top:24px}
.sde-table-wrap{overflow-x:auto;max-width:100%;margin:22px 0;border:1px solid #e2e8f0;border-radius:12px}
.sde-page table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;font-variant-numeric:tabular-nums}
.sde-page caption{caption-side:top;text-align:left;font-size:12px;font-weight:600;color:#64748b;padding:12px 16px;line-height:1.6;background:#fff}
.sde-page th,.sde-page td{padding:10px 16px;border-top:1px solid #f1f5f9;vertical-align:top}
.sde-page thead th{background:#f8fafc;color:#475569;font-size:12px;font-weight:700;border-top:1px solid #e2e8f0}
.sde-page tbody th{font-weight:500;color:#475569}
.sde-page tbody td{color:#0f172a;font-weight:600;white-space:nowrap}
.sde-page tbody tr:hover{background:#f8fafc}
.sde-section-sketch{margin:0}
.sde-section-sketch svg{width:100%;height:auto;display:block}
.sde-section-sketch figcaption{font-size:12px;line-height:1.7;text-align:center;color:#64748b}

/* Note: the site's teal callout */
.sde-note{font-size:14px;line-height:1.75;background:rgb(236 251 251 / .6);border-left:4px solid #4fcccd;border-radius:12px;padding:18px 20px;margin-top:22px;color:#334155}
.sde-note strong{color:#0f172a}

/* Equations: monospace steps like the hand checks in the other guides; the result line is highlighted. */
.sde-equations{border:1px solid #e2e8f0;border-left:4px solid #4fcccd;background:#fff;border-radius:12px;padding:6px 0;margin:22px 0;overflow:hidden}
.sde-equations>div{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:14.5px;color:#475569;line-height:1.6;padding:8px 20px;overflow-wrap:anywhere}
.sde-equations>div+div{border-top:1px solid #f1f5f9}
.sde-equations>div:last-child{font-weight:700;color:#0f172a;background:#ecfbfb;margin-bottom:-6px;padding-bottom:14px}
.sde-equations sup{font-size:.72em;top:-.4em}
.sde-equations sub{font-size:.72em}
.sde-section>p.sde-calculation-note,.sde-calculation-note{font-size:13px;line-height:1.75;color:#64748b}

/* Key result */
.sde-takeaway{background:#0f172a;color:#fff;border-radius:16px;padding:24px 28px;margin-top:26px}
.sde-takeaway>span{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#a8eaeb}
.sde-takeaway>strong{display:block;font-size:30px;letter-spacing:-.025em;font-weight:700;margin:4px 0}
.sde-takeaway strong small{font-size:16px;font-weight:500;color:#cbd5e1}
.sde-takeaway p{font-size:14px;line-height:1.75;color:#cbd5e1;margin:8px 0 0;max-width:600px}

.sde-product-figure{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;margin:26px 0 0}
.sde-product-figure img{width:100%;height:auto;display:block}
.sde-product-figure figcaption{font-size:12px;color:#64748b;background:#f8fafc;padding:12px 18px;border-top:1px solid #e2e8f0}

.sde-try{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:28px}
.sde-try ol{padding-left:22px;font-size:15px;color:#334155}
.sde-try li{padding:0 0 12px 5px}
.sde-try li::marker{color:#378e8f;font-weight:700}
.sde-try .sde-calculation-note{margin:20px 0 0!important}
.sde-sources{padding-left:20px;font-size:14px;color:#334155}
.sde-sources li{padding-left:6px;margin-bottom:16px}
.sde-sources p{font-size:13px;color:#64748b;margin-top:4px;line-height:1.7}
.sde-related{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;border-top:1px solid #e2e8f0;margin-top:32px;padding-top:22px}
.sde-related a{display:inline-flex;align-items:center;border:2px solid #a8eaeb;border-radius:8px;padding:6px 14px;background:#fff;color:#378e8f!important;text-decoration:none!important;font-weight:600}
.sde-related a:hover{border-color:#61cccd;background:#ecfbfb}
.sde-page a:focus-visible{outline:2px solid #4fcccd;outline-offset:3px;border-radius:6px}

@media(max-width:1000px){.sde-hero-grid{gap:30px}.sde-body-grid{grid-template-columns:180px minmax(0,1fr);gap:36px}.sde-properties{grid-template-columns:1fr 190px}.sde-result-strip{grid-template-columns:repeat(4,1fr);gap:20px}.sde-result-strip>p{grid-column:1/-1}.sde-brief-stats{padding-inline:16px;gap:8px}.sde-brief-stats strong{font-size:19px}}
@media(max-width:760px){
  .sde-container{width:calc(100% - 32px)}
  .sde-hero{padding:16px 0 30px}
  .sde-breadcrumb{margin-bottom:22px}
  .sde-hero-grid{grid-template-columns:1fr;gap:28px}
  .sde-page h1{font-size:36px}
  .sde-lead{font-size:15px}
  .sde-button{font-size:13px;padding:9px 16px}
  .sde-body-grid{display:block;padding-top:28px}
  .sde-outline{position:static;border-bottom:1px solid #e2e8f0;margin-bottom:32px;padding-bottom:20px}
  .sde-outline nav{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
  .sde-outline nav>p{grid-column:1/-1}
  .sde-outline nav>a{padding:5px 6px}
  .sde-outline nav>a span{font-size:12px}
  .sde-outline-download{display:none}
  .sde-result-strip{grid-template-columns:1fr 1fr;gap:20px 24px;padding-block:22px}
  .sde-result-strip p{margin-top:0}
  .sde-section h2{font-size:26px}
  .sde-section>p:not(.sde-eyebrow){font-size:15px}
  .sde-section{margin-bottom:36px;padding-bottom:30px}
  .sde-properties{grid-template-columns:1fr}
  .sde-section-sketch{max-width:210px;margin:0 auto 10px}
  .sde-equations>div{font-size:13px;padding:9px 14px}
  .sde-page th,.sde-page td{padding:9px 12px}
  .sde-page table{font-size:13px}
  .sde-takeaway{padding:20px}
  .sde-takeaway>strong{font-size:26px}
  .sde-takeaway strong small{display:block;font-size:14px}
  .sde-try{padding:20px}
  .sde-note{padding:16px 18px}
  .sde-figure-head{padding:14px 16px}
  .sde-brief-stats{padding:16px}
  .sde-hero-figure img{padding:22px 8px}
}
@media print{#site-header,#site-footer,.sde-outline,.sde-actions,.sde-breadcrumb{display:none!important}.sde-body-grid,.sde-hero-grid{display:block}.sde-container{width:100%}.sde-hero{padding:0 0 20px;background:none}.sde-equations,.sde-takeaway,.sde-table-wrap{break-inside:avoid}.sde-hero-figure{max-width:600px;margin:20px auto}.sde-result-strip{grid-template-columns:repeat(4,1fr)}.sde-page a{color:inherit!important}.sde-section{scroll-margin:0}.sde-product-figure{max-width:650px}.sde-takeaway{background:#fff;color:#0f172a;border:1px solid #cbd5e1}.sde-takeaway p,.sde-takeaway>span{color:#334155}}
/* Section properties as a compact spec grid: symbol, name, value. */
.sde-props-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}
.sde-props-title{margin:0;padding:12px 16px;font-size:12px;font-weight:600;color:#64748b;border-bottom:1px solid #f1f5f9;background:#f8fafc}
.sde-props{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.sde-props>div{padding:12px 16px;border-top:1px solid #f1f5f9;border-left:1px solid #f1f5f9}
.sde-props>div:nth-child(-n+3){border-top:0}
.sde-props>div:nth-child(3n+1){border-left:0}
.sde-props dt{display:flex;align-items:baseline;gap:8px;font-size:12px;font-weight:500;color:#64748b}
.sde-props-symbol{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;font-weight:700;color:#378e8f;min-width:2.2em}
.sde-props-symbol sub{font-size:.75em}
.sde-props dd{margin:2px 0 0;font-size:16px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.sde-props{grid-template-columns:repeat(2,minmax(0,1fr))}.sde-props>div:nth-child(-n+3){border-top:1px solid #f1f5f9}.sde-props>div:nth-child(-n+2){border-top:0}.sde-props>div:nth-child(3n+1){border-left:1px solid #f1f5f9}.sde-props>div:nth-child(2n+1){border-left:0}}
@media(max-width:760px){.sde-props dt{gap:6px}.sde-props-symbol{min-width:0}}
/* Author byline and authorship card, matching the beam guides (css/beam-guide.css). */
.sde-byline{display:flex;align-items:center;gap:10px;margin:14px 0 0;font-size:13px;line-height:1.45;color:#334155}
.sde-byline>span:last-child{display:flex;flex-direction:column}
.sde-byline small{font-size:12px;color:#64748b}
.sde-byline a{color:#378e8f;font-weight:700;text-decoration:none}
.sde-byline a:hover{color:#2d7172;text-decoration:underline;text-underline-offset:.18em}
.sde-byline-mark{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #a8eaeb;border-radius:10px;background:#fff;color:#378e8f;font-size:12px;font-weight:800;letter-spacing:.04em}
.sde-author-card{scroll-margin-top:108px;display:grid;gap:1.1rem;align-items:center;border:1px solid #a8eaeb;border-radius:1rem;background:radial-gradient(circle at 100% 0,rgb(71 184 184 / .11),transparent 36%),#f8fefe;padding:1.35rem;margin-bottom:52px}
.sde-author-card__monogram{display:inline-flex;width:4rem;height:4rem;align-items:center;justify-content:center;border:1px solid #61cccd;border-radius:1rem;background:#fff;color:#378e8f;font-size:1.05rem;font-weight:800;letter-spacing:.05em;box-shadow:0 8px 20px rgb(55 142 143 / .1)}
.sde-author-card .sde-eyebrow{margin:0;color:#378e8f;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.sde-author-card__body h2{margin:.35rem 0 0;color:#0f172a;font-size:clamp(1.35rem,2vw,1.75rem);font-weight:800;letter-spacing:-.025em;line-height:1.22}
.sde-author-card__body p:last-child{margin:.55rem 0 0;color:#475569;font-size:.92rem;line-height:1.65}
.sde-author-card a{color:#378e8f;font-weight:700;text-decoration:none}
.sde-author-card a:hover{color:#2d7172;text-decoration:underline;text-underline-offset:.18em}
.sde-author-card__link{justify-self:start;font-size:.84rem}
@media(min-width:760px){.sde-author-card{grid-template-columns:auto minmax(0,1fr) auto;padding:1.5rem}.sde-author-card__link{justify-self:end;text-align:right}}
@media print{.sde-author-card{break-inside:avoid;background:#fff}}
