.circular-edging-page { background: #f1f0ea; }
.circular-edging-page .site-header.page-shell { flex-wrap: wrap; padding: 10px 0 12px; }
.circular-edging-page .brand { display: inline-flex; align-items: center; gap: 8px; }
.circular-edging-page .brand-symbol { display: inline-flex; width: 28px; height: 28px; flex: 0 0 28px; }
.circular-edging-page .brand-symbol svg { display: block; width: 100%; height: 100%; }
.circular-edging-page .site-nav { gap: 4px 14px; }
.edge-skip { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 10px; color: #1f3028; background: #fffefa; }
.edge-skip:focus { top: 8px; }
.edge-main { max-width: 980px; padding-top: 14px; }
.edge-crumb { margin: 0 0 10px; color: #68746c; font-size: .84rem; }
.edge-main h1 { max-width: 24ch; margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.edge-lead { max-width: 68ch; margin: 0 0 18px; color: #53665c; }
.edge-answer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 22px; color: #fffefa; background: #1f3028; }
.edge-answer p { margin: 0; }
.edge-answer-label { color: #d3e3d6; font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.edge-answer strong { display: block; margin: 3px 0; color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-variant-numeric: tabular-nums; line-height: 1.05; }
.edge-answer small { color: #e2e9e2; font-size: .9rem; }
.edge-example-chip { align-self: start; padding: 5px 9px; border: 1px solid #a7c9ad; color: #e6efe8; font-size: .76rem; white-space: nowrap; }
.edge-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #d8ded8; border-top: 0; background: #fffefa; }
.edge-results > div { min-width: 0; padding: 12px 16px; border-right: 1px solid #d8ded8; }
.edge-results > div:last-child { border-right: 0; }
.edge-results dt { color: #53665c; font-size: .79rem; }
.edge-results dd { margin: 3px 0 0; font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.edge-results .edge-net { background: #e6efe8; }
.edge-workbench { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr); gap: 18px; margin-top: 18px; align-items: start; }
.edge-panel { min-width: 0; border: 1px solid #d8ded8; background: #fffefa; }
.edge-panel-inner { padding: 18px; }
.edge-panel h2 { margin: 0 0 5px; font-size: 1.15rem; }
.edge-panel-intro { margin: 0 0 15px; color: #53665c; font-size: .88rem; }
.edge-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; }
.edge-fields label { display: grid; gap: 5px; min-width: 0; font-size: .86rem; font-weight: 750; }
.edge-fields label span { color: #68746c; font-size: .78rem; font-weight: 500; }
.edge-fields input, .edge-fields select { width: 100%; min-width: 0; min-height: 46px; padding: 9px 11px; border: 1px solid #8ea395; border-radius: 3px; color: #1f3028; background: #fff; }
.edge-fields fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 11px 12px 12px; border: 1px solid #cbd7cb; }
.edge-fields legend { padding: 0 5px; font-size: .85rem; font-weight: 800; }
.edge-shape-options { display: grid; gap: 8px; }
.edge-shape-options label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; font-weight: 600; line-height: 1.35; }
.edge-shape-options input { width: 18px; min-height: 18px; height: 18px; margin: 1px 0 0; accent-color: #286b4e; }
.edge-note { margin: 13px 0 0; color: #53665c; font-size: .8rem; line-height: 1.5; }
.edge-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 15px; }
.edge-action-row button, .edge-copy { min-height: 44px; padding: 9px 15px; border: 1px solid #194d39; border-radius: 3px; color: #fff; background: #194d39; font-weight: 800; }
.edge-action-row button:hover, .edge-copy:hover { background: #286b4e; }
.edge-action-row button:focus-visible, .edge-fields input:focus-visible, .edge-fields select:focus-visible, .edge-shape-options input:focus-visible, .edge-copy:focus-visible, .edge-copy-fallback:focus-visible { outline: 3px solid #b57616; outline-offset: 2px; }
.edge-action-row button:disabled { cursor: not-allowed; opacity: .55; }
.edge-status { min-height: 1.5em; margin: 0; color: #53665c; font-size: .84rem; }
.edge-figure { margin: 0; border: 1px solid #d8ded8; background: #f8f8f2; }
.edge-figure img { display: block; width: 100%; height: auto; }
.edge-figure figcaption { padding: 10px 13px 12px; color: #53665c; font-size: .8rem; line-height: 1.45; }
.edge-copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 15px; }
.edge-copy { min-width: 136px; }
.edge-copy:disabled { cursor: not-allowed; opacity: .55; }
.edge-copy-status { margin: 0; color: #53665c; font-size: .82rem; }
.edge-copy-fallback { display: block; width: 100%; min-height: 104px; margin-top: 9px; padding: 9px; border: 1px solid #8ea395; color: #1f3028; background: #fff; font: inherit; font-size: .85rem; }
.edge-copy-fallback[hidden] { display: none; }
.edge-content { margin-top: 18px; padding: 19px 20px; border: 1px solid #d8ded8; background: #fffefa; }
.edge-content h2 { margin: 0 0 8px; font-size: 1.14rem; }
.edge-content p { margin: 8px 0; }
.edge-content p:last-child { margin-bottom: 0; }
.edge-formula { padding: 12px 14px; border-left: 3px solid #286b4e; background: #f4f5f0; font-variant-numeric: tabular-nums; }
.edge-source { color: #53665c; font-size: .82rem; }
.edge-faq details { padding: 12px 0; border-top: 1px solid #d8ded8; }
.edge-faq summary { cursor: pointer; font-weight: 800; }
.edge-faq details p { max-width: 75ch; color: #53665c; }
.edge-next { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.edge-main a { color: #194d39; text-underline-offset: 3px; }
@media (max-width: 680px) {
  .edge-workbench { grid-template-columns: minmax(0, 1fr); }
  .edge-answer { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 16px; }
  .edge-example-chip { justify-self: start; grid-row: 1; }
  .edge-answer-copy { grid-row: 2; }
  .edge-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edge-results > div:nth-child(2) { border-right: 0; }
  .edge-results > div:nth-child(3) { border-top: 1px solid #d8ded8; }
  .edge-results > div:nth-child(4) { border-top: 1px solid #d8ded8; border-right: 0; }
}
@media (max-width: 390px) {
  .edge-main { width: calc(100% - 24px); }
  .edge-panel-inner { padding: 14px; }
  .edge-fields { grid-template-columns: minmax(0, 1fr); }
  .edge-fields fieldset { grid-column: 1; }
  .edge-answer strong { font-size: 2.15rem; }
}
