body {
}

.main-bg {
    /* The image used */
    background-image: url("/img/white-1714170_1920.jpg");
    /* Full height */
    /*height: 100%;*/
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.border-left-0 {
    border-left-width: 0px !important;
}

.border-left-1 {
    border-left-width:1px !important;
}

.border-left-2 {
    border-left-width: 2px !important;
}

.border-left-3 {
    border-left-width: 3px !important;
}

.border-left-4 {
    border-left-width: 4px !important;
}

.border-left-5 {
    border-left-width: 5px !important;
}

.border-left-6 {
    border-left-width: 6px !important;
}

.border-left-7 {
    border-left-width: 7px !important;
}

.border-left-8 {
    border-left-width: 8px !important;
}

.border-left-9 {
    border-left-width: 9px !important;
}

.border-left-10 {
    border-left-width: 10px !important;
}


/*  Æ÷ÀÎÆ®ÇöÈ² ÆäÀÌÁö css */ 

.attendanceButtonContainer {
    text-align: center;
    margin: 3%;
}

.attendanceButton {
    margin: 0%;
    border: none;
    display: inline-block;
    padding: 2% 3% 2% 3%;
    border-radius: 15px;
    font-family: "paybooc-Light", sans-serif;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
    background-color: #6aafe6;
    color: #d4dfe6;
}
.attendanceButton.disabled {
    margin: 0%;
    border: none;
    display: inline-block;
    padding: 2% 3% 2% 3%;
    border-radius: 15px;
    font-family: "paybooc-Light", sans-serif;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
    background-color: #b1b1b3;
    color: #d4dfe6;
}

#rouletteContainer {
    display: flex;
    justify-content: center;
}

.rouletter {
    position: relative;
    width: 400px;
    height: 400px;
}

.rouletter-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 350px;
    overflow: hidden;
}

.rouletter-wacu {
    width: 101%;
    height: 100%;
    background: #f5f5f2 url("/img/PointRoulettetNum.png");
    background-size: 100%;
    transform-origin: center;
    transition-timing-function: ease-in-out;
    transition: 2s;
}


.rouletter-arrow {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg); /* 180µµ È¸Àü */
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid red; /* »¡°£»öÀ¸·Î ¼³Á¤ */
}



.rouletter-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 80px;
    background: #fff;
    border-image: linear-gradient(to right, #fbfcb9be, #ffcdf3aa, #65d3ffaa);
    border: 2px solid;
}

.hidden-input {
    display: none;
}

.rouletteDiv {
    margin: 5% 10% 1% 10%;
    font-size: 160%;
}

.roulette-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.pointPagesingButton {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 1.5% 2.5% 1.5% 2.5%;
    font-size: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 10% 0 10%;
}

.pointPagesingButton:hover:not(:disabled) {
    background-color: #0056b3;
}

.pointPagesingButton:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}



.event-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* ¹ÝÅõ¸í ¹è°æ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* ÆË¾÷ÀÌ È­¸é À§¿¡ Ç¥½ÃµÇµµ·Ï */
}

.event-popup {
    width: 90%; /* ÆË¾÷ ³Êºñ Á¶Á¤ */
    max-width: 600px; /* ÃÖ´ë ³Êºñ */
    background: transparent; /* ¹è°æ Åõ¸í */
    border: none; /* Å×µÎ¸® Á¦°Å */
    position: relative;
    text-align: center;
    margin: 0 auto;
}

.event-popup img {
        width: 100%; /* ÀÌ¹ÌÁö°¡ ÆË¾÷ ³Êºñ¿¡ ¸Â°Ô */
        height: auto; /* ºñÀ² À¯Áö */
        border-radius: 3% 3% 0% 0%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* ÀÌ¹ÌÁö ±×¸²ÀÚ Ãß°¡ */
    }
.event-popup-footer {
    position: absolute; /* ¹öÆ°À» ÀÌ¹ÌÁö ¾Æ·¡¿¡ Àý´ëÀûÀ¸·Î À§Ä¡ */
    display: flex;
    justify-content: space-between; /* ¹öÆ°À» ¾çÂÊ ³¡À¸·Î ¹èÄ¡ */
    width: 100%; /* ¹öÆ°ÀÌ ÀÌ¹ÌÁöÀÇ Æø¿¡ ¸Â°Ô ´Ã¾î³ªµµ·Ï */
}

.event-popup-footer button {
    flex: 1; /* ¹öÆ° Å©±â¸¦ µ¿ÀÏÇÏ°Ô ¼³Á¤ */
    padding: 10px 0; /* ¹öÆ° ¾ÈÂÊ ¿©¹éÀ» ÀÏÁ¤ÇÏ°Ô ¼³Á¤ */
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
}

.event-popup-footer button:first-child {
    background: #ffe1e1; /* ¿¬ÇÑ ÇÎÅ© */
    color: #ff5277; /* ÁøÇÑ ÇÎÅ© ±ÛÀÚ */
}

.event-popup-footer button:last-child {
    background: #ff99b5; /* ÁøÇÑ ÇÎÅ© */
    color: white;
}

.input-group-append-simple {
    background-color: inherit;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius:0px 0px;
}

.td-seperate {
    border-top-width: 2px !important;
    border-top-style: solid !important;
    border-top-color: rgba(0, 0, 0, 0.2) !important;

}

.td-seperate-black {
    border-top-width: 2px !important;
    border-top-style: solid !important;
    border-top-color: rgba(0, 0, 0, 0.5) !important;
}

#defectRateChart, #defectPieChart {
    max-width: 100%;
    height: 400px; /* ¿øÇÏ´Â ³ôÀÌ·Î ¼³Á¤ */
    margin: 0 auto; /* Áß¾Ó Á¤·Ä */
}
.point-container {
    position: relative;
    display: inline-block;
}

.pointBubble {
    position: absolute;
    right: 10px; /* ¿ìÃø¿¡¼­ »ìÂ¦ ¿ÞÂÊÀ¸·Î ÀÌµ¿ */
    top: 100%;
    transform: translateX(0); /* À§Ä¡ Á¶Á¤ */
    background-color: rgba(255, 215, 0, 0.9);
    color: #000;
    border-radius: 8px;
    font-size: 100%;
    white-space: nowrap;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    z-index: 1000;
}

.pointBubble-link {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

    .pointBubble-link:hover {
        text-decoration: underline;
    }

@media (max-width: 500px) {
    .pointBubble {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 10px; /* ¿ìÃø¿¡¼­ »ìÂ¦ ¿ÞÂÊÀ¸·Î ÀÌµ¿ */
        transform: translateX(0); /* À§Ä¡ Á¶Á¤ */
    }
}


/* ===============================
   ChatBot Soft / Rounded Theme
   =============================== */

/* Å×¸¶ º¯¼ö (ÇÊ¿ä ½Ã¸¸ Á¶Á¤) */
:root {
    --cb-bg: #f7f8fb;
    --cb-card-bg: #ffffff;
    --cb-border: #e8ebf0;
    --cb-text: #1f2937;
    --cb-muted: #6b7280;
    --cb-me: #4f46e5; /* ³» ¹öºí */
    --cb-bot: #eef2ff; /* º¿ ¹öºí */
    --cb-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --cb-shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
    --cb-radius-lg: 22px;
    --cb-radius-xl: 28px;
}

/* ´ÙÅ©¸ðµå(½Ã½ºÅÛ) ÀÚµ¿ ´ëÀÀ */
@media (prefers-color-scheme: dark) {
    :root {
        --cb-bg: #0b0e14;
        --cb-card-bg: #111827;
        --cb-border: #1f2937;
        --cb-text: #e5e7eb;
        --cb-muted: #9ca3af;
        --cb-me: #6366f1;
        --cb-bot: #1f2937;
        --cb-shadow-sm: 0 1px 2px rgba(0,0,0,.4);
        --cb-shadow-md: 0 12px 32px rgba(0,0,0,.35);
    }
}

/* ÀüÃ¼ Æø & ºÎµå·¯¿î ¹è°æ */
.ChatBot-wrap {
    max-width: 100%;
    margin: 0;
    background: var(--cb-bg);
}

/* Ä«µå: ´õ µÕ±Û°í, ºÎµå·¯¿î ±×¸²ÀÚ */
.ChatBot-card {
    border-radius: var(--cb-radius-xl);
    background: var(--cb-card-bg);
    border: 1px solid var(--cb-border);
    box-shadow: var(--cb-shadow-md);
    overflow: hidden;
}

/* ³»ºÎ ·¹ÀÌ¾Æ¿ô */
.ChatBot-pane {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px); /* ÇÊ¿ä ½Ã Á¶Á¤ */
    min-height: 520px;
    padding: 16px;
    gap: 12px;
}

/* ¸Þ½ÃÁö ¿µ¿ª */
.ChatBot-messages {
    flex: 1 1 auto;
    overflow: auto;
    padding: 18px 16px 8px;
    background: radial-gradient(1200px 500px at 100% -10%, rgba(99,102,241,.06), transparent 60%), radial-gradient(800px 400px at -10% 10%, rgba(59,130,246,.06), transparent 55%), var(--cb-card-bg);
    border-radius: calc(var(--cb-radius-xl) - 8px);
    border: 1px solid var(--cb-border);
    scrollbar-width: thin;
    scrollbar-color: var(--cb-border) transparent;
}

    .ChatBot-messages::-webkit-scrollbar {
        height: 10px;
        width: 10px;
    }

    .ChatBot-messages::-webkit-scrollbar-thumb {
        background: var(--cb-border);
        border-radius: 999px;
    }

/* Çà Á¤·Ä */
.ChatBot-row {
    display: flex;
    margin: 10px 0;
    gap: 8px;
    opacity: 0;
    transform: translateY(6px);
    animation: cb-fade-in .25s ease-out forwards;
}

.ChatBot-row--bot {
    justify-content: flex-start;
}

.ChatBot-row--me {
    justify-content: flex-end;
}

/* ¸»Ç³¼± °øÅë */
.ChatBot-bubble {
    max-width: min(78%, 860px);
    padding: .78rem .95rem;
    line-height: 1.58;
    word-break: break-word;
    white-space: pre-wrap;
    border-radius: var(--cb-radius-lg);
    border: 1px solid var(--cb-border);
    box-shadow: var(--cb-shadow-sm);
}

/* º¿/»ç¿ëÀÚ »ö»ó + ²¿¸® ¸ð¾ç */
.ChatBot-bubble--bot {
    background: var(--cb-bot);
    color: var(--cb-text);
    border-top-left-radius: 10px;
    position: relative;
}

    .ChatBot-bubble--bot::after {
        content: "";
        position: absolute;
        left: 12px;
        top: 0;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background: var(--cb-bot);
        border-left: 1px solid var(--cb-border);
        border-top: 1px solid var(--cb-border);
        border-top-left-radius: 4px;
        rotate: 45deg;
    }

.ChatBot-bubble--me {
    background: var(--cb-me);
    color: #fff;
    border-top-right-radius: 10px;
    position: relative;
    border-color: rgba(255,255,255,.18);
}

    .ChatBot-bubble--me::after {
        content: "";
        position: absolute;
        right: 12px;
        top: 0;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background: var(--cb-me);
        border-right: 1px solid rgba(255,255,255,.22);
        border-top: 1px solid rgba(255,255,255,.22);
        border-top-right-radius: 4px;
        rotate: 45deg;
    }

/* ÀÔ·Â¹Ù */
.ChatBot-inputbar {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .6rem;
    padding: 10px;
    border-radius: calc(var(--cb-radius-xl) - 10px);
    background: color-mix(in oklab, var(--cb-card-bg) 86%, transparent);
    backdrop-filter: saturate(1.2) blur(6px);
    border: 1px solid var(--cb-border);
}

/* ÀÔ·ÂÃ¢ */
.ChatBot-input {
    min-height: 48px;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.75rem 0.75rem 0.4rem;
    font-size: 1rem;
    box-shadow: none;
    outline: none;
    border-bottom: 2px solid var(--cb-border);
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem;
}

    .ChatBot-input:focus,
    .ChatBot-input:hover {
        border-bottom: 2px solid var(--cb-border);
        box-shadow: none;
        outline: none;
    }

/* ¹öÆ° */
.ChatBot-action {
    min-width: 52px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

    .ChatBot-action svg {
        width: 28px;
        height: 28px;
    }

.ChatBot-send:active, .ChatBot-stop:active {
    transform: translateY(1px);
}

.ChatBot-send[disabled], .ChatBot-stop[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

/* Àü¼Û/ÁßÁö ÇÁ¸®¼Â */
.ChatBot-send {
    background: var(--cb-me);
    color: #fff;
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 6px 16px rgba(79,70,229,.2);
}

    .ChatBot-send:hover {
        box-shadow: 0 10px 26px rgba(79,70,229,.24);
    }

.ChatBot-stop {
    background: transparent;
    color: var(--cb-text);
}

/* ÀÛÀº ·Îµù ½ºÇÇ³Ê */
.ChatBot-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,.55);
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    vertical-align: -2px;
    animation: cb-spin 1s linear infinite;
}

/* ½ºÆ®¸®¹Ö ¹öÆÛ È¿°ú */
.ChatBot-row--bot .ChatBot-bubble--bot.streaming {
    animation: cb-pulse 1.6s ease-in-out infinite;
}

/* ¾Ö´Ï¸ÞÀÌ¼Ç */
@keyframes cb-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cb-fade-in {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes cb-pulse {
    0%,100% {
        box-shadow: var(--cb-shadow-sm);
    }

    50% {
        box-shadow: 0 0 0 6px color-mix(in oklab, var(--cb-bot) 40%, transparent);
    }
}

/* ¹ÝÀÀÇü */
@media (max-width: 991.98px) {
    .ChatBot-bubble {
        max-width: 92%;
    }

    .ChatBot-pane {
        height: calc(100vh - 240px);
    }
}

@media (max-width: 575.98px) {
    .ChatBot-inputbar {
        grid-template-columns: 1fr auto;
    }

    .ChatBot-stop {
        display: none;
    }
}

/* ¾È³»¹® */
.ChatBot-disclaimer {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   ChatBot ¼±ÅÃÇü Áú¹® / Ç¥ Ç¥½Ã Àü¿ë ½ºÅ¸ÀÏ
   ========================================= */

/* »ó´Ü Çì´õ + ÀçÇÐ½À ¹öÆ° */
.ChatBot .ChatBot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5e5;
    background: #f9fafb;
}

.ChatBot .ChatBot-title {
    font-weight: 700;
    font-size: 16px;
}

.ChatBot .ChatBot-retrain-btn {
    padding: 6px 12px;
    background: #4f46e5;
    border: 1px solid #4f46e5;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

    .ChatBot .ChatBot-retrain-btn:hover:not(:disabled) {
        background: #4338ca;
    }

    .ChatBot .ChatBot-retrain-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* HTML Á¶°¢ Ç¥ ·»´õ¸µ */
.ChatBot .ChatBot-bubble .html-frag {
    white-space: normal;
}

    .ChatBot .ChatBot-bubble .html-frag .title {
        font-weight: 700;
        margin: 6px 0 10px;
    }

    .ChatBot .ChatBot-bubble .html-frag .wrap {
        overflow-x: auto;
        max-width: 100%;
    }

/* Ç¥ ÄÁÅ×ÀÌ³Ê */
.ChatBot .table-wrap {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

/* Ç¥ º£ÀÌ½º ½ºÅ¸ÀÏ */
.ChatBot .cb-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 14px;
}
    /* Çì´õ */
    .ChatBot .cb-table thead th {
        position: sticky;
        top: 0;
        background: #f4f6f8;
        font-weight: 700;
        color: #111827;
        border-bottom: 1px solid #e5e5e5;
        text-align: left;
        padding: 10px 12px;
    }
    /* ¹Ùµð ¼¿ */
    .ChatBot .cb-table tbody td {
        border-bottom: 1px solid #eef0f3;
        color: #111827;
        padding: 10px 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }
    /* ½ºÆ®¶óÀÌÇÁ, È£¹ö */
    .ChatBot .cb-table tbody tr:nth-child(even) td {
        background: #fafbfc;
    }

    .ChatBot .cb-table tbody tr:hover td {
        background: #f3f6fb;
    }
    /* Ã¹ Çà µÕ±Ù ¸ð¼­¸® */
    .ChatBot .cb-table thead th:first-child {
        border-top-left-radius: 10px;
    }

    .ChatBot .cb-table thead th:last-child {
        border-top-right-radius: 10px;
    }
    /* ¸¶Áö¸· Çà µÕ±Ù ¸ð¼­¸® */
    .ChatBot .cb-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 10px;
    }

    .ChatBot .cb-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 10px;
    }
    /* ¿­ ³Êºñ(5¿­) */
    .ChatBot .cb-table thead th:nth-child(1) {
        width: 220px;
    }
    /* °í°´»ç */
    .ChatBot .cb-table thead th:nth-child(2) {
        width: 240px;
    }
    /* ¸ðµ¨¸í */
    .ChatBot .cb-table thead th:nth-child(3) {
        width: 200px;
    }
    /* Ç°¸ñ¹øÈ£ */
    .ChatBot .cb-table thead th:nth-child(4) {
        width: 200px;
    }
    /* ³³Ç°¿¹Á¤ÀÏ */
    .ChatBot .cb-table thead th:nth-child(5) {
        width: 140px;
    }
/* ÁøÇà·ü */

/* ¸Þ´º */
.ChatBot .menu-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ChatBot .menu-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.ChatBot .menu-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ChatBot .menu-btn {
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

    .ChatBot .menu-btn:hover {
        background: #f0f4ff;
    }

/* ÇÕ°è ¶óÀÎ */
.ChatBot .sum-line {
    font-size: 13px;
    color: #6b7280;
    margin: 8px 2px 10px;
}

/* ´õº¸±â ¹öÆ° */
.ChatBot .load-more {
    margin-top: 10px;
}

    .ChatBot .load-more button {
        padding: 8px 12px;
        border: 1px solid #e5e5e5;
        background: #fff;
        border-radius: 8px;
        cursor: pointer;
    }

        .ChatBot .load-more button:hover {
            background: #f3f4f6;
        }

/* ºü¸¥ ¾×¼Ç¹Ù(ÀçÁú¹®/ÀçÁ¶È¸) */
.ChatBot .quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

    .ChatBot .quick-actions .qa-btn {
        padding: 6px 10px;
        border: 1px solid #d7dbe3;
        border-radius: 6px;
        background: #ffffff;
        cursor: pointer;
        font-size: 13px;
    }

        .ChatBot .quick-actions .qa-btn:hover {
            background: #eef2ff;
        }

    .ChatBot .quick-actions .qa-primary {
        border-color: #4f46e5;
    }

    .ChatBot .quick-actions .qa-sep {
        color: #9aa0aa;
        padding: 0 4px;
    }

/* =========================================================
   Ãß°¡: ¸ÅÃâÇöÈ² Àü¿ë ³ÐÀº Ç¥¿Í °¡·Î ½ºÅ©·Ñ Áö¿ø ½ºÅ¸ÀÏ
   ========================================================= */

/* °¡·Î ½ºÅ©·Ñ °¡´ÉÇÑ ·¡ÆÛ */
.ChatBot .table-wrap--scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

/* ¸ÅÃâÇöÈ² Àü¿ë ³ÐÀº Ç¥ */
.ChatBot .cb-table--wide {
    border-collapse: collapse;
    table-layout: fixed;
    width: max-content;
    min-width: calc(200px + 12 * 96px + 120px);
    font-size: 14px;
    writing-mode: horizontal-tb;
}
    /* ¼¿ º£ÀÌ½º */
    .ChatBot .cb-table--wide th,
    .ChatBot .cb-table--wide td {
        white-space: nowrap;
        padding: 8px 10px;
        border: 1px solid #e5e5eb;
    }
    /* Çì´õ ½ºÅ¸ÀÏ */
    .ChatBot .cb-table--wide thead th,
    .ChatBot .cb-table--wide tbody td {
        white-space: nowrap;
        padding: 8px 10px;
        border: 1px solid #e5e5eb;
    }
    /* Çì´õ °íÁ¤ */
    .ChatBot .cb-table--wide thead th {
        background: #f4f6f8;
        font-weight: 700;
        color: #111827;
        position: sticky;
        top: 0;
        z-index: 3;
    }
        /* Ã¹ ¿­ ÁÂÃø °íÁ¤ */
        .ChatBot .cb-table--wide thead th[data-col="name"],
        .ChatBot .cb-table--wide tbody td[data-col="name"] {
            position: sticky;
            left: 0;
            z-index: 2;
            background: #fff;
            box-shadow: 2px 0 0 rgba(0,0,0,0.03);
            text-align: left;
            width: 200px;
            min-width: 200px;
            max-width: 260px;
        }
        /* ¿ùº° ¿­ */
        .ChatBot .cb-table--wide thead th[data-col="month"],
        .ChatBot .cb-table--wide tbody td[data-col="month"] {
            text-align: right;
            width: 96px;
            min-width: 96px;
            max-width: 96px;
        }
        /* ÇÕ°è ¿­ */
        .ChatBot .cb-table--wide thead th[data-col="total"],
        .ChatBot .cb-table--wide tbody td[data-col="total"] {
            text-align: right;
            width: 120px;
            min-width: 120px;
            max-width: 120px;
        }
    /* Á¤·Ä: Ã¹ ¿­Àº ÁÂÃø, ³ª¸ÓÁö´Â ¿ìÃø */
    .ChatBot .cb-table--wide th:first-child,
    .ChatBot .cb-table--wide td:first-child {
        text-align: left;
        min-width: 180px;
    }

    .ChatBot .cb-table--wide th:not(:first-child),
    .ChatBot .cb-table--wide td:not(:first-child) {
        text-align: right;
    }
    /* ¿ù ÄÃ·³ Æø ±ÕÀÏÈ­ */
    .ChatBot .cb-table--wide th[data-col="month"],
    .ChatBot .cb-table--wide td[data-col="month"] {
        width: 88px;
        max-width: 88px;
    }
    /* ÇÕ°è ÄÃ·³ °íÁ¤ Æø */
    .ChatBot .cb-table--wide th[data-col="total"],
    .ChatBot .cb-table--wide td[data-col="total"] {
        width: 110px;
        max-width: 110px;
    }
    /* Ã¹ ¿­ °íÁ¤ º¸°­ */
    .ChatBot .cb-table--wide thead th:first-child,
    .ChatBot .cb-table--wide tbody td:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 2;
        box-shadow: 2px 0 0 rgba(0,0,0,0.03);
    }

/* ¹ÝÀÀÇü: È­¸éÀÌ Á¼À» ¶§ ÆùÆ®/ÆÐµù Ãà¼Ò */
@media (max-width: 900px) {
    .ChatBot .cb-table--wide th,
    .ChatBot .cb-table--wide td {
        padding: 6px 8px;
        font-size: 13px;
    }

        .ChatBot .cb-table--wide th:first-child,
        .ChatBot .cb-table--wide td:first-child {
            min-width: 140px;
        }
}

/* =========================================================
   Ãß°¡: ÇÏ´Ü °íÁ¤Çü "ÀÚÁÖ ¹¯´Â Áú¹®" ÆÐ³Î
   ========================================================= */

.ChatBot-faq {
    margin-top: 10px;
    border: 1px solid var(--cb-border, #e8ebf0);
    background: color-mix(in oklab, var(--cb-card-bg, #fff) 86%, transparent);
    border-radius: 16px;
    padding: 14px;
}

.ChatBot-faq-title {
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 10px;
    color: var(--cb-text, #1f2937);
}

.ChatBot-faq-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ChatBot-faq-btn {
    appearance: none;
    border: 1px solid var(--cb-border, #e8ebf0);
    background: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .95rem;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: var(--cb-shadow-sm, 0 1px 2px rgba(16,24,40,.06));
}

    .ChatBot-faq-btn:hover {
        background: #f8fafc;
    }

    .ChatBot-faq-btn:focus-visible {
        outline: 2px solid rgba(79,70,229,.4);
        outline-offset: 2px;
    }

.ChatBot-faq-btn--primary {
    border-color: rgba(79,70,229,.18);
    background: #eef2ff;
}

/* ÀÔ·ÂÃ¢ ¹Ù·Î ¾Æ·¡ FAQ °£°Ý º¸Á¤ */
.ChatBot-inputbar + .ChatBot-faq {
    margin-top: 6px;
}

/* ¸ð¹ÙÀÏ¿¡¼­ FAQ ¹öÆ°À» ¼¼·Î ½ºÅÃÀ¸·Î Àü°³ */
@media (max-width: 575.98px) {
    .ChatBot-faq-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ChatBot-faq-btn {
        width: 100%;
        text-align: center;
    }
}



/* °¡·Î ½ºÅ©·Ñ ÄÁÅ×ÀÌ³Ê */
.ProductionPlan-scroll-x {
    overflow-x: auto;
}

/* Å×ÀÌºí: colgroup ÇÈ¼¿ ÆøÀ» Á¸Áß. Å×ÀÌºí ÆøÀº JS°¡ px·Î °íÁ¤ */
.ProductionPlan-excel-table {
    width: auto;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    /* sticky 4¿­ À§Ä¡ º¯¼ö. JS°¡ °»½ÅÇÑ´Ù */
    --pp-left-1: 0px;
    --pp-left-2: 90px;
    --pp-left-3: 170px;
    --pp-left-4: 250px;
    --pp-left-5: 330px;
}

    /* ¼¿ °øÅë: ¸»ÁÙÀÓ Á¦°Å, ÇÑ ÁÙ À¯Áö */
    .ProductionPlan-excel-table th,
    .ProductionPlan-excel-table td {
        border: 1px solid #cfd4da;
        padding: 0;
        vertical-align: middle;
        background: #fff;
        overflow: hidden; /* ³ÑÄ§ ¼û±è: ¿· Ä­ ±Û¾¾ Ä§¹ü ¹æÁö */
        text-overflow: clip;
        white-space: nowrap;
    }

    /* Çì´õ ½Ã°¢ ½ºÅ¸ÀÏ */
    .ProductionPlan-excel-table thead th {
        background: #f7f8fa;
        font-weight: 600;
        text-align: center;
    }

.ProductionPlan-date-span {
    background: #eef2f7;
}

.ProductionPlan-subhead {
    background: #f3f6fb;
    font-weight: 600;
    text-align: center;
}

.ProductionPlan-process-span {
    background: #f9fbff;
    font-weight: 600;
}

/* ÀÔ·Â »óÀÚ */
.ProductionPlan-excel-input {
    width: 100%;
    height: 28px;
    line-height: 28px;
    border: none;
    padding: 0 8px;
    outline: none;
    background: transparent;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    box-sizing: border-box;
}

    .ProductionPlan-excel-input:focus {
        outline: 2px solid #90c2ff;
        outline-offset: -2px;
    }

/* Á¤·Ä À¯Æ¿ */
.ProductionPlan-right {
    text-align: right;
}

.ProductionPlan-center {
    text-align: center;
}

/* sticky 4¿­: ÆøÀº colgroupÀÌ °áÁ¤. À§Ä¡¸¸ º¯¼ö·Î Á¦¾î */
.ProductionPlan-sticky-col,
.ProductionPlan-sticky-col-2,
.ProductionPlan-sticky-col-3,
.ProductionPlan-sticky-col-4,
.ProductionPlan-sticky-col-5 {
    position: sticky;
    background: #fff;
    z-index: 2;
}

.ProductionPlan-sticky-col {
    left: var(--pp-left-1);
}

.ProductionPlan-sticky-col-2 {
    left: var(--pp-left-2);
}

.ProductionPlan-sticky-col-3 {
    left: var(--pp-left-3);
}

.ProductionPlan-sticky-col-4 {
    left: var(--pp-left-4);
}

.ProductionPlan-sticky-col-5 {
    left: var(--pp-left-5);
}

.ProductionPlan-excel-table thead .ProductionPlan-sticky-col,
.ProductionPlan-excel-table thead .ProductionPlan-sticky-col-2,
.ProductionPlan-excel-table thead .ProductionPlan-sticky-col-3,
.ProductionPlan-excel-table thead .ProductionPlan-sticky-col-4,
.ProductionPlan-excel-table thead .ProductionPlan-sticky-col-5 {
    z-index: 5;
}

.ProductionPlan-excel-table tbody .ProductionPlan-sticky-col,
.ProductionPlan-excel-table tbody .ProductionPlan-sticky-col-2,
.ProductionPlan-excel-table tbody .ProductionPlan-sticky-col-3,
.ProductionPlan-excel-table tbody .ProductionPlan-sticky-col-4,
.ProductionPlan-excel-table tbody .ProductionPlan-sticky-col-5 {
    z-index: 3;
}

.ProductionPlan-sticky-col {
    left: var(--pp-left-1);
}

.ProductionPlan-sticky-col-2 {
    left: var(--pp-left-2);
}

.ProductionPlan-sticky-col-3 {
    left: var(--pp-left-3);
}

.ProductionPlan-sticky-col-4 {
    left: var(--pp-left-4);
}

.ProductionPlan-sticky-col-5 {
    left: var(--pp-left-5);
}

/* ÇÕ°è Çà */
.ProductionPlan-section-total td,
.ProductionPlan-section-total td .ProductionPlan-excel-input {
    text-align: center !important;
}

.ProductionPlan-section-total .ProductionPlan-sticky-col,
.ProductionPlan-section-total .ProductionPlan-sticky-col-2,
.ProductionPlan-section-total .ProductionPlan-sticky-col-3,
.ProductionPlan-section-total .ProductionPlan-sticky-col-4 {
    position: sticky;
    background: #fafafa;
    z-index: 3;
}

.ProductionPlan-section-total .ProductionPlan-sticky-col-5 {
    position: sticky;
    background: #fafafa;
    z-index: 3;
}

.ProductionPlan-remain {
    width: 100%;
    display: grid;
    grid-template-columns: max-content max-content; /* °øÁ¤¸í | ¼ö·® ¸ðµÎ ³»¿ëÆø »ç¿ë */
    row-gap: 6px;
    column-gap: 8px;
    white-space: normal;
}
/* °¢ ÇàÀº ±×¸®µå¿¡ ±×´ë·Î Èê·Áº¸³¿ */
.ProductionPlan-remain-row {
    display: contents;
}

.ProductionPlan-remain-name {
    border: 1px solid #cfd4da;
    padding: 2px 6px;
    text-align: center;
    background: #f7f7fb;
    border-radius: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ProductionPlan-remain-val {
    border: 1px solid #cfd4da;
    padding: 2px 6px;
    text-align: right;
    background: #fff;
    border-radius: 2px;
    overflow: visible; /* ¸»ÁÙÀÓ Á¦°Å */
    text-overflow: unset;
    white-space: nowrap; /* ¼ýÀÚ´Â ÁÙ¹Ù²Þ ¾øÀÌ ÇÑ ÁÙ·Î */
    width: auto;
    min-width: fit-content; /* ³»¿ëÆøÀ» ÃÖ¼ÒÆøÀ¸·Î »ç¿ë */
    max-width: none;
}

/* ¹öÆ° ¿µ¿ª */
.ProductionPlan-excel-buttons {
    display: flex;
    gap: 8px;
}

/* ¿¹»ó½Ã°£ÀÌ ±Ù¹«½Ã°£º¸´Ù Å« °æ¿ì ¼¿ ¹è°æ Ç¥½Ã */
.pp-over {
    background-color: #fdecec !important; /* ¿¬ÇÑ ·¹µå */
}

    /* ÇÊ¿ä ½Ã ÀÔ·Â ÀÚÃ¼ ¹è°æÀº Åõ¸í À¯Áö */
    .pp-over .ProductionPlan-excel-input {
        background: transparent;
    }

/* ================================
   ProductionPlan: ¼¼·Î ½ºÅ©·Ñ + Çì´õ °íÁ¤
   ================================ */

.ProductionPlan-scroll-y {
    max-height: 70vh; /* ÇÊ¿ä½Ã 60vh/800px µîÀ¸·Î Æ©´× */
    overflow-y: auto;
}

/* sticky Çì´õ È°¼ºÈ­´Â Å×ÀÌºí¿¡ .pp-head-sticky Å¬·¡½º°¡ ÀÖÀ» ¶§¸¸ */
.pp-head-sticky thead th {
    position: sticky;
    background: #fff;
    z-index: 5;
    border-bottom: 1px solid #dee2e6;
    box-sizing: border-box;
}

/* µ¿Àû ³ôÀÌ º¯¼ö: JS°¡ Å×ÀÌºí ¿ä¼Ò¿¡ Á÷Á¢ ¼¼ÆÃÇÔ
   --pp-h1, --pp-h2, --pp-h3, --pp-h4 (px ´ÜÀ§ ¹®ÀÚ¿­) */
.pp-head-sticky .pp-head-row-1 > th {
    top: 0;
}

.pp-head-sticky .pp-head-row-2 > th {
    top: var(--pp-h1, 36px);
}

.pp-head-sticky .pp-head-row-3 > th {
    top: calc(var(--pp-h1, 36px) + var(--pp-h2, 36px));
}

.pp-head-sticky .pp-head-row-4 > th {
    top: calc(var(--pp-h1, 36px) + var(--pp-h2, 36px) + var(--pp-h3, 36px));
}

/* ÁÂÃø °íÁ¤ Çì´õ¼¿Àº ±³Â÷¿µ¿ª¿¡¼­ À§·Î ¿À°Ô z-index º¸Á¤ */
.pp-head-sticky .pp-head-row-1 > th.ProductionPlan-sticky-col,
.pp-head-sticky .pp-head-row-1 > th.ProductionPlan-sticky-col-2,
.pp-head-sticky .pp-head-row-1 > th.ProductionPlan-sticky-col-3,
.pp-head-sticky .pp-head-row-1 > th.ProductionPlan-sticky-col-4,
.pp-head-sticky .pp-head-row-1 > th.ProductionPlan-sticky-col-5 {
    z-index: 12;
}

.pp-head-sticky .pp-head-row-2 > th.ProductionPlan-sticky-col,
.pp-head-sticky .pp-head-row-2 > th.ProductionPlan-sticky-col-2,
.pp-head-sticky .pp-head-row-2 > th.ProductionPlan-sticky-col-3,
.pp-head-sticky .pp-head-row-2 > th.ProductionPlan-sticky-col-4,
.pp-head-sticky .pp-head-row-2 > th.ProductionPlan-sticky-col-5,
.pp-head-sticky .pp-head-row-3 > th.ProductionPlan-sticky-col,
.pp-head-sticky .pp-head-row-3 > th.ProductionPlan-sticky-col-2,
.pp-head-sticky .pp-head-row-3 > th.ProductionPlan-sticky-col-3,
.pp-head-sticky .pp-head-row-3 > th.ProductionPlan-sticky-col-4,
.pp-head-sticky .pp-head-row-3 > th.ProductionPlan-sticky-col-5,
.pp-head-sticky .pp-head-row-4 > th.ProductionPlan-sticky-col,
.pp-head-sticky .pp-head-row-4 > th.ProductionPlan-sticky-col-2,
.pp-head-sticky .pp-head-row-4 > th.ProductionPlan-sticky-col-3,
.pp-head-sticky .pp-head-row-4 > th.ProductionPlan-sticky-col-4,
.pp-head-sticky .pp-head-row-4 > th.ProductionPlan-sticky-col-5 {
    z-index: 11;
}

/* º»¹® ÁÂÃø °íÁ¤¿­Àº Çì´õº¸´Ù ÇÑ ´Ü°è ³·°Ô */
.ProductionPlan-excel-table tbody td.ProductionPlan-sticky-col,
.ProductionPlan-excel-table tbody td.ProductionPlan-sticky-col-2,
.ProductionPlan-excel-table tbody td.ProductionPlan-sticky-col-3,
.ProductionPlan-excel-table tbody td.ProductionPlan-sticky-col-4,
.ProductionPlan-excel-table tbody td.ProductionPlan-sticky-col-5 {
    z-index: 10;
}

.readonly-input {
    pointer-events: none;
    cursor: not-allowed;
}