/**
 * 📁 파일 위치: /volume1/web/gpt/assets/workbench_v2.css
 * ✅ 덮어쓰기 지시: 전체 저장
 * - 업무 콘솔 UI 2차 개선
 * - 여백 축소 / compact 카드 / empty-state 개선 / 모바일 개선
 */

.app-body {
    max-width: 1120px;
    padding-top: 14px;
}

.answer-box {
    min-height: 420px;
    padding: 18px 20px !important;
}

.wb-stack {
    gap: 12px;
}

.wb-card {
    padding: 16px 18px;
    border-radius: 16px;
}

.wb-card-head {
    margin-bottom: 12px;
}

.wb-title {
    font-size: 17px;
}

.wb-subtitle {
    font-size: 12.5px;
}

.wb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.wb-field {
    padding: 10px 12px;
    border-radius: 12px;
}

.wb-label {
    font-size: 11.5px;
}

.wb-value {
    font-size: 14px;
}

.wb-money {
    font-size: 23px;
}

.wb-quote-row {
    grid-template-columns: 80px 1fr 130px 72px;
    padding: 10px 12px;
    border-radius: 12px;
}

.wb-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 16px;
}

.wb-empty-title {
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 3px;
}

.wb-empty-desc {
    color: #64748b;
    font-size: 13px;
}

.wb-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid #ddd6fe;
    background: #ede9fe;
    color: #5b21b6;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.wb-action:hover {
    background: #ddd6fe;
}

.quick-chips {
    margin-top: 12px;
}

.quick-chips .chip {
    height: 36px;
}

.quick-chips .chip-diag {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
    box-shadow: none;
}

#askBtn {
    font-size: 15px;
}

.input-row {
    grid-template-columns: 1fr 88px;
}

#q {
    min-height: 64px;
}

.answer-box .wb-card:first-child {
    margin-top: 0;
}

@media (min-width: 721px) {
    .answer-box {
        max-height: calc(100vh - 240px);
        overflow: auto;
    }
}

@media (max-width: 720px) {
    .app-body {
        padding: 8px 8px 138px;
    }

    .answer-box {
        min-height: calc(100vh - 222px);
        padding: 12px !important;
    }

    .wb-card {
        padding: 13px;
        border-radius: 14px;
    }

    .wb-title {
        font-size: 16px;
    }

    .wb-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .wb-field {
        padding: 9px 10px;
    }

    .wb-field.wb-wide {
        grid-column: 1 / -1;
    }

    .wb-money {
        font-size: 22px;
    }

    .wb-empty {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px;
    }

    .wb-action {
        width: 100%;
    }

    .quick-chips {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-chips .chip {
        font-size: 12.5px;
        height: 34px;
    }

    .quick-chips .chip-diag {
        display: none !important;
    }

    .input-row {
        grid-template-columns: 1fr 64px;
    }

    #askBtn {
        font-size: 13px;
        font-weight: 900;
    }

    #q {
        min-height: 54px;
        font-size: 14px;
    }
}
