/* ============================================================
   LABEE LABS — DRAFTING SHEET DESIGN SYSTEM
   The site reads like a set of construction documents:
   vellum-gray field, sheet-white pages, drawing-ink lines,
   safety-orange accents, mono annotations, title-block footer.
   ============================================================ */

@import url('../_assets/fonts/fonts.css'); /* self-hosted Archivo + IBM Plex (no third-party requests) */

:root {
    /* Core palette */
    --vellum: #F0EEE2;        /* drafting paper (slight yellow hue) */
    --sheet: #FAF9F2;         /* sheet white, warm */
    --paper: #FFFFFF;
    --ink: #16202C;           /* drawing ink (blue-black) */
    --ink-60: #4A5868;
    --ink-30: #9AA7B4;
    --line: #D6D3C4;          /* hairline borders, warm */
    --grid: #DEDBCB;          /* background grid ruling */
    --link: #4E7A63;          /* faded dark green — text links */
    --link-dark: #3A5F4C;
    --safety: #FF5A1F;        /* construction safety orange */
    --safety-dark: #D9430B;
    --steel: #2E64A6;         /* steel blue, secondary */
    --steel-soft: #DCE6F2;
    --ok: #1B7F4D;
    --fail: #B3362B;
    --warn: #A36A1B;

    --radius: 2px;
    --maxw: 1180px;

    --font-head: 'Archivo', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

    /* Legacy aliases (used by page-specific stylesheets) */
    --engineering-slate: var(--ink);
    --construction-orange: var(--safety);
    --blueprint-blue: var(--steel);
    --foundation-gray: var(--ink-60);
    --precision-green: var(--ok);
    --concrete-dark: var(--ink);
    --steel-medium: var(--ink-30);
    --limestone-light: var(--vellum);
    --paper-white: var(--paper);
    --text-dark: var(--ink);
    --text-medium: var(--ink-60);
    --bg-light: var(--vellum);
    --bg-white: var(--paper);
    --shadow-light: rgba(22, 32, 44, 0.06);
    --shadow-medium: rgba(22, 32, 44, 0.10);
    --shadow-dark: rgba(22, 32, 44, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--font-body);
    background: var(--vellum);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--link);
}

a:hover {
    color: var(--link-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.mono {
    font-family: var(--font-mono);
}

/* Keep sub/superscripts from inflating line height or drifting */
sub, sup {
    font-size: 0.7em;
    line-height: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--safety);
    outline-offset: 2px;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   SITE NAVIGATION
   ============================================================ */
nav.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--sheet);
    border-bottom: 1px solid var(--ink);
}

.nav-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
    padding: 8px 0;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

.logo span {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* Vertical rule separating company links from tool links */
.nav-links .nav-divider {
    width: 1px;
    height: 24px;
    background: var(--ink-30);
    margin: 0 10px;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--link);
    padding: 9px 12px;
    display: block;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--link-dark);
    background: var(--vellum);
}

.nav-links a.active {
    color: var(--link-dark);
    font-weight: 600;
    border-bottom-color: var(--safety);
    background: var(--vellum);
}

/* ============================================================
   PAGE FRAME — content pages sit on a "sheet" with side rails
   ============================================================ */
.page-frame {
    max-width: var(--maxw);
    margin: 0 auto;
    background: var(--sheet);
    border-left: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
    min-height: calc(100vh - 60px);
    position: relative;
}

.page-frame::before,
.page-frame::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.page-frame::before { left: 14px; }
.page-frame::after  { right: 14px; }

/* Section scaffolding */
.sec {
    padding: 80px 64px;
    border-bottom: 1px solid var(--ink);
    position: relative;
}

.sec:last-of-type {
    border-bottom: none;
}

.sec-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-60);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.sec-tag .sheetno {
    color: var(--safety);
    font-weight: 600;
    border: 1px solid var(--safety);
    padding: 3px 9px;
    background: var(--paper);
    white-space: nowrap;
}

.sec-tag::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.sec h1,
.sec h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 18px;
}

.lede {
    font-size: 18px;
    color: var(--ink-60);
    max-width: 64ch;
}

/* Corner registration ticks */
.ticks::before,
.ticks::after {
    content: "+";
    position: absolute;
    font-family: var(--font-mono);
    color: var(--ink-30);
    font-size: 14px;
}

.ticks::before { top: 10px; left: 24px; }
.ticks::after  { top: 10px; right: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 96px 64px 80px;
    border-bottom: 1px solid var(--ink);
    position: relative;
    overflow: hidden;
}

.hero .kicker {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--safety);
    font-weight: 600;
    margin-bottom: 22px;
    display: block;
}

.hero h1 {
    font-size: clamp(40px, 6.4vw, 76px);
    font-weight: 900;
    max-width: 15ch;
}

.hero h1 em {
    font-style: normal;
    color: var(--steel);
    position: relative;
    white-space: nowrap;
}

.hero h1 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 10px;
    background: rgba(255, 90, 31, 0.25);
    z-index: -1;
}

.hero p {
    margin-top: 26px;
    font-size: 19px;
    color: var(--ink-60);
    max-width: 58ch;
}

.hero-cta {
    margin-top: 38px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-dims {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--ink);
    background: var(--paper);
}

.hero-dims div {
    padding: 20px 22px;
    border-right: 1px solid var(--line);
}

.hero-dims div:last-child {
    border-right: none;
}

.hero-dims .v {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 24px;
}

.hero-dims .k {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-60);
    margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    background: var(--paper);
    color: var(--ink);
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--ink);
}

.btn.primary {
    background: var(--safety);
    border-color: var(--safety-dark);
    color: #fff;
}

.btn.primary:hover {
    box-shadow: 3px 3px 0 var(--safety-dark);
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--ink);
    background: var(--line);
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid var(--ink);
    background: var(--line);
}

.grid3 .card,
.grid2 .card {
    background: var(--paper);
    padding: 30px 28px;
    border-radius: 0;
    box-shadow: none;
}

.card .cno {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--safety);
    font-weight: 600;
}

.card h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 10px 0;
}

.card p {
    font-size: 15px;
    color: var(--ink-60);
}

/* Tool index cards — whole card is a link */
a.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--paper);
    padding: 30px 28px;
    transition: background 0.12s ease;
    position: relative;
}

a.card-link:hover {
    background: var(--steel-soft);
}

a.card-link .go {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--link);
    margin-top: 14px;
    display: inline-block;
}

a.card-link:hover .go {
    color: var(--link-dark);
}

a.card-link .ref {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--steel);
    display: block;
    margin-top: 2px;
}

/* ============================================================
   DARK (PLATFORM) SECTION
   ============================================================ */
.sec.dark {
    background: var(--ink);
    color: var(--sheet);
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.sec.dark .sec-tag { color: rgba(246,248,249,0.6); }
.sec.dark .sec-tag::after { background: rgba(246,248,249,0.18); }
.sec.dark .lede { color: rgba(246,248,249,0.72); }

.lp-name {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(44px, 7vw, 84px);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 8px 0 6px;
}

.lp-name .path { color: var(--safety); }

.lp-sub {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(246,248,249,0.55);
}

.lp-flow {
    margin: 52px 0 44px;
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.lp-node {
    flex: 1;
    min-width: 180px;
    border: 1px solid rgba(246,248,249,0.3);
    padding: 22px 20px;
    position: relative;
    background: rgba(255,255,255,0.03);
}

.lp-node .n {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--safety);
    letter-spacing: 0.14em;
}

.lp-node h3 {
    font-size: 17px;
    margin: 8px 0 6px;
    color: var(--sheet);
}

.lp-node p {
    font-size: 13.5px;
    color: rgba(246,248,249,0.6);
}

.lp-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--safety);
    font-family: var(--font-mono);
    font-size: 20px;
}

.lp-feats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid rgba(246,248,249,0.3);
    background: rgba(246,248,249,0.18);
}

.lp-feat {
    background: var(--ink);
    padding: 24px 26px;
}

.lp-feat h3 {
    font-size: 16px;
    color: var(--sheet);
    margin-bottom: 6px;
}

.lp-feat h3::before {
    content: "▸ ";
    color: var(--safety);
}

.lp-feat p {
    font-size: 14px;
    color: rgba(246,248,249,0.62);
}

.lp-cta {
    margin-top: 44px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.sec.dark .btn {
    background: transparent;
    color: var(--sheet);
    border-color: rgba(246,248,249,0.5);
}

.sec.dark .btn:hover {
    box-shadow: 3px 3px 0 rgba(246,248,249,0.5);
}

.sec.dark .btn.primary {
    background: var(--safety);
    border-color: var(--safety);
    color: #fff;
}

.sec.dark .btn.primary:hover {
    box-shadow: 3px 3px 0 var(--safety-dark);
}

.badge {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--safety);
    color: var(--safety);
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

/* ============================================================
   TIP JAR / QR
   ============================================================ */
.tip-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.qr-box {
    border: 1px solid var(--ink);
    background: var(--paper);
    padding: 28px;
    text-align: center;
    max-width: 340px;
    justify-self: center;
}

.qr-box img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto 14px;
    border: 1px solid var(--line);
}

.qr-box .ql {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-60);
}

/* Stripe tip box (replaces the QR) */
.tip-box {
    padding: 40px 36px;
}

.tip-box .tip-amount {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 56px;
    line-height: 1;
    color: var(--safety);
    margin-bottom: 18px;
}

.tip-btns {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT BLOCKS
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.c-item {
    margin-bottom: 20px;
}

.c-item .ck {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.c-item .cv {
    font-size: 17px;
    font-weight: 600;
}

.c-item a {
    color: var(--link);
    text-decoration-color: var(--link);
}

.c-item a:hover {
    color: var(--link-dark);
}

/* ============================================================
   FORMS (Contact page)
   ============================================================ */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-60);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ink-30);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-mono);
    color: var(--ink);
    background-color: var(--paper);
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(46, 100, 166, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    margin-top: 8px;
}

.submit-button {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background-color: var(--safety);
    color: #fff;
    padding: 14px 30px;
    border: 1px solid var(--safety-dark);
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.submit-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--safety-dark);
}

.submit-button:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.form-message {
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    display: none;
}

.form-message.success {
    background-color: rgba(27, 127, 77, 0.08);
    color: var(--ok);
    border: 1px solid var(--ok);
    display: block;
}

.form-message.error {
    background-color: rgba(179, 54, 43, 0.08);
    color: var(--fail);
    border: 1px solid var(--fail);
    display: block;
}

/* Honeypot — keep hidden from humans */
.honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}

/* ============================================================
   FOOTER — DRAWING TITLE BLOCK
   ============================================================ */
footer.titleblock-footer {
    max-width: var(--maxw);
    margin: 0 auto;
    background: var(--sheet);
    border: 1px solid var(--ink);
    border-top: 1px solid var(--ink);
}

footer.titleblock-footer.wide {
    max-width: 1480px;
}

.tblock {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--ink);
}

.tblock > div {
    padding: 14px 18px;
    border-right: 1px solid var(--ink);
}

.tblock > div:last-child {
    border-right: none;
}

.tblock .tk {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-60);
}

.tblock .tv {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 15px;
    margin-top: 2px;
}

.foot-legal {
    padding: 16px 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-30);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sec, .hero { padding: 64px 40px; }
}

@media (max-width: 900px) {
    .sec, .hero { padding: 56px 26px; }
    .grid3, .grid2, .lp-feats { grid-template-columns: 1fr; }
    .lp-flow { flex-direction: column; }
    .lp-arrow { transform: rotate(90deg); padding: 6px 0; }
    .tip-wrap, .contact-grid { grid-template-columns: 1fr; }
    .hero-dims { grid-template-columns: 1fr; }
    .hero-dims div { border-right: none; border-bottom: 1px solid var(--line); }
    .hero-dims div:last-child { border-bottom: none; }
    .tblock { grid-template-columns: 1fr 1fr; }
    .tblock > div { border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
    .logo img { height: 32px; }
    .logo span { font-size: 16px; }
    .nav-links { gap: 4px; }
    .nav-links a { font-size: 11.5px; padding: 8px 9px; }
    .nav-links .nav-divider { margin: 0 4px; }
}

@media (max-width: 480px) {
    .sec, .hero { padding: 44px 18px; }
    .ticks::before { left: 8px; }
    .ticks::after { right: 8px; }
}

/* ============================================================
   PRINT — hide chrome so calc sheets print clean
   ============================================================ */

/* Running header / footer / page-frame / seal block are print-only; hidden on screen. */
.print-frame, .print-running, .print-foot, .seal-block { display: none; }

@media print {
    body {
        background: #fff !important;
        background-image: none !important;
    }
    nav.site-nav,
    footer.titleblock-footer {
        display: none !important;
    }
    .page-frame {
        border: none;
        min-height: 0;
    }
    .page-frame::before,
    .page-frame::after {
        display: none;
    }

    /* ----- Repeating page frame + running header/footer -----
       Fixed elements repeat on every printed page. They sit in the @page
       margin band via negative offsets, so the @page margins (set per tool
       sheet) reserve their space on every page with no overlap of content. */
    .print-frame {
        display: block;
        position: fixed;
        top: -0.72in; bottom: -0.80in; left: -0.30in; right: -0.30in;
        border: 1.5px solid var(--ink);
        border-radius: 2px;
        pointer-events: none;
        z-index: 0;
    }
    .print-running {
        display: flex;
        position: fixed;
        top: -0.70in; left: -0.30in; right: -0.30in;
        height: 0.52in;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0 0.26in;
        border-bottom: 1px solid var(--ink);
        background: #fff;
        color: var(--ink);
        z-index: 1;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .print-running .pr-title {
        font-family: 'Archivo', system-ui, sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-size: 10px;
        white-space: nowrap;
    }
    .print-running .pr-meta {
        display: flex;
        align-items: baseline;
        gap: .85rem;
        font-family: 'IBM Plex Mono', ui-monospace, monospace;
        font-size: 8.5px;
        color: var(--ink-60);
        overflow: hidden;
    }
    .print-running .pr-meta b { color: var(--ink); font-weight: 600; }
    .print-running .pr-meta .pr-sheet {
        font-weight: 600;
        color: var(--ink);
        padding-left: .85rem;
        border-left: 1px solid var(--ink-30);
    }
    /* Slim repeating footer — reference info on every page (bottom edge) */
    .print-foot {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        position: fixed;
        bottom: -0.76in; left: -0.30in; right: -0.30in;
        height: 0.54in;
        padding: 3px 0.26in;
        border-top: 1px solid var(--ink);
        background: #fff;
        font-family: 'IBM Plex Mono', ui-monospace, monospace;
        color: var(--ink-60);
        z-index: 1;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .print-foot .pf-firm {
        font-family: 'Archivo', system-ui, sans-serif;
        font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
        font-size: 9px; color: var(--ink);
    }
    .print-foot .pf-ref { font-size: 8px; letter-spacing: .02em; }
    .print-foot .pf-ref b { color: var(--ink); font-weight: 600; }
    .print-foot .pf-disc { font-size: 7px; line-height: 1.3; font-style: italic; }

    /* Engineer-of-Record seal block — in-flow, prints at the end of the calc (2in × 2in seal) */
    .seal-block {
        display: flex;
        gap: 0.3in;
        margin-top: 0.32in;
        padding-top: 0.18in;
        border-top: 1.5px solid var(--ink);
        break-inside: avoid;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .seal-block .seal-cap {
        font-family: 'Archivo', system-ui, sans-serif;
        font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
        font-size: 9px; color: var(--ink); margin-bottom: 4px;
    }
    .seal-block .seal-box {
        width: 2in; height: 2in;
        border: 1px dashed var(--ink-30); border-radius: 2px;
    }
    .seal-block .seal-right {
        flex: 1 1 auto;
        display: flex; flex-direction: column;
        font-family: 'IBM Plex Mono', ui-monospace, monospace;
        color: var(--ink-60);
    }
    .seal-block .seal-statement { font-size: 8.5px; line-height: 1.5; }
    .seal-block .seal-statement b { color: var(--ink); font-weight: 600; }
    .seal-block .seal-sign {
        margin-top: auto; padding-top: 10px;
        font-size: 9px; color: var(--ink);
        display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
    }
    .seal-block .seal-sign .sl { border-top: 1px solid var(--ink); padding-top: 3px; }
}
