.cvrc-page .main-page-wrapper > .page-title,
.cvrc-page .main-page-wrapper > .wd-page-title {
    display: none;
}

.cvrc {
    --rc-ink: #202126;
    --rc-muted: #575963;
    --rc-red: #a91828;
    --rc-red-dark: #811222;
    --rc-border: #dddde3;
    --rc-soft: #f6f5f6;
    --rc-radius: 19px;
    width: min(100%, 1140px);
    margin: 0 auto;
    padding: 0 0 38px;
    color: var(--rc-ink);
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.cvrc *, .cvrc-promo { box-sizing: border-box; }
.cvrc [hidden] { display: none !important; }
.cvrc p { margin: 0; }
.cvrc h1, .cvrc h2, .cvrc h3 { margin: 0; color: inherit; font-family: inherit; }
.cvrc button, .cvrc input, .cvrc select { font-family: inherit; }
.cvrc a, .cvrc-promo a { color: var(--rc-red, #a91828); text-decoration: none; }
.cvrc a:hover, .cvrc-promo a:hover { color: var(--rc-red-dark, #811222); text-decoration: underline; }
.cvrc :is(button, a, select, input, summary):focus-visible, .cvrc-promo a:focus-visible {
    outline: 3px solid #b82a38;
    outline-offset: 3px;
}

.cvrc-sr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cvrc-heading { padding: 12px 0 19px; }
.cvrc-back { display: inline-block; margin: 0 0 9px; font-size: 13px; font-weight: 690; }
.cvrc-heading-row, .cvrc-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px 24px;
}
.cvrc-heading h1 { font-size: clamp(32px, 5vw, 57px); line-height: 1.05; letter-spacing: -.048em; font-weight: 800; }
.cvrc-heading p { max-width: 61ch; margin-top: 11px; color: var(--rc-muted); font-size: clamp(15px, 2vw, 17px); }
.cvrc-guide-link, .cvrc-section-heading > a {
    flex: 0 0 auto;
    font-weight: 720;
    font-size: 14px;
    padding-block: 7px;
}

.cvrc-calculator {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    box-shadow: 0 9px 32px #1813210a;
}
.cvrc-controls { padding: clamp(16px, 3vw, 31px); }
.cvrc-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid #eae8ec;
    border-radius: 12px;
    background: var(--rc-soft);
}
.cvrc button {
    min-height: 41px;
    padding: 7px 12px;
    color: var(--rc-ink);
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 9px;
    font-weight: 690;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}
.cvrc button:hover { border-color: #b7a6aa; color: var(--rc-red); }
.cvrc-modes button {
    background: transparent;
    border-color: transparent;
    font-size: clamp(12px, 1.65vw, 15px);
}
.cvrc button[aria-pressed="true"] {
    border-color: var(--rc-red);
    background: var(--rc-red);
    color: white;
}
.cvrc-fieldset { min-width: 0; margin: 18px 0 15px; padding: 0; border: 0; }
.cvrc-fieldset legend, .cvrc-field { margin: 0 0 6px; padding: 0; color: var(--rc-ink); font-size: 13px; font-weight: 710; }
.cvrc-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.cvrc-counts button { min-width: 42px; padding-inline: 9px; }
.cvrc-counts button:last-child { margin-left: 3px; }
.cvrc-band-controls, .cvrc-value-options, .cvrc-value-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 11px;
}
.cvrc-value-fields { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cvrc-field { display: grid; gap: 4px; min-width: 0; }
.cvrc-field-name { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.cvrc select, .cvrc input:not([type="hidden"]) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 43px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #cfcfd7;
    border-radius: 8px;
    background-color: #fff;
    color: var(--rc-ink);
    box-shadow: none;
    font-size: 16px;
    line-height: normal;
}
.cvrc select { padding-right: 23px; font-size: 14px; }
.cvrc input[aria-invalid="true"] { border-color: var(--rc-red); }
.cvrc .cvrc-help { margin: 5px 0 8px; color: var(--rc-muted); font-size: 13px; }
.cvrc-reference { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin-top: 9px; }
.cvrc-reference select { height: 36px; font-size: 13px; }
.cvrc-examples { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 12px; color: var(--rc-muted); font-size: 12px; }
.cvrc-examples > span { margin-right: 2px; font-weight: 690; }
.cvrc-examples button { padding: 5px 7px; min-height: 31px; font-size: 12px; border-radius: 7px; }

.cvrc-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(20px, 3vw, 38px);
    border-left: 1px solid var(--rc-border);
    background-color: #f7f5f5;
    background-image: radial-gradient(#8e394522 1px, transparent 1px), linear-gradient(142deg, #f9f4f3, #f6f5f7 79%);
    background-size: 17px 17px, 100% 100%;
}
.cvrc-figure { width: 100%; margin: 0 0 17px; }
.cvrc-resistor {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 355px);
    height: 78px;
    margin: auto;
}
.cvrc-resistor::before {
    position: absolute;
    inset: calc(50% - 2px) 2px auto;
    height: 5px;
    background: linear-gradient(#a4a6ad 0%, #e9e8e9 44%, #7b7e87 100%);
    box-shadow: 0 2px 3px #3b2b2b23;
    border-radius: 7px;
    content: '';
}
.cvrc-resistor-body {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(7px, 1.15vw, 15px);
    width: 70%;
    max-width: 242px;
    height: 62px;
    overflow: hidden;
    background: linear-gradient(180deg, #f3d6a8, #f8e5c7 29%, #e4bc86 76%, #bc905e);
    border: 1px solid #ad845b;
    border-radius: 23px / 18px;
    box-shadow: 0 7px 11px #725b422f, inset 0 1px 2px #fff7;
}
.cvrc-band { width: clamp(7px, 1vw, 12px); background: linear-gradient(180deg, #fff4, transparent 37%, #0003), var(--paint); box-shadow: 0 0 1px #1b122763; }
.cvrc-band-tol { width: clamp(11px, 1.5vw, 18px); margin-left: 4px; }
.cvrc-band-labels { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.cvrc-band-caption {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    color: #3e3a41;
    background: #fff;
    border: 1px solid #e6e0e4;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 650;
}
.cvrc-swatch {
    display: inline-block;
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    vertical-align: -.02em;
    background: var(--paint);
    border: 1px solid #21162135;
    border-radius: 50%;
}
.cvrc-readout { width: 100%; min-width: 0; text-align: center; }
.cvrc-nominal { color: var(--rc-muted); font-size: 13px; font-weight: 740; }
.cvrc .cvrc-ohms {
    margin-top: 2px;
    color: var(--rc-ink);
    font-size: clamp(28px, 5.8vw, 62px);
    line-height: 1.07;
    font-weight: 820;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.cvrc .cvrc-equation { margin-top: 6px; color: var(--rc-muted); font-size: 13px; overflow-wrap: anywhere; }
.cvrc-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 13px auto 0;
}
.cvrc-stats > div {
    min-width: 95px;
    max-width: 100%;
    padding: 5px 9px;
    background: #fff9;
    border: 1px solid #e4dce0;
    border-radius: 8px;
}
.cvrc-stats dt { color: var(--rc-muted); font-size: 11px; font-weight: 700; }
.cvrc-stats dd { margin: 0; font-size: 13px; font-weight: 760; overflow-wrap: anywhere; }
.cvrc .cvrc-result-message { margin-top: 11px; color: #691424; font-size: 13px; }

.cvrc-shop, .cvrc-guide { padding-top: 28px; }
.cvrc h2 { font-size: clamp(23px, 3.3vw, 32px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.cvrc-section-heading p, .cvrc-guide p { margin-top: 6px; color: var(--rc-muted); }
.cvrc .cvrc-status { margin: 12px 0 7px; color: var(--rc-muted); font-size: 13px; font-weight: 680; }
.cvrc-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.cvrc-product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: 12px;
}
.cvrc-product-summary { display: grid; grid-template-columns: 57px minmax(0, 1fr); gap: 9px; align-items: center; }
.cvrc-product-image {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 57px;
    height: 57px;
    background: var(--rc-soft);
    border-radius: 7px;
    font-size: 25px;
}
.cvrc-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cvrc .cvrc-product-specs { color: var(--rc-muted); font-size: 12px; font-weight: 720; }
.cvrc-product h3 { margin-top: 2px; font-size: 13px; line-height: 1.2; font-weight: 720; overflow-wrap: anywhere; }
.cvrc-product h3 a { color: var(--rc-ink); }
.cvrc-price, .cvrc-price .amount { color: var(--rc-red-dark); font-size: 19px; font-weight: 800; }
.cvrc-price del .amount { color: var(--rc-muted); font-size: 13px; }
.cvrc-price ins { text-decoration: none; }
.cvrc-price .screen-reader-text { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.cvrc-purchase { display: flex; align-items: end; gap: 7px; margin: 0; }
.cvrc-qty { flex: 0 0 74px; margin: 0; color: var(--rc-muted); font-size: 12px; font-weight: 680; }
.cvrc-qty input[type="number"] { height: 39px; margin-top: 2px; padding-right: 3px; }
.cvrc button.cvrc-add {
    flex: 1;
    min-height: 39px;
    padding-inline: 6px;
    color: #fff;
    background: var(--rc-red);
    border-color: var(--rc-red);
    font-size: 13px;
}
.cvrc button.cvrc-add:hover { background: var(--rc-red-dark); border-color: var(--rc-red-dark); color: #fff; }
.cvrc button:disabled { opacity: .65; cursor: wait; }
.cvrc-purchase > a.added_to_cart { display: none !important; }
.cvrc .cvrc-shop-note { margin-top: 9px; color: var(--rc-muted); font-size: 12px; }
.cvrc-cart-notice { display: flex; justify-content: space-between; align-items: center; gap: 5px 12px; flex-wrap: wrap; margin-top: 9px; padding: 8px 11px; background: #eef7f0; border: 1px solid #c0d9c7; border-radius: 8px; }
.cvrc-cart-notice a { font-weight: 740; }
.cvrc-product .cvrc-cart-notice { margin: 0; font-size: 13px; }
.cvrc-cart-error { background: #fff5ef; border-color: #f0d0c1; }

.cvrc-guide { scroll-margin-top: 120px; }
.cvrc-guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 13px 0; }
.cvrc-guide-steps > div { padding: 12px; background: var(--rc-soft); border-radius: 10px; }
.cvrc-guide h3 { font-size: 15px; line-height: 1.3; font-weight: 750; }
.cvrc-guide p { font-size: 14px; }
.cvrc-guide details { margin-bottom: 6px; padding: 9px 11px; border: 1px solid var(--rc-border); border-radius: 8px; }
.cvrc-guide summary { color: var(--rc-ink); font-weight: 700; cursor: pointer; }
.cvrc-guide .cvrc-exercise { margin: 7px 0 0; background: var(--rc-soft); border: 0; }
.cvrc-table-wrap { overflow-x: auto; margin-top: 7px; }
.cvrc .cvrc-table { margin: 0; border-collapse: collapse; font-size: 13px; }
.cvrc-table :is(th, td) { padding: 5px 7px; text-align: left; border-bottom: 1px solid var(--rc-border); }
.cvrc-table th { color: var(--rc-ink); font-weight: 700; }
.cvrc-table th .cvrc-swatch { margin-right: 5px; }
.cvrc-sources { display: flex; gap: 12px; flex-wrap: wrap; }

.cvrc-promo {
    --rc-red: #a91828;
    display: flex;
    align-items: center;
    gap: 11px 14px;
    width: min(100%, 1180px);
    margin: 12px auto 18px;
    padding: 12px 15px;
    border: 1px solid #ead6d9;
    border-radius: 12px;
    background: #fff6f6;
    color: #232127;
    line-height: 1.34;
}
.cvrc-promo-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 9px;
    color: #fff;
    background: var(--rc-red);
    font-size: 22px;
    font-weight: 720;
}
.cvrc-promo strong { font-size: 16px; }
.cvrc-promo p { margin: 3px 0 0; font-size: 13px; color: #57505a; }
.cvrc-promo a { margin-left: auto; white-space: nowrap; font-size: 14px; font-weight: 750; }
.cvh-home .cvrc-promo { width: min(calc(100% - 36px), 1180px); }

@media (max-width: 950px) {
    .cvrc-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .cvrc-heading { padding: 14px 0 17px; }
    .cvrc-heading-row, .cvrc-section-heading { flex-direction: column; align-items: start; gap: 4px; }
    .cvrc-calculator { grid-template-columns: minmax(0, 1fr); }
    .cvrc-result { border-left: 0; border-top: 1px solid var(--rc-border); }
    .cvrc-result .cvrc-ohms { font-size: clamp(31px, 9vw, 49px); }
    .cvrc-resistor { max-width: 310px; }
    .cvrc-guide-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .cvrc-products { grid-template-columns: minmax(0, 1fr); }
    .cvrc select { font-size: 16px; }
    .cvrc-reference select { font-size: 14px; }
    .cvrc-promo { flex-wrap: wrap; }
    .cvrc-promo > div { flex: 1; min-width: 0; }
    .cvrc-promo a { margin-left: 56px; white-space: normal; }
}
