:root {
    --manual-ink: #1f2933;
    --manual-muted: #687382;
    --manual-line: #dfe4ea;
    --manual-blue: #075db8;
    --manual-blue-soft: #edf6ff;
    --manual-green: #19734a;
    --manual-green-soft: #edf8f2;
    --manual-amber: #8a5700;
    --manual-amber-soft: #fff7e6;
}

.manual-page {
    clear: both;
    color: var(--manual-ink);
    display: block !important;
    letter-spacing: 0;
    margin: 0 auto;
    max-width: 1240px;
    min-width: 0;
    width: 100%;
}

.manual-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--manual-line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 0 16px;
}

.manual-toolbar h1 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.manual-toolbar p {
    color: var(--manual-muted);
    margin: 4px 0 0;
}

.manual-print-button {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 40px;
}

.manual-layout {
    align-items: start;
    clear: both;
    display: flex !important;
    flex-flow: row nowrap;
    gap: 32px;
    min-width: 0;
    position: relative;
    width: 100%;
}

.manual-toc {
    align-self: flex-start;
    border-right: 1px solid var(--manual-line);
    display: block !important;
    flex: 0 0 250px;
    max-height: calc(100vh - 120px);
    min-width: 0;
    overflow-y: auto;
    padding-right: 20px;
    position: sticky;
    top: 88px;
    width: 250px;
}

.manual-content {
    clear: both;
    column-count: 1 !important;
    columns: auto !important;
    display: block !important;
    flex: 1 1 0;
    float: none !important;
    max-width: none !important;
    min-width: 0;
    overflow: visible;
    position: static !important;
    width: auto !important;
}

.manual-toc h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.manual-toc a {
    border-left: 3px solid transparent;
    color: #384454;
    display: block;
    font-size: 14px;
    line-height: 1.25;
    padding: 7px 8px;
}

.manual-toc a:hover,
.manual-toc a:focus {
    border-left-color: var(--manual-blue);
    color: var(--manual-blue);
    text-decoration: none;
}

.manual-cover {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--manual-line);
    clear: both;
    display: flex !important;
    flex-flow: row nowrap;
    gap: 28px;
    margin-bottom: 10px;
    max-width: 100%;
    min-width: 0;
    padding: 10px 0 30px;
    position: static !important;
    width: 100% !important;
}

.manual-cover img {
    flex: 0 0 auto;
    height: auto;
    max-width: 190px;
    width: 100%;
}

.manual-cover-symbol {
    align-items: center;
    background: var(--manual-blue-soft);
    color: var(--manual-blue);
    display: flex;
    flex: 0 0 170px !important;
    font-size: 72px;
    height: 150px;
    justify-content: center;
    width: 170px;
}

.manual-cover > div {
    flex: 1 1 0;
    min-width: 0;
}

.manual-cover h2 {
    color: #102a43;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
}

.manual-cover p {
    color: var(--manual-muted);
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 12px;
}

.manual-meta {
    color: var(--manual-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 8px 18px;
}

.manual-section {
    border-bottom: 1px solid var(--manual-line);
    clear: both;
    column-count: 1 !important;
    columns: auto !important;
    display: block !important;
    float: none !important;
    max-width: 100% !important;
    min-width: 0;
    padding: 30px 0;
    position: static !important;
    scroll-margin-top: 90px;
    width: 100% !important;
}

.manual-section:last-child {
    border-bottom: 0;
}

.manual-section-number {
    color: var(--manual-blue);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.manual-section h2 {
    color: #102a43;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
}

.manual-section h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 10px;
}

.manual-subsection {
    border-top: 1px solid #edf0f3;
    margin-top: 26px;
    padding-top: 2px;
}

.manual-subsection:first-of-type {
    margin-top: 20px;
}

.manual-subsection h3 {
    color: #173f5f;
}

.manual-introduction > p:first-of-type {
    color: #384454;
    font-size: 16px;
}

.manual-section p,
.manual-section li {
    font-size: 15px;
    line-height: 1.6;
}

.manual-steps {
    counter-reset: manual-step;
    list-style: none;
    margin: 18px 0;
    padding: 0;
}

.manual-steps > li {
    counter-increment: manual-step;
    min-height: 34px;
    padding: 4px 0 14px 44px;
    position: relative;
}

.manual-steps > li::before {
    align-items: center;
    background: var(--manual-blue);
    border-radius: 50%;
    color: #fff;
    content: counter(manual-step);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 2px;
    width: 28px;
}

.manual-steps-compact {
    margin-bottom: 12px;
}

.manual-bullet-list {
    margin: 12px 0 18px;
    padding-left: 22px;
}

.manual-bullet-list li {
    padding: 3px 0;
}

.manual-callout {
    border-left: 4px solid var(--manual-blue);
    margin: 18px 0;
    padding: 12px 16px;
}

.manual-callout strong {
    display: block;
    margin-bottom: 3px;
}

.manual-callout.info { background: var(--manual-blue-soft); }
.manual-callout.success { background: var(--manual-green-soft); border-left-color: var(--manual-green); }
.manual-callout.warning { background: var(--manual-amber-soft); border-left-color: var(--manual-amber); }
.manual-callout p { margin: 0; }

.manual-tool-list {
    display: grid;
    gap: 10px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.manual-tool-list li {
    border-bottom: 1px solid #edf0f3;
    padding: 8px 0;
}

.manual-tool-list strong { color: #173f5f; }

.manual-checklist {
    list-style: none;
    padding-left: 0;
}

.manual-checklist li {
    padding: 4px 0 4px 28px;
    position: relative;
}

.manual-checklist li::before {
    color: var(--manual-green);
    content: "\2713";
    font-weight: 700;
    left: 4px;
    position: absolute;
}

.manual-verification {
    background: var(--manual-green-soft);
    border-left: 4px solid var(--manual-green);
    margin: 14px 0 20px;
    padding: 12px 16px 12px 12px;
}

.manual-troubleshooting {
    margin: 14px 0 22px;
}

.manual-troubleshooting > div {
    border-bottom: 1px solid #e5e9ee;
    padding: 12px 0;
}

.manual-troubleshooting dt {
    color: #173f5f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 4px;
}

.manual-troubleshooting dd {
    color: var(--manual-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.manual-print-header { display: none; }

@media (max-width: 900px) {
    .manual-layout { flex-direction: column !important; }
    .manual-toc { border-bottom: 1px solid var(--manual-line); border-right: 0; flex: 0 0 auto; max-height: none; padding: 0 0 20px; position: static; width: 100%; }
    .manual-toc nav { column-count: 1 !important; columns: auto !important; display: grid; gap: 0 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .manual-content { flex: 0 0 auto; width: 100% !important; }
}

@media (max-width: 576px) {
    .manual-toolbar { align-items: stretch; flex-direction: column; }
    .manual-print-button { justify-content: center; width: 100%; }
    .manual-cover { align-items: flex-start; flex-direction: column; }
    .manual-cover img { max-width: 150px; }
    .manual-cover-symbol { flex-basis: 130px !important; font-size: 58px; height: 120px; width: 130px; }
    .manual-cover h2 { font-size: 27px; }
    .manual-toc nav { grid-template-columns: 1fr; }
    .manual-tool-list { grid-template-columns: 1fr; }
}

@media print {
    @page { margin: 12mm; size: A4; }

    html, body { background: #fff !important; color: #000 !important; font-size: 10pt; }
    #navbar,
    #div_menu,
    #loading-page,
    .main-header,
    .main-sidebar,
    .manual-toolbar,
    .manual-toc,
    .no-print,
    #scrollToTop { display: none !important; }

    #top,
    #div_content,
    #div_content > .container-fluid,
    #mainTable,
    .manual-page,
    .manual-layout,
    .manual-content {
        display: block !important;
        float: none !important;
        margin: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    #div_content > .container-fluid > div:first-child,
    #div_content > .container-fluid > div:last-child { display: none !important; }

    .manual-print-header {
        border-bottom: 1px solid #777;
        display: block;
        margin-bottom: 8mm;
        padding-bottom: 4mm;
    }

    .manual-print-header h1 { font-size: 19pt; margin: 0 0 2mm; }
    .manual-print-header p { font-size: 9pt; margin: 0; }
    .manual-cover { align-items: center; display: flex !important; flex-direction: row !important; padding-top: 0; }
    .manual-cover > div { flex: 1 1 auto; }
    .manual-cover img { max-width: 34mm; }
    .manual-cover-symbol { flex-basis: 34mm !important; font-size: 38pt; height: 30mm; width: 34mm; }
    .manual-cover h2 { font-size: 21pt; }
    .manual-section { break-inside: auto; page-break-inside: auto; }
    .manual-section h2, .manual-section h3 { break-after: avoid; page-break-after: avoid; }
    .manual-steps > li,
    .manual-callout,
    .manual-troubleshooting > div,
    .manual-tool-list li,
    .menuCaja2 { break-inside: avoid; page-break-inside: avoid; }
    .manual-section p,
    .manual-section li { font-size: 10pt; line-height: 1.4; }
    .manual-section { padding: 7mm 0; }
    .manual-tool-list { gap: 2mm 8mm; }
    a { color: #000 !important; text-decoration: none !important; }
}
