/* ==================================================================
   Box measuring guide — redesign v1
   Page: как-да-измерите-вложките-...-на-кутиите-v1.html

   Scoping: every content rule lives under main.bm-page.
   The few rules outside <main> (skip link, reading tape, navbar
   dropdown button, back-to-top) use .bm- classes that exist only
   on this page, so no other page is affected.

   Visual idea: a die-line drawing. Kraft board colours, dimension
   lines with end ticks under chapter headings, dashed "crease"
   lines between box types, and a measuring-tape reading bar.
   Brand tokens from style.css: --primary #AB7442, --dark #353535.
   ================================================================== */

/* ---------- Tokens ---------- */
.bm-page,
.bm-tape,
.bm-skip {
    --bm-kraft: #AB7442;        /* brand kraft (decorative fills, lines) */
    --bm-ink: #8F5E33;          /* AA-safe kraft for text and buttons, 5.5:1 on white */
    --bm-ink-hover: #774C27;
    --bm-dark: #353535;
    --bm-text: #353535;
    --bm-muted: #5C5650;        /* 7:1 on white */
    --bm-board: #F6F2ED;        /* light board tint for panels */
    --bm-line: #E6DED5;
    --bm-crease: #C8323A;       /* die-line crease red, diagrams only */
    --bm-warn: #B42318;
    --bm-radius: 6px;
    --bm-nav-offset: 96px;
}


/* ==================================================================
   Outside <main>: page-only helpers
   ================================================================== */

/* Skip link */
.bm-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: #fff;
    color: var(--bm-ink);
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    border: 2px solid var(--bm-ink);
}
.bm-skip:focus {
    left: 1rem;
    top: 1rem;
}

/* Reading progress: a strip of measuring tape */
.bm-tape {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    z-index: 1100;
    pointer-events: none;
}
.bm-tape__fill {
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background:
        repeating-linear-gradient(90deg, rgba(53, 53, 53, .55) 0 1px, transparent 1px 50px) left bottom / 100% 100% no-repeat,
        repeating-linear-gradient(90deg, rgba(53, 53, 53, .4) 0 1px, transparent 1px 10px) left bottom / 100% 45% no-repeat,
        var(--bm-kraft);
}

/* Navbar: real button for the "Услуги" submenu (was an empty, unfocusable span) */
.bm-nav .nav-item.dropdown {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.bm-nav .bm-dd-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -26px;
    margin-right: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dark, #353535);
    font-size: 15px;
    cursor: pointer;
}
.bm-nav .bm-dd-toggle i { transition: transform .2s; }
.bm-nav .bm-dd-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.bm-nav .bm-dd-toggle:hover { color: var(--primary, #AB7442); }
.bm-nav .bm-dd-toggle:focus-visible,
.bm-nav .nav-link:focus-visible,
.bm-nav .dropdown-item:focus-visible,
.bm-nav .navbar-brand:focus-visible {
    outline: 3px solid #8F5E33;
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .bm-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        top: 100%;
        left: 0;
        margin-top: 0;
        border: 0;
        box-shadow: 0 12px 28px rgba(53, 53, 53, .14);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s, transform .2s, visibility 0s linear .2s;
    }
    .bm-nav .nav-item.dropdown:hover .dropdown-menu,
    .bm-nav .nav-item.dropdown:focus-within .dropdown-menu,
    .bm-nav .nav-item.dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .2s, transform .2s, visibility 0s;
    }
}
@media (max-width: 991.98px) {
    .bm-nav .bm-dd-toggle { margin-left: auto; margin-right: 0; }
    .bm-nav .nav-item.dropdown .nav-link { flex: 1; }
    .bm-nav .nav-item.dropdown .dropdown-menu {
        position: static;
        flex-basis: 100%;
        border: 0;
        padding: 0 0 .5rem 1rem;
    }
}

/* Back-to-top: keep clear of content on phones */
@media (max-width: 575.98px) {
    .bm-top.back-to-top { right: 16px; bottom: 16px; }
}


/* ==================================================================
   Page base
   ================================================================== */
.bm-page {
    color: var(--bm-text);
    font-size: 1.0625rem;
    line-height: 1.75;
}
.bm-page h1,
.bm-page h2,
.bm-page h3,
.bm-page h4 {
    font-family: "Roboto", sans-serif;
    color: var(--bm-dark);
    overflow-wrap: break-word;
    hyphens: manual;
}
.bm-page p { margin: 0 0 1.15rem; }
.bm-page a { color: var(--bm-ink); text-underline-offset: 3px; }
.bm-page a:hover { color: var(--bm-ink-hover); }
.bm-page strong { color: var(--bm-dark); }

.bm-page a:focus-visible,
.bm-page button:focus-visible,
.bm-page summary:focus-visible,
.bm-page input:focus-visible,
.bm-page select:focus-visible {
    outline: 3px solid var(--bm-ink);
    outline-offset: 3px;
}

.bm-page [id] { scroll-margin-top: var(--bm-nav-offset); }


/* ==================================================================
   Hero
   ================================================================== */
.bm-page .bm-hero {
    position: relative;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(38, 33, 29, .95) 0%, rgba(38, 33, 29, .9) 50%, rgba(38, 33, 29, .86) 100%),
        url(../img/blog-post-2/how-to-measure-sizes-of-box-banner.jpg) center / cover no-repeat #2a2420;
}
.bm-page .bm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 3rem 0 3.25rem;
}
@media (min-width: 992px) {
    .bm-page .bm-hero__grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
        gap: 3.5rem;
        padding: 4.5rem 0 4.75rem;
    }
}

.bm-page .bm-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    font-size: .9rem;
    color: rgba(255, 255, 255, .78);
}
.bm-page .bm-crumbs li + li::before {
    content: "/";
    margin-right: .4rem;
    color: rgba(255, 255, 255, .5);
}
.bm-page .bm-crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.bm-page .bm-crumbs a:hover { text-decoration-color: #fff; color: #fff; }

.bm-page .bm-hero__title {
    max-width: 24ch;
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: clamp(1.85rem, 1.15rem + 2.6vw, 3.1rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -.01em;
}
.bm-page .bm-hero__lede {
    max-width: 58ch;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1.15rem;
    line-height: 1.7;
}
.bm-page .bm-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .85);
    font-size: .95rem;
}
.bm-page .bm-hero__meta i { margin-right: .5rem; color: #E7C9A9; }
.bm-page .bm-hero a:focus-visible { outline-color: #fff; }

.bm-page .bm-hero__drawing {
    display: none;
    margin: 0;
    text-align: center;
}
.bm-page .bm-hero__drawing svg { width: 100%; max-width: 460px; height: auto; }
.bm-page .bm-hero__drawing figcaption {
    margin-top: .5rem;
    color: rgba(255, 255, 255, .7);
    font-family: "Roboto", sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 992px) {
    .bm-page .bm-hero__drawing { display: block; }
}


/* ---------- Box drawing (shared by hero and chapter 03) ---------- */
.bm-page .bm-box polygon { stroke-width: 1.5; stroke-linejoin: round; }
.bm-page .bm-box__hidden { fill: none; stroke-width: 1.2; stroke-dasharray: 4 4; }
.bm-page .bm-box__crease { fill: none; stroke-width: 1.5; stroke-dasharray: 7 4; }
.bm-page .bm-dim { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.bm-page .bm-box__labels text {
    font-family: "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 900;
}

.bm-page .bm-box--hero polygon { stroke: #F4E7D8; }
.bm-page .bm-box--hero .bm-box__top { fill: #C9986A; }
.bm-page .bm-box--hero .bm-box__front { fill: #AB7442; }
.bm-page .bm-box--hero .bm-box__side { fill: #8A5A32; }
.bm-page .bm-box--hero .bm-box__hidden { stroke: rgba(244, 231, 216, .45); }
.bm-page .bm-box--hero .bm-box__crease { stroke: #FF9A9E; stroke-width: 2; }
.bm-page .bm-box--hero .bm-dim { stroke: #F4E7D8; }
.bm-page .bm-box--hero .bm-box__labels text { fill: #fff; }

.bm-page .bm-box--light polygon { stroke: #5B3B1F; }
.bm-page .bm-box--light .bm-box__top { fill: #EBD7C2; }
.bm-page .bm-box--light .bm-box__front { fill: #D6B08A; }
.bm-page .bm-box--light .bm-box__side { fill: #BB8E61; }
.bm-page .bm-box--light .bm-box__hidden { stroke: rgba(53, 53, 53, .35); }
.bm-page .bm-box--light .bm-box__crease { stroke: var(--bm-crease); }
.bm-page .bm-box--light .bm-dim { stroke: var(--bm-ink); }
.bm-page .bm-box--light .bm-box__labels text { fill: var(--bm-ink); }

/* The one orchestrated motion: the hero drawing builds itself once */
@media (prefers-reduced-motion: no-preference) {
    .bm-page .bm-box--hero polygon,
    .bm-page .bm-box--hero .bm-box__hidden,
    .bm-page .bm-box--hero .bm-box__crease {
        animation: bm-fade .7s ease-out both;
    }
    .bm-page .bm-box--hero .bm-box__side { animation-delay: .1s; }
    .bm-page .bm-box--hero .bm-box__top { animation-delay: .2s; }
    .bm-page .bm-box--hero .bm-box__crease { animation-delay: .45s; }
    .bm-page .bm-box--hero .bm-dim {
        stroke-dasharray: 260;
        stroke-dashoffset: 260;
        animation: bm-draw .9s cubic-bezier(.6, 0, .25, 1) forwards;
    }
    .bm-page .bm-box--hero .bm-dim:nth-child(1) { animation-delay: .6s; }
    .bm-page .bm-box--hero .bm-dim:nth-child(2) { animation-delay: .85s; }
    .bm-page .bm-box--hero .bm-dim:nth-child(3) { animation-delay: 1.1s; }
    .bm-page .bm-box--hero .bm-box__labels text { animation: bm-fade .5s ease-out 1.6s both; }
}
@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bm-draw { to { stroke-dashoffset: 0; } }


/* ==================================================================
   Layout: table of contents + reading column
   ================================================================== */
.bm-page .bm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding: 2rem 0 1rem;
}
@media (min-width: 992px) {
    .bm-page .bm-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 3.5rem;
        padding-top: 3.5rem;
    }
}
@media (min-width: 1200px) {
    .bm-page .bm-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4.5rem; }
}

.bm-page .bm-article {
    max-width: 46rem;
    min-width: 0;
}
.bm-page .bm-article:focus { outline: none; }


/* ---------- Table of contents ---------- */
.bm-page .bm-toc {
    border: 1px solid var(--bm-line);
    border-radius: 8px;
    background: #fff;
}
.bm-page .bm-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: .75rem 1rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    color: var(--bm-dark);
    cursor: pointer;
    list-style: none;
}
.bm-page .bm-toc__summary::-webkit-details-marker { display: none; }
.bm-page .bm-toc__summary::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bm-ink);
    transition: transform .2s;
}
.bm-page .bm-toc__details[open] .bm-toc__summary::after { transform: rotate(180deg); }

.bm-page .bm-toc__list {
    margin: 0;
    padding: 0 .5rem .75rem;
    list-style: none;
    counter-reset: bm-toc;
}
.bm-page .bm-toc__list li { counter-increment: bm-toc; }
.bm-page .bm-toc__list a {
    display: grid;
    grid-template-columns: 1.75rem 1fr;
    gap: .25rem;
    padding: .5rem .6rem;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    color: #4A4540;
    font-size: .92rem;
    line-height: 1.35;
    text-decoration: none;
}
.bm-page .bm-toc__list a::before {
    content: counter(bm-toc, decimal-leading-zero);
    color: var(--bm-ink);
    font-family: "Roboto", sans-serif;
    font-size: .8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding-top: .1rem;
}
.bm-page .bm-toc__list a:hover { background: var(--bm-board); color: var(--bm-dark); }
.bm-page .bm-toc__list a.is-active {
    border-left-color: var(--bm-kraft);
    background: var(--bm-board);
    color: var(--bm-dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .bm-page .bm-toc-wrap { position: relative; }
    .bm-page .bm-toc {
        position: sticky;
        top: var(--bm-nav-offset);
        max-height: calc(100vh - var(--bm-nav-offset) - 1.5rem);
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .bm-page .bm-toc__summary {
        min-height: 0;
        padding: 0 .6rem .75rem;
        cursor: default;
        pointer-events: none;
    }
    .bm-page .bm-toc__summary::after { display: none; }
    .bm-page .bm-toc__list { padding: 0; }
}


/* ==================================================================
   Chapters and headings
   ================================================================== */
.bm-page .bm-chapter { margin-top: 4.25rem; }

/* Chapter heading sits on a dimension line with end ticks */
.bm-page .bm-h2 {
    position: relative;
    margin: 0 0 1.75rem;
    padding-bottom: 1.15rem;
    font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -.005em;
}
.bm-page .bm-h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 11px;
    background:
        linear-gradient(var(--bm-kraft), var(--bm-kraft)) left center / 100% 1.5px no-repeat,
        linear-gradient(var(--bm-kraft), var(--bm-kraft)) left top / 1.5px 100% no-repeat,
        linear-gradient(var(--bm-kraft), var(--bm-kraft)) right top / 1.5px 100% no-repeat;
}
.bm-page .bm-h2__num {
    display: block;
    margin-bottom: .45rem;
    color: var(--bm-ink);
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bm-page .bm-h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
}
.bm-page .bm-h4 {
    margin: 1.75rem 0 .6rem;
    color: var(--bm-ink);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}
.bm-page .bm-prose p:last-child { margin-bottom: 0; }
.bm-page .bm-prose + .bm-prose { margin-top: 1.15rem; }

/* Generic list */
.bm-page .bm-list {
    margin: 0 0 1.25rem;
    padding-left: 1.2rem;
}
.bm-page .bm-list li { margin-bottom: .5rem; padding-left: .2rem; }
.bm-page .bm-list li::marker { color: var(--bm-kraft); }
.bm-page .bm-list ul { margin-top: .5rem; padding-left: 1.2rem; list-style: circle; }
.bm-page .bm-list > li:last-child { margin-bottom: 0; }

.bm-page .bm-lead-in { margin-bottom: .75rem; }


/* ---------- Figures ---------- */
.bm-page .bm-figure { margin: 2rem 0; }
.bm-page .bm-figure img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius);
    background: var(--bm-board);
}
.bm-page .bm-figure figcaption {
    max-width: 600px;
    margin-top: .6rem;
    color: var(--bm-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.bm-page .bm-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 2rem;
    align-items: start;
    margin-bottom: 1.25rem;
}
.bm-page .bm-media .bm-figure--side { margin: .5rem 0 1.5rem; }
@media (min-width: 768px) {
    .bm-page .bm-media { grid-template-columns: minmax(0, 1fr) 260px; }
    .bm-page .bm-media .bm-figure--side { margin: .35rem 0 0; }
}


/* ==================================================================
   Components
   ================================================================== */

/* Intro test definitions */
.bm-page .bm-terms {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 1.75rem;
}
@media (min-width: 640px) {
    .bm-page .bm-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-page .bm-terms__item {
    padding: 1.1rem 1.25rem;
    border-top: 3px solid var(--bm-kraft);
    background: var(--bm-board);
}
.bm-page .bm-terms dt {
    margin-bottom: .35rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}
.bm-page .bm-terms dd { margin: 0; font-size: .97rem; line-height: 1.6; }

/* 01 — where dimensions matter: icon rows, not a card grid (texts differ a lot in length) */
.bm-page .bm-impact { margin: 0; }
.bm-page .bm-impact__item {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: .15rem 1.1rem;
    padding: 1.35rem 0;
    border-top: 1px solid var(--bm-line);
}
.bm-page .bm-impact__item:last-child { border-bottom: 1px solid var(--bm-line); }
.bm-page .bm-impact__item > i {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--bm-radius);
    background: var(--bm-board);
    color: var(--bm-ink);
    font-size: 1.1rem;
}
.bm-page .bm-impact__item h3 { margin: .35rem 0 .4rem; font-size: 1.12rem; font-weight: 700; }
.bm-page .bm-impact__item p { margin: 0; font-size: 1rem; line-height: 1.7; }

/* 02 — mistakes */
.bm-page .bm-mistakes {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--bm-line);
}
.bm-page .bm-mistakes li {
    position: relative;
    padding: 1.1rem 0 1.1rem 2.9rem;
    border-top: 1px solid var(--bm-line);
}
.bm-page .bm-mistakes li::before {
    content: "\f00d";
    position: absolute;
    left: 0;
    top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: #FBEAE8;
    color: var(--bm-warn);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .85rem;
}
.bm-page .bm-mistakes strong { display: block; margin-bottom: .2rem; font-family: "Roboto", sans-serif; font-weight: 700; }

/* 03 — L × W × H */
.bm-page .bm-lwh {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem 2rem;
    align-items: center;
    margin: 0 0 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--bm-board);
}
@media (min-width: 640px) {
    .bm-page .bm-lwh { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
.bm-page .bm-lwh__drawing { margin: 0; }
.bm-page .bm-lwh__drawing svg { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; }
.bm-page .bm-lwh__defs { margin: 0; }
.bm-page .bm-lwh__defs > div + div { margin-top: 1rem; }
.bm-page .bm-lwh__defs dt {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}
.bm-page .bm-lwh__defs dd { margin: .2rem 0 0 2.65rem; font-size: .97rem; line-height: 1.55; }
.bm-page .bm-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2rem;
    height: 2rem;
    border: 1.5px solid var(--bm-ink);
    border-radius: 4px;
    background: #fff;
    color: var(--bm-ink);
    font-weight: 900;
}

/* 04 — comparison table */
.bm-page .bm-compare {
    margin: 1.5rem 0 0;
    border: 1px solid var(--bm-line);
    border-radius: 8px;
    overflow: hidden;
}
.bm-page .bm-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .97rem;
    line-height: 1.6;
}
.bm-page .bm-compare__table th {
    width: 50%;
    padding: .9rem 1.15rem;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    text-align: left;
}
.bm-page .bm-compare__table th:first-child { background: var(--bm-dark); }
.bm-page .bm-compare__table th:last-child { background: var(--bm-ink); }
.bm-page .bm-compare__table th i { margin-right: .4rem; opacity: .85; }
.bm-page .bm-compare__table td {
    padding: .95rem 1.15rem;
    border-top: 1px solid var(--bm-line);
    vertical-align: top;
}
.bm-page .bm-compare__table td:first-child { border-right: 1px solid var(--bm-line); }
.bm-page .bm-compare__table tbody tr:nth-child(even) td { background: #FBF9F6; }

@media (max-width: 639.98px) {
    .bm-page .bm-compare { border: 0; border-radius: 0; overflow: visible; }
    .bm-page .bm-compare__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .bm-page .bm-compare__table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--bm-line);
        border-radius: 8px;
        overflow: hidden;
    }
    .bm-page .bm-compare__table td {
        display: block;
        border: 0;
        background: #fff !important;
    }
    .bm-page .bm-compare__table td:first-child { border-right: 0; border-bottom: 1px dashed var(--bm-line); }
    .bm-page .bm-compare__table td::before {
        content: attr(data-label);
        display: block;
        width: -moz-fit-content;
        width: fit-content;
        margin-bottom: .4rem;
        padding: .1rem .6rem;
        border-radius: 999px;
        color: #fff;
        font-family: "Roboto", sans-serif;
        font-size: .8rem;
        font-weight: 700;
    }
    .bm-page .bm-compare__table td:first-child::before { background: var(--bm-dark); }
    .bm-page .bm-compare__table td:last-child::before { background: var(--bm-ink); }
}

/* 05 — tools */
.bm-page .bm-tools { margin: 1.5rem 0; }
.bm-page .bm-tools__group + .bm-tools__group { margin-top: 2rem; }
.bm-page .bm-tools__group h3 { margin: 0 0 .9rem; font-size: 1.12rem; font-weight: 700; }
.bm-page .bm-tools__list { margin: 0; padding: 0; list-style: none; }
.bm-page .bm-tools__list li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: .85rem 0;
    border-top: 1px solid var(--bm-line);
    font-size: .98rem;
    line-height: 1.6;
}
.bm-page .bm-tools__list li > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--bm-radius);
    background: var(--bm-board);
    color: var(--bm-ink);
}
.bm-page .bm-tools__list strong { display: block; font-family: "Roboto", sans-serif; font-weight: 700; }

/* 06 — interactive checklist */
.bm-page .bm-checklist {
    margin: 1.5rem 0 0;
    border: 1px solid var(--bm-line);
    border-radius: 8px;
    overflow: hidden;
}
.bm-page .bm-checklist__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    padding: .85rem 1.25rem;
    background: var(--bm-board);
}
.bm-page .bm-checklist__status {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.bm-page .bm-meter {
    flex: 1 0 100%;
    order: 3;
    height: 7px;
    border-radius: 2px;
    background: #E9E1D7;
    overflow: hidden;
}
.bm-page .bm-meter__fill {
    display: block;
    width: 0;
    height: 100%;
    background:
        repeating-linear-gradient(90deg, rgba(53, 53, 53, .45) 0 1px, transparent 1px 12.5%) left bottom / 100% 100% no-repeat,
        var(--bm-kraft);
    transition: width .3s ease-out;
}
.bm-page .bm-checklist__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: bm-chk;
}
.bm-page .bm-checklist__list li {
    counter-increment: bm-chk;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: .2rem .75rem;
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--bm-line);
    transition: background-color .2s;
}
.bm-page .bm-checklist__list input[type="checkbox"] {
    grid-row: 1 / span 2;
    -webkit-appearance: none;
    appearance: none;
    width: 1.6rem;
    height: 1.6rem;
    margin: .1rem 0 0;
    border: 2px solid var(--bm-ink);
    border-radius: 4px;
    background: #fff center / 1rem no-repeat;
    cursor: pointer;
    transition: background-color .15s;
}
.bm-page .bm-checklist__list input[type="checkbox"]:checked {
    background-color: var(--bm-ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.bm-page .bm-checklist__list label {
    font-family: "Roboto", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}
.bm-page .bm-checklist__list label::before {
    content: counter(bm-chk) ". ";
    color: var(--bm-ink);
    font-variant-numeric: tabular-nums;
}
.bm-page .bm-checklist__list p {
    grid-column: 2;
    margin: .25rem 0 0;
    font-size: .98rem;
    line-height: 1.65;
}
.bm-page .bm-checklist__list li.is-done { background: #FBF9F6; }
.bm-page .bm-checklist__list li.is-done label { color: var(--bm-ink); }

/* 07 — internal / external pair */
.bm-page .bm-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
@media (min-width: 640px) {
    .bm-page .bm-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-page .bm-pair__item {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--bm-line);
    border-top-width: 4px;
    border-radius: var(--bm-radius);
}
.bm-page .bm-pair__item--in { border-top-color: var(--bm-ink); }
.bm-page .bm-pair__item--out { border-top-color: var(--bm-dark); }
.bm-page .bm-pair__item h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-size: 1.12rem; font-weight: 700; }
.bm-page .bm-pair__item--in h3 i { color: var(--bm-ink); }
.bm-page .bm-pair__item p { margin: 0; font-size: .97rem; line-height: 1.65; }

/* Notes / tips */
.bm-page .bm-note {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--bm-kraft);
    border-radius: 0 8px 8px 0;
    background: var(--bm-board);
}
.bm-page .bm-note h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .75rem;
    font-size: 1.08rem;
    font-weight: 700;
}
.bm-page .bm-note h3 i { color: var(--bm-ink); }
.bm-page .bm-note ul { margin: 0; padding-left: 1.2rem; }
.bm-page .bm-note li { margin-bottom: .45rem; }
.bm-page .bm-note li:last-child { margin-bottom: 0; }
.bm-page .bm-note li::marker { color: var(--bm-kraft); }

.bm-page .bm-note__figure {
    display: inline-block;
    margin: 0 0 .9rem;
    padding: 0 .6rem .55rem;
    font-family: "Roboto", sans-serif;
    color: var(--bm-muted);
    background:
        linear-gradient(var(--bm-kraft), var(--bm-kraft)) left bottom / 100% 1.5px no-repeat,
        linear-gradient(var(--bm-kraft), var(--bm-kraft)) left bottom / 1.5px 10px no-repeat,
        linear-gradient(var(--bm-kraft), var(--bm-kraft)) right bottom / 1.5px 10px no-repeat;
}
.bm-page .bm-note__figure span {
    margin-right: .35rem;
    color: var(--bm-ink);
    font-size: 2rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* 08 — step by step */
.bm-page .bm-steps {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: bm-step;
}
.bm-page .bm-steps__item {
    position: relative;
    counter-increment: bm-step;
    padding: 0 0 2.25rem 4rem;
}
.bm-page .bm-steps__item::before {
    content: counter(bm-step);
    position: absolute;
    left: 0;
    top: -.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 2px solid var(--bm-ink);
    border-radius: 6px;
    background: #fff;
    color: var(--bm-ink);
    font-family: "Roboto", sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
}
/* dashed crease line connects the steps */
.bm-page .bm-steps__item::after {
    content: "";
    position: absolute;
    left: calc(1.3rem - 1px);
    top: 2.75rem;
    bottom: .3rem;
    width: 2px;
    background: repeating-linear-gradient(var(--bm-kraft) 0 6px, transparent 6px 11px);
}
.bm-page .bm-steps__item:last-child { padding-bottom: 0; }
.bm-page .bm-steps__item:last-child::after { display: none; }
.bm-page .bm-steps__item h3 { margin: 0 0 .85rem; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.bm-page .bm-steps__label { color: var(--bm-ink); }

.bm-page .bm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bm-page .bm-chips li {
    padding: .35rem .9rem;
    border: 1px solid var(--bm-line);
    border-radius: 999px;
    background: var(--bm-board);
    font-size: .94rem;
    line-height: 1.4;
}

/* 09 — materials */
.bm-page .bm-materials {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
@media (min-width: 640px) {
    .bm-page .bm-materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-page .bm-material {
    border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius);
    overflow: hidden;
}
.bm-page .bm-material h3 { margin: 1.1rem 1.25rem .45rem; font-size: 1.08rem; font-weight: 700; }
.bm-page .bm-material p { margin: 0 1.25rem 1.2rem; font-size: .96rem; line-height: 1.65; }
/* Swatch = the board's edge, seen in cross-section */
.bm-page .bm-material__swatch { display: block; height: 18px; border-bottom: 1px solid var(--bm-line); }
.bm-page .bm-swatch--multi { background: repeating-linear-gradient(180deg, #D9C4A6 0 3px, #C8AE89 3px 4px); }
.bm-page .bm-swatch--kraft { background: #B5824F; }
.bm-page .bm-swatch--card { background: linear-gradient(180deg, #FFFFFF 0 30%, #E8DCCB 30%); }
.bm-page .bm-swatch--sbs { background: linear-gradient(180deg, #FFFFFF 0 70%, #F2F2F2 70%); }
.bm-page .bm-swatch--grey { background: #8E8B87; }
.bm-page .bm-swatch--flute {
    background:
        linear-gradient(#9E6C3D, #9E6C3D) top / 100% 2px no-repeat,
        linear-gradient(#9E6C3D, #9E6C3D) bottom / 100% 2px no-repeat,
        radial-gradient(circle at 50% 100%, transparent 5px, #B5824F 5.5px 7px, transparent 7.5px) 0 2px / 14px 7px repeat-x,
        radial-gradient(circle at 50% 0, transparent 5px, #B5824F 5.5px 7px, transparent 7.5px) 7px 9px / 14px 7px repeat-x,
        #E8D5BD;
}

/* 10 — box types */
.bm-page .bm-jump {
    margin: 1.75rem 0 0;
    padding: 1rem 1.25rem 1.15rem;
    border-radius: 8px;
    background: var(--bm-board);
}
.bm-page .bm-jump__title {
    margin: 0 0 .6rem;
    font-family: "Roboto", sans-serif;
    font-size: .95rem;
    font-weight: 700;
}
.bm-page .bm-jump ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bm-page .bm-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .35rem .95rem;
    border: 1px solid #D9CCBE;
    border-radius: 999px;
    background: #fff;
    color: var(--bm-dark);
    font-size: .94rem;
    text-decoration: none;
    transition: background-color .15s, color .15s, border-color .15s;
}
.bm-page .bm-jump a:hover { border-color: var(--bm-ink); background: var(--bm-ink); color: #fff; }

/* Box types are separated by a dashed crease line */
.bm-page .bm-type {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    background: repeating-linear-gradient(90deg, var(--bm-kraft) 0 8px, transparent 8px 14px) top left / 100% 1.5px no-repeat;
}

.bm-page .bm-defs { margin: 1rem 0 1.5rem; }
.bm-page .bm-defs > div {
    padding: .2rem 0 .2rem 1rem;
    border-left: 3px solid var(--bm-kraft);
}
.bm-page .bm-defs > div + div { margin-top: .9rem; }
.bm-page .bm-defs dt { font-family: "Roboto", sans-serif; font-weight: 700; line-height: 1.4; }
.bm-page .bm-defs dt span { color: var(--bm-muted); font-weight: 500; }
.bm-page .bm-defs dd { margin: .2rem 0 0; font-size: .97rem; line-height: 1.6; }

.bm-page .bm-grid2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
@media (min-width: 768px) {
    .bm-page .bm-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-page .bm-panel {
    padding: 1.15rem 1.3rem 1.25rem;
    border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius);
    font-size: .97rem;
    line-height: 1.6;
}
.bm-page .bm-panel .bm-h4 { margin-top: 0; }
.bm-page .bm-panel p { margin-bottom: .75rem; }
.bm-page .bm-panel .bm-list { margin-bottom: 0; }
.bm-page .bm-panel--warn { border-top: 3px solid var(--bm-warn); }
.bm-page .bm-panel--warn .bm-h4 { color: var(--bm-warn); }
.bm-page .bm-panel .bm-h4 i { margin-right: .45rem; }

/* 12 — couriers */
.bm-page .bm-formulas {
    margin: 1.75rem 0;
    padding: 1.15rem 1.35rem;
    border: 1.5px dashed var(--bm-kraft);
    border-radius: 8px;
}
.bm-page .bm-formulas p { margin: 0 0 .5rem; }
.bm-page .bm-formulas strong { color: var(--bm-ink); }
.bm-page .bm-formulas__note { margin: .75rem 0 0 !important; color: var(--bm-muted); font-size: .94rem; }

.bm-page .bm-dim-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--bm-board);
}
.bm-page .bm-dim-box__intro { margin-bottom: 1.1rem; }
.bm-page .bm-fraction {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem 1rem;
    margin-bottom: 1.25rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: clamp(.95rem, .85rem + .5vw, 1.2rem);
    text-align: center;
}
.bm-page .bm-fraction__frac { display: inline-flex; flex-direction: column; align-items: stretch; }
.bm-page .bm-fraction__num { padding: 0 .75rem .35rem; border-bottom: 2px solid var(--bm-dark); }
.bm-page .bm-fraction__den { padding-top: .35rem; color: var(--bm-ink); font-variant-numeric: tabular-nums; }

.bm-page .bm-example {
    padding: 1.1rem 1.3rem;
    border-radius: var(--bm-radius);
    background: #fff;
}
.bm-page .bm-example p { margin-bottom: .5rem; }
.bm-page .bm-example p:last-child { margin-bottom: 0; }
.bm-page .bm-example__calc {
    font-family: "Roboto", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bm-ink);
    font-variant-numeric: tabular-nums;
}

/* DIM calculator */
.bm-page .bm-calc {
    margin: 2.25rem 0 3rem;
    padding: 1.5rem;
    border: 2px solid var(--bm-dark);
    border-radius: 10px;
}
.bm-page .bm-calc__title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .4rem;
    font-size: 1.25rem;
    font-weight: 700;
}
.bm-page .bm-calc__title i { color: var(--bm-ink); }
.bm-page .bm-calc__hint { margin-bottom: 1.25rem; color: var(--bm-muted); font-size: .95rem; line-height: 1.55; }

.bm-page .bm-calc__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem 1rem;
    align-items: end;
}
@media (min-width: 640px) {
    .bm-page .bm-calc__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .bm-page .bm-field { grid-column: span 2; }
}
.bm-page .bm-field--wide,
.bm-page .bm-field--submit { grid-column: 1 / -1; }
@media (min-width: 640px) {
    .bm-page .bm-field--kg { grid-column: span 2; }
    .bm-page .bm-field--wide { grid-column: span 4; }
    .bm-page .bm-field--submit { grid-column: 1 / -1; }
    .bm-page .bm-field--submit { align-items: flex-start; }
}
.bm-page .bm-field { display: flex; flex-direction: column; min-width: 0; }
.bm-page .bm-field label {
    margin-bottom: .35rem;
    font-family: "Roboto", sans-serif;
    font-size: .92rem;
    font-weight: 700;
}
.bm-page .bm-field input,
.bm-page .bm-field select {
    width: 100%;
    min-height: 48px;
    padding: .5rem .75rem;
    border: 1.5px solid #8C847C;
    border-radius: var(--bm-radius);
    background: #fff;
    color: var(--bm-dark);
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    transition: border-color .15s, box-shadow .15s;
}
.bm-page .bm-field input:focus,
.bm-page .bm-field select:focus {
    border-color: var(--bm-ink);
    box-shadow: 0 0 0 3px rgba(171, 116, 66, .28);
    outline: none;
}
.bm-page .bm-field input[aria-invalid="true"] { border-color: var(--bm-warn); }
.bm-page .bm-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .22); }
.bm-page .bm-field__error {
    margin: .3rem 0 0;
    color: var(--bm-warn);
    font-size: .86rem;
    line-height: 1.35;
}
.bm-page .bm-field__error:empty { display: none; }
@media (max-width: 639.98px) {
    .bm-page .bm-field--submit .bm-btn { width: 100%; }
}

.bm-page .bm-calc__result {
    margin-top: 1.35rem;
    padding: 1.25rem 1.4rem;
    border-radius: 8px;
    background: var(--bm-dark);
    color: #fff;
}
.bm-page .bm-calc__result dl {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2.5rem;
    margin: 0 0 .75rem;
}
.bm-page .bm-calc__result dt {
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    font-weight: 500;
}
.bm-page .bm-calc__result dd {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.bm-page .bm-calc__charge dd { color: #E7C9A9; }
.bm-page .bm-calc__basis { margin: 0; color: rgba(255, 255, 255, .86); font-size: .94rem; line-height: 1.55; }
.bm-page .bm-calc__limit {
    margin: .85rem 0 0;
    padding: .6rem .85rem;
    border-left: 3px solid #E7C9A9;
    background: rgba(255, 255, 255, .08);
    font-size: .92rem;
    line-height: 1.5;
}
.bm-page .bm-calc__disclaimer { margin: .85rem 0 0; color: var(--bm-muted); font-size: .86rem; line-height: 1.5; }

.bm-page .bm-carriers {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .bm-page .bm-carriers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-page .bm-carrier {
    padding: 1.15rem 1.3rem 1.25rem;
    border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius);
    font-size: .95rem;
    line-height: 1.6;
}
.bm-page .bm-carrier--tips { background: var(--bm-board); border-color: transparent; }
.bm-page .bm-carrier__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;
}
.bm-page .bm-carrier__head h4 { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.bm-page .bm-carrier__div {
    flex: none;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: var(--bm-board);
    color: var(--bm-ink);
    font-size: .82rem;
    white-space: nowrap;
}
.bm-page .bm-carrier__div b { font-family: "Roboto", sans-serif; font-size: .95rem; font-weight: 900; font-variant-numeric: tabular-nums; }

/* Buttons */
.bm-page .bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .7rem 1.6rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}
.bm-page .bm-btn--primary { background: var(--bm-ink); border-color: var(--bm-ink); color: #fff; }
.bm-page .bm-btn--primary:hover { background: var(--bm-ink-hover); border-color: var(--bm-ink-hover); color: #fff; }
.bm-page .bm-btn--quiet {
    min-height: 40px;
    padding: .35rem 1rem;
    border: 1.5px solid var(--bm-ink);
    background: #fff;
    color: var(--bm-ink);
    font-size: .9rem;
}
.bm-page .bm-btn--quiet:hover { background: var(--bm-ink); color: #fff; }
.bm-page .bm-btn--outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.bm-page .bm-btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--bm-dark); }

/* 13 — call to action */
.bm-page .bm-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem 2rem;
    align-items: center;
    margin: 2.5rem 0 0;
    padding: 2.1rem 1.75rem 1.9rem;
    border-radius: 10px;
    background: var(--bm-dark);
    color: #fff;
    overflow: hidden;
}
/* a strip of tape along the top edge */
.bm-page .bm-cta::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
    background:
        repeating-linear-gradient(90deg, rgba(53, 53, 53, .55) 0 1px, transparent 1px 50px) left top / 100% 100% no-repeat,
        repeating-linear-gradient(90deg, rgba(53, 53, 53, .4) 0 1px, transparent 1px 10px) left top / 100% 45% no-repeat,
        var(--bm-kraft);
}
@media (min-width: 768px) {
    .bm-page .bm-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 2.25rem 2rem 2rem; }
}
.bm-page .bm-cta h3 { margin: 0 0 .5rem; color: #fff; font-size: 1.45rem; font-weight: 900; line-height: 1.25; }
.bm-page .bm-cta p { margin: 0; color: rgba(255, 255, 255, .86); font-size: 1rem; line-height: 1.65; }
.bm-page .bm-cta__actions { display: flex; flex-direction: column; gap: .75rem; }
@media (max-width: 767.98px) {
    .bm-page .bm-cta__actions { flex-direction: row; flex-wrap: wrap; }
}
.bm-page .bm-cta a:focus-visible { outline-color: #fff; }

/* 14 — takeaways */
.bm-page .bm-takeaways {
    margin: 0;
    padding: 1.5rem 1.6rem;
    border-radius: 8px;
    background: var(--bm-board);
    list-style: none;
    font-size: .98rem;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .bm-page .bm-takeaways { columns: 2; column-gap: 2.5rem; }
}
.bm-page .bm-takeaways li {
    position: relative;
    margin-bottom: .8rem;
    padding-left: 1.85rem;
    break-inside: avoid;
}
.bm-page .bm-takeaways li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: .1rem;
    color: var(--bm-ink);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .9rem;
}

/* Author */
.bm-page .bm-author {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-top: 3.5rem;
    padding: 1.75rem 0;
    border-top: 1px solid var(--bm-line);
    border-bottom: 1px solid var(--bm-line);
}
.bm-page .bm-author img {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bm-board);
    object-fit: cover;
}
.bm-page .bm-author__name { margin: 0 0 .35rem !important; font-family: "Roboto", sans-serif; font-weight: 700; color: var(--bm-dark); }
.bm-page .bm-author p { margin: 0; color: var(--bm-muted); font-size: .96rem; line-height: 1.65; }
@media (max-width: 479.98px) {
    .bm-page .bm-author { flex-direction: column; }
}

.bm-page .bm-back { margin: 1.5rem 0 0; }
.bm-page .bm-back a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    text-decoration: none;
}
.bm-page .bm-back a:hover { text-decoration: underline; }


/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
    .bm-page { font-size: 1rem; }
    .bm-page .bm-chapter { margin-top: 3.25rem; }
    .bm-page .bm-lwh,
    .bm-page .bm-dim-box,
    .bm-page .bm-calc { padding: 1.15rem; }
    .bm-page .bm-steps__item { padding-left: 3.4rem; }
    .bm-page .bm-checklist__list li { padding: 1rem; grid-template-columns: 2.2rem minmax(0, 1fr); }
    .bm-page .bm-hero__lede { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
    .bm-page *,
    .bm-tape__fill { transition: none !important; }
}

/* Print: drop the interactive chrome, keep the article */
@media print {
    .bm-tape,
    .bm-skip,
    .bm-page .bm-toc-wrap,
    .bm-page .bm-calc,
    .bm-page .bm-checklist__bar,
    .bm-page .bm-cta__actions { display: none !important; }
    .bm-page .bm-layout { display: block; }
    .bm-page .bm-hero { background: none; color: #000; }
    .bm-page .bm-hero__title,
    .bm-page .bm-hero__lede,
    .bm-page .bm-hero__meta { color: #000; }
}
