.print-method-guide {
    min-width: 0;
    margin: 0 0 20px;
}

.print-method-guide-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-bottom: 10px;
}

.print-method-guide-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.print-method-guide-help {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #0051bb;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.print-method-guide-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
    gap: 1px;
    padding: 1px;
    overflow: hidden;
    border-radius: 10px;
    background: #dce3ec;
}

.print-method-guide-options button {
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.print-method-guide-options button:hover {
    background: #f0f5ff;
    color: #0051bb;
}

.print-method-guide button:focus-visible {
    outline: 2px solid #8bb4eb;
    outline-offset: -3px;
}

html.print-method-guide-open {
    overflow: hidden !important;
}

.print-method-dialog {
    position: fixed;
    inset: 0;
    width: min(900px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 20px;
    background: #fff;
    color: #172033;
    box-shadow: 0 24px 80px rgb(15 23 42 / 22%);
}

.print-method-dialog[open] {
    display: flex;
    flex-direction: column;
}

.print-method-dialog:not([open]) {
    display: none;
}

.print-method-dialog::backdrop {
    background: rgb(15 23 42 / 42%);
    backdrop-filter: blur(4px);
}

.print-method-dialog-header {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    border-bottom: 1px solid #e5ebf4;
}

.print-method-dialog-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.print-method-dialog-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.print-method-total {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid #dce6fb;
    border-radius: 999px;
    background: #f0f5ff;
    color: #3156a6;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.print-method-dialog-header p {
    color: #444a52;
    font-size: 13px;
    font-weight: 200;
}

.print-method-dialog-close {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    box-shadow: 0 2px 7px rgb(15 23 42 / 3.5%);
    cursor: pointer;
}

.print-method-dialog-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.print-method-dialog-close:hover {
    background: #f5f5f5;
    color: #000;
}

.print-method-dialog-body {
    min-height: 0;
    padding: 6px 26px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c4cfdf transparent;
}

.print-method-comparison {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    color: #444a52;
    font-size: 13px;
    font-weight: 200;
}

.print-method-comparison .print-method-row-label {
    width: 24%;
}

.print-method-comparison :is(th, td) {
    min-width: 0;
    padding: 15px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.print-method-comparison thead th {
    padding-top: 16px;
    padding-bottom: 20px;
    vertical-align: top;
    border-radius: 12px 12px 0 0;
}

.print-method-comparison thead th.is-highlighted {
    background: #f3f7ff;
    box-shadow: inset 0 3px #0051bb;
}

.print-method-comparison thead strong {
    display: block;
    color: #172033;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.print-method-comparison thead small {
    display: block;
    min-height: 36px;
    font-size: 13px;
    font-weight: 200 !important;
}

.print-method-comparison-intro span {
    display: block;
    color: #172033;
    font-size: 14px;
    font-weight: 500;
}

.print-method-sample {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 10px 0 0;
    overflow: hidden;
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    background: #f0f3f7;
}

.print-method-sample img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.print-method-sample figcaption {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 3px 6px;
    border-radius: 5px;
    background: rgb(255 255 255 / 92%);
    color: #000;
    font-size: 12px;
    font-weight: 200;
    line-height: 1.4;
}

.print-method-sample--empty {
    display: grid;
    place-items: center;
    color: #8d9db4;
    font-size: 38px;
}

.print-method-comparison tbody tr:nth-child(odd) {
    background: #f5f7fb;
}

.print-method-comparison tbody th {
    color: #172033;
    font-size: 14px;
    font-weight: 400;
}

.print-method-comparison tbody th i {
    margin-right: 8px;
    font-size: 17px;
    vertical-align: -2px;
}

.print-method-comparison tbody td {
    border-left: 1px solid rgb(219 227 239 / 65%);
    font-weight: 300;
}

.print-method-comparison tbody tr> :first-child {
    border-radius: 10px 0 0 10px;
}

.print-method-comparison tbody tr> :last-child {
    border-radius: 0 10px 10px 0;
}

.print-method-description {
    margin: 0;
    color: #444a52;
    font-size: 13px;
    font-weight: 200 !important;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.print-method-dialog-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 26px;
    border-top: 1px solid #e5ebf4;
    background: #fafbfe;
}

.print-method-dialog-footer>span {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #6b778a;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.6;
}

.print-method-dialog-footer>span i {
    flex-shrink: 0;
    font-size: 16px;
}

.print-method-dialog-footer button {
    flex-shrink: 0;
    min-height: 42px;
    padding: 10px 24px;
    border: 0;
    border-radius: 10px;
    background: #0051bb;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.print-method-dialog-footer button:hover {
    background: #00449d;
}

.print-method-dialog--cards {
    width: min(1180px, calc(100vw - 40px));
}

.print-method-dialog--cards .print-method-dialog-body {
    padding: 20px 26px 26px;
    background: #f5f7fb;
}

.print-method-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.print-method-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(15 23 42 / 3%);
}

.print-method-card.is-highlighted {
    border-color: #3c65d5;
    box-shadow: 0 0 0 2px rgb(60 101 213 / 12%);
}

.print-method-card .print-method-sample {
    flex: 0 0 auto;
    margin: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-bottom: 1px solid #e6ebf3;
    border-radius: 0;
}

.print-method-card .print-method-sample figcaption {
    max-width: calc(100% - 16px);
    right: 8px;
    bottom: 8px;
    padding: 4px 7px;
    font-size: 10px;
    white-space: nowrap;
}

.print-method-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
}

.print-method-card-content header {
    margin-bottom: 14px;
}

.print-method-card h3 {
    margin: 0 0 0px;
    color: #172033;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: break-word;
}

.print-method-card-content header>span {
    display: block;
    font-size: 13px;
    font-weight: 300;
}

.print-method-card-facts {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
}

.print-method-card-facts>div {
    padding-top: 11px;
    border-top: 1px solid #edf0f5;
}

.print-method-card-facts dt {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 300;
}

.print-method-card-facts dt i {
    flex-shrink: 0;
    font-size: 15px;
}

.print-method-card-facts dd {
    margin: 0;
    color: #444a52;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.print-method-card .print-method-description {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e5ebf4;
}

@media (max-width: 900px) {
    .print-method-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .print-method-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 16px;
    }
    .print-method-dialog-header {
        padding: 18px 16px;
    }
    .print-method-dialog-body {
        padding: 4px 12px 16px;
    }
    .print-method-comparison,
    .print-method-comparison thead,
    .print-method-comparison tbody {
        display: block;
    }
    .print-method-comparison colgroup,
    .print-method-comparison .print-method-comparison-intro {
        display: none;
    }
    .print-method-comparison tr {
        display: grid;
        grid-template-columns: repeat(var(--comparison-count), minmax(0, 1fr));
    }
    .print-method-comparison thead th {
        padding: 12px 8px 16px;
    }
    .print-method-comparison thead strong {
        font-size: 13px;
    }
    .print-method-comparison thead small {
        min-height: 36px;
        font-size: 10px;
    }
    .print-method-sample {
        border-radius: 9px;
    }
    .print-method-sample figcaption {
        right: 3px;
        bottom: 3px;
        padding: 2px 4px;
        font-size: 8px;
    }
    .print-method-comparison tbody tr {
        margin-bottom: 5px;
        padding: 12px 0 4px;
        border-radius: 10px;
    }
    .print-method-comparison tbody th {
        grid-column: 1 / -1;
        padding: 0 10px 5px;
        font-size: 11px;
    }
    .print-method-comparison tbody td {
        padding: 5px 10px 10px;
        font-size: 12px;
        line-height: 1.7;
    }
    .print-method-comparison tbody td:first-of-type {
        border-left: 0;
    }
    .print-method-comparison tbody tr> :last-child {
        border-radius: 0;
    }
    .print-method-dialog--cards .print-method-dialog-body {
        padding: 14px 12px;
    }
    .print-method-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .print-method-dialog-footer {
        padding: 12px 16px;
    }
    .print-method-dialog-footer>span {
        font-size: 10px;
    }
    .print-method-dialog-footer button {
        padding: 10px 18px;
    }
}