.kk-tools-promo {
    padding: 24px 0 66px;
    background: #fff;
}

.kk-tools-promo-inner {
    position: relative;
    display: grid;
    width: min(1240px, calc(100% - 40px));
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-inline: auto;
    padding: 30px 34px;
    overflow: hidden;
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    background: linear-gradient(115deg, #f7faf8 0%, #fff 62%, #fff8f3 100%);
    box-shadow: 0 12px 32px rgba(16, 28, 48, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.kk-tools-promo-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(16, 28, 48, .12);
}

.kk-tools-promo-icon {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 18px;
    background: #075c35;
    color: #fff;
    font-size: 2.15rem;
    box-shadow: 0 8px 18px rgba(7, 92, 53, .18);
}

.kk-tools-promo-copy {
    min-width: 0;
}

.kk-tools-promo-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #075c35;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.kk-tools-promo-copy h2 {
    margin: 0 0 7px;
    color: #101c30;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.kk-tools-promo-copy p {
    max-width: 720px;
    margin: 0;
    color: #5e6875;
    font-size: .92rem;
    line-height: 1.6;
}

.kk-tools-promo-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #a41c1e;
    color: #fff;
    font-size: .87rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 7px 16px rgba(164, 28, 30, .17);
    transition: transform .2s ease, background .2s ease, gap .2s ease;
}

.kk-tools-promo-button:hover {
    transform: translateY(-2px);
    gap: 15px;
    background: #821719;
    color: #fff;
}

.kk-tools-promo-button:focus-visible {
    outline: 3px solid #075c35;
    outline-offset: 4px;
}

.tools-page {
    min-height: 100vh;
    color: #263244;
    background: #f5f7f8;
}

.tools-page .navbar-brand img {
    width: 176px;
    height: 58px;
    object-fit: contain;
}

.tools-main {
    padding: 0 0 68px;
}

.tools-hero {
    padding: 50px 0 42px;
    background: linear-gradient(115deg, #101c30 0%, #172a3d 62%, #075c35 100%);
    color: #fff;
}

.tools-hero-inner,
.tools-content {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.tools-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .76);
    font-size: .82rem;
}

.tools-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.tools-breadcrumb a:hover {
    text-decoration: underline;
}

.tools-breadcrumb i {
    color: #ff9b54;
    font-size: .7rem;
}

.tools-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: #ffb16f;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tools-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.tools-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(.94rem, 1.5vw, 1.08rem);
    line-height: 1.6;
}

.tools-content {
    margin-top: -19px;
}

.tools-table-card {
    overflow: hidden;
    border: 1px solid #e1e6eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 28, 48, .09);
}

.tools-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #e7ebef;
}

.tools-table-toolbar p {
    margin: 0;
    color: #657080;
    font-size: .86rem;
}

.tools-print-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 0;
    border-radius: 5px;
    background: #a41c1e;
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.tools-print-button:hover {
    transform: translateY(-1px);
    background: #821719;
}

.tools-print-button:focus-visible,
.tools-back-link:focus-visible {
    outline: 3px solid #075c35;
    outline-offset: 3px;
}

.tools-table-scroll {
    width: 100%;
    overflow: visible;
}

.tools-mobile-list {
    display: none;
}

.tools-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    color: #2a3545;
    font-size: .88rem;
    line-height: 1.5;
}

.tools-table caption {
    padding: 0;
}

.tools-table thead th {
    padding: 15px 18px;
    border: 1px solid #26364c;
    background: #101c30;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-align: left;
}

.tools-table thead th:first-child {
    width: 8%;
    text-align: center;
}

.tools-table thead th:nth-child(2) {
    width: 25%;
    overflow-wrap: anywhere;
}

.tools-table thead th:nth-child(3) {
    width: 52%;
}

.tools-table thead th:last-child {
    width: 15%;
    overflow-wrap: anywhere;
}

.tools-table tbody th,
.tools-table tbody td {
    padding: 11px 12px;
    border: 1px solid #e0e5e9;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.tools-table tbody tr:nth-child(even) {
    background: #f5f8f6;
}

.tools-table tbody tr:hover {
    background: #edf4ef;
}

.tools-table tbody .tools-group-start {
    border-top: 2px solid #d1d9d4;
}

.tools-table-number {
    color: #a41c1e;
    font-family: "Space Mono", monospace;
    font-size: .86rem;
    font-weight: 700;
    text-align: center;
}

.tools-table-particular {
    color: #17263a;
    font-weight: 750;
}

.tools-table-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tools-table-detail[data-level="1"] {
    padding-left: 14px;
}

.tools-table-detail[data-level="2"] {
    padding-left: 28px;
}

.tools-table-quantity {
    color: #075c35;
    font-weight: 750;
}

.tools-table-footnote {
    padding: 13px 18px;
    border-top: 1px solid #e7ebef;
    color: #657080;
    font-size: .8rem;
}

.tools-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.tools-back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #d3ddd6;
    border-radius: 5px;
    background: #fff;
    color: #075c35;
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.tools-back-link:hover {
    border-color: #075c35;
    background: #f3f8f4;
    color: #064628;
}

@media (max-width: 767.98px) {
    .kk-tools-promo {
        padding: 8px 0 42px;
    }

    .kk-tools-promo-inner {
        width: min(100% - 28px, 600px);
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 15px;
        padding: 22px 18px;
        border-radius: 13px;
    }

    .kk-tools-promo-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        font-size: 1.6rem;
    }

    .kk-tools-promo-copy h2 {
        font-size: 1.25rem;
    }

    .kk-tools-promo-copy p {
        font-size: .84rem;
    }

    .kk-tools-promo-button {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .tools-hero {
        padding: 34px 0 34px;
    }

    .tools-hero-inner,
    .tools-content {
        width: min(100% - 28px, 600px);
    }

    .tools-table-toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px;
    }

    .tools-table tbody th,
    .tools-table tbody td {
        padding: 10px 12px;
    }

    .tools-table-scroll {
        display: none;
    }

    .tools-mobile-list {
        display: grid;
        gap: 12px;
        padding: 14px;
    }

    .tools-mobile-card {
        min-width: 0;
        overflow-wrap: anywhere;
        border: 1px solid #e0e6e2;
        border-radius: 9px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(16, 28, 48, .055);
    }

    .tools-mobile-card-heading {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 12px;
        border-radius: 8px 8px 0 0;
        background: #101c30;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: .91rem;
        font-weight: 750;
        line-height: 1.35;
    }

    .tools-mobile-number {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border-radius: 7px;
        background: #a41c1e;
        color: #fff;
        font-family: "Space Mono", monospace;
        font-size: .78rem;
    }

    .tools-mobile-detail {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
        padding: 10px 12px;
        border-top: 1px solid #e8ece9;
        color: #354153;
        font-size: .82rem;
        line-height: 1.45;
    }

    .tools-mobile-detail[data-level="1"] {
        padding-left: 24px;
    }

    .tools-mobile-detail[data-level="2"] {
        padding-left: 36px;
    }

    .tools-mobile-description {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .tools-mobile-quantity {
        max-width: 42vw;
        color: #075c35;
        font-size: .78rem;
        font-weight: 750;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .tools-mobile-quantity:empty {
        display: none;
    }
}

@media print {
    @page {
        size: landscape;
        margin: 12mm;
    }

    .tools-page body {
        background: #fff;
        color: #000;
        font-size: 10pt;
    }

    .tools-page .topbar,
    .tools-page .navbar,
    .tools-page .kk-premium-footer,
    .tools-page #backToTop,
    .tools-page .tools-breadcrumb,
    .tools-page .tools-table-toolbar,
    .tools-page-actions {
        display: none !important;
    }

    .tools-main {
        padding: 0;
    }

    .tools-hero {
        padding: 0 0 8mm;
        background: #fff;
        color: #000;
    }

    .tools-hero h1,
    .tools-hero p,
    .tools-hero-label {
        color: #000;
    }

    .tools-content {
        width: 100%;
        margin: 0;
    }

    .tools-table-card {
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .tools-table-scroll {
        display: block !important;
        overflow: visible;
    }

    .tools-mobile-list {
        display: none !important;
    }

    .tools-table {
        min-width: 0;
        font-size: 8pt;
    }

    .tools-table thead th {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .tools-table tbody tr {
        break-inside: avoid;
    }

    .tools-table tbody tr:nth-child(even) {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kk-tools-promo-inner,
    .kk-tools-promo-button,
    .tools-print-button,
    .tools-back-link {
        transition: none;
    }
}
