/* ==========================================================================
   3F OFFICE - CLASSIC STACKED LAYOUT (FULL WIDTH)
   ========================================================================== */

/* 1. 기본 컨테이너 */
.st003-main-wrapper-level-3 {
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: 5px auto;
    background: #C0C0C0;
    border: 2px outset #FFFFFF;
    padding: 5px;
}

/* 2. 헤더 및 상태창 */
.st003-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.st003-status-dashboard {
    background: #E0E0E0;
    border: 1px solid #808080;
    padding: 5px;
    margin-bottom: 5px;
    font-weight: bold;
}

/* 3. 입력창 스타일 (공통) */
.st003-input-box {
    border: 2px inset #808080;
    padding: 5px;
    margin-bottom: 5px;
    background: #E8E8E8;
    position: relative;
}

.st003-input-label {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 3px;
    display: block;
}

.st003-full-width-input {
    width: 100%;
    box-sizing: border-box;
    padding: 2px;
    border: 1px solid #808080;
}

/* 4. 검색 결과 드롭다운 (신규 클래스) */
.st003-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 2px inset #808080;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.st003-search-item {
    padding: 5px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    color: #000;
}

.st003-search-item:hover {
    background: #000080;
    color: #fff;
}

/* 5. 아코디언 및 스택 */
.st003-dynamic-stack-zone {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.st003-accordion-trigger {
    cursor: pointer;
    background: #C0C0C0;
    border: 2px outset #FFFFFF;
    padding: 8px;
    width: 100%;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
}

.st003-accordion-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
    width: 100%;
}

/* 6. JSON 및 마크다운 */
.st003-inspector-raw-json {
    font-family: 'JetBrains Mono', monospace;
    background: #1e1e1e;
    color: #00ff00;
    width: 100%;
    height: 250px;
    resize: vertical;
    border: 2px inset #808080;
    box-sizing: border-box;
}

.st003-viewer-markdown {
    background: #fff;
    color: #000;
    font-family: 'JetBrains Mono', monospace;
    width: 100%;
    padding: 10px;
    border: 2px inset #808080;
    white-space: pre-wrap;
    box-sizing: border-box;
}

/* 7. 버튼 및 조작판 */
.st003-step-controls {
    margin-top: 5px;
    padding: 5px;
    width: 100%;
}

.st003-btn-kill {
    background: #d00;
    color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    padding: 2px 8px;
}