/* ==================================================
   가동률 도움말
   ================================================== */

.runtime-help-button {
    width: 21px;
    height: 21px;
    margin-left: 5px;
    padding: 0;
    border: 1px solid #94a3b8;
    border-radius: 50%;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    vertical-align: middle;
}

.runtime-help-button:hover {
    background: #eef4ff;
    color: #1d4ed8;
    border-color: #1d4ed8;
}

.runtime-help-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    padding: 30px 15px;
    background: rgba(15, 23, 42, 0.45);
    overflow-y: auto;
}

.runtime-help-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.runtime-help-dialog {
    width: 680px;
    max-width: 100%;
    max-height: calc(100vh - 80px);

    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.runtime-help-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.runtime-help-header,
.runtime-help-footer {
    flex-shrink: 0;
}

.runtime-help-title {
    font-size: 20px;
    font-weight: 700;
}

.runtime-help-subtitle {
    margin-top: 3px;
    font-size: 12px;
    opacity: 0.7;
}

.runtime-help-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.runtime-help-section {
    margin-bottom: 22px;
}

.runtime-help-section-title {
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.runtime-help-section p {
    margin: 6px 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.7;
}

.runtime-formula {
    padding: 14px;
    border-radius: 6px;
    background: #eef4ff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.runtime-formula-sub {
    margin-top: 8px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.runtime-help-table {
    width: 100%;
    border-collapse: collapse;
}

.runtime-help-table th,
.runtime-help-table td {
    padding: 9px;
    border: 1px solid #e5e7eb;
    font-size: 12px;
}

.runtime-help-table th {
    background: #f8fafc;
}

.runtime-example {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.8;
}

.runtime-example hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.runtime-example-result {
    margin-top: 5px;
    font-size: 15px;
}

.runtime-help-notice {
    padding: 14px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    color: #7c2d12;
    font-size: 12px;
    line-height: 1.8;
}

.runtime-help-footer {
    padding: 13px 22px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

.runtime-help-footer button {
    min-width: 80px;
    height: 34px;
    border: 0;
    border-radius: 5px;
    background: #1f2937;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
