.hw-spec {
    --spec-ink: #192942;
    --spec-blue: #003182;
    --spec-line: #dbe4ee;
    --spec-pale: #f0f5fc;
    color: var(--spec-ink);
    line-height: 1.85;
    font-size: 16px;
}
.hw-spec .spec-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.hw-spec .spec-hero { background: var(--spec-pale); border-bottom: 1px solid var(--spec-line); padding: 26px 0 48px; }
.hw-spec .spec-crumb { font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hw-spec .spec-crumb a, .hw-spec .spec-link { color: var(--spec-blue); text-decoration: underline; text-underline-offset: .19em; }
.hw-spec .spec-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: clamp(24px, 5vw, 80px); align-items: center; }
.hw-spec .spec-kicker { font-size: 13px; font-weight: 700; letter-spacing: .19em; color: var(--spec-blue); margin-bottom: 12px; }
.hw-spec h1 { color: var(--spec-blue); font-size: clamp(30px, 5vw, 60px); font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
.hw-spec .spec-hero-copy { font-size: clamp(15px, 2vw, 18px); }
.hw-spec .spec-cover {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    gap: 6px 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--spec-line);
    border-radius: 12px;
    text-align: center;
}
.hw-spec .spec-cover img {
    display: block;
    grid-row: 1 / span 4;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    box-sizing: border-box;
    border: 1px solid var(--spec-line);
    box-shadow: 0 3px 8px #16365a16;
}
.hw-spec .spec-cover p { font-size: 14px; }
.hw-spec .spec-cover .spec-btn { width: 100%; padding-inline: 8px; font-size: 14px; }
.hw-spec .spec-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 10px 18px; min-height: 44px; border-radius: 6px; background: var(--spec-blue); color: #fff; text-align: center; line-height: 1.45; font-weight: 700; }
.hw-spec .spec-btn:hover, .hw-spec .spec-btn:focus-visible { background: #002258; color: #fff; }
.hw-spec :focus-visible { outline: 2px solid var(--spec-blue); outline-offset: 3px; }
.hw-spec .spec-layout { display: grid; grid-template-columns: 206px minmax(0, 1fr); gap: 42px; padding-block: 48px 72px; }
.hw-spec .spec-toc { position: sticky; top: 100px; align-self: start; border-left: 3px solid var(--spec-blue); padding: 10px 14px; background: #f7f9fd; border-radius: 0 6px 6px 0; }
.hw-spec .spec-toc strong { display: block; color: var(--spec-blue); margin-bottom: 8px; }
.hw-spec .spec-toc a { display: block; padding: 3px 0; color: var(--spec-ink); font-size: 14px; }
.hw-spec .spec-toc a:hover { text-decoration: underline; }
.hw-spec .spec-body > section + section { margin-top: 38px; }
.hw-spec section[id] { scroll-margin-top: 104px; }
.hw-spec h2 { color: var(--spec-blue); font-weight: 700; font-size: clamp(21px, 3vw, 28px); line-height: 1.45; border-bottom: 1px solid var(--spec-line); padding-bottom: 8px; margin: 0 0 14px; }
.hw-spec .spec-body p + p { margin-top: 12px; }
.hw-spec .spec-body ul { list-style: disc; padding-inline-start: 1.4em; margin-block: 8px; }
.hw-spec .spec-body .spec-tags { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.hw-spec .spec-tags li { background: var(--spec-pale); border-radius: 999px; color: var(--spec-blue); font-size: 14px; padding: 3px 12px; }
.hw-spec .spec-table { border-collapse: collapse; width: 100%; }
.hw-spec .spec-table th, .hw-spec .spec-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--spec-line); }
.hw-spec .spec-table th { background: #f4f7fb; font-weight: 700; }
.hw-spec .spec-table th:first-child { width: 36%; }
.hw-spec details { border: 1px solid var(--spec-line); border-radius: 6px; margin-bottom: 8px; }
.hw-spec summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; cursor: pointer; padding: 10px 14px; color: var(--spec-blue); font-weight: 700; }
.hw-spec summary::-webkit-details-marker { display: none; }
.hw-spec summary::after { content: "+"; font-size: 20px; line-height: 1; }
.hw-spec details[open] summary::after { content: "−"; }
.hw-spec .spec-detail { border-top: 1px solid var(--spec-line); padding: 12px 14px; }
.hw-spec blockquote { background: var(--spec-pale); margin: 12px 0 0; padding: 10px 14px; }
.hw-spec .spec-callout { background: var(--spec-pale); padding: 20px; border-radius: 8px; }
.hw-spec .spec-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-block: 12px; }
.hw-spec .spec-note { font-size: 14px; margin-top: 10px; }
@media (max-width: 900px) {
    .hw-spec .spec-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hw-spec .spec-toc { position: static; }
    .hw-spec .spec-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
}
@media (max-width: 760px) {
    .hw-spec .spec-wrap { width: calc(100% - 32px); }
    .hw-spec .spec-hero { padding-bottom: 24px; }
    .hw-spec .spec-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hw-spec .spec-cover { padding: 12px; }
    .hw-spec .spec-layout { gap: 20px; padding-block: 24px 48px; }
    .hw-spec .spec-table th, .hw-spec .spec-table td { padding: 8px; font-size: 14px; }
    .hw-spec section[id] { scroll-margin-top: 76px; }
}
@media (max-width: 600px) {
    .hw-spec #spec-scope .spec-table,
    .hw-spec #spec-scope tbody,
    .hw-spec #spec-scope tr,
    .hw-spec #spec-scope th,
    .hw-spec #spec-scope td {
        display: block;
    }
    .hw-spec #spec-scope tr + tr { margin-top: 12px; }
    .hw-spec #spec-scope th:first-child { width: auto; border-bottom: 0; }
    .hw-spec #spec-scope th, .hw-spec #spec-scope td { padding: 10px 12px; }
}
