.circle-border-page { background: #f1f0ea; }
.circle-border-page .brand { display: inline-flex; align-items: center; gap: 8px; }
.circle-border-page .brand-symbol { display: inline-flex; width: 28px; height: 28px; flex: 0 0 28px; }
.circle-border-page .brand-symbol svg { display: block; width: 100%; height: 100%; }
.circle-border-page .brand-pro { margin-left: 2px; color: #286b4e; font-size: .67em; letter-spacing: .01em; }
.circle-skip { position: absolute; left: -9999px; top: 0; z-index: 20; padding: 12px; color: #1f3028; background: #fffefa; }
.circle-skip:focus { left: 12px; }
.circle-main { padding-top: 15px; padding-bottom: 32px; }
.circle-crumb { margin: 0 0 10px; color: #68746c; font-size: .86rem; }
.circle-main h1 { max-width: 24ch; margin: 0 0 7px; font-size: clamp(1.85rem, 4vw, 2.45rem); letter-spacing: -.035em; }
.circle-lead { max-width: 66ch; margin: 0 0 17px; color: #42554a; line-height: 1.5; }
.circle-workbench { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr); gap: 17px; align-items: start; }
.circle-form-panel, .circle-result-panel { min-width: 0; border: 1px solid #cbd4cb; background: #fffefa; }
.circle-form-panel { padding: 19px; }
.circle-section-title { margin: 0 0 5px; font-size: 1.2rem; }
.circle-section-intro { margin: 0 0 14px; color: #536259; font-size: .9rem; line-height: 1.45; }
.circle-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.circle-fields label { display: block; min-width: 0; color: #1f3028; font-size: .9rem; font-weight: 720; }
.circle-fields label span { display: block; margin-top: 3px; color: #68746c; font-size: .77rem; font-weight: 500; }
.circle-fields input, .circle-fields select { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 45px; margin-top: 5px; padding: 8px 10px; border: 1px solid #9daea2; border-radius: 3px; color: #1f3028; background: #fff; font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; }
.circle-fields .circle-wide { grid-column: 1 / -1; }
.circle-measure-note { margin: 11px 0 0; color: #536259; font-size: .82rem; line-height: 1.45; }
.circle-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; margin-top: 14px; }
.circle-calculate { min-height: 46px; padding: 10px 17px; border: 0; border-radius: 3px; color: #fffefa; background: #286b4e; font: inherit; font-weight: 800; cursor: pointer; }
.circle-calculate:hover { background: #194d39; }
.circle-status { min-width: 14ch; flex: 1 1 180px; margin: 0; color: #536259; font-size: .86rem; }
.circle-result-panel { overflow: hidden; }
.circle-answer { padding: 18px 19px 17px; color: #fffefa; background: #194d39; border-bottom: 5px solid #a8c964; }
.circle-answer h2 { margin: 0 0 8px; font-size: .92rem; font-weight: 750; }
.circle-answer-main { margin: 0; font-size: clamp(1.8rem, 5vw, 2.45rem); line-height: 1.06; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.circle-answer-sub { margin: 6px 0 0; color: #e1eadf; font-size: .84rem; font-variant-numeric: tabular-nums; }
.circle-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.circle-results div { min-width: 0; padding: 12px 14px; border-bottom: 1px solid #e0e5df; }
.circle-results dt { color: #68746c; font-size: .76rem; }
.circle-results dd { margin: 4px 0 0; color: #1f3028; font-weight: 750; font-size: .92rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.circle-results .circle-wide-result { grid-column: 1 / -1; }
.circle-copy-row { padding: 11px 14px 14px; }
.circle-copy { min-height: 43px; padding: 8px 13px; border: 1px solid #286b4e; border-radius: 3px; color: #194d39; background: #e6efe8; font: inherit; font-weight: 750; cursor: pointer; }
.circle-copy:disabled { color: #68746c; border-color: #d8ded8; background: #f4f5f0; cursor: not-allowed; }
.circle-copy-status { margin: 6px 0 0; color: #536259; font-size: .82rem; }
.circle-copy-fallback { box-sizing: border-box; width: 100%; margin-top: 8px; padding: 9px; border: 1px solid #9daea2; color: #1f3028; font: inherit; line-height: 1.45; }
.circle-diagram { max-width: 760px; margin: 27px auto 0; }
.circle-diagram img { display: block; width: 100%; height: auto; border: 1px solid #cbd4cb; }
.circle-diagram figcaption { margin-top: 7px; color: #536259; font-size: .84rem; line-height: 1.45; }
.circle-detail { max-width: 78ch; margin: 25px auto 0; }
.circle-detail h2 { margin: 0 0 9px; font-size: 1.34rem; letter-spacing: -.02em; }
.circle-detail p, .circle-detail li { color: #42554a; line-height: 1.6; }
.circle-formula { padding: 12px 14px; border-left: 4px solid #286b4e; background: #e8eee7; color: #1f3028 !important; font-variant-numeric: tabular-nums; }
.circle-faq details { padding: 12px 0; border-top: 1px solid #d8ded8; }
.circle-faq details:last-child { border-bottom: 1px solid #d8ded8; }
.circle-faq summary { color: #1f3028; font-weight: 750; cursor: pointer; }
.circle-faq details p { margin: 8px 0 0; }
.circle-source-note { font-size: .86rem; }
.circle-source-note a { color: #194d39; font-weight: 700; }
.circle-border-page input:focus-visible, .circle-border-page select:focus-visible, .circle-border-page button:focus-visible, .circle-border-page summary:focus-visible, .circle-border-page a:focus-visible, .circle-copy-fallback:focus-visible { outline: 3px solid #d8883b; outline-offset: 2px; }
@media (max-width: 760px) {
  .circle-workbench { grid-template-columns: 1fr; }
  .circle-result-panel { grid-row: 1; }
  .circle-result-panel .circle-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circle-border-page .site-header.page-shell { position: static; display: block; }
  .circle-border-page .site-nav { display: flex; flex-wrap: wrap; gap: 4px 13px; margin-top: 10px; }
}
@media (max-width: 420px) {
  .circle-main { width: min(100% - 22px, 1120px); }
  .circle-form-panel { padding: 14px 12px; }
  .circle-fields { gap: 10px 9px; }
  .circle-fields input, .circle-fields select { padding-inline: 8px; }
  .circle-results div { padding: 10px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .circle-border-page *, .circle-border-page *::before, .circle-border-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
