/* R-033 extends the public site's technical design without changing other code guides. */
.r033-page { background: #fff; }
.r033-page .r033-button-outline { border: 1px solid #cbd5e2; background: #fff; color: var(--ink); }
.r033-page .r033-button-outline:hover { border-color: var(--blue); background: #eff4ff; }
.r033-hero { background: var(--paper); background-image: radial-gradient(#b6c3d245 .7px, transparent .7px); background-size: 16px 16px; }
.r033-breadcrumb { padding-top: 25px; font-size: 11px; color: var(--muted); }
.r033-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.r033-breadcrumb li + li::before { content: '/'; color: #8b96a5; margin-right: 8px; }
.r033-breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.r033-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 65px; padding-block: 42px 55px; }
.r033-hero h1 { font-size: clamp(38px, 3.7vw, 51px); line-height: 1.1; margin-block: 22px; }
.r033-hero h1 > span { color: var(--blue); }
.r033-hero h1 .r033-code { display: block; font: 500 20px/1.4 var(--mono); letter-spacing: -.03em; color: var(--ink); margin-bottom: 12px; }
.r033-hero-description { max-width: 525px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.r033-hero-meta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; color: #56677c; font: 10px/1.6 var(--mono); }
.r033-hero-meta span + span { border-left: 1px solid #cbd4e0; padding-left: 11px; }
.r033-hero .hero-actions { gap: 10px; }
.r033-drawing-panel { background: #fff; border: 1px solid #cfd9e5; border-radius: 6px; box-shadow: 0 12px 30px #223b5b08; overflow: hidden; }
.r033-plan-link { position: relative; display: block; padding: 12px; background: #fff; }
.r033-plan-link img { aspect-ratio: 3/2; object-fit: contain; width: 100%; }
.r033-plan-link > span { position: absolute; bottom: 16px; right: 16px; border: 1px solid #d1dce8; border-radius: 3px; padding: 9px 11px; font-size: 11px; color: var(--blue); background: #fff; }
.r033-plan-link:hover > span { background: #edf3ff; }
.r033-plan-caption { display: flex; gap: 14px; align-items: center; padding: 11px 18px; border-block: 1px solid var(--line); color: #596b80; font: 9px/1.5 var(--mono); }
.r033-plan-caption .mono { font-size: 13px; color: var(--blue); border-right: 1px solid var(--line); padding-right: 14px; }
.r033-drawing-cta { padding: 21px 24px; background: #f6f8fc; }
.r033-drawing-cta h2 { font-size: 20px; letter-spacing: -.035em; }
.r033-drawing-cta p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.r033-drawing-cta .text-link { margin-top: 13px; font-size: 12px; }
.r033-drawing-cta small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.r033-meta-strip { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 19px; color: var(--muted); font-size: 10px; }
.r033-meta-strip p > span { padding-inline: 10px; color: #8c99a8; }
.r033-meta-strip a { color: var(--blue); }
.r033-search-section { padding-block: 35px; border-block: 1px solid var(--line); background: #fff; }
.r033-search-shell { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px 60px; align-items: center; }
.r033-search-shell h2 { font-size: 26px; letter-spacing: -.04em; margin-block: 8px; }
.r033-search-shell > div > p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.r033-search-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 500; }
.r033-search-input { display: flex; align-items: center; border: 1px solid #cbd5e2; border-radius: 5px; padding-left: 15px; background: var(--paper); color: #657386; }
.r033-search-input:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.r033-search-input input { width: 100%; min-width: 0; border: 0; background: transparent; min-height: 49px; padding: 12px; color: var(--ink); font: 13px Inter, "Segoe UI", sans-serif; }
.r033-search-input input:focus { outline: none; }
.r033-search-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; font-size: 10px; }
.r033-search-chips > span { color: var(--muted); margin-right: 3px; }
.r033-search-chips a { border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px; }
.r033-search-chips a:hover { background: #eff4ff; color: var(--blue); border-color: #b5c9f4; }
.r033-search-results { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }
.r033-search-results ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 0; }
.r033-search-results a { display: block; border: 1px solid var(--line); padding: 13px 16px; color: var(--blue); border-radius: 3px; line-height: 1.5; }
.r033-search-results a:hover { background: #f0f5ff; }
.r033-guide-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); align-items: start; gap: 70px; padding-block: 55px 65px; }
.r033-sidebar { position: sticky; top: 109px; }
.r033-sidebar ol { list-style: none; counter-reset: contents; padding: 0; margin-block: 18px 25px; }
.r033-sidebar li { counter-increment: contents; }
.r033-sidebar li a { display: flex; align-items: baseline; gap: 12px; color: var(--muted); border-left: 2px solid var(--line); padding: 10px 12px; font-size: 11px; line-height: 1.5; }
.r033-sidebar li a::before { content: counter(contents, decimal-leading-zero); font: 9px var(--mono); color: #6b7b91; }
.r033-sidebar li a:hover, .r033-sidebar li a[aria-current="location"] { color: var(--blue); background: #f2f6ff; border-left-color: var(--blue); }
.r033-sidebar-cta { padding: 22px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.r033-sidebar-cta > span { font-size: 9px; color: var(--muted); }
.r033-sidebar-cta h2 { font-size: 20px; margin-block: 14px 9px; }
.r033-sidebar-cta p { color: var(--muted); font-size: 12px; }
.r033-sidebar-cta a { margin-top: 18px; font-size: 11px; }
.r033-guide { min-width: 0; }
.r033-section { padding-block: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 10px; }
.r033-section:first-child { padding-top: 0; }
.r033-section > h2, .r033-pdf-panel h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.04em; margin-block: 13px 18px; }
.r033-section h3 { font-size: 18px; line-height: 1.4; }
.r033-section p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.r033-section > p + p { margin-top: 14px; }
.r033-section .eyebrow { color: var(--blue); font-size: 10px; line-height: 1.6; }
.r033-section p strong { color: var(--ink); font-weight: 550; }
.r033-section p a, .r033-sources a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.r033-section .r033-source-note { color: #606d7c; font-size: 11px; line-height: 1.8; margin-top: 15px; }
.r033-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 27px; padding-block: 22px; border-block: 1px solid var(--line); }
.r033-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.r033-facts .mono { font-size: 9px; color: #68788b; }
.r033-facts strong { display: block; font-size: 23px; font-weight: 550; margin-block: 9px; letter-spacing: -.04em; }
.r033-facts p { font-size: 11px; line-height: 1.65; }
.r033-pdf-panel { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 26px; background: #f1f5fd; border: 1px solid #d7e2f5; padding: 28px; margin-top: 30px; border-radius: 5px; }
.r033-pdf-panel h2 { margin-block: 9px 12px; font-size: 26px; }
.r033-file-icon { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 13px; background: #fff; color: var(--blue); border: 1px solid #bfceea; border-radius: 3px; width: 82px; height: 110px; padding: 14px; }
.r033-file-icon span, .r033-file-icon small { font: 10px var(--mono); }
.r033-file-icon strong { font-size: 23px; letter-spacing: -.03em; }
.r033-pdf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 22px; }
.r033-pdf-actions .button { min-height: 44px; padding: 12px 17px; font-size: 12px; }
.r033-pdf-actions .text-link { font-size: 12px; }
.r033-document-list { margin-block: 20px; }
.r033-document-list > div { display: flex; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.r033-document-list > div:last-child { border-bottom: 0; }
.r033-document-list .mono { color: var(--blue); font-size: 12px; padding-top: 3px; }
.r033-document-list p { margin-top: 5px; font-size: 13px; }
.r033-table-scroll { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 4px; }
.r033-table { width: 100%; min-width: 570px; border-collapse: collapse; text-align: left; font-size: 12px; font-variant-numeric: tabular-nums; }
.r033-table caption { text-align: left; padding: 15px 17px; font-size: 11px; color: var(--muted); }
.r033-table td, .r033-table th { border-top: 1px solid var(--line); padding: 13px 16px; }
.r033-table thead th { font-weight: 550; background: #f2f5fa; font-size: 11px; line-height: 1.65; }
.r033-table th span { color: var(--muted); font-weight: 400; }
.r033-table tbody td { font-family: var(--mono); font-size: 11px; }
.r033-table tbody th { font-weight: 550; }
.r033-table tbody tr:nth-child(even) { background: #fafbfd; }
.r033-table tbody tr:hover { background: #edf3ff; }
.r033-inline-callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-left: 2px solid var(--blue); background: #f5f8fe; padding: 20px; margin-block: 25px; }
.r033-inline-callout h3 { font-size: 15px; }
.r033-inline-callout p { margin-top: 6px; font-size: 12px; }
.r033-inline-callout a { flex: 0 0 auto; font-size: 12px; }
.r033-section > h3 + p { margin-top: 10px; }
.r033-loads { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 24px; }
.r033-loads > div { display: flex; gap: 16px; align-items: start; }
.r033-loads dt { font: 18px var(--mono); color: var(--blue); min-width: 38px; padding: 10px; background: #f2f5fa; border: 1px solid var(--line); text-align: center; border-radius: 3px; }
.r033-loads dd { margin: 0; }
.r033-loads strong { font-size: 13px; font-weight: 550; }
.r033-loads dd span { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 5px; }
.r033-elements { margin-top: 23px; }
.r033-elements > div { display: flex; gap: 25px; padding-block: 21px; border-top: 1px solid var(--line); }
.r033-elements .mono { min-width: 35px; font-size: 12px; color: var(--blue); padding-top: 4px; }
.r033-elements p { font-size: 13px; margin-top: 5px; }
.r033-elements a { display: inline-block; color: var(--blue); font-size: 11px; margin-top: 9px; line-height: 1.6; }
.r033-elements a:hover { text-decoration: underline; }
.r033-calculator { border: 1px solid #cfd9e7; border-radius: 5px; margin-top: 25px; overflow: hidden; scroll-margin-top: 12px; }
.r033-calculator-heading { padding: 23px 25px; background: #f7f9fc; border-bottom: 1px solid var(--line); }
.r033-calculator-heading > span { color: var(--blue); font-size: 10px; }
.r033-calculator-heading h3 { margin-top: 10px; font-size: 19px; }
.r033-calculator-heading p { font-size: 12px; margin-top: 8px; }
.r033-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 24px; }
.r033-form-grid label { min-width: 0; }
.r033-form-grid label > span { display: block; font-size: 11px; margin-bottom: 9px; font-weight: 500; }
.r033-form-grid input, .r033-form-grid select { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 10px 12px; font: 13px Inter, "Segoe UI", sans-serif; color: var(--ink); background: #fff; border: 1px solid #bcc9da; border-radius: 4px; }
.r033-form-grid input[aria-invalid="true"] { border-color: #b34242; background: #fff8f8; }
.r033-calculator-results { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; line-height: 1.6; }
.r033-calculator-results:empty { display: none; }
.r033-result { padding: 16px; border: 1px solid #d9e4f6; border-radius: 4px; background: #f0f5fe; min-width: 0; overflow-wrap: anywhere; }
.r033-result b { display: block; color: #566980; font-size: 10px; font-weight: 500; }
.r033-result strong { display: block; color: #1d4ba9; font: 500 19px/1.4 var(--mono); margin-top: 7px; }
.r033-result small { display: block; margin-top: 5px; color: #5d6c7e; font-size: 10px; }
.r033-calculator-results .r033-error { grid-column: 1/-1; font-size: 12px; color: #912c2c; background: #fff5f3; border: 1px solid #edc9c2; border-radius: 4px; padding: 13px; }
.r033-section .r033-calculator-note { padding: 0 24px 22px; font-size: 11px; line-height: 1.8; }
.r033-section .r033-formula { margin: 0 24px 16px; padding: 14px; font: 11px/1.9 var(--mono); color: var(--ink); background: #f6f8fa; border-left: 2px solid #c1ccdc; overflow-wrap: anywhere; }
.r033-notice { padding: 15px; background: #fff6df; }
.r033-checklist-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); margin-top: 20px; padding-bottom: 12px; font: 11px var(--mono); color: var(--blue); }
html:not(.has-home-js) .r033-checklist-toolbar { display: none; }
.r033-checklist-toolbar button { color: var(--muted); border: 1px solid var(--line); border-radius: 3px; font: 11px Inter, sans-serif; background: #fff; padding: 9px 12px; }
.r033-checklist-toolbar button:hover { color: var(--blue); background: #f0f5ff; }
.r033-checklist label { display: flex; align-items: start; gap: 14px; padding: 16px 4px; border-bottom: 1px solid #e9edf2; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.7; }
.r033-checklist input { flex-shrink: 0; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--blue); }
.r033-checklist input:checked + span { color: #326b59; }
.r033-faq details { border-bottom: 1px solid var(--line); }
.r033-faq summary { position: relative; padding: 21px 30px 21px 0; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.6; list-style: none; }
.r033-faq summary::-webkit-details-marker { display: none; }
.r033-faq summary::after { content: '+'; position: absolute; right: 5px; color: var(--blue); font-size: 20px; top: 16px; }
.r033-faq details[open] summary::after { content: '−'; }
.r033-faq details[open] summary { color: var(--blue); }
.r033-faq p { font-size: 13px; padding-bottom: 22px; }
.r033-sources { border-bottom: 0; padding-bottom: 0; }
.r033-sources h2 { font-size: 23px; }
.r033-sources p, .r033-sources li { font-size: 12px; line-height: 1.9; }
.r033-sources ul { padding-left: 18px; margin-bottom: 0; }
.r033-sources li + li { margin-top: 8px; }
.r033-conversion { background: #142536; color: #fff; padding-block: 60px; }
.r033-conversion-grid { display: grid; grid-template-columns: 1fr 270px; gap: 75px; align-items: center; }
.r033-conversion .eyebrow { color: #a6c2ff; }
.r033-conversion h2 { font-size: clamp(29px, 3vw, 39px); margin-top: 17px; }
.r033-conversion p:not(.eyebrow) { font-size: 14px; color: #c5d0dd; max-width: 640px; margin-top: 20px; }
.r033-conversion .r033-conversion-note { font-size: 11px; color: #afbfce; }
.r033-conversion-actions { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.r033-conversion-actions > span { font-size: 11px; line-height: 1.75; color: #c5d0dd; }
.r033-conversion-actions > a:not(.button) { font-size: 12px; color: #c3d6ff; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 761px) { .r033-page .cta-mobile { display: none; } }
@media (max-width: 1100px) {
  .r033-hero-grid { gap: 32px; }
  .r033-hero .hero-actions .button { font-size: 11px; padding-inline: 13px; }
  .r033-guide-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 35px; }
  .r033-facts strong { font-size: 20px; }
  .r033-search-shell { gap: 25px; }
  .r033-inline-callout { flex-direction: column; align-items: start; gap: 12px; }
}
@media (max-width: 900px) {
  .r033-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .r033-sidebar { position: static; }
  .r033-sidebar ol { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 0; }
  .r033-sidebar-cta { display: none; }
  .r033-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 24px; }
  .r033-hero h1 { font-size: 38px; }
  .r033-drawing-cta { padding: 18px; }
  .r033-drawing-cta h2 { font-size: 18px; }
  .r033-hero-description { font-size: 14px; }
}
@media (max-width: 760px) {
  .r033-page .cta-desktop { display: none; }
  .r033-page .site-header { position: sticky; }
  .r033-breadcrumb { font-size: 10px; padding-top: 20px; }
  .r033-hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 30px 35px; gap: 30px; }
  .r033-hero h1 { font-size: clamp(34px, 7.5vw, 48px); margin-block: 18px; }
  .r033-hero h1 .r033-code { font-size: 18px; margin-bottom: 12px; }
  .r033-hero .eyebrow { font-size: 9px; }
  .r033-hero .hero-actions { gap: 9px; }
  .r033-hero .hero-actions .button { min-height: 48px; padding-inline: 14px; font-size: 12px; }
  .r033-hero-meta { margin-top: 20px; font-size: 9px; }
  .r033-drawing-panel { max-width: 560px; width: 100%; margin-inline: auto; }
  .r033-plan-link img { max-height: 265px; }
  .r033-drawing-cta { padding: 20px; }
  .r033-drawing-cta h2 { font-size: 20px; }
  .r033-meta-strip { font-size: 10px; gap: 10px; }
  .r033-meta-strip p > span { padding-inline: 4px; }
  .r033-search-section { padding-block: 28px; }
  .r033-search-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .r033-search-shell h2 { font-size: 26px; }
  .r033-search-input input { font-size: 16px; }
  .r033-search-results ul { grid-template-columns: minmax(0, 1fr); }
  .r033-guide-layout { padding-block: 35px 45px; gap: 35px; }
  .r033-sidebar li a { padding: 10px 8px; gap: 8px; font-size: 10px; }
  .r033-section { padding-block: 34px; }
  .r033-section > h2 { font-size: 26px; }
  .r033-section p { font-size: 13px; }
  .r033-section .eyebrow { font-size: 9px; }
  .r033-facts { gap: 13px; padding-block: 18px; }
  .r033-facts > div + div { padding-left: 13px; }
  .r033-facts strong { font-size: 19px; }
  .r033-facts .mono { font-size: 8px; }
  .r033-facts p { font-size: 10px; line-height: 1.7; }
  .r033-pdf-panel { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 22px; }
  .r033-file-icon { display: none; }
  .r033-pdf-panel h2 { font-size: 25px; }
  .r033-pdf-actions { gap: 17px; }
  .r033-loads { gap: 20px 14px; }
  .r033-loads > div { gap: 10px; }
  .r033-loads dt { font-size: 15px; min-width: 32px; padding: 8px; }
  .r033-loads dd span { font-size: 11px; }
  .r033-elements > div { gap: 17px; }
  .r033-calculator-heading { padding: 20px; }
  .r033-calculator-heading h3 { font-size: 18px; }
  .r033-calculator-heading p { font-size: 12px; }
  .r033-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; gap: 17px 13px; }
  .r033-form-grid input, .r033-form-grid select { font-size: 16px; padding-inline: 10px; }
  .r033-form-grid[data-r033-bars-calculator] label:first-child { grid-column: 1/-1; }
  .r033-calculator-results { grid-template-columns: minmax(0, 1fr); }
  .r033-result { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3px 10px; align-items: center; padding: 14px; }
  .r033-result strong { font-size: 19px; margin-top: 0; text-align: right; }
  .r033-result small { grid-column: 1/-1; margin-top: 3px; }
  .r033-section .r033-calculator-note { padding-inline: 20px; }
  .r033-section .r033-formula { margin-inline: 20px; }
  .r033-conversion { padding-block: 40px; }
  .r033-conversion-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .r033-conversion h2 { font-size: 30px; }
  .r033-conversion-actions { max-width: 360px; width: 100%; }
  .r033-conversion p:not(.eyebrow) { font-size: 13px; }
  .r033-conversion .r033-conversion-note { font-size: 11px; }
}
@media (max-width: 374px) {
  .r033-hero h1 { font-size: 32px; }
  .r033-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .r033-facts { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .r033-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 15px; }
  .r033-facts strong { margin-block: 5px; }
  .r033-loads { grid-template-columns: minmax(0, 1fr); }
  .r033-sidebar ol { grid-template-columns: minmax(0, 1fr); }
}
